/cts/hostsidetests/appsecurity/test-apps/StorageApp/src/com/android/cts/storageapp/ |
D | Hoarder.java | 41 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()
|
D | StorageTest.java | 179 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
|
D | Utils.java | 99 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/ |
D | ThemeTestUtils.java | 34 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/ |
D | FileObserverTest.java | 36 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()
|
D | AbiTest.java | 57 private void checkElfFilesInDirectory(File dir) throws Exception { in checkElfFilesInDirectory()
|
D | FileAccessPermissionTest.java | 108 File dir = getContext().getFilesDir(); in testAccessAppDataDir() local
|
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/ |
D | VintfFilesCollector.java | 53 File dir = DeviceInfo.makeResultDir(); in testCollectVintfFiles() local 60 private static void collect(File dir) throws Exception { in collect()
|
D | PackageDeviceInfo.java | 46 String dir = pkg.applicationInfo.sourceDir; in collectDeviceInfo() local
|
D | DeviceInfo.java | 68 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/ |
D | ScopedDirectoryAccessClientTest.java | 113 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/ |
D | MediaStoreSaver.java | 45 File dir = new File(picDir, folderName); in savePNG() local
|
/cts/hostsidetests/appsecurity/test-apps/SplitApp/src/com/android/cts/splitapp/ |
D | BaseBootReceiver.java | 52 File dir = file.getParentFile(); in exposeFile() local
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | MediaStore_FilesTest.java | 393 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
|
D | MediaStore_Audio_AlbumsTest.java | 170 File dir = path.getParentFile(); in testAlbumArt() local
|
/cts/tests/tests/security/src/android/security/cts/ |
D | SELinuxTest.java | 75 File dir = new File("/cache"); in testFileContexts() local
|
D | BrowserTest.java | 219 File dir = file.getParentFile(); in exposeFile() local
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sample/ |
D | SampleTestActivity.java | 100 File dir = getExternalCacheDir (); in createFileAndShare() local
|
/cts/tools/utils/ |
D | VogarUtils.java | 66 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/ |
D | ScannerNotificationReceiver.java | 58 private int countFiles(File dir) { in countFiles()
|
/cts/hostsidetests/edi/src/android/edi/cts/ |
D | LibraryDeviceInfo.java | 60 IFileEntry dir = mDevice.getFileEntry(path); in collectFileDetails() local
|
/cts/hostsidetests/appsecurity/test-apps/ExternalStorageApp/src/com/android/cts/externalstorageapp/ |
D | CommonExternalStorageTest.java | 226 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/ |
D | BoringLayoutTest.java | 378 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/ |
D | TzDataCheckTest.java | 777 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/ |
D | FileSystemPermissionTest.java | 441 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()
|