/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
|
/packages/modules/StatsD/statsd/src/storage/ |
D | StorageManager.cpp | 78 unique_ptr<DIR, decltype(&closedir)> dir(opendir(TRAIN_INFO_DIR), closedir); in findTrainInfoFileNameLocked() local 438 unique_ptr<DIR, decltype(&closedir)> dir(opendir(TRAIN_INFO_DIR), closedir); in readAllTrainInfo() local 470 unique_ptr<DIR, decltype(&closedir)> dir(opendir(path), closedir); in deleteAllFiles() local 485 unique_ptr<DIR, decltype(&closedir)> dir(opendir(path), closedir); in deleteSuffixedFiles() local 507 unique_ptr<DIR, decltype(&closedir)> dir(opendir(path), closedir); in sendBroadcast() local 527 unique_ptr<DIR, decltype(&closedir)> dir(opendir(STATS_DATA_DIR), closedir); in hasConfigMetricsReport() local 556 unique_ptr<DIR, decltype(&closedir)> dir(opendir(STATS_DATA_DIR), closedir); in appendConfigMetricsReport() local 617 unique_ptr<DIR, decltype(&closedir)> dir(opendir(STATS_SERVICE_DIR), closedir); in readConfigFromDisk() local 656 unique_ptr<DIR, decltype(&closedir)> dir(opendir(STATS_SERVICE_DIR), in readConfigFromDisk() local 724 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/AdServices/shared/libraries/device-side/java/com/android/adservices/shared/testing/common/ |
D | FileHelper.java | 40 File dir = getAdServicesTestsOutputDir(); in writeFile() local 68 File dir = new File(path); in getAdServicesTestsOutputDir() local
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/opp/ |
D | BluetoothOppNotificationTest.java | 130 int dir = BluetoothShare.DIRECTION_INBOUND; in updateActiveNotification() local 211 int dir = BluetoothShare.DIRECTION_OUTBOUND; in updateCompletedNotification_withOutBoundShare_showsNoti() local 291 int dir = BluetoothShare.DIRECTION_INBOUND; in updateCompletedNotification_withInBoundShare_showsNoti() local 368 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/providers/MediaProvider/tests/src/com/android/providers/media/ |
D | MediaProviderTest.java | 279 final File dir = Environment in testCanonicalize() local 326 final File dir = Environment in testGrantMediaReadForPackage() local 357 final File dir = Environment in testGetReadGrantsForPackage() local 399 final File dir = Environment in testRevokeReadGrantsForPackage() local 471 final File dir = Environment in testActionLongFileNameItemHasTrimmedFileName() local 1470 final File dir = Environment in testQueryAudioViewsNoItemWithColumn() local 1527 final File dir = file.getParentFile(); in testQueryAudioTableNoIsRecordingColumnInR() local 1546 final File dir = file.getParentFile(); in testQueryIsRecordingInAudioTableExceptionInR() local 1567 final File dir = file.getParentFile(); in testQueryAudioTableHasIsRecordingColumnAfterR() local 1587 final File dir = file.getParentFile(); in testQueryIsRecordingInAudioTableAfterR() local [all …]
|
/packages/modules/OnDevicePersonalization/tests/servicetests/src/com/android/ondevicepersonalization/services/data/vendor/ |
D | OnDevicePersonalizationVendorDataDaoTest.java | 114 File dir = new File(OnDevicePersonalizationVendorDataDao.getFileDir( in testBatchInsert() local 188 File dir = new File(OnDevicePersonalizationVendorDataDao.getFileDir( in testDeleteVendor() local 283 File dir = new File(OnDevicePersonalizationVendorDataDao.getFileDir( in testDeleteVendorTables() 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/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/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/services/Car/tests/BugReportApp/src/com/android/car/bugreport/ |
D | FileUtils.java | 54 File dir = new File(context.getDataDir(), PENDING_DIR); in getPendingDir() local 66 File dir = new File(context.getDataDir(), TEMP_DIR + "/" + timestamp); in getTempDir() 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/modules/ExtServices/java/tests/src/android/ext/services/common/ |
D | AdServicesFilesCleanupBootCompleteReceiverTest.java | 221 File dir = mock(File.class); in testReceiverHandlesSecurityException() local 289 File dir = mContext.getFilesDir(); in createFiles() local 329 Path dir = root.resolve(path); in createFile() local
|
/packages/services/Car/libs/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/adb/libs/libadbd_fs/ |
D | adbd_fs.cpp | 22 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/modules/HealthFitness/service/java/com/android/server/healthconnect/utils/ |
D | FilesUtil.java | 42 public static void deleteDir(File dir) { in deleteDir()
|
/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 | 131 final File dir = mContext.getDataDir(); in testGetDataDir_CE() local 144 final File dir = ctx.getDataDir(); in testGetDataDir_DE() local
|
/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/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/providers/MediaProvider/tests/src/com/android/providers/media/stableuris/job/ |
D | StableUriIdleMaintenanceServiceTest.java | 143 final File dir = in testDataMigrationForExternalVolume() local 210 final File dir = new File(volPath.getAbsoluteFile() + "/Download"); in testDataMigrationForPublicVolume() local
|