Home
last modified time | relevance | path

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

123456

/packages/apps/TV/common/tests/robotests/src/com/android/tv/common/util/
DCommonUtilsTest.java46 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/
DSpecialFormatDetectorTest.java65 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/
DStorageManager.cpp78 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/
DMediaScannerTest.java81 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/
DFileHelper.java40 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/
DBluetoothOppNotificationTest.java130 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/
DFetchDownloadsLoader.java63 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/
DMediaProviderTest.java279 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/
DOnDevicePersonalizationVendorDataDaoTest.java114 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/
DFileUtils.java163 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/
DDownloadProviderTest.java152 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/
DLicenseSupport.java68 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/
DFileUtils.java54 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/
DIoUtils.java62 public static void writeBundle( in writeBundle()
97 public static void writeProto( in writeProto()
/packages/inputmethods/LatinIME/tools/dicttool/compat/android/test/
DAndroidTestCase.java32 final File dir = Test.TEST_TMP_DIR; in getCacheDir() local
/packages/modules/ExtServices/java/tests/src/android/ext/services/common/
DAdServicesFilesCleanupBootCompleteReceiverTest.java221 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/
Dimpl.cpp39 Directory dir("/proc"); in readProcessTable() local
Ddirectory.cpp58 if (auto dir = mDirectory.get()) { in next() local
/packages/modules/adb/libs/libadbd_fs/
Dadbd_fs.cpp22 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/
DFilesUtil.java42 public static void deleteDir(File dir) { in deleteDir()
/packages/inputmethods/LatinIME/native/jni/src/dictionary/utils/
Dfile_utils.cpp46 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/
DSdkSandboxConfigurationTest.java131 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/
DFileUtil.java37 final File dir = new File(paths.get(i)); in getStorageInKbForPaths() local
/packages/inputmethods/LatinIME/common/src/com/android/inputmethod/latin/common/
DFileUtils.java40 public static boolean deleteFilteredFiles(final File dir, final FilenameFilter fileNameFilter) { in deleteFilteredFiles()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/stableuris/job/
DStableUriIdleMaintenanceServiceTest.java143 final File dir = in testDataMigrationForExternalVolume() local
210 final File dir = new File(volPath.getAbsoluteFile() + "/Download"); in testDataMigrationForPublicVolume() local

123456