Home
last modified time | relevance | path

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

12

/packages/providers/MediaProvider/src/com/android/providers/media/util/
DMetrics.java51 public static void logScan(@NonNull String volumeName, int reason, long itemCount, in logScan()
71 public static void logDeletionPersistent(@NonNull String volumeName, String reason, in logDeletionPersistent()
89 public static void logDeletion(@NonNull String volumeName, int uid, String packageName, in logDeletion()
96 public static void logPermissionGranted(@NonNull String volumeName, int uid, String packageName, in logPermissionGranted()
107 public static void logPermissionDenied(@NonNull String volumeName, int uid, String packageName, in logPermissionDenied()
118 public static void logSchemaChange(@NonNull String volumeName, int versionFrom, int versionTo, in logSchemaChange()
131 public static void logIdleMaintenance(@NonNull String volumeName, long itemCount, in logIdleMaintenance()
156 private static int translateVolumeName(@NonNull String volumeName) { in translateVolumeName()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DTestDatabaseBackupAndRecovery.java53 protected boolean isStableUrisEnabled(String volumeName) { in isStableUrisEnabled()
61 protected String[] readBackedUpFilePaths(String volumeName, String lastReadValue, in readBackedUpFilePaths()
68 protected Optional<BackupIdRow> readDataFromBackup(String volumeName, in readDataFromBackup()
74 protected boolean isBackupPresent(String volumeName) { in isBackupPresent()
85 protected void setupVolumeDbBackupAndRecovery(String volumeName) {} in setupVolumeDbBackupAndRecovery()
/packages/providers/MediaProvider/src/com/android/providers/media/
DDatabaseBackupAndRecovery.java198 protected boolean isStableUrisEnabled(String volumeName) { in isStableUrisEnabled()
249 protected synchronized void setupVolumeDbBackupAndRecovery(String volumeName) { in setupVolumeDbBackupAndRecovery()
337 protected Optional<BackupIdRow> readDataFromBackup(String volumeName, String filePath) { in readDataFromBackup()
399 String volumeName, CancellationSignal signal) { in backupExternalDatabase()
496 final String volumeName = c.getString(10); in backupDataValues() local
509 protected void deleteBackupForVolume(String volumeName) { in deleteBackupForVolume()
518 protected String[] readBackedUpFilePaths(String volumeName, String lastReadValue, int limit) { in readBackedUpFilePaths()
741 protected boolean isBackupUpdateAllowed(DatabaseHelper databaseHelper, String volumeName) { in isBackupUpdateAllowed()
747 private boolean isInternalOrExternalPrimary(String volumeName) { in isInternalOrExternalPrimary()
888 String volumeName) { in insertDataInDatabase()
[all …]
DVolumeCache.java90 public @NonNull MediaVolume findVolume(@NonNull String volumeName, @NonNull UserHandle user) in findVolume()
103 public @NonNull File getVolumePath(@NonNull String volumeName, @NonNull UserHandle user) in getVolumePath()
121 public @NonNull Collection<File> getVolumeScanPaths(@NonNull String volumeName, in getVolumeScanPaths()
DMediaService.java152 final String volumeName = volume.getName(); in onScanVolume() local
DDatabaseHelper.java241 void onSchemaChange(@NonNull String volumeName, int versionFrom, int versionTo, in onSchemaChange()
256 void onStarted(ContentProviderClient client, String volumeName); in onStarted()
258 void onProgress(ContentProviderClient client, String volumeName, in onProgress()
261 void onFinished(ContentProviderClient client, String volumeName); in onFinished()
575 String volumeName = in tryRecoverDatabase() local
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
DAppsActivity.java38 String volumeName = null; in createSettingsFragment() local
49 private Bundle getArguments(String volumeUuid, String volumeName) { in getArguments()
DAllAppsActivity.java38 String volumeName = null; in createSettingsFragment() local
49 private Bundle getArguments(String volumeUuid, String volumeName) { in getArguments()
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.java1336 @NonNull String volumeName) { in startLegacyMigration()
1352 @NonNull String volumeName) { in finishLegacyMigration()
2188 public static Uri getContentUri(String volumeName) { in getContentUri()
2200 public static final Uri getContentUri(String volumeName, in getContentUri()
2207 public static Uri getMtpObjectsUri(@NonNull String volumeName) { in getMtpObjectsUri()
2213 public static final Uri getMtpObjectsUri(@NonNull String volumeName, long fileId) { in getMtpObjectsUri()
2219 public static final Uri getMtpReferencesUri(@NonNull String volumeName, long fileId) { in getMtpReferencesUri()
2227 public static final Uri getDirectoryUri(String volumeName) { in getDirectoryUri()
2580 public static @NonNull Uri getContentUri(@NonNull String volumeName) { in getContentUri()
2593 public static @NonNull Uri getContentUri(@NonNull String volumeName, long id) { in getContentUri()
[all …]
/packages/providers/MediaProvider/src/com/android/providers/media/fuse/
DFuseDaemon.java224 public void setupPublicVolumeDbBackup(String volumeName) throws IOException { in setupPublicVolumeDbBackup()
248 public void backupVolumeDbData(String volumeName, String key, String value) throws IOException { in backupVolumeDbData()
260 public String[] readBackedUpFilePaths(String volumeName, String lastReadValue, int limit) in readBackedUpFilePaths()
348 private native void native_setup_public_volume_db_backup(long daemon, String volumeName); in native_setup_public_volume_db_backup()
350 private native void native_backup_volume_db_data(long daemon, String volumeName, String key, in native_backup_volume_db_data()
352 private native String[] native_read_backed_up_file_paths(long daemon, String volumeName, in native_read_backed_up_file_paths()
/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.java111 public static void logVolumeAccessViaMediaProvider(int uid, @NonNull String volumeName) { in logVolumeAccessViaMediaProvider()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/util/
DMetricsTest.java36 final String volumeName = MediaStore.VOLUME_EXTERNAL_PRIMARY; in testSimple() local
/packages/providers/MediaProvider/src/com/android/providers/media/scan/
DModernMediaScanner.java1038 BasicFileAttributes attrs, String mimeType, int mediaType, String volumeName) { in scanItem()
1256 File file, BasicFileAttributes attrs, String mimeType, String volumeName) { in scanItemDirectory()
1271 String volumeName) { in scanItemAudio()
1304 String volumeName) { in scanItemPlaylist()
1318 String volumeName) { in scanItemSubtitle()
1327 String volumeName) { in scanItemDocument()
1336 String volumeName) { in scanItemVideo()
1385 String volumeName) { in scanItemImage()
1426 String volumeName) { in scanItemFile()
1433 private static @NonNull ContentProviderOperation.Builder newUpsert( in newUpsert()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DStorageWizardMoveProgress.java50 final String volumeName = mStorage.getBestVolumeDescription(mVolume); in onCreate() local
DStorageWizardMoveConfirm.java70 final String volumeName = mStorage.getBestVolumeDescription(mVolume); in onCreate() local
/packages/providers/MediaProvider/legacy/src/com/android/providers/media/
DLegacyMediaProvider.java89 final String volumeName = MediaStore.getVolumeName(uri); in getDatabaseForUri() local
222 final String volumeName = arg; in call() local
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/
DStorageUninstallAppsFragment.java77 final String volumeName = getArguments().getString(AppsActivity.EXTRA_VOLUME_NAME); in onCreate() local
DFreeUpStorageFragment.java54 final String volumeName = getArguments().getString(AppsActivity.EXTRA_VOLUME_NAME); in onCreatePreferences() local
DAllAppsSession.java98 public AllAppsSession(Context context, String volumeUuid, String volumeName, in AllAppsSession()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/device/apps/
DAppsState.java42 public static void prepareArgs(Bundle b, String volumeUuid, String volumeName) { in prepareArgs()
/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.java520 final String volumeName = MediaStore.getVolumeName(mediaStoreUri); in convertToMediaStoreDownloadsUri() local
532 final String volumeName = sm.getStorageVolume(new File(path)).getMediaStoreVolumeName(); in getContentUriForPath() local
731 final String volumeName = matcher.group(1); in extractVolumeName() local
/packages/providers/MediaProvider/src/com/android/providers/media/dao/
DFileRow.java64 public Builder setVolumeName(String volumeName) { in setVolumeName()

12