Home
last modified time | relevance | path

Searched refs:volumeName (Results 1 – 7 of 7) sorted by relevance

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
DAppsActivity.java38 String volumeName = null; in createSettingsFragment() local
41 volumeName = args.getString(EXTRA_VOLUME_NAME); in createSettingsFragment()
43 return SettingsFragment.newInstance(volumeUuid, volumeName); in createSettingsFragment()
48 public static SettingsFragment newInstance(String volumeUuid, String volumeName) { in newInstance() argument
51 b.putString(EXTRA_VOLUME_NAME, volumeName); in newInstance()
60 final String volumeName = getArguments().getString(EXTRA_VOLUME_NAME); in onPreferenceStartInitialScreen() local
61 startPreferenceFragment(AppsFragment.newInstance(volumeUuid, volumeName)); in onPreferenceStartInitialScreen()
DAppsFragment.java72 public static void prepareArgs(Bundle b, String volumeUuid, String volumeName) { in prepareArgs() argument
74 b.putString(AppsActivity.EXTRA_VOLUME_NAME, volumeName); in prepareArgs()
77 public static AppsFragment newInstance(String volumeUuid, String volumeName) { in newInstance() argument
79 prepareArgs(b, volumeUuid, volumeName); in newInstance()
91 final String volumeName = getArguments().getString(AppsActivity.EXTRA_VOLUME_NAME); in onActivityCreated() local
95 if (!TextUtils.isEmpty(volumeUuid) || !TextUtils.isEmpty(volumeName)) { in onActivityCreated()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaScannerService.java51 private void openDatabase(String volumeName) { in openDatabase() argument
54 values.put("name", volumeName); in openDatabase()
61 private void scan(String[] directories, String volumeName) { in scan() argument
68 values.put(MediaStore.MEDIA_SCANNER_VOLUME, volumeName); in scan()
74 if (volumeName.equals(MediaProvider.EXTERNAL_VOLUME)) { in scan()
75 openDatabase(volumeName); in scan()
78 try (MediaScanner scanner = new MediaScanner(this, volumeName)) { in scan() argument
162 String volumeName = MediaProvider.EXTERNAL_VOLUME; in scanFile() local
164 try (MediaScanner scanner = new MediaScanner(this, volumeName)) { in scanFile() argument
DMediaProvider.java3432 final String volumeName = getVolumeName(uri); in insertInternal() local
3475 getContext(), volumeName, FileColumns.MEDIA_TYPE_IMAGE, rowId); in insertInternal() local
3477 Images.Media.getContentUri(volumeName), rowId); in insertInternal()
3490 getContentUri(volumeName), rowId); in insertInternal()
3503 getContentUri(volumeName), rowId); in insertInternal()
3513 getContext(), volumeName, FileColumns.MEDIA_TYPE_AUDIO, rowId); in insertInternal() local
3515 Audio.Media.getContentUri(volumeName), rowId); in insertInternal()
3553 Audio.Genres.getContentUri(volumeName), rowId); in insertInternal()
3577 Audio.Playlists.getContentUri(volumeName), rowId); in insertInternal()
3600 getContext(), volumeName, FileColumns.MEDIA_TYPE_VIDEO, rowId); in insertInternal() local
[all …]
DMediaDocumentsProvider.java124 static void onMediaStoreInsert(Context context, String volumeName, int type, long id) { in onMediaStoreInsert() argument
125 if (!"external".equals(volumeName)) return; in onMediaStoreInsert()
142 static void onMediaStoreDelete(Context context, String volumeName, int type, long id) { in onMediaStoreDelete() argument
143 if (!"external".equals(volumeName)) return; in onMediaStoreDelete()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DStorageWizardMoveConfirm.java58 final String volumeName = mStorage.getBestVolumeDescription(mVolume); in onCreate() local
62 setBodyText(R.string.storage_wizard_move_confirm_body, appName, volumeName); in onCreate()
DStorageWizardMoveProgress.java47 final String volumeName = mStorage.getBestVolumeDescription(mVolume); in onCreate() local
51 setBodyText(R.string.storage_wizard_move_progress_body, volumeName, appName); in onCreate()