/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/ |
D | SettingsStorageService.java | 65 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 …]
|
D | MigrateStorageActivity.java | 76 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()
|
D | NewStorageActivity.java | 52 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()
|
D | UnmountActivity.java | 57 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()
|
D | DiskReceiver.java | 83 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()
|
D | FormatActivity.java | 282 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()
|
D | BackupAppsStepFragment.java | 63 public static BackupAppsStepFragment newInstance(String volumeId) { in newInstance() argument 66 b.putString(VolumeInfo.EXTRA_VOLUME_ID, volumeId); in newInstance()
|
D | FormatAsPublicStepFragment.java | 43 void onRequestFormatAsPublic(String diskId, String volumeId); in onRequestFormatAsPublic() argument
|
/packages/apps/Car/Settings/src/com/android/car/settings/storage/ |
D | StorageUtils.java | 35 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/ |
D | ShadowStorageManager.java | 84 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/ |
D | StorageWizardBase.java | 77 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()
|
D | PrivateVolumeUnmount.java | 57 final String volumeId = getArguments().getString(VolumeInfo.EXTRA_VOLUME_ID); in onCreateView() local 58 mVolume = storage.findVolumeById(volumeId); in onCreateView()
|
D | PrivateVolumeFormat.java | 54 final String volumeId = getArguments().getString(VolumeInfo.EXTRA_VOLUME_ID); in onCreateView() local 55 mVolume = storage.findVolumeById(volumeId); in onCreateView()
|
D | StorageSettings.java | 425 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/ |
D | PrivateVolumeUnmount.java | 57 final String volumeId = getArguments().getString(VolumeInfo.EXTRA_VOLUME_ID); in onCreateView() local 58 mVolume = storage.findVolumeById(volumeId); in onCreateView()
|
D | PrivateVolumeFormat.java | 54 final String volumeId = getArguments().getString(VolumeInfo.EXTRA_VOLUME_ID); in onCreateView() local 55 mVolume = storage.findVolumeById(volumeId); in onCreateView()
|
D | StorageWizardBase.java | 77 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()
|
D | StorageSettings.java | 425 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/ |
D | Utils.java | 878 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/ |
D | Utils.java | 883 final String volumeId = bundle.getString(VolumeInfo.EXTRA_VOLUME_ID, in maybeInitializeVolume() local 885 VolumeInfo volume = sm.findVolumeById(volumeId); in maybeInitializeVolume()
|