Home
last modified time | relevance | path

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

12

/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.java179 final File dir = makeUniqueFile(getContext().getCacheDir()); in testBehaviorNormal() local
193 final File dir = makeUniqueFile(getContext().getCacheDir()); in testBehaviorGroup() local
207 final File dir = makeUniqueFile(getContext().getCacheDir()); in testBehaviorTombstone() 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()
156 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/os/src/android/os/cts/
DFileObserverTest.java36 private void helpSetUp(File dir) throws Exception { in helpSetUp()
46 File dir = getContext().getFilesDir(); in setUp() local
53 private void helpTearDown(File dir) throws Exception { in helpTearDown()
75 File dir = getContext().getFilesDir(); in tearDown() local
104 public void helpTestFileObserver(File dir, boolean isEmulated) throws Exception { in helpTestFileObserver()
DAbiTest.java57 private void checkElfFilesInDirectory(File dir) throws Exception { in checkElfFilesInDirectory()
DFileAccessPermissionTest.java108 File dir = getContext().getFilesDir(); in testAccessAppDataDir() 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()
DPackageDeviceInfo.java46 String dir = pkg.applicationInfo.sourceDir; in collectDeviceInfo() local
DDeviceInfo.java68 final File dir = new File(Environment.getExternalStorageDirectory(), "device-info-files"); in makeResultDir() local
80 final File dir; in testCollectDeviceInfo() local
/cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/
DScopedDirectoryAccessClientTest.java113 private void userRejectsTest(StorageVolume volume, String dir) throws Exception { in userRejectsTest()
227 private void deniesOnceForAllTest(StorageVolume volume, String dir) throws Exception { in deniesOnceForAllTest()
317 final Uri dir = DocumentsContract.createDocument(resolver, doc, Document.MIME_TYPE_DIR, in assertPermissionGranted() local
341 final String dir = DIRECTORY_DOCUMENTS; in testResetDoNotAskAgain() local
381 final String dir = DIRECTORY_DOCUMENTS; in testResetGranted() 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/tests/tests/provider/src/android/provider/cts/
DMediaStore_FilesTest.java393 File dir = new File(s + "/foobardir-" + SystemClock.elapsedRealtime()); in testAccess() local
416 File dir = new File(s); in testAccess() local
441 File dir = new File(s + "/foobardir"); in testAccess() local
524 File dir = out.getParentFile(); in writeFile() local
DMediaStore_Audio_AlbumsTest.java170 File dir = path.getParentFile(); in testAlbumArt() local
/cts/tests/tests/security/src/android/security/cts/
DSELinuxTest.java75 File dir = new File("/cache"); in testFileContexts() local
DBrowserTest.java219 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/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()
/cts/hostsidetests/edi/src/android/edi/cts/
DLibraryDeviceInfo.java60 IFileEntry dir = mDevice.getFileEntry(path); in collectFileDetails() local
/cts/hostsidetests/appsecurity/test-apps/ExternalStorageApp/src/com/android/cts/externalstorageapp/
DCommonExternalStorageTest.java226 public static File buildProbeFile(File dir) { in buildProbeFile()
230 public static File[] buildCommonChildDirs(File dir) { in buildCommonChildDirs()
430 public static void deleteContents(File dir) throws IOException { in deleteContents()
/cts/tests/tests/text/src/android/text/cts/
DBoringLayoutTest.java378 private static String directionToString(TextDirectionHeuristic dir) { in directionToString()
400 LayoutParam(int strategy, int frequency, TextPaint paint, TextDirectionHeuristic dir) { in LayoutParam()
529 TextDirectionHeuristic dir = dirs[diri]; in testPrecomputedText() local
/cts/hostsidetests/tzdata/src/com/android/cts/tzdata/
DTzDataCheckTest.java777 private void createDeviceDirectory(PathPair dir) throws DeviceNotAvailableException { in createDeviceDirectory()
781 private static void createHostDirectory(PathPair dir) throws Exception { in createHostDirectory()
864 private void deleteDeviceDirectory(PathPair dir, boolean failOnError) in deleteDeviceDirectory()
888 private static void deleteHostDirectory(PathPair dir, final boolean failOnError) { in deleteHostDirectory()
/cts/tests/tests/permission/src/android/permission/cts/
DFileSystemPermissionTest.java441 File dir = new File("/sys/class/xt_idletimer"); in testIdletimerDirectoryExistsAndSane() local
789 private static void tryToReadFromAllIn(File dir, ExecutorService executor) throws IOException { in tryToReadFromAllIn()
882 getAllWritableFilesInDirAndSubDir(File dir) throws Exception { in getAllWritableFilesInDirAndSubDir()
1073 getAllInsecureDevicesInDirAndSubdir(File dir, int type) throws Exception { in getAllInsecureDevicesInDirAndSubdir()
1133 private Set<File> getWritableDirectoriesAndSubdirectoriesOf(File dir) throws Exception { in getWritableDirectoriesAndSubdirectoriesOf()

12