Home
last modified time | relevance | path

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

12345

/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
DFileCreationUtils.java45 final File dir = in insertFileInResolver() local
/packages/modules/StatsD/statsd/src/storage/
DStorageManager.cpp80 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/
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/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/opp/
DBluetoothOppNotificationTest.java87 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/
DFetchDownloadsLoader.java63 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/
DFileUtils.java49 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/
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/src/com/android/providers/media/
DMediaProviderTest.java265 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/
DLicenseSupport.java68 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/
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/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/apps/WallpaperPicker2/tests/common/src/com/android/wallpaper/testing/
DTestPartnerProvider.java45 public void setLegacyWallpaperDirectory(File dir) { in setLegacyWallpaperDirectory()
/packages/services/Car/procfs-inspector/server/
Dimpl.cpp39 Directory dir("/proc"); in readProcessTable() local
Ddirectory.cpp58 if (auto dir = mDirectory.get()) { in next() local
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/utils/
DFilesUtil.java42 public static void deleteDir(File dir) { in deleteDir()
/packages/modules/adb/libs/libadbd_fs/
Dadbd_fs.cpp21 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/
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.java130 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/
DHealthConnectServiceImplTest.java265 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/
DFileUtils.java40 public static boolean deleteFilteredFiles(final File dir, final FilenameFilter fileNameFilter) { in deleteFilteredFiles()
/packages/modules/AdServices/sdksandbox/framework/java/android/app/sdksandbox/
DFileUtil.java37 final File dir = new File(paths.get(i)); in getStorageInKbForPaths() local
/packages/services/BuiltInPrintService/src/com/android/bips/util/
DFileUtils.java57 public static boolean makeDirectory(File dir) { in makeDirectory()

12345