Home
last modified time | relevance | path

Searched refs:mVolumeId (Results 1 – 11 of 11) sorted by relevance

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/
DNewStorageActivity.java108 private String mVolumeId; field in NewStorageActivity.NewStorageFragment
136 mVolumeId = getArguments().getString(VolumeInfo.EXTRA_VOLUME_ID); in onCreate()
138 if (TextUtils.isEmpty(mVolumeId) && TextUtils.isEmpty(mDiskId)) { in onCreate()
142 if (!TextUtils.isEmpty(mVolumeId)) { in onCreate()
143 final VolumeInfo info = storageManager.findVolumeById(mVolumeId); in onCreate()
181 if (TextUtils.isEmpty(mVolumeId)) { in onCreateActions()
216 if (!TextUtils.isEmpty(mVolumeId)) { in onGuidedActionClicked()
218 UnmountActivity.getIntent(getActivity(), mVolumeId, mDescription)); in onGuidedActionClicked() local
246 } else if (!TextUtils.isEmpty(mVolumeId)) { in checkForUnmount()
250 if (TextUtils.equals(volumeInfo.getId(), mVolumeId)) { in checkForUnmount()
DBackupAppsStepFragment.java55 private String mVolumeId; field in BackupAppsStepFragment
77 mVolumeId = getArguments().getString(VolumeInfo.EXTRA_VOLUME_ID); in onCreate()
78 final VolumeInfo info = mStorageManager.findVolumeById(mVolumeId); in onCreate()
124 final VolumeInfo volumeInfo = mStorageManager.findVolumeById(mVolumeId); in onCreateGuidance()
159 && TextUtils.equals(currentExternal.getId(), mVolumeId)) { in getAppActions()
163 if (!TextUtils.equals(candidate.getId(), mVolumeId)) { in getAppActions()
222 startActivity(MigrateStorageActivity.getLaunchIntent(getActivity(), mVolumeId, false)); in onGuidedActionClicked() local
DFormatAsPublicStepFragment.java39 private String mVolumeId; field in FormatAsPublicStepFragment
64 mVolumeId = volume.getId(); in onCreate()
84 if (!TextUtils.isEmpty(mVolumeId)) { in onCreateActions()
103 final Fragment f = BackupAppsStepFragment.newInstance(mVolumeId); in onGuidedActionClicked()
109 ((Callback) getActivity()).onRequestFormatAsPublic(mDiskId, mVolumeId); in onGuidedActionClicked()
/packages/apps/Car/Settings/src/com/android/car/settings/storage/
DUnmountTask.java37 private final String mVolumeId; field in UnmountTask
43 mVolumeId = volume.getId(); in UnmountTask()
50 mStorageManager.unmount(mVolumeId); in doInBackground()
63 LOG.e("Failed to unmount " + mVolumeId, e); in onPostExecute()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DStorageSettings.java355 private final String mVolumeId; field in StorageSettings.MountTask
361 mVolumeId = volume.getId(); in MountTask()
368 mStorageManager.mount(mVolumeId); in doInBackground()
381 Log.e(TAG, "Failed to mount " + mVolumeId, e); in onPostExecute()
391 private final String mVolumeId; field in StorageSettings.UnmountTask
397 mVolumeId = volume.getId(); in UnmountTask()
404 mStorageManager.unmount(mVolumeId); in doInBackground()
417 Log.e(TAG, "Failed to unmount " + mVolumeId, e); in onPostExecute()
DPublicVolumeSettings.java60 private String mVolumeId; field in PublicVolumeSettings
114 mVolumeId = mVolume.getId(); in onCreate()
208 mVolume = mStorageManager.findVolumeById(mVolumeId); in onResume()
256 mVolume = mStorageManager.findVolumeById(mVolumeId);
DPrivateVolumeSettings.java112 private String mVolumeId; field in PrivateVolumeSettings
155 mVolumeId = getArguments().getString(VolumeInfo.EXTRA_VOLUME_ID); in onCreate()
156 mVolume = mStorageManager.findVolumeById(mVolumeId); in onCreate()
349 mVolume = mStorageManager.findVolumeById(mVolumeId); in onResume()
662 mVolume = mStorageManager.findVolumeById(mVolumeId);
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/
DStorageSettings.java355 private final String mVolumeId; field in StorageSettings.MountTask
361 mVolumeId = volume.getId(); in MountTask()
368 mStorageManager.mount(mVolumeId); in doInBackground()
381 Log.e(TAG, "Failed to mount " + mVolumeId, e); in onPostExecute()
391 private final String mVolumeId; field in StorageSettings.UnmountTask
397 mVolumeId = volume.getId(); in UnmountTask()
404 mStorageManager.unmount(mVolumeId); in doInBackground()
417 Log.e(TAG, "Failed to unmount " + mVolumeId, e); in onPostExecute()
DPublicVolumeSettings.java60 private String mVolumeId; field in PublicVolumeSettings
114 mVolumeId = mVolume.getId(); in onCreate()
208 mVolume = mStorageManager.findVolumeById(mVolumeId); in onResume()
256 mVolume = mStorageManager.findVolumeById(mVolumeId);
DPrivateVolumeSettings.java112 private String mVolumeId; field in PrivateVolumeSettings
155 mVolumeId = getArguments().getString(VolumeInfo.EXTRA_VOLUME_ID); in onCreate()
156 mVolume = mStorageManager.findVolumeById(mVolumeId); in onCreate()
349 mVolume = mStorageManager.findVolumeById(mVolumeId); in onResume()
687 mVolume = mStorageManager.findVolumeById(mVolumeId);
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java1720 c.addRow(new Integer[] {mVolumeId}); in queryInternal()
6142 private int mVolumeId = -1; field in MediaProvider