Home
last modified time | relevance | path

Searched refs:mDisk (Results 1 – 21 of 21) sorted by relevance

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/
DStorageWizardBase.java65 protected DiskInfo mDisk; field in StorageWizardBase
84 mDisk = mStorage.findDiskById(diskId); in onCreate()
86 mDisk = mVolume.getDisk(); in onCreate()
89 if (mDisk != null) { in onCreate()
244 if (Objects.equals(mDisk.getId(), vol.getDiskId()) && (vol.getType() == type) in findFirstVolume()
252 + mDisk.getId() + "; trying again"); in findFirstVolume()
261 if (mDisk != null) { in getDiskDescription()
262 return mDisk.getDescription(); in getDiskDescription()
271 if (mDisk != null) { in getDiskShortDescription()
272 return mDisk.getShortDescription(); in getDiskShortDescription()
[all …]
DStorageWizardInit.java40 if (mDisk == null) { in onCreate()
55 if (!mDisk.isAdoptable()) { in onCreate()
84 intent.putExtra(DiskInfo.EXTRA_DISK_ID, mDisk.getId()); in onNavigateExternal()
90 StorageWizardFormatConfirm.showPublic(this, mDisk.getId()); in onNavigateExternal()
101 StorageWizardFormatConfirm.showPrivate(this, mDisk.getId()); in onNavigateInternal()
DPublicVolumeSettings.java62 private DiskInfo mDisk; field in PublicVolumeSettings
111 mDisk = mStorageManager.findDiskById(mVolume.getDiskId()); in onCreate()
112 Preconditions.checkNotNull(mDisk); in onCreate()
187 if (mDisk.isAdoptable() && mIsPermittedToAdopt) { in update()
229 StorageWizardFormatConfirm.showPublic(getActivity(), mDisk.getId()); in onPreferenceTreeClick()
231 StorageWizardFormatConfirm.showPrivate(getActivity(), mDisk.getId()); in onPreferenceTreeClick()
DPrivateVolumeFormat.java43 private DiskInfo mDisk; field in PrivateVolumeFormat
56 mDisk = storage.findDiskById(mVolume.getDiskId()); in onCreateView()
63 mDisk.getDescription())); in onCreateView()
73 intent.putExtra(EXTRA_DISK_ID, mDisk.getId());
DStorageWizardFormatProgress.java51 if (mDisk == null) { in onCreate()
91 storage.partitionPrivate(activity.mDisk.getId()); in doInBackground()
113 if (activity.mDisk.isDefaultPrimary() in doInBackground()
122 storage.partitionPublic(activity.mDisk.getId()); in doInBackground()
DPrivateVolumeUnmount.java39 private DiskInfo mDisk; field in PrivateVolumeUnmount
59 mDisk = storage.findDiskById(mVolume.getDiskId()); in onCreateView()
66 mDisk.getDescription())); in onCreateView()
DStorageWizardFormatSlow.java36 if (mDisk == null) { in onCreate()
98 intent.putExtra(DiskInfo.EXTRA_DISK_ID, mDisk.getId()); in onNavigateNext()
102 intent.putExtra(DiskInfo.EXTRA_DISK_ID, mDisk.getId()); in onNavigateNext()
DStorageWizardMigrateProgress.java69 if (mDisk != null) {
78 intent.putExtra(DiskInfo.EXTRA_DISK_ID, mDisk.getId());
DStorageWizardReady.java30 if (mDisk == null) { in onCreate()
DStorageWizardMigrateConfirm.java88 if (mDisk != null) { in onNavigateBack()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DStorageWizardBase.java65 protected DiskInfo mDisk; field in StorageWizardBase
84 mDisk = mStorage.findDiskById(diskId); in onCreate()
86 mDisk = mVolume.getDisk(); in onCreate()
89 if (mDisk != null) { in onCreate()
252 if (Objects.equals(mDisk.getId(), vol.getDiskId()) && (vol.getType() == type) in findFirstVolume()
260 + mDisk.getId() + "; trying again"); in findFirstVolume()
269 if (mDisk != null) { in getDiskDescription()
270 return mDisk.getDescription(); in getDiskDescription()
279 if (mDisk != null) { in getDiskShortDescription()
280 return mDisk.getShortDescription(); in getDiskShortDescription()
[all …]
DStorageWizardInit.java40 if (mDisk == null) { in onCreate()
55 if (!mDisk.isAdoptable()) { in onCreate()
84 intent.putExtra(DiskInfo.EXTRA_DISK_ID, mDisk.getId()); in onNavigateExternal()
90 StorageWizardFormatConfirm.showPublic(this, mDisk.getId()); in onNavigateExternal()
101 StorageWizardFormatConfirm.showPrivate(this, mDisk.getId()); in onNavigateInternal()
DPublicVolumeSettings.java62 private DiskInfo mDisk; field in PublicVolumeSettings
111 mDisk = mStorageManager.findDiskById(mVolume.getDiskId()); in onCreate()
112 Preconditions.checkNotNull(mDisk); in onCreate()
187 if (mDisk.isAdoptable() && mIsPermittedToAdopt) { in update()
229 StorageWizardFormatConfirm.showPublic(getActivity(), mDisk.getId()); in onPreferenceTreeClick()
231 StorageWizardFormatConfirm.showPrivate(getActivity(), mDisk.getId()); in onPreferenceTreeClick()
DPrivateVolumeFormat.java43 private DiskInfo mDisk; field in PrivateVolumeFormat
56 mDisk = storage.findDiskById(mVolume.getDiskId()); in onCreateView()
63 mDisk.getDescription())); in onCreateView()
73 intent.putExtra(EXTRA_DISK_ID, mDisk.getId());
DStorageWizardFormatProgress.java52 if (mDisk == null) { in onCreate()
93 storage.partitionPrivate(activity.mDisk.getId()); in doInBackground()
115 if (activity.mDisk.isDefaultPrimary() in doInBackground()
124 storage.partitionPublic(activity.mDisk.getId()); in doInBackground()
DPrivateVolumeUnmount.java39 private DiskInfo mDisk; field in PrivateVolumeUnmount
59 mDisk = storage.findDiskById(mVolume.getDiskId()); in onCreateView()
66 mDisk.getDescription())); in onCreateView()
DStorageWizardFormatSlow.java36 if (mDisk == null) { in onCreate()
98 intent.putExtra(DiskInfo.EXTRA_DISK_ID, mDisk.getId()); in onNavigateNext()
102 intent.putExtra(DiskInfo.EXTRA_DISK_ID, mDisk.getId()); in onNavigateNext()
DStorageWizardMigrateProgress.java71 if (mDisk != null) {
80 intent.putExtra(DiskInfo.EXTRA_DISK_ID, mDisk.getId());
DStorageWizardReady.java30 if (mDisk == null) { in onCreate()
DStorageWizardMigrateConfirm.java88 if (mDisk != null) { in onNavigateBack()
/packages/apps/Settings/tests/uitests/src/com/android/settings/ui/
DStorageWizardTest.java54 private String mDisk; field in StorageWizardTest
63 mDisk = getAdoptableDisk(); in setUp()
64 mDevice.executeShellCommand("sm partition " + mDisk + " public"); in setUp()
184 intent.putExtra(DiskInfo.EXTRA_DISK_ID, mDisk); in buildInitIntent()