Home
last modified time | relevance | path

Searched refs:getVolumes (Results 1 – 17 of 17) sorted by relevance

/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/device/storage/
DSettingsStorageServiceTest.java77 doReturn(volumeInfos).when(mMockStorageManager).getVolumes(); in testFormatAsPublic_success_fromPrivate()
107 doReturn(volumeInfos).when(mMockStorageManager).getVolumes(); in testFormatAsPublic_success_fromNonPrivate()
131 doReturn(volumeInfos).when(mMockStorageManager).getVolumes(); in testFormatAsPublic_failure()
163 doReturn(volumeInfos).when(mMockStorageManager).getVolumes(); in testFormatAsPrivate_success()
/packages/apps/TvSettings/unbundle/java/com/android/tv/settings/unbundle/sdklib/
DStorageManagerCompat.java49 List<VolumeInfoCompat> getVolumes() { in getVolumes() method in StorageManagerCompat
50 return VolumeInfoCompat.convert(mManager.getVolumes()); in getVolumes()
/packages/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/storage/
DStorageSelectionPreferenceControllerTest.java71 final List<StorageEntry> storageEntries = mStorageManager.getVolumes().stream() in setStorageEntries_fromStorageManager_correctAdapterItems()
89 mController.setStorageEntries(mStorageManager.getVolumes().stream() in setSelectedStorageEntry_primaryStorage_correctSelectedAdapterItem()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/
DDiskReceiver.java85 final List<VolumeInfo> volumeInfos = mStorageManager.getVolumes(); in handleMount()
145 final List<VolumeInfo> volumeInfos = mStorageManager.getVolumes(); in handleSetupComplete()
DSettingsStorageService.java119 final List<VolumeInfo> volumes = storageManager.getVolumes(); in formatAsPublic()
173 final List<VolumeInfo> vols = storageManager.getVolumes(); in findPrivateVolume()
DNewStorageActivity.java247 final List<VolumeInfo> volumeInfos = storageManager.getVolumes(); in checkForUnmount()
340 getContext().getSystemService(StorageManager.class).getVolumes(); in checkForRemount()
DFormatActivity.java180 final List<VolumeInfo> vols = mStorageManager.getVolumes(); in findVolume()
284 final List<VolumeInfo> volumes = mStorageManager.getVolumes(); in onRequestFormatAsPrivate()
DFormatAsPublicStepFragment.java59 final List<VolumeInfo> volumes = storageManager.getVolumes(); in onCreate()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowStorageManager.java48 public @NonNull List<VolumeInfo> getVolumes() { in getVolumes() method in ShadowStorageManager
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/storagevolumes/
DStorageVolumesFragment.java85 final List<VolumeInfo> volumes = mStorageManager.getVolumes(); in refresh()
/packages/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/
DTopLevelStoragePreferenceControllerTest.java70 when(mStorageManagerVolumeProvider.getVolumes()).thenReturn(mVolumes); in setUp()
/packages/apps/Settings/src/com/android/settings/
DSettingsDumpService.java170 for (VolumeInfo volume : manager.getVolumes()) { in dumpStorage()
/packages/apps/Car/SystemUpdater/src/com/android/car/systemupdater/
DDeviceListFragment.java137 final List<VolumeInfo> vols = mStorageManager.getVolumes(); in showMountedVolumes()
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/
DStorageUtils.java61 storageEntries.addAll(storageManager.getVolumes().stream() in getAllStorageEntries()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DStorageWizardBase.java266 final List<VolumeInfo> vols = mStorage.getVolumes(); in findFirstVolume()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/
DStorageSummaryFragment.java137 final List<VolumeInfo> volumes = mStorageManager.getVolumes(); in refresh()
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/automatic/
DAutomaticStorageManagementJobServiceTest.java102 when(mStorageVolumeProvider.getVolumes()).thenReturn(mVolumes); in setUp()