Home
last modified time | relevance | path

Searched refs:TestFile (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/restore/
DFullRestoreEngineTest.java51 TestFile[] testFiles = new TestFile[] { in shouldSkipReadOnlyDir_skipsAllReadonlyDirsAndTheirChildren()
52 TestFile.dir("root"), in shouldSkipReadOnlyDir_skipsAllReadonlyDirsAndTheirChildren()
53 TestFile.file("root/auth_token"), in shouldSkipReadOnlyDir_skipsAllReadonlyDirsAndTheirChildren()
54 TestFile.dir("root/media"), in shouldSkipReadOnlyDir_skipsAllReadonlyDirsAndTheirChildren()
55 TestFile.file("root/media/picture1.png"), in shouldSkipReadOnlyDir_skipsAllReadonlyDirsAndTheirChildren()
56 TestFile.file("root/push_token.txt"), in shouldSkipReadOnlyDir_skipsAllReadonlyDirsAndTheirChildren()
57 TestFile.dir("root/read-only-dir-1").markReadOnly().expectSkipped(), in shouldSkipReadOnlyDir_skipsAllReadonlyDirsAndTheirChildren()
58 TestFile.dir("root/read-only-dir-1/writable-subdir").expectSkipped(), in shouldSkipReadOnlyDir_skipsAllReadonlyDirsAndTheirChildren()
59 TestFile.file("root/read-only-dir-1/writable-subdir/writable-file").expectSkipped(), in shouldSkipReadOnlyDir_skipsAllReadonlyDirsAndTheirChildren()
60 TestFile.dir("root/read-only-dir-1/writable-subdir/read-only-subdir-2") in shouldSkipReadOnlyDir_skipsAllReadonlyDirsAndTheirChildren()
[all …]
/frameworks/base/tools/lint/global/checks/src/test/java/com/google/android/lint/aidl/
DStubs.kt4 import com.android.tools.lint.checks.infrastructure.TestFile
6 val aidlStub: TestFile = java(
18 val contextStub: TestFile = java(
34 val binderStub: TestFile = java(
43 val permissionMethodStub: TestFile = java(
59 val permissionNameStub: TestFile = java(
78 val manifestStub: TestFile = java(
DEnforcePermissionDetectorTest.kt20 import com.android.tools.lint.checks.infrastructure.TestFile
486 private val interfaceIFooMethodStub: TestFile = java(
510 private val interfaceIBarStub: TestFile = java(
520 private val manifestPermissionStub: TestFile = java(
532 private val enforcePermissionAnnotationStub: TestFile = java(
DEnforcePermissionDetectorCodegenTest.kt20 import com.android.tools.lint.checks.infrastructure.TestFile
539 private val manifestPermissionStub: TestFile = java(
549 private val enforcePermissionAnnotationStub: TestFile = java(
DEnforcePermissionHelperDetectorCodegenTest.kt20 import com.android.tools.lint.checks.infrastructure.TestFile
540 private val manifestPermissionStub: TestFile = java(
550 private val enforcePermissionAnnotationStub: TestFile = java(
/frameworks/base/tools/lint/framework/checks/src/test/java/com/google/android/lint/
DPackageVisibilityDetectorTest.kt20 import com.android.tools.lint.checks.infrastructure.TestFile
198 private val contextStub: TestFile = java(
208 private val appOpsManagerStub: TestFile = java(
219 private val packageManagerStub: TestFile = java(
234 private val packageInfoStub: TestFile = java(
241 private val binderStub: TestFile = java(
253 private val interfaceIFooStub: TestFile = java(
DCallingIdentityTokenDetectorTest.kt20 import com.android.tools.lint.checks.infrastructure.TestFile
797 private val binderStub: TestFile = java(
822 private val userHandleStub: TestFile = java(
847 private val userIdIntStub: TestFile = java(
855 private val appIdIntStub: TestFile = java(
DPermissionAnnotationDetectorTest.kt20 import com.android.tools.lint.checks.infrastructure.TestFile
104 private val interfaceIFoo: TestFile = java(
123 private val interfaceIBar: TestFile = java(
DCallingSettingsNonUserGetterMethodsIssueDetectorTest.kt20 import com.android.tools.lint.checks.infrastructure.TestFile
183 private val SettingsStub: TestFile = java(
/frameworks/base/tools/lint/utils/checks/src/test/java/com/google/android/lint/aidl/
DAnnotatedAidlCounterTest.kt20 import com.android.tools.lint.checks.infrastructure.TestFile
58 private val interfaceIFooMethodStub: TestFile = java(
69 private val interfaceIBarStub: TestFile = java(
81 private val manifestPermissionStub: TestFile = java(
90 private val enforcePermissionAnnotationStub: TestFile = java(
/frameworks/base/packages/SystemUI/checks/tests/com/android/internal/systemui/lint/
DDemotingTestWithoutBugDetectorTest.kt19 import com.android.tools.lint.checks.infrastructure.TestFile
275 private val filtersFlakyTestStub: TestFile =
285 private val annotationsFlakyTestStub: TestFile =
295 private val annotationsPlatinumStub: TestFile =
308 private val annotationsIgnoreStub: TestFile =
DTestFunctionNameViolationDetectorTest.kt20 import com.android.tools.lint.checks.infrastructure.TestFile
79 private val testAnnotationStub: TestFile =
DSingletonAndroidComponentDetectorTest.kt19 import com.android.tools.lint.checks.infrastructure.TestFile
171 private val singletonStub: TestFile =
/frameworks/base/tools/aapt2/test/
DCommon.h84 class TestFile : public io::IFile {
86 explicit TestFile(android::StringPiece path) : source_(path) { in TestFile() function
106 DISALLOW_COPY_AND_ASSIGN(TestFile);
/frameworks/base/tools/aapt2/link/
DTableMerger_test.cpp98 test::TestFile test_file("path/to/res/layout-hdpi/main.xml.flat"); in TEST_F()
116 test::TestFile file_a("path/to/fileA.xml.flat"); in TEST_F()
117 test::TestFile file_b("path/to/fileB.xml.flat"); in TEST_F()
124 test::TestFile file_a("res/xml/file.xml"); in TEST_F()
125 test::TestFile file_b("res/xml/file.xml"); in TEST_F()
/frameworks/base/tools/aapt2/format/proto/
DProtoSerialize_test.cpp178 test::TestFile file_a("res/layout/main.xml"); in TEST()
406 test::TestFile file_a("res/layout/main.xml"); in TEST()
773 test::TestFile file_a("res/layout/bar.xml"); in TEST()
985 test::TestFile file_a("res/layout/bar.xml"); in TEST()