Home
last modified time | relevance | path

Searched defs:dir (Results 1 – 25 of 60) 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.java220 final File dir = makeUniqueFile(getContext().getCacheDir()); in testBehaviorNormal() local
234 final File dir = makeUniqueFile(getContext().getCacheDir()); in testBehaviorGroup() local
248 final File dir = makeUniqueFile(getContext().getCacheDir()); in testBehaviorTombstone() local
304 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()
160 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/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/tests/tests/os/src/android/os/cts/
DFileObserverTest.java41 private void helpSetUp(File dir) throws Exception { in helpSetUp()
51 File dir = getContext().getFilesDir(); in setUp() local
64 private void helpTearDown(File dir) throws Exception { in helpTearDown()
86 File dir = getContext().getFilesDir(); in tearDown() local
118 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/hostsidetests/apex/src/android/apex/cts/
DApexTest.java93 private int countFlattenedApexes(String dir) throws Exception { in countFlattenedApexes()
100 private int countNonFlattenedApexes(String dir) throws Exception { in countNonFlattenedApexes()
/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/hostsidetests/appsecurity/test-apps/SplitApp/src/com/android/cts/splitapp/
DBaseBootReceiver.java52 File dir = file.getParentFile(); in exposeFile() 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()
DThumbnailUtilsTest.java119 private static void 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/text/src/android/text/cts/
DBoringLayoutTest.java379 private static String directionToString(TextDirectionHeuristic dir) { in directionToString()
401 LayoutParam(int strategy, int frequency, TextPaint paint, TextDirectionHeuristic dir) { in LayoutParam()
530 TextDirectionHeuristic dir = dirs[diri]; in testPrecomputedText() local
DStaticLayoutGetLineLeftRightTest.java95 String dirName, TextDirectionHeuristic dir) { in StaticLayoutGetLineLeftRightTest()
/cts/hostsidetests/appsecurity/test-apps/ExternalStorageApp/src/com/android/cts/externalstorageapp/
DCommonExternalStorageTest.java236 public static File buildProbeFile(File dir) { in buildProbeFile()
240 public static File[] buildCommonChildDirs(File dir) { in buildCommonChildDirs()
444 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()
/cts/tests/tests/provider/src/android/provider/cts/
DMediaStore_Audio_AlbumsTest.java166 final File dir = ProviderTestUtils.stageDir(mVolumeName); in testAlbumArt() local
/cts/tests/providerui/src/android/providerui/cts/
DMediaStoreUiTest.java196 final File dir = new File(MediaStore.getVolumePath(mVolumeName), in prepareFile() local
310 final File dir = file.getParentFile(); in stageFile() local

123