/cts/hostsidetests/appsecurity/test-apps/StorageApp/src/com/android/cts/storageapp/ |
D | Hoarder.java | 41 final File dir = new File(args[2]); in main() local 60 public static void doBlocks(File dir, boolean oneshot) throws IOException { in doBlocks() 100 public static void doInodes(File dir, boolean oneshot) throws IOException { in doInodes()
|
D | StorageTest.java | 291 final File dir = makeUniqueFile(getContext().getCacheDir()); in testBehaviorNormal() local 305 final File dir = makeUniqueFile(getContext().getCacheDir()); in testBehaviorGroup() local 319 final File dir = makeUniqueFile(getContext().getCacheDir()); in testBehaviorTombstone() local 375 final File dir = traverse.poll(); in testExternalStorageIsolatedRead() local
|
D | Utils.java | 104 public static File makeUniqueFile(File dir) { in makeUniqueFile() 136 public static long getSizeManual(File dir) throws Exception { in getSizeManual() 140 public static long getSizeManual(File dir, boolean excludeObb) throws Exception { in getSizeManual() 171 public static boolean deleteContents(File dir) { in deleteContents()
|
/cts/hostsidetests/appsecurity/test-apps/NoDataStorageApp/src/com/android/cts/noappstorage/ |
D | NoAppDataStorageTest.java | 73 File dir = mCeContext.getExternalFilesDir(type); in testNoExternalStorage() local 78 private void assertDirDoesNotExist(File dir) throws Exception { in assertDirDoesNotExist()
|
/cts/hostsidetests/theme/app/src/android/theme/app/ |
D | ThemeTestUtils.java | 34 public static boolean compressDirectory(File dir, File file) throws IOException { in compressDirectory() 71 public static boolean deleteDirectory(File dir) { in deleteDirectory()
|
/cts/hostsidetests/scopedstorage/src/android/scopedstorage/cts/ |
D | AppCloningDeviceTest.java | 53 final File dir = new File(dirPath); in testInsertFilesInDirectoryViaMediaProvider() local 66 final File dir = new File(dirPath); in testInsertFilesInDirectoryViaMediaProviderWithPathSpecified() local 80 final File dir = new File(dirPath); in testGetFilesInDirectoryViaMediaProviderRespectsUserId() local
|
/cts/tests/mediaprovider/src/android/provider/cts/media/ |
D | MediaStoreTrashedTest.java | 80 final File dir = MediaProviderTestUtils.getVolumePath(mVolumeName); in testOwned() local 96 final File dir = MediaProviderTestUtils.getVolumePath(mVolumeName); in testUnowned() local 112 final File dir = MediaProviderTestUtils.getVolumePath(mVolumeName); in testAtypical() local
|
/cts/tests/tests/textclassifier/src/android/view/textclassifier/cts/ |
D | Helper.java | 95 final File dir = getLocalDirectory(targetFolder); in createTestFile() local 104 final File dir = new File(targetFolder); in getLocalDirectory() local 113 private static File createFile(File dir, String filename) throws IOException { in createFile()
|
/cts/hostsidetests/appcloning/test-apps/AppCloningStorageStatsTest/src/com/android/cts/storagestatsapp/ |
D | StorageStatsTest.java | 65 final File dir = Environment.getExternalStorageDirectory(); in testVerifyStatsExternal() local 97 MediaStore.scanFile(mContext.getContentResolver(), dir); in testVerifyStatsExternal() local
|
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/ |
D | VintfFilesCollector.java | 53 File dir = DeviceInfo.makeResultDir(); in testCollectVintfFiles() local 60 private static void collect(File dir) throws Exception { in collect()
|
D | DeviceInfo.java | 71 final File dir = new File(Environment.getExternalStorageDirectory(), "device-info-files"); in makeResultDir() local 83 final File dir; in testCollectDeviceInfo() local
|
/cts/hostsidetests/apex/src/android/apex/cts/ |
D | ApexTest.java | 58 private int countFlattenedApexes(String dir) throws Exception { in countFlattenedApexes() 66 private int countNonFlattenedApexes(String dir) throws Exception { in countNonFlattenedApexes()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | FileObserverTest.java | 45 private void helpSetUp(File dir) throws Exception { in helpSetUp() 55 File dir = getContext().getFilesDir(); in setUp() local 75 private void helpTearDown(File dir) throws Exception { in helpTearDown() 97 File dir = getContext().getFilesDir(); in tearDown() local 140 public void helpTestFileObserver(File dir, boolean isEmulated) throws Exception { in helpTestFileObserver()
|
D | AbiTest.java | 61 private void checkElfFilesInDirectory(File dir) throws Exception { in checkElfFilesInDirectory()
|
/cts/tests/tests/dynamic_linker/com/android/dynamiclinker/ |
D | DynamicLinkerTest.java | 54 File dir = new File(InstrumentationRegistry.getContext().getApplicationInfo().nativeLibraryDir); in testNativeLibraryNotExtracted() local
|
/cts/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/ |
D | FilePathAccessTestUtils.java | 58 public static void assertDirectoryAccess(File dir, boolean exists, boolean canWrite) in assertDirectoryAccess() 125 public static void assertFileAccess_listFiles(File dir, Set<File> expected, in assertFileAccess_listFiles()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/ |
D | MediaStoreSaver.java | 45 File dir = new File(picDir, folderName); in savePNG() local
|
/cts/tests/tests/view/src/android/view/cts/util/ |
D | BitmapDumper.java | 60 private static boolean deleteContentsAndDir(File dir) { in deleteContentsAndDir() 68 private static boolean deleteContents(File dir) { in deleteContents()
|
/cts/tests/translation/src/android/translation/cts/ |
D | Helper.java | 219 final File dir = getLocalDirectory(targetFolder); in createTestFile() local 228 final File dir = new File(targetFolder); in getLocalDirectory() local 237 private static File createFile(File dir, String filename) throws IOException { in createFile()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sample/ |
D | SampleTestActivity.java | 100 File dir = getExternalCacheDir (); in createFileAndShare() local
|
/cts/hostsidetests/backup/ProfileFullBackupApp/src/android/cts/backup/profilefullbackupapp/ |
D | ProfileFullBackupRestoreTest.java | 47 File dir = getTargetContext().getFilesDir(); in setUp() local
|
/cts/tests/tests/media/misc/src/android/media/misc/cts/ |
D | ScannerNotificationReceiver.java | 58 private int countFiles(File dir) { in countFiles()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/runner/ |
D | TestArtifactCollector.java | 99 private static boolean deleteContentsAndDir(File dir) { in deleteContentsAndDir() 107 private static boolean deleteContents(File dir) { in deleteContents()
|
/cts/tests/providerui/src/android/providerui/cts/ |
D | MediaStoreUiTest.java | 418 final File dir = new File(getVolumePath(resolveVolumeName(mVolumeName)), in prepareFile() local 429 final File dir = new File(getVolumePath(resolveVolumeName(mVolumeName)), in prepareFile() local 440 final File dir = new File(getVolumePath(resolveVolumeName(mVolumeName)), in prepareFileAndFetchDetails() local 558 final File dir = file.getParentFile(); in stageFile() local 571 final File dir = file.getParentFile(); in stageFileWithRawText() local
|
/cts/hostsidetests/edi/src/android/edi/cts/ |
D | LibraryDeviceInfo.java | 60 IFileEntry dir = mDevice.getFileEntry(path); in collectFileDetails() local
|