Home
last modified time | relevance | path

Searched defs:volumeName (Results 1 – 23 of 23) sorted by relevance

/packages/providers/MediaProvider/src/com/android/providers/media/util/
DMetrics.java46 public static void logScan(@NonNull String volumeName, int reason, long itemCount, in logScan()
66 public static void logDeletionPersistent(@NonNull String volumeName, String reason, in logDeletionPersistent()
84 public static void logDeletion(@NonNull String volumeName, int uid, String packageName, in logDeletion()
91 public static void logPermissionGranted(@NonNull String volumeName, int uid, String packageName, in logPermissionGranted()
102 public static void logPermissionDenied(@NonNull String volumeName, int uid, String packageName, in logPermissionDenied()
113 public static void logSchemaChange(@NonNull String volumeName, int versionFrom, int versionTo, in logSchemaChange()
126 public static void logIdleMaintenance(@NonNull String volumeName, long itemCount, in logIdleMaintenance()
151 private static int translateVolumeName(@NonNull String volumeName) { in translateVolumeName()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
DAppsActivity.java39 String volumeName = null; in createSettingsFragment() local
49 private Bundle getArguments(String volumeUuid, String volumeName) { in getArguments()
DAllAppsActivity.java39 String volumeName = null; in createSettingsFragment() local
49 private Bundle getArguments(String volumeUuid, String volumeName) { in getArguments()
DAppsFragment.java53 public static void prepareArgs(Bundle b, String volumeUuid, String volumeName) { in prepareArgs()
58 public static AppsFragment newInstance(String volumeUuid, String volumeName) { in newInstance()
DAllAppsFragment.java93 public static void prepareArgs(Bundle b, String volumeUuid, String volumeName) { in prepareArgs()
99 public static AllAppsFragment newInstance(String volumeUuid, String volumeName) { in newInstance()
115 final String volumeName = getArguments().getString(AppsActivity.EXTRA_VOLUME_NAME); in onActivityCreated() local
/packages/providers/MediaProvider/apex/framework/java/android/provider/
DMediaStore.java953 @NonNull String volumeName) { in startLegacyMigration()
969 @NonNull String volumeName) { in finishLegacyMigration()
1710 public static Uri getContentUri(String volumeName) { in getContentUri()
1722 public static final Uri getContentUri(String volumeName, in getContentUri()
1729 public static Uri getMtpObjectsUri(@NonNull String volumeName) { in getMtpObjectsUri()
1735 public static final Uri getMtpObjectsUri(@NonNull String volumeName, long fileId) { in getMtpObjectsUri()
1741 public static final Uri getMtpReferencesUri(@NonNull String volumeName, long fileId) { in getMtpReferencesUri()
1749 public static final Uri getDirectoryUri(String volumeName) { in getDirectoryUri()
2051 public static @NonNull Uri getContentUri(@NonNull String volumeName) { in getContentUri()
2064 public static @NonNull Uri getContentUri(@NonNull String volumeName, long id) { in getContentUri()
[all …]
/packages/providers/MediaProvider/src/com/android/providers/media/
DVolumeCache.java91 public @NonNull MediaVolume findVolume(@NonNull String volumeName, @NonNull UserHandle user) in findVolume()
104 public @NonNull File getVolumePath(@NonNull String volumeName, @NonNull UserHandle user) in getVolumePath()
120 public @NonNull Collection<File> getVolumeScanPaths(@NonNull String volumeName, in getVolumeScanPaths()
DDatabaseHelper.java143 public void onSchemaChange(@NonNull String volumeName, int versionFrom, int versionTo, in onSchemaChange()
148 public void onInsert(@NonNull DatabaseHelper helper, @NonNull String volumeName, long id, in onInsert()
150 public void onUpdate(@NonNull DatabaseHelper helper, @NonNull String volumeName, in onUpdate()
154 public void onDelete(@NonNull DatabaseHelper helper, @NonNull String volumeName, long id, in onDelete()
159 public void onStarted(ContentProviderClient client, String volumeName); in onStarted()
160 public void onProgress(ContentProviderClient client, String volumeName, in onProgress()
162 public void onFinished(ContentProviderClient client, String volumeName); in onFinished()
DMediaService.java152 final String volumeName = volume.getName(); in onScanVolume() local
DMediaProvider.java401 public @NonNull MediaVolume getVolume(@NonNull String volumeName) throws FileNotFoundException { in getVolume()
405 public @NonNull File getVolumePath(@NonNull String volumeName) throws FileNotFoundException { in getVolumePath()
419 private @NonNull Collection<File> getAllowedVolumePaths(String volumeName) in getAllowedVolumePaths()
782 private void acceptWithExpansion(@NonNull Consumer<Uri> consumer, @NonNull String volumeName, in acceptWithExpansion()
2711 final String volumeName = getVolumeName(uri); in queryInternal() local
2712 PulledMetrics.logVolumeAccessViaMediaProvider(getCallingUidOrSelf(), volumeName); in queryInternal() local
3470 private File checkDefaultDirMissing(String volumeName, File file) { in checkDefaultDirMissing()
4044 final String volumeName = getVolumeName(uri); in resolveVolumeName() local
4572 final String volumeName = MediaStore.getVolumeName(uri); in getQueryBuilderInternal() local
5181 final String volumeName = getVolumeName(uri); in deleteInternal() local
[all …]
DMediaDocumentsProvider.java205 static void onMediaStoreReady(Context context, String volumeName) { in onMediaStoreReady()
214 static void onMediaStoreInsert(Context context, String volumeName, int type, long id) { in onMediaStoreInsert()
235 static void onMediaStoreDelete(Context context, String volumeName, int type, long id) { in onMediaStoreDelete()
1552 private String cleanUpMediaBucketName(String bucketDisplayName, String volumeName) { in cleanUpMediaBucketName()
DPermissionActivity.java106 private String volumeName; field in PermissionActivity
/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/
DMetricsTest.java40 final String volumeName = MediaStore.VOLUME_EXTERNAL_PRIMARY; in testSimple() local
/packages/providers/MediaProvider/src/com/android/providers/media/metrics/
DStorageAccessMetrics.java96 final String volumeName = MediaStore.getVolumeName( in logAccessViaFuse() local
106 void logAccessViaMediaProvider(int uid, @NonNull String volumeName) { in logAccessViaMediaProvider()
120 private void logGeneralExternalStorageAccess(int uid, @NonNull String volumeName) { in logGeneralExternalStorageAccess()
DPulledMetrics.java105 public static void logVolumeAccessViaMediaProvider(int uid, @NonNull String volumeName) { in logVolumeAccessViaMediaProvider()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DStorageWizardMoveProgress.java48 final String volumeName = mStorage.getBestVolumeDescription(mVolume); in onCreate() local
DStorageWizardMoveConfirm.java69 final String volumeName = mStorage.getBestVolumeDescription(mVolume); in onCreate() local
/packages/providers/MediaProvider/src/com/android/providers/media/scan/
DModernMediaScanner.java987 BasicFileAttributes attrs, String mimeType, int mediaType, String volumeName) { in scanItem()
1205 File file, BasicFileAttributes attrs, String mimeType, String volumeName) { in scanItemDirectory()
1236 String volumeName) { in scanItemAudio()
1279 String volumeName) { in scanItemPlaylist()
1293 String volumeName) { in scanItemSubtitle()
1302 String volumeName) { in scanItemDocument()
1311 String volumeName) { in scanItemVideo()
1360 String volumeName) { in scanItemImage()
1400 String volumeName) { in scanItemFile()
1407 private static @NonNull ContentProviderOperation.Builder newUpsert( in newUpsert()
/packages/providers/MediaProvider/legacy/src/com/android/providers/media/
DLegacyMediaProvider.java91 final String volumeName = MediaStore.getVolumeName(uri); in getDatabaseForUri() local
224 final String volumeName = arg; in call() local
/packages/providers/MediaProvider/tests/client/src/com/android/providers/media/client/
DDownloadProviderTest.java144 private static File getVolumePath(Context context, String volumeName) { in getVolumePath()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DHelpers.java500 final String volumeName = MediaStore.getVolumeName(mediaStoreUri); in convertToMediaStoreDownloadsUri() local
512 final String volumeName = sm.getStorageVolume(new File(path)).getMediaStoreVolumeName(); in getContentUriForPath() local
648 final String volumeName = matcher.group(1); in extractVolumeName() local
DDownloadProvider.java456 final String volumeName = MediaStore.getVolumeName(mediaStoreFilesUri); in updateMediaStoreUrisFromFilesToDownloads() local
/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DMediaProviderTest.java1296 private static void assertVolume(ContentValues values, String volumeName) { in assertVolume()
1380 final String volumeName = MediaStore.VOLUME_EXTERNAL; in testRedactionForInvalidUris() local
1400 final String volumeName = MediaStore.VOLUME_EXTERNAL; in testRedactionForInvalidAndValidUris() local