Home
last modified time | relevance | path

Searched refs:findVolumeById (Results 1 – 20 of 20) sorted by relevance

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/storage/
DStorageUtilsTest.java53 when(mStorageManager.findVolumeById(VolumeInfo.ID_PRIVATE_INTERNAL)).thenReturn(volumeInfo); in maybeInitializeVolume_mounted_shouldReturnVolumeInfo()
64 when(mStorageManager.findVolumeById(VolumeInfo.ID_PRIVATE_INTERNAL)).thenReturn(volumeInfo); in maybeInitializeVolume_notMounted_shouldNotReturnVolumeInfo()
75 when(mStorageManager.findVolumeById(VolumeInfo.ID_PRIVATE_INTERNAL)).thenReturn(volumeInfo); in maybeInitializeVolume_differentType_shouldNotReturnVolumeInfo()
86 when(mStorageManager.findVolumeById(VolumeInfo.ID_PRIVATE_INTERNAL)).thenReturn(volumeInfo); in maybeInitializeVolume_defaultId_notMounted_returnsNull()
98 when(mStorageManager.findVolumeById(VolumeInfo.ID_PRIVATE_INTERNAL)).thenReturn(volumeInfo); in maybeInitializeVolume_getDefaultIdFromBundle_mounted_shouldReturnVolumeInfo()
111 when(mStorageManager.findVolumeById(VolumeInfo.ID_EMULATED_INTERNAL)).thenReturn( in maybeInitializeVolume_getIdFromBundle_shouldReturnVolumeInfo()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DPublicVolumeSettings.java100 mVolume = mStorageManager.findVolumeById(volId); in onCreate()
202 mVolume = mStorageManager.findVolumeById(mVolumeId); in onResume()
250 mVolume = mStorageManager.findVolumeById(mVolumeId);
DStorageUnmountReceiver.java36 final VolumeInfo vol = storage.findVolumeById(volId); in onReceive()
DPrivateVolumeUnmount.java58 mVolume = storage.findVolumeById(volumeId); in onCreateView()
DPrivateVolumeFormat.java55 mVolume = storage.findVolumeById(volumeId); in onCreateView()
DStorageWizardBase.java79 mVolume = mStorage.findVolumeById(volumeId); in onCreate()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/
DUnmountActivity.java76 final VolumeInfo volumeInfo = storageManager.findVolumeById(mUnmountVolumeId); in onCreate()
121 getSystemService(StorageManager.class).findVolumeById(mUnmountVolumeId); in onResume()
DStorageFragment.java91 mVolumeInfo = mStorageManager.findVolumeById( in onCreate()
107 mVolumeInfo = mStorageManager.findVolumeById( in onResume()
DMigrateStorageActivity.java93 mTargetVolumeInfo = storageManager.findVolumeById(volumeId); in onCreate()
104 mVolumeInfo = storageManager.findVolumeById(volumeId); in onCreate()
DBackupAppsStepFragment.java78 final VolumeInfo info = mStorageManager.findVolumeById(mVolumeId); in onCreate()
124 final VolumeInfo volumeInfo = mStorageManager.findVolumeById(mVolumeId); in onCreateGuidance()
DSettingsStorageService.java188 final VolumeInfo volumeInfo = storageManager.findVolumeById(volumeId); in unmount()
DFormatActivity.java290 final VolumeInfo info = mStorageManager.findVolumeById(volumeId); in onRequestFormatAsPublic()
DNewStorageActivity.java143 final VolumeInfo info = storageManager.findVolumeById(mVolumeId); in onCreate()
/packages/apps/Car/Settings/src/com/android/car/settings/storage/
DStorageUtils.java41 VolumeInfo volume = sm.findVolumeById(volumeId); in maybeInitializeVolume()
DStorageUnmountReceiver.java40 VolumeInfo vol = storage.findVolumeById(volId); in onReceive()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowStorageManager.java51 protected VolumeInfo findVolumeById(String id) { in findVolumeById() method in ShadowStorageManager
/packages/apps/Settings/src/com/android/settings/deviceinfo/storage/
DStorageEntry.java195 .findVolumeById(VolumeInfo.ID_PRIVATE_INTERNAL)); in getDefaultInternalStorageEntry()
/packages/apps/Settings/tests/robotests/src/com/android/settings/
DUtilsTest.java142 when(storageManager.findVolumeById(anyString())).thenReturn(info); in initializeVolumeDoesntBreakOnNullVolume()
/packages/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/storage/
DStorageEntryTest.java124 when(mStorageManager.findVolumeById(VolumeInfo.ID_PRIVATE_INTERNAL)).thenReturn(volumeInfo); in getDefaultInternalStorageEntry_shouldReturnVolumeInfoStorageOfIdPrivateInternal()
/packages/apps/Settings/src/com/android/settings/
DUtils.java921 final VolumeInfo volume = sm.findVolumeById(volumeId); in maybeInitializeVolume()