/packages/apps/TV/common/tests/robotests/src/com/android/tv/common/util/ |
D | CommonUtilsTest.java | 46 File dir = new File(RuntimeEnvironment.application.getExternalFilesDir(null), "dir"); in deleteDirOrFile_Dir() local 55 File dir = new File(RuntimeEnvironment.application.getExternalFilesDir(null), "dir"); in deleteDirOrFile_unreadableDir() local 67 File dir = new File(RuntimeEnvironment.application.getExternalFilesDir(null), "dir"); in deleteDirOrFile_unreadableSubDir() local
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/ |
D | SpecialFormatDetectorTest.java | 65 final File dir = Environment.getExternalStoragePublicDirectory( in testDetect_gif() local 90 final File dir = Environment.getExternalStoragePublicDirectory( in testDetect_motionPhoto() local 116 final File dir = Environment.getExternalStoragePublicDirectory( in testDetect_animatedWebp() local 142 final File dir = Environment.getExternalStoragePublicDirectory( in testDetect_nonAnimatedWebp() local 167 final File dir = Environment.getExternalStoragePublicDirectory( in testDetect_notSpecialFormat() local
|
D | FileCreationUtils.java | 45 final File dir = in insertFileInResolver() local
|
/packages/modules/StatsD/statsd/src/storage/ |
D | StorageManager.cpp | 80 unique_ptr<DIR, decltype(&closedir)> dir(opendir(TRAIN_INFO_DIR), closedir); in findTrainInfoFileNameLocked() local 440 unique_ptr<DIR, decltype(&closedir)> dir(opendir(TRAIN_INFO_DIR), closedir); in readAllTrainInfo() local 472 unique_ptr<DIR, decltype(&closedir)> dir(opendir(path), closedir); in deleteAllFiles() local 487 unique_ptr<DIR, decltype(&closedir)> dir(opendir(path), closedir); in deleteSuffixedFiles() local 509 unique_ptr<DIR, decltype(&closedir)> dir(opendir(path), closedir); in sendBroadcast() local 529 unique_ptr<DIR, decltype(&closedir)> dir(opendir(STATS_DATA_DIR), closedir); in hasConfigMetricsReport() local 558 unique_ptr<DIR, decltype(&closedir)> dir(opendir(STATS_DATA_DIR), closedir); in appendConfigMetricsReport() local 619 unique_ptr<DIR, decltype(&closedir)> dir(opendir(STATS_SERVICE_DIR), closedir); in readConfigFromDisk() local 658 unique_ptr<DIR, decltype(&closedir)> dir(opendir(STATS_SERVICE_DIR), in readConfigFromDisk() local 726 unique_ptr<DIR, decltype(&closedir)> dir(opendir(path), closedir); in trimToFit() local [all …]
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/scan/ |
D | MediaScannerTest.java | 81 final File dir = Environment.getExternalStorageDirectory(); in testCorrectness() local 145 final File dir = new File(Environment.getExternalStorageDirectory(), in testSpeed() local 157 private static void scanDirectory(MediaScanner scanner, File dir, String tag) { in scanDirectory() 193 private static void stage(File dir, int deep, int wide) throws IOException { in stage()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/opp/ |
D | BluetoothOppNotificationTest.java | 87 int dir = BluetoothShare.DIRECTION_INBOUND; in updateActiveNotification() local 131 int dir = BluetoothShare.DIRECTION_OUTBOUND; in updateCompletedNotification_withOutBoundShare_showsNoti() local 170 int dir = BluetoothShare.DIRECTION_INBOUND; in updateCompletedNotification_withInBoundShare_showsNoti() local 207 int dir = BluetoothShare.DIRECTION_INBOUND; in updateIncomingFileConfirmationNotification() local
|
/packages/apps/StorageManager/src/com/android/storagemanager/deletionhelper/ |
D | FetchDownloadsLoader.java | 63 static DownloadsResult collectFiles(File dir) { in collectFiles() 67 private static DownloadsResult collectFiles(File dir, DownloadsResult result) { in collectFiles()
|
/packages/services/Car/tests/BugReportApp/src/com/android/car/bugreport/ |
D | FileUtils.java | 49 File dir = new File(context.getDataDir(), PENDING_DIR); in getPendingDir() local 61 File dir = new File(context.getDataDir(), TEMP_DIR + "/" + timestamp); in getTempDir() local
|
/packages/providers/MediaProvider/src/com/android/providers/media/util/ |
D | FileUtils.java | 163 public static boolean deleteOlderFiles(File dir, int minCount, long minAgeMs) { in deleteOlderFiles() 365 public static boolean contains(File dir, File file) { in contains() 482 public static void deleteContents(@NonNull File dir) { in deleteContents() 581 private static boolean isDcim(@NonNull File dir) { in isDcim()
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/ |
D | MediaProviderTest.java | 265 final File dir = Environment in testCanonicalize() local 312 final File dir = Environment in testGrantMediaReadForPackage() local 373 final File dir = Environment in testActionLongFileNameItemHasTrimmedFileName() local 1358 final File dir = Environment in testQueryAudioViewsNoItemWithColumn() local 1415 final File dir = file.getParentFile(); in testQueryAudioTableNoIsRecordingColumnInR() local 1434 final File dir = file.getParentFile(); in testQueryIsRecordingInAudioTableExceptionInR() local 1455 final File dir = file.getParentFile(); in testQueryAudioTableHasIsRecordingColumnAfterR() local 1475 final File dir = file.getParentFile(); in testQueryIsRecordingInAudioTableAfterR() local 1483 final File dir = Environment in createAudioRecordingFile() local 1646 final File dir = Environment in testRedactionForInvalidAndValidUris() local [all …]
|
/packages/modules/GeoTZ/common/host/main/java/com/android/timezone/location/common/ |
D | LicenseSupport.java | 68 public void checkLicensePresentInDir(File dir) throws IOException { in checkLicensePresentInDir() 133 private static void checkIsDir(File dir) { in checkIsDir()
|
/packages/providers/MediaProvider/tests/client/src/com/android/providers/media/client/ |
D | DownloadProviderTest.java | 152 private static void pollForDirectoryToBeCreated(File dir) throws Exception { in pollForDirectoryToBeCreated() 155 "Timed out while waiting for dir " + dir + " to be created"); in pollForDirectoryToBeCreated() local
|
/packages/services/Car/service/src/com/android/car/telemetry/util/ |
D | IoUtils.java | 62 public static void writeBundle( in writeBundle() 97 public static void writeProto( in writeProto()
|
/packages/inputmethods/LatinIME/tools/dicttool/compat/android/test/ |
D | AndroidTestCase.java | 32 final File dir = Test.TEST_TMP_DIR; in getCacheDir() local
|
/packages/apps/WallpaperPicker2/tests/common/src/com/android/wallpaper/testing/ |
D | TestPartnerProvider.java | 45 public void setLegacyWallpaperDirectory(File dir) { in setLegacyWallpaperDirectory()
|
/packages/services/Car/procfs-inspector/server/ |
D | impl.cpp | 39 Directory dir("/proc"); in readProcessTable() local
|
D | directory.cpp | 58 if (auto dir = mDirectory.get()) { in next() local
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/utils/ |
D | FilesUtil.java | 42 public static void deleteDir(File dir) { in deleteDir()
|
/packages/modules/adb/libs/libadbd_fs/ |
D | adbd_fs.cpp | 21 void adbd_fs_config(const char* path, int dir, const char* target_out_path, uid_t* uid, gid_t* gid, in adbd_fs_config()
|
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/ |
D | file_utils.cpp | 46 DIR *const dir = opendir(dirPath); in existsDir() local 61 DIR *const dir = opendir(dirPath); in removeDirAndFiles() local
|
/packages/modules/AdServices/sdksandbox/tests/cts/inprocess/src/com/android/sdksandbox/tests/cts/inprocess/ |
D | SdkSandboxConfigurationTest.java | 130 final File dir = ctx.getDataDir(); in testGetDataDir_CE() local 146 final File dir = ctx.getDataDir(); in testGetDataDir_DE() local
|
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/ |
D | HealthConnectServiceImplTest.java | 265 private static File createAndGetNonEmptyFile(File dir, String fileName) throws IOException { in createAndGetNonEmptyFile() 273 private static void deleteDir(File dir) { in deleteDir()
|
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/ |
D | FileUtils.java | 40 public static boolean deleteFilteredFiles(final File dir, final FilenameFilter fileNameFilter) { in deleteFilteredFiles()
|
/packages/modules/AdServices/sdksandbox/framework/java/android/app/sdksandbox/ |
D | FileUtil.java | 37 final File dir = new File(paths.get(i)); in getStorageInKbForPaths() local
|
/packages/services/BuiltInPrintService/src/com/android/bips/util/ |
D | FileUtils.java | 57 public static boolean makeDirectory(File dir) { in makeDirectory()
|