Home
last modified time | relevance | path

Searched refs:files (Results 1 – 25 of 96) sorted by relevance

1234

/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DTestResultsProvider.java349 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/
DAndroid.build.copy.libs.mk143 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/
DFileAccessPermissionTest.java106 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()
DAbiTest.java67 File[] files = dir.listFiles(); in checkElfFilesInDirectory() local
68 if (files == null) { in checkElfFilesInDirectory()
72 for (File f : files) { in checkElfFilesInDirectory()
/cts/tools/utils/
Drm_dup_holo_imgs.py52 files = {}
55 files[f] = getHash(open(dirName + "/" + f, 'rb'))
56 return files
/cts/tests/tests/content/src/android/content/res/cts/
DAssetManagerTest.java100 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/
DAndroid.mk23 $(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/
DScannerNotificationReceiver.java60 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/
DAndroid.mk26 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/
DUtils.java137 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/
DThemeTestUtils.java72 final File files[] = dir.listFiles(); in deleteDirectory() local
73 if (files != null) { in deleteDirectory()
74 for (File file : files) { in deleteDirectory()
/cts/tests/camera/
DAndroid.mk26 $(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/
DAndroid.mk24 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/
DLocaleDeviceInfo.java79 .filter((files) -> files != null) in collectLocaleDataFilesInfo()
80 .map((files) -> Arrays.asList(files)) in collectLocaleDataFilesInfo()
/cts/tests/tests/rscpp/
DAndroid.mk35 LOCAL_SRC_FILES := $(call all-java-files-under, src) $(call all-renderscript-files-under, src)
/cts/tests/tests/rsblas/
DAndroid.mk34 LOCAL_SRC_FILES := $(call all-java-files-under, src) $(call all-renderscript-files-under, src)
/cts/tests/tests/renderscript/
DAndroid.mk37 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/
DCommonExternalStorageTest.java187 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/
DAndroid.mk26 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/
DApkVerityInstallTest.java238 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/
DReadableFileReceiverActivity.java63 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/
DDumpOnFailure.java113 final File[] files = dir.listFiles();
114 if (files == null) {
117 for (File file : files) {
/cts/tests/tests/database/src/android/database/sqlite/cts/
DSQLiteWalTest.java208 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/
DAndroid.mk46 LOCAL_SRC_FILES := $(call all-java-files-under, src) $(call all-renderscript-files-under, src)
/cts/tests/tests/security/src/android/security/cts/
DFileDescriptorTest.java58 File[] files = new File("/proc/self/fd").listFiles(); in testCLOEXEC() local
59 for (File file : files) { in testCLOEXEC()

1234