Home
last modified time | relevance | path

Searched defs:dir (Results 1 – 25 of 81) sorted by relevance

1234

/cts/hostsidetests/appsecurity/test-apps/StorageApp/src/com/android/cts/storageapp/
DHoarder.java41 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()
DStorageTest.java291 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
DUtils.java104 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/
DNoAppDataStorageTest.java73 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/
DThemeTestUtils.java34 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/
DAppCloningDeviceTest.java53 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/
DMediaStoreTrashedTest.java80 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/
DHelper.java95 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/
DStorageStatsTest.java65 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/
DVintfFilesCollector.java53 File dir = DeviceInfo.makeResultDir(); in testCollectVintfFiles() local
60 private static void collect(File dir) throws Exception { in collect()
DDeviceInfo.java71 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/
DApexTest.java58 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/
DFileObserverTest.java45 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()
DAbiTest.java61 private void checkElfFilesInDirectory(File dir) throws Exception { in checkElfFilesInDirectory()
/cts/tests/tests/dynamic_linker/com/android/dynamiclinker/
DDynamicLinkerTest.java54 File dir = new File(InstrumentationRegistry.getContext().getApplicationInfo().nativeLibraryDir); in testNativeLibraryNotExtracted() local
/cts/hostsidetests/scopedstorage/libs/ScopedStorageTestLib/src/android/scopedstorage/cts/lib/
DFilePathAccessTestUtils.java58 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/
DMediaStoreSaver.java45 File dir = new File(picDir, folderName); in savePNG() local
/cts/tests/tests/view/src/android/view/cts/util/
DBitmapDumper.java60 private static boolean deleteContentsAndDir(File dir) { in deleteContentsAndDir()
68 private static boolean deleteContents(File dir) { in deleteContents()
/cts/tests/translation/src/android/translation/cts/
DHelper.java219 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/
DSampleTestActivity.java100 File dir = getExternalCacheDir (); in createFileAndShare() local
/cts/hostsidetests/backup/ProfileFullBackupApp/src/android/cts/backup/profilefullbackupapp/
DProfileFullBackupRestoreTest.java47 File dir = getTargetContext().getFilesDir(); in setUp() local
/cts/tests/tests/media/misc/src/android/media/misc/cts/
DScannerNotificationReceiver.java58 private int countFiles(File dir) { in countFiles()
/cts/tests/tests/uirendering/src/android/uirendering/cts/runner/
DTestArtifactCollector.java99 private static boolean deleteContentsAndDir(File dir) { in deleteContentsAndDir()
107 private static boolean deleteContents(File dir) { in deleteContents()
/cts/tests/providerui/src/android/providerui/cts/
DMediaStoreUiTest.java418 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/
DLibraryDeviceInfo.java60 IFileEntry dir = mDevice.getFileEntry(path); in collectFileDetails() local

1234