Home
last modified time | relevance | path

Searched defs:dir (Results 1 – 25 of 56) 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.java215 final File dir = makeUniqueFile(getContext().getCacheDir()); in testBehaviorNormal() local
229 final File dir = makeUniqueFile(getContext().getCacheDir()); in testBehaviorGroup() local
243 final File dir = makeUniqueFile(getContext().getCacheDir()); in testBehaviorTombstone() local
299 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
DPackageDeviceInfo.java48 String dir = pkg.applicationInfo.sourceDir; in collectDeviceInfo() 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/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/tools/utils/
DVogarUtils.java66 public static ExpectationStore provideExpectationStore(String dir) throws IOException { in provideExpectationStore()
74 private static Set<File> getExpectationFiles(String dir) { in getExpectationFiles()
/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.java238 public static File buildProbeFile(File dir) { in buildProbeFile()
242 public static File[] buildCommonChildDirs(File dir) { in buildCommonChildDirs()
446 public static void deleteContents(File dir) throws IOException { in deleteContents()
/cts/hostsidetests/tzdata/src/com/android/cts/tzdata/
DTzDataCheckTest.java801 private void createDeviceDirectory(PathPair dir) throws DeviceNotAvailableException { in createDeviceDirectory()
805 private static void createHostDirectory(PathPair dir) throws Exception { in createHostDirectory()
888 private void deleteDeviceDirectory(PathPair dir, boolean failOnError) in deleteDeviceDirectory()
912 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

123