Home
last modified time | relevance | path

Searched refs:volumePath (Results 1 – 5 of 5) sorted by relevance

/aosp12/frameworks/base/core/java/com/android/internal/content/
H A DPackageHelper.java166 private static boolean checkFitOnVolume(StorageManager storageManager, String volumePath, in checkFitOnVolume() argument
168 if (volumePath == null) { in checkFitOnVolume()
172 final UUID target = storageManager.getUuidForPath(new File(volumePath)); in checkFitOnVolume()
267 final String volumePath = volumePaths.get(vol); in resolveInstallVolume() local
268 final UUID target = storageManager.getUuidForPath(new File(volumePath)); in resolveInstallVolume()
/aosp12/packages/providers/MediaProvider/src/com/android/providers/media/
H A DDatabaseHelper.java901 final String volumePath = FileUtils.extractVolumePath(data); in migrateFromLegacy() local
906 if (!mInternal && volumePath != null && in migrateFromLegacy()
936 if (volumePath != null) { in migrateFromLegacy()
938 FileUtils.computeDataFromValues(values, new File(volumePath), in migrateFromLegacy()
H A DMediaProvider.java3269 File volumePath; in ensureFileColumns() local
3271 volumePath = getVolumePath(resolvedVolumeName); in ensureFileColumns()
3277 FileUtils.computeDataFromValues(values, volumePath, isFuseThread()); in ensureFileColumns()
3362 !FileUtils.buildPath(volumePath, primary).exists(); in ensureFileColumns()
3469 File volumePath = getVolumePath(volumeName); in checkDefaultDirMissing() local
3470 if (!new File(volumePath, topLevelDir).exists()) { in checkDefaultDirMissing()
3471 return volumePath; in checkDefaultDirMissing()
6002 final File volumePath = getVolumePath(volumeName);
6003 return FileUtils.buildPath(volumePath, directoryName,
6098 final File volumePath = volume.getPath();
[all …]
/aosp12/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/
H A DFileUtilsTest.java991 final String volumePath = "/storage/emulated/0/"; in testComputeDataFromValues_withAction_trimFileName() local
998 FileUtils.computeDataFromValues(values, new File(volumePath), false /* isForFuse */); in testComputeDataFromValues_withAction_trimFileName()
/aosp12/packages/providers/MediaProvider/src/com/android/providers/media/util/
H A DFileUtils.java1345 @NonNull File volumePath, boolean isForFuse) {
1373 final File filePath = buildPath(volumePath,