Home
last modified time | relevance | path

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

123

/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.java225 final File dir = makeUniqueFile(getContext().getCacheDir()); in testBehaviorNormal() local
239 final File dir = makeUniqueFile(getContext().getCacheDir()); in testBehaviorGroup() local
253 final File dir = makeUniqueFile(getContext().getCacheDir()); in testBehaviorTombstone() local
309 final File dir = traverse.poll(); in testExternalStorageIsolatedRead() local
DUtils.java99 public static File makeUniqueFile(File dir) { in makeUniqueFile()
131 public static long getSizeManual(File dir) throws Exception { in getSizeManual()
135 public static long getSizeManual(File dir, boolean excludeObb) throws Exception { in getSizeManual()
168 public static boolean deleteContents(File dir) { in deleteContents()
/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/tests/tests/provider/src/android/provider/cts/media/
DMediaStoreTrashedTest.java79 final File dir = ProviderTestUtils.getVolumePath(mVolumeName); in testOwned() local
95 final File dir = ProviderTestUtils.getVolumePath(mVolumeName); in testUnowned() local
111 final File dir = ProviderTestUtils.getVolumePath(mVolumeName); in testAtypical() local
DMediaStore_Video_MediaTest.java117 final File dir = ProviderTestUtils.stageDir(mVolumeName); in testStoreVideoMediaExternal() local
193 final File dir = ProviderTestUtils.stageDir(mVolumeName); in insertVideo() local
353 final File dir = ProviderTestUtils.stageDir(mVolumeName); in testCanonicalize() local
DMediaStore_Audio_AlbumsTest.java166 final File dir = ProviderTestUtils.stageDir(mVolumeName); in testAlbumArt() 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.java68 final File dir = new File(Environment.getExternalStorageDirectory(), "device-info-files"); in makeResultDir() local
80 final File dir; in testCollectDeviceInfo() local
/cts/hostsidetests/apex/src/android/apex/cts/
DApexTest.java95 private int countFlattenedApexes(String dir) throws Exception { in countFlattenedApexes()
102 private int countNonFlattenedApexes(String dir) throws Exception { in countNonFlattenedApexes()
/cts/tests/tests/os/src/android/os/cts/
DFileObserverTest.java42 private void helpSetUp(File dir) throws Exception { in helpSetUp()
52 File dir = getContext().getFilesDir(); in setUp() local
68 private void helpTearDown(File dir) throws Exception { in helpTearDown()
90 File dir = getContext().getFilesDir(); in tearDown() local
125 public void helpTestFileObserver(File dir, boolean isEmulated) throws Exception { in helpTestFileObserver()
DAbiTest.java58 private void checkElfFilesInDirectory(File dir) throws Exception { in checkElfFilesInDirectory()
DFileAccessPermissionTest.java110 File dir = getContext().getFilesDir(); in testAccessAppDataDir() local
/cts/tests/tests/dynamic_linker/com/android/dynamiclinker/
DDynamicLinkerTest.java54 File dir = new File(InstrumentationRegistry.getContext().getApplicationInfo().nativeLibraryDir); in testNativeLibraryNotExtracted() local
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/
DMediaStoreSaver.java45 File dir = new File(picDir, folderName); in savePNG() local
/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/src/android/media/cts/
DScannerNotificationReceiver.java58 private int countFiles(File dir) { in countFiles()
/cts/tests/tests/uirendering/src/android/uirendering/cts/util/
DBitmapDumper.java59 private static boolean deleteContentsAndDir(File dir) { in deleteContentsAndDir()
67 private static boolean deleteContents(File dir) { in deleteContents()
/cts/hostsidetests/edi/src/android/edi/cts/
DLibraryDeviceInfo.java60 IFileEntry dir = mDevice.getFileEntry(path); in collectFileDetails() local
/cts/tests/tests/graphics/src/android/graphics/cts/
DUtils.java73 File dir = InstrumentationRegistry.getTargetContext().getFilesDir(); in obtainFile() local
/cts/tests/tests/text/src/android/text/cts/
DBoringLayoutTest.java391 private static String directionToString(TextDirectionHeuristic dir) { in directionToString()
413 LayoutParam(int strategy, int frequency, TextPaint paint, TextDirectionHeuristic dir) { in LayoutParam()
542 TextDirectionHeuristic dir = dirs[diri]; in testPrecomputedText() local
/cts/hostsidetests/appsecurity/test-apps/ExternalStorageApp/src/com/android/cts/externalstorageapp/
DCommonExternalStorageTest.java245 public static File buildProbeFile(File dir) { in buildProbeFile()
249 public static File[] buildCommonChildDirs(File dir) { in buildCommonChildDirs()
439 public static void deleteContents(File dir) throws IOException { in deleteContents()
/cts/hostsidetests/tzdata/src/com/android/cts/tzdata/
DTzDataCheckTest.java800 private void createDeviceDirectory(PathPair dir) throws DeviceNotAvailableException { in createDeviceDirectory()
804 private static void createHostDirectory(PathPair dir) throws Exception { in createHostDirectory()
887 private void deleteDeviceDirectory(PathPair dir, boolean failOnError) in deleteDeviceDirectory()
911 private static void deleteHostDirectory(PathPair dir, final boolean failOnError) { in deleteHostDirectory()
/cts/tests/tests/permission/src/android/permission/cts/
DFileSystemPermissionTest.java509 File dir = new File("/sys/class/xt_idletimer"); in testIdletimerDirectoryExistsAndSane() local
865 private static void tryToReadFromAllIn(File dir, ExecutorService executor) throws IOException { in tryToReadFromAllIn()
959 getAllWritableFilesInDirAndSubDir(File dir) throws Exception { in getAllWritableFilesInDirAndSubDir()
1177 getAllInsecureDevicesInDirAndSubdir(File dir, int type) throws Exception { in getAllInsecureDevicesInDirAndSubdir()
1237 private Set<File> getWritableDirectoriesAndSubdirectoriesOf(File dir) throws Exception { in getWritableDirectoriesAndSubdirectoriesOf()

123