/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | TestResultsProvider.java | 349 File[] files = getFiles(); in getFileByIndex() local 350 if (files.length == 0) { in getFileByIndex() 353 return files[index]; in getFileByIndex() 357 File[] files = getFiles(); in getFileByName() local 358 if (files.length == 0) { in getFileByName() 361 for (File file : files) { in getFileByName() 370 File[] files = getFiles(); in getLatestFile() local 371 if (files.length == 0) { in getLatestFile() 374 return files[files.length - 1]; in getLatestFile() 383 File[] files = dir.listFiles(); in getFiles() local [all …]
|
/cts/tests/tests/bionic/ |
D | Android.build.copy.libs.mk | 143 prebuilt-elf-files/libtest_invalid-empty_shdr_table.so \ 144 prebuilt-elf-files/libtest_invalid-rw_load_segment.so \ 145 prebuilt-elf-files/libtest_invalid-textrels.so \ 146 prebuilt-elf-files/libtest_invalid-textrels2.so \ 147 prebuilt-elf-files/libtest_invalid-unaligned_shdr_offset.so \ 148 prebuilt-elf-files/libtest_invalid-zero_shdr_table_content.so \ 149 prebuilt-elf-files/libtest_invalid-zero_shdr_table_offset.so \ 150 prebuilt-elf-files/libtest_invalid-zero_shentsize.so \ 151 prebuilt-elf-files/libtest_invalid-zero_shstrndx.so \
|
/cts/tests/tests/os/src/android/os/cts/ |
D | FileAccessPermissionTest.java | 106 File[] files = file.listFiles(); in testAccessAppDataDir() local 107 assertTrue(files == null || files.length == 0); in testAccessAppDataDir() 125 files = userAppDataDir.listFiles(); in testAccessAppDataDir() 126 assertTrue(files == null || files.length == 0); in testAccessAppDataDir()
|
D | AbiTest.java | 67 File[] files = dir.listFiles(); in checkElfFilesInDirectory() local 68 if (files == null) { in checkElfFilesInDirectory() 72 for (File f : files) { in checkElfFilesInDirectory()
|
/cts/tools/utils/ |
D | rm_dup_holo_imgs.py | 52 files = {} 55 files[f] = getHash(open(dirName + "/" + f, 'rb')) 56 return files
|
/cts/tests/tests/content/src/android/content/res/cts/ |
D | AssetManagerTest.java | 100 String[] files = mAssets.list(""); in testAssetOperations() local 101 assertThat(files).isNotNull(); in testAssetOperations() 105 assertThat(files).asList().containsAllOf(fileName, "subdir"); in testAssetOperations() 107 files = mAssets.list("subdir"); in testAssetOperations() 108 assertThat(files).isNotNull(); in testAssetOperations() 109 assertThat(files).asList().contains("subdir_text.txt"); in testAssetOperations()
|
/cts/tests/framework/base/windowmanager/ |
D | Android.mk | 23 $(call all-java-files-under, src) \ 24 $(call all-java-files-under, alertwindowservice/src) \ 25 $(call all-named-files-under,Components.java, *) \
|
/cts/tests/tests/media/src/android/media/cts/ |
D | ScannerNotificationReceiver.java | 60 File[] files = dir.listFiles(); in countFiles() local 61 if (files != null) { in countFiles() 62 for (File file : files) { in countFiles()
|
/cts/hostsidetests/appsecurity/test-apps/SplitApp/ |
D | Android.mk | 26 LOCAL_SRC_FILES := $(call all-java-files-under, src) 61 LOCAL_SRC_FILES := $(call all-java-files-under, src) 91 LOCAL_SRC_FILES := $(call all-java-files-under, src) 120 LOCAL_SRC_FILES := $(call all-java-files-under, src) 145 LOCAL_SRC_FILES := $(call all-java-files-under, src)
|
/cts/hostsidetests/appsecurity/test-apps/StorageApp/src/com/android/cts/storageapp/ |
D | Utils.java | 137 File[] files = dir.listFiles(); in getSizeManual() local 139 if (files == null) { in getSizeManual() 145 for (File f : files) { in getSizeManual() 169 File[] files = dir.listFiles(); in deleteContents() local 171 if (files != null) { in deleteContents() 172 for (File file : files) { in deleteContents()
|
/cts/hostsidetests/theme/app/src/android/theme/app/ |
D | ThemeTestUtils.java | 72 final File files[] = dir.listFiles(); in deleteDirectory() local 73 if (files != null) { in deleteDirectory() 74 for (File file : files) { in deleteDirectory()
|
/cts/tests/camera/ |
D | Android.mk | 26 $(call all-java-files-under, utils/src) \ 27 $(call all-renderscript-files-under, utils/src) 94 $(call all-java-files-under, src) \ 95 $(call all-renderscript-files-under, src)
|
/cts/tests/tests/view/surfacevalidator/ |
D | Android.mk | 24 LOCAL_SRC_FILES := $(call all-java-files-under, src) $(call all-renderscript-files-under, src)
|
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/ |
D | LocaleDeviceInfo.java | 79 .filter((files) -> files != null) in collectLocaleDataFilesInfo() 80 .map((files) -> Arrays.asList(files)) in collectLocaleDataFilesInfo()
|
/cts/tests/tests/rscpp/ |
D | Android.mk | 35 LOCAL_SRC_FILES := $(call all-java-files-under, src) $(call all-renderscript-files-under, src)
|
/cts/tests/tests/rsblas/ |
D | Android.mk | 34 LOCAL_SRC_FILES := $(call all-java-files-under, src) $(call all-renderscript-files-under, src)
|
/cts/tests/tests/renderscript/ |
D | Android.mk | 37 LOCAL_SRC_FILES := $(call all-java-files-under, src) $(call all-renderscript-files-under, src)
|
/cts/hostsidetests/appsecurity/test-apps/ExternalStorageApp/src/com/android/cts/externalstorageapp/ |
D | CommonExternalStorageTest.java | 187 final List<File> files = getPrimaryPackageSpecificPathsExceptMedia(context); in getAllPackageSpecificNoGiftPaths() local 189 for (File file : files) { in getAllPackageSpecificNoGiftPaths() 425 private static File[] removeWhiteList(File[] files) { in removeWhiteList() argument 427 if (files == null) { in removeWhiteList() 431 for (File file : files) { in removeWhiteList() 440 File[] files = dir.listFiles(); in deleteContents() local 441 files = removeWhiteList(files); in deleteContents() 442 if (files != null) { in deleteContents() 443 for (File file : files) { in deleteContents()
|
/cts/apps/CtsVerifier/ |
D | Android.mk | 26 LOCAL_SRC_FILES := $(call all-java-files-under, src) $(call all-Iaidl-files-under, src) \ 81 define java-files-in 94 $(call java-files-in, src/com/android/cts/verifier) \ 95 $(call all-Iaidl-files-under, src)
|
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | ApkVerityInstallTest.java | 238 void verifyFsverityInstall(String... files) throws DeviceNotAvailableException { in verifyFsverityInstall() argument 243 Integer.toString(files.length)); in verifyFsverityInstall() 244 for (int i = 0; i < files.length; ++i) { in verifyFsverityInstall() 245 String installName = ORIGINAL_TO_INSTALL_NAME.get(files[i]); in verifyFsverityInstall() 247 fail("Install name is not defined for " + files[i]); in verifyFsverityInstall()
|
/cts/tests/tests/content/src/android/content/cts/ |
D | ReadableFileReceiverActivity.java | 63 List<File> files = getFilesFromIntent(intent); in readFilesFromClipDataUri() local 64 if (files == null) { in readFilesFromClipDataUri() 68 for (File file : files) { in readFilesFromClipDataUri()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | DumpOnFailure.java | 113 final File[] files = dir.listFiles(); 114 if (files == null) { 117 for (File file : files) {
|
/cts/tests/tests/database/src/android/database/sqlite/cts/ |
D | SQLiteWalTest.java | 208 final File[] files = mContext.getDatabasePath("a").getParentFile().listFiles(); in listFiles() local 209 if (files == null || files.length == 0) { in listFiles() 213 for (File f : files) { in listFiles()
|
/cts/tests/tests/view/ |
D | Android.mk | 46 LOCAL_SRC_FILES := $(call all-java-files-under, src) $(call all-renderscript-files-under, src)
|
/cts/tests/tests/security/src/android/security/cts/ |
D | FileDescriptorTest.java | 58 File[] files = new File("/proc/self/fd").listFiles(); in testCLOEXEC() local 59 for (File file : files) { in testCLOEXEC()
|