Home
last modified time | relevance | path

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

1234

/cts/tests/tests/car/src/android/car/cts/
DOWNERS3 # Vehicle property related CTS files
7 # Audio related CTS files
11 # Input related CTS files
15 # Display related CTS files
18 # Mainline CTS files
22 # OEM CTS files
25 # Rotary CTS files
28 # Bluetooth CTS files
31 # Occupant Zone CTS files
34 # Comms API CTS files
[all …]
/cts/hostsidetests/dexmetadata/host/
DREADME.md1 ## How to update APK files and DM files in the `res` folder
4 source code, you need to update the APK files and DM files in the `res` folder.
6 ### Updating APK files
27 ### Updating DM files
29 The DM files contain profiles, whose headers have the dex checksums that need to
30 match the dex files in the APKs. Therefore, after updating the APKs, you must
31 update the DM files.
/cts/tools/cts-test-metrics/
DREADME1 The parse_test_metrics.py script can be used to parse test metrics json files. Run the following
5 To parse multiple files, list all files as arguments. Try the following:
9 Test metrics json files can be found in $CTS_ROOT/repository/results/$RESULT_DIR/report-log-files/
/cts/tests/tests/security/src/android/security/cts/
DFileIntegrityManagerTest.java111 var files = newSupportedFiles(); in tearDown() local
112 files.addAll(newUnsupportedFiles()); in tearDown()
113 for (var file : files) { in tearDown()
176 var files = newSupportedFiles(); in testEnableAndMeasureFsVerityByFile() local
177 for (var file : files) { in testEnableAndMeasureFsVerityByFile()
193 var files = newUnsupportedFiles(); in testFailToEnableUnsupportedLocation() local
194 for (var file : files) { in testFailToEnableUnsupportedLocation()
206 var files = newSupportedFiles(); in testFailToEnableWithOpenedWritableFd() local
207 for (var file : files) { in testFailToEnableWithOpenedWritableFd()
223 var files = newSupportedFiles(); in testMeasureWithoutFsVerity() local
[all …]
DFileDescriptorTest.java58 File[] files = new File("/proc/self/fd").listFiles(); in testCLOEXEC() local
59 for (File file : files) { in testCLOEXEC()
/cts/tools/utils/
Drm_dup_holo_imgs.py52 files = {}
55 files[f] = getHash(open(dirName + "/" + f, 'rb'))
56 return files
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DTestResultsProvider.java396 File[] files = getFiles(); in getFileByIndex() local
397 if (files.length == 0) { in getFileByIndex()
400 return files[index]; in getFileByIndex()
404 File[] files = getFiles(); in getFileByName() local
405 if (files.length == 0) { in getFileByName()
408 for (File file : files) { in getFileByName()
417 File[] files = getFiles(); in getLatestFile() local
418 if (files.length == 0) { in getLatestFile()
421 return files[files.length - 1]; in getLatestFile()
430 File[] files = dir.listFiles(); in getFiles() local
[all …]
/cts/tests/tests/media/
DREADME.md22 ## Test files used in the tests
23 The test files used by the test suite are available on Google cloud
26 Link to the zip files can be found in DynamicConfig.xml in each of the subdirectories
40 Zip containing the media files are quite large and first execution of the test
42 considerable amount of time (30 minutes or more) to download and push the media files.
47 the test framework doesn't push the remaining files to device.
52 manually download and copy the test files to the device before running the tests.
/cts/tests/tests/media/misc/src/android/media/misc/cts/
DScannerNotificationReceiver.java60 File[] files = dir.listFiles(); in countFiles() local
61 if (files != null) { in countFiles()
62 for (File file : files) { in countFiles()
/cts/tests/tests/os/src/android/os/cts/
DFileAccessPermissionTest.java108 File[] files = file.listFiles(); in testAccessAppDataDir() local
109 assertTrue(files == null || files.length == 0); in testAccessAppDataDir()
127 files = userAppDataDir.listFiles(); in testAccessAppDataDir()
128 assertTrue(files == null || files.length == 0); in testAccessAppDataDir()
DAbiTest.java70 File[] files = dir.listFiles(); in checkElfFilesInDirectory() local
71 if (files == null) { in checkElfFilesInDirectory()
75 for (File f : files) { in checkElfFilesInDirectory()
/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/tests/content/src/android/content/res/cts/
DAssetManagerTest.java102 String[] files = mAssets.list(""); in testAssetOperations() local
103 assertThat(files).isNotNull(); in testAssetOperations()
107 assertThat(files).asList().containsAtLeast(fileName, "subdir"); in testAssetOperations()
109 files = mAssets.list("subdir"); in testAssetOperations()
110 assertThat(files).isNotNull(); in testAssetOperations()
111 assertThat(files).asList().contains("subdir_text.txt"); in testAssetOperations()
/cts/hostsidetests/appsecurity/test-apps/StorageApp/src/com/android/cts/storageapp/
DUtils.java142 File[] files = dir.listFiles(); in getSizeManual() local
144 if (files == null) { in getSizeManual()
150 for (File f : files) { in getSizeManual()
172 File[] files = dir.listFiles(); in deleteContents() local
174 if (files != null) { in deleteContents()
175 for (File file : files) { in deleteContents()
/cts/hostsidetests/compilation/src/android/compilation/cts/
DUtils.java81 List<String> files = new ArrayList<>(); in installFromResourcesImpl() local
92 files.add(dmFile.getAbsolutePath()); in installFromResourcesImpl()
96 files.add(apkFile.getAbsolutePath()); in installFromResourcesImpl()
102 cmd.add(String.join(":", files)); in installFromResourcesImpl()
105 cmd.addAll(files); in installFromResourcesImpl()
/cts/tests/tests/media/drmframework/
DAndroid.bp37 // Give com.android.media.drmframework.cts Java files access to the R class
40 // Do not compress these files:
87 // Give com.android.media.drmframework.cts Java files access to the R class
90 // Do not compress these files:
/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/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/tools/mcts/
Ddownload_mcts.sh109 files=(
142 for file in ${files[@]}; do
/cts/tests/tests/view/src/android/view/cts/util/
DBitmapDumper.java69 File[] files = dir.listFiles(); in deleteContents() local
71 if (files != null) { in deleteContents()
72 for (File file : files) { in deleteContents()
/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[] removeAllowList(File[] files) { in removeAllowList() argument
427 if (files == null) { in removeAllowList()
431 for (File file : files) { in removeAllowList()
440 File[] files = dir.listFiles(); in deleteContents() local
441 files = removeAllowList(files); in deleteContents()
442 if (files != null) { in deleteContents()
443 for (File file : files) { in deleteContents()
/cts/tests/tests/accounts/common/
DAndroid.bp21 // Includes all the java files, and explicitly declares any aidl files
/cts/tests/tests/car/src/android/car/view/cts/
DOWNERS1 # Display related CTS files
/cts/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/
DFilePathAccessTestUtils.java128 Set<File> files = Arrays.stream(dir.listFiles()).collect(Collectors.toSet()); in assertFileAccess_listFiles() local
129 assertThat(files).containsAtLeastElementsIn(expected); in assertFileAccess_listFiles()
130 assertThat(files).containsNoneIn(notExpected); in assertFileAccess_listFiles()
/cts/tests/tests/car/src/android/car/server/wm/cts/
DOWNERS1 # MultiUserMultiDisplay policy related CTS files

1234