Home
last modified time | relevance | path

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

12

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/storage/
DStorageUtilsTest.java54 when(mStorageManager.findVolumeById(VolumeInfo.ID_PRIVATE_INTERNAL)).thenReturn(volumeInfo); in maybeInitializeVolume_mounted_shouldReturnVolumeInfo()
65 when(mStorageManager.findVolumeById(VolumeInfo.ID_PRIVATE_INTERNAL)).thenReturn(volumeInfo); in maybeInitializeVolume_notMounted_shouldNotReturnVolumeInfo()
76 when(mStorageManager.findVolumeById(VolumeInfo.ID_PRIVATE_INTERNAL)).thenReturn(volumeInfo); in maybeInitializeVolume_differentType_shouldNotReturnVolumeInfo()
87 when(mStorageManager.findVolumeById(VolumeInfo.ID_PRIVATE_INTERNAL)).thenReturn(volumeInfo); in maybeInitializeVolume_defaultId_notMounted_returnsNull()
99 when(mStorageManager.findVolumeById(VolumeInfo.ID_PRIVATE_INTERNAL)).thenReturn(volumeInfo); in maybeInitializeVolume_getDefaultIdFromBundle_mounted_shouldReturnVolumeInfo()
112 when(mStorageManager.findVolumeById(VolumeInfo.ID_EMULATED_INTERNAL)).thenReturn( in maybeInitializeVolume_getIdFromBundle_shouldReturnVolumeInfo()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/
DPublicVolumeSettings.java102 mVolume = mStorageManager.findVolumeById(volId); in onCreate()
208 mVolume = mStorageManager.findVolumeById(mVolumeId); in onResume()
256 mVolume = mStorageManager.findVolumeById(mVolumeId);
DStorageUnmountReceiver.java36 final VolumeInfo vol = storage.findVolumeById(volId); in onReceive()
DPrivateVolumeUnmount.java58 mVolume = storage.findVolumeById(volumeId); in onCreateView()
DPrivateVolumeSettings.java156 mVolume = mStorageManager.findVolumeById(mVolumeId); in onCreate()
349 mVolume = mStorageManager.findVolumeById(mVolumeId); in onResume()
687 mVolume = mStorageManager.findVolumeById(mVolumeId);
DPrivateVolumeFormat.java55 mVolume = storage.findVolumeById(volumeId); in onCreateView()
DStorageSettings.java256 final VolumeInfo vol = mStorageManager.findVolumeById(key); in onPreferenceTreeClick()
446 final VolumeInfo vol = sm.findVolumeById(volumeId); in onCreateDialog()
DStorageWizardBase.java79 mVolume = mStorage.findVolumeById(volumeId); in onCreate()
/packages/apps/Settings/src/com/android/settings/deviceinfo/
DPublicVolumeSettings.java102 mVolume = mStorageManager.findVolumeById(volId); in onCreate()
208 mVolume = mStorageManager.findVolumeById(mVolumeId); in onResume()
256 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()
DPrivateVolumeSettings.java156 mVolume = mStorageManager.findVolumeById(mVolumeId); in onCreate()
349 mVolume = mStorageManager.findVolumeById(mVolumeId); in onResume()
662 mVolume = mStorageManager.findVolumeById(mVolumeId);
DStorageSettings.java256 final VolumeInfo vol = mStorageManager.findVolumeById(key); in onPreferenceTreeClick()
446 final VolumeInfo vol = sm.findVolumeById(volumeId); in onCreateDialog()
/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.java88 mVolumeInfo = mStorageManager.findVolumeById( in onCreate()
104 mVolumeInfo = mStorageManager.findVolumeById( in onResume()
DBackupAppsStepFragment.java78 final VolumeInfo info = mStorageManager.findVolumeById(mVolumeId); in onCreate()
124 final VolumeInfo volumeInfo = mStorageManager.findVolumeById(mVolumeId); in onCreateGuidance()
DMigrateStorageActivity.java93 mTargetVolumeInfo = storageManager.findVolumeById(volumeId); in onCreate()
104 mVolumeInfo = storageManager.findVolumeById(volumeId); in onCreate()
DSettingsStorageService.java188 final VolumeInfo volumeInfo = storageManager.findVolumeById(volumeId); in unmount()
DNewStorageActivity.java143 final VolumeInfo info = storageManager.findVolumeById(mVolumeId); in onCreate()
DFormatActivity.java290 final VolumeInfo info = mStorageManager.findVolumeById(volumeId); in onRequestFormatAsPublic()
/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/tests/robotests/src/com/android/settings/
DUtilsTest.java142 when(storageManager.findVolumeById(anyString())).thenReturn(info); in initializeVolumeDoesntBreakOnNullVolume()

12