Home
last modified time | relevance | path

Searched refs:volumeId (Results 1 – 20 of 20) sorted by relevance

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/
DSettingsStorageService.java65 public static void unmount(Context context, String volumeId) { in unmount() argument
68 intent.putExtra(VolumeInfo.EXTRA_VOLUME_ID, volumeId); in unmount()
105 final String volumeId = intent.getStringExtra(VolumeInfo.EXTRA_VOLUME_ID); in onHandleIntent() local
106 if (TextUtils.isEmpty(volumeId)) { in onHandleIntent()
110 unmount(volumeId); in onHandleIntent()
183 private void unmount(String volumeId) { in unmount() argument
188 final VolumeInfo volumeInfo = storageManager.findVolumeById(volumeId); in unmount()
190 Log.d(TAG, "Trying to unmount " + volumeId); in unmount()
191 storageManager.unmount(volumeId); in unmount()
206 .putExtra(VolumeInfo.EXTRA_VOLUME_ID, volumeId) in unmount()
[all …]
DMigrateStorageActivity.java76 public static Intent getLaunchIntent(Context context, String volumeId, in getLaunchIntent() argument
79 i.putExtra(VolumeInfo.EXTRA_VOLUME_ID, volumeId); in getLaunchIntent()
89 final String volumeId = intent.getStringExtra(VolumeInfo.EXTRA_VOLUME_ID); in onCreate() local
93 mTargetVolumeInfo = storageManager.findVolumeById(volumeId); in onCreate()
104 mVolumeInfo = storageManager.findVolumeById(volumeId); in onCreate()
268 final String volumeId = getArguments().getString(VolumeInfo.EXTRA_VOLUME_ID); in onCreateActions() local
270 if (TextUtils.equals(candidate.getId(), volumeId)) { in onCreateActions()
DNewStorageActivity.java52 public static Intent getNewStorageLaunchIntent(Context context, String volumeId, in getNewStorageLaunchIntent() argument
56 i.putExtra(VolumeInfo.EXTRA_VOLUME_ID, volumeId); in getNewStorageLaunchIntent()
87 final String volumeId = getIntent().getStringExtra(VolumeInfo.EXTRA_VOLUME_ID); in onCreate() local
89 if (TextUtils.isEmpty(volumeId) && TextUtils.isEmpty(diskId)) { in onCreate()
95 .add(android.R.id.content, NewStorageFragment.newInstance(volumeId, diskId)) in onCreate()
124 public static NewStorageFragment newInstance(String volumeId, String diskId) { in newInstance() argument
126 b.putString(VolumeInfo.EXTRA_VOLUME_ID, volumeId); in newInstance()
DUnmountActivity.java57 public static Intent getIntent(Context context, String volumeId, String volumeDesc) { in getIntent() argument
59 i.putExtra(VolumeInfo.EXTRA_VOLUME_ID, volumeId); in getIntent()
156 public static UnmountPrivateStepFragment newInstance(String volumeId) { in newInstance() argument
159 b.putString(VolumeInfo.EXTRA_VOLUME_ID, volumeId); in newInstance()
DDiskReceiver.java83 final String volumeId = intent.getStringExtra(VolumeInfo.EXTRA_VOLUME_ID); in handleMount() local
87 if (!TextUtils.equals(info.getId(), volumeId)) { in handleMount()
92 && !TextUtils.equals(volumeId, VolumeInfo.ID_PRIVATE_INTERNAL)) { in handleMount()
DFormatActivity.java282 public void onRequestFormatAsPublic(String diskId, String volumeId) { in onRequestFormatAsPublic() argument
289 if (!TextUtils.isEmpty(volumeId)) { in onRequestFormatAsPublic()
290 final VolumeInfo info = mStorageManager.findVolumeById(volumeId); in onRequestFormatAsPublic()
DBackupAppsStepFragment.java63 public static BackupAppsStepFragment newInstance(String volumeId) { in newInstance() argument
66 b.putString(VolumeInfo.EXTRA_VOLUME_ID, volumeId); in newInstance()
DFormatAsPublicStepFragment.java43 void onRequestFormatAsPublic(String diskId, String volumeId); in onRequestFormatAsPublic() argument
/packages/apps/Car/Settings/src/com/android/car/settings/storage/
DStorageUtils.java35 String volumeId = VolumeInfo.ID_PRIVATE_INTERNAL; in maybeInitializeVolume() local
37 volumeId = bundle.getString(VolumeInfo.EXTRA_VOLUME_ID, in maybeInitializeVolume()
41 VolumeInfo volume = sm.findVolumeById(volumeId); in maybeInitializeVolume()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowStorageManager.java84 private VolumeInfo createVolumeInfo(String volumeId) { in createVolumeInfo() argument
86 return new VolumeInfo(volumeId, 0, disk, "guid"); in createVolumeInfo()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/
DStorageWizardBase.java77 final String volumeId = getIntent().getStringExtra(EXTRA_VOLUME_ID); in onCreate() local
78 if (!TextUtils.isEmpty(volumeId)) { in onCreate()
79 mVolume = mStorage.findVolumeById(volumeId); in onCreate()
DPrivateVolumeUnmount.java57 final String volumeId = getArguments().getString(VolumeInfo.EXTRA_VOLUME_ID); in onCreateView() local
58 mVolume = storage.findVolumeById(volumeId); in onCreateView()
DPrivateVolumeFormat.java54 final String volumeId = getArguments().getString(VolumeInfo.EXTRA_VOLUME_ID); in onCreateView() local
55 mVolume = storage.findVolumeById(volumeId); in onCreateView()
DStorageSettings.java425 public static void show(Fragment parent, String volumeId) { in show() argument
427 args.putString(VolumeInfo.EXTRA_VOLUME_ID, volumeId); in show()
445 final String volumeId = getArguments().getString(VolumeInfo.EXTRA_VOLUME_ID); in onCreateDialog() local
446 final VolumeInfo vol = sm.findVolumeById(volumeId); in onCreateDialog()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DPrivateVolumeUnmount.java57 final String volumeId = getArguments().getString(VolumeInfo.EXTRA_VOLUME_ID); in onCreateView() local
58 mVolume = storage.findVolumeById(volumeId); in onCreateView()
DPrivateVolumeFormat.java54 final String volumeId = getArguments().getString(VolumeInfo.EXTRA_VOLUME_ID); in onCreateView() local
55 mVolume = storage.findVolumeById(volumeId); in onCreateView()
DStorageWizardBase.java77 final String volumeId = getIntent().getStringExtra(EXTRA_VOLUME_ID); in onCreate() local
78 if (!TextUtils.isEmpty(volumeId)) { in onCreate()
79 mVolume = mStorage.findVolumeById(volumeId); in onCreate()
DStorageSettings.java425 public static void show(Fragment parent, String volumeId) { in show() argument
427 args.putString(VolumeInfo.EXTRA_VOLUME_ID, volumeId); in show()
445 final String volumeId = getArguments().getString(VolumeInfo.EXTRA_VOLUME_ID); in onCreateDialog() local
446 final VolumeInfo vol = sm.findVolumeById(volumeId); in onCreateDialog()
/packages/apps/Settings/src/com/android/settings/
DUtils.java878 final String volumeId = bundle.getString(VolumeInfo.EXTRA_VOLUME_ID, in maybeInitializeVolume() local
880 VolumeInfo volume = sm.findVolumeById(volumeId); in maybeInitializeVolume()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DUtils.java883 final String volumeId = bundle.getString(VolumeInfo.EXTRA_VOLUME_ID, in maybeInitializeVolume() local
885 VolumeInfo volume = sm.findVolumeById(volumeId); in maybeInitializeVolume()