Home
last modified time | relevance | path

Searched refs:privateVol (Results 1 – 13 of 13) sorted by relevance

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/
DPrivateVolumeOptionMenuController.java65 final VolumeInfo privateVol = mPm.getPrimaryStorageCurrentVolume(); in onPrepareOptionsMenu() local
68 migrate.setVisible((privateVol != null) in onPrepareOptionsMenu()
69 && (privateVol.getType() == VolumeInfo.TYPE_PRIVATE) in onPrepareOptionsMenu()
70 && !Objects.equals(mVolumeInfo, privateVol) in onPrepareOptionsMenu()
71 && privateVol.isMountedWritable()); in onPrepareOptionsMenu()
DStorageWizardFormatSlow.java88 final VolumeInfo privateVol = getPackageManager() in onNavigateNext() local
90 offerMigrate = (privateVol != null in onNavigateNext()
91 && VolumeInfo.ID_PRIVATE_INTERNAL.equals(privateVol.getId())); in onNavigateNext()
DStorageWizardFormatProgress.java94 final VolumeInfo privateVol = activity.findFirstVolume(TYPE_PRIVATE, 25); in doInBackground() local
96 storage.benchmark(privateVol.getId(), new IVoldTaskListener.Stub() { in doInBackground()
118 storage.setPrimaryStorageUuid(privateVol.getFsUuid(), new SilentObserver()); in doInBackground()
DStorageWizardReady.java38 final VolumeInfo privateVol = findFirstVolume(VolumeInfo.TYPE_PRIVATE); in onCreate() local
39 if (privateVol != null) { in onCreate()
DMigrateEstimateTask.java73 final VolumeInfo privateVol = mContext.getPackageManager().getPrimaryStorageCurrentVolume(); in doInBackground() local
74 final VolumeInfo emulatedVol = storage.findEmulatedForPrivate(privateVol); in doInBackground()
DPrivateVolumeSettings.java415 final VolumeInfo privateVol = getActivity().getPackageManager() in onPrepareOptionsMenu() local
417 migrate.setVisible((privateVol != null) in onPrepareOptionsMenu()
418 && (privateVol.getType() == VolumeInfo.TYPE_PRIVATE) in onPrepareOptionsMenu()
419 && !Objects.equals(mVolume, privateVol) in onPrepareOptionsMenu()
420 && privateVol.isMountedWritable()); in onPrepareOptionsMenu()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DPrivateVolumeOptionMenuController.java65 final VolumeInfo privateVol = mPm.getPrimaryStorageCurrentVolume(); in onPrepareOptionsMenu() local
68 migrate.setVisible((privateVol != null) in onPrepareOptionsMenu()
69 && (privateVol.getType() == VolumeInfo.TYPE_PRIVATE) in onPrepareOptionsMenu()
70 && !Objects.equals(mVolumeInfo, privateVol) in onPrepareOptionsMenu()
71 && privateVol.isMountedWritable()); in onPrepareOptionsMenu()
DStorageWizardFormatSlow.java88 final VolumeInfo privateVol = getPackageManager() in onNavigateNext() local
90 offerMigrate = (privateVol != null in onNavigateNext()
91 && VolumeInfo.ID_PRIVATE_INTERNAL.equals(privateVol.getId())); in onNavigateNext()
DStorageWizardFormatProgress.java96 final VolumeInfo privateVol = activity.findFirstVolume(TYPE_PRIVATE, 25); in doInBackground() local
98 storage.benchmark(privateVol.getId(), new IVoldTaskListener.Stub() { in doInBackground()
120 storage.setPrimaryStorageUuid(privateVol.getFsUuid(), new SilentObserver()); in doInBackground()
DStorageWizardReady.java38 final VolumeInfo privateVol = findFirstVolume(VolumeInfo.TYPE_PRIVATE); in onCreate() local
39 if (privateVol != null) { in onCreate()
DMigrateEstimateTask.java73 final VolumeInfo privateVol = mContext.getPackageManager().getPrimaryStorageCurrentVolume(); in doInBackground() local
74 final VolumeInfo emulatedVol = storage.findEmulatedForPrivate(privateVol); in doInBackground()
DPrivateVolumeSettings.java415 final VolumeInfo privateVol = getActivity().getPackageManager() in onPrepareOptionsMenu() local
417 migrate.setVisible((privateVol != null) in onPrepareOptionsMenu()
418 && (privateVol.getType() == VolumeInfo.TYPE_PRIVATE) in onPrepareOptionsMenu()
419 && !Objects.equals(mVolume, privateVol) in onPrepareOptionsMenu()
420 && privateVol.isMountedWritable()); in onPrepareOptionsMenu()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/
DSettingsStorageService.java148 final VolumeInfo privateVol = findPrivateVolume(storageManager, diskId); in formatAsPrivate() local
150 if (privateVol != null) { in formatAsPrivate()
151 privateBench = storageManager.benchmark(privateVol.getId()); in formatAsPrivate()