Searched refs:findVolumeById (Results 1 – 20 of 20) sorted by relevance
53 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()
100 mVolume = mStorageManager.findVolumeById(volId); in onCreate()202 mVolume = mStorageManager.findVolumeById(mVolumeId); in onResume()250 mVolume = mStorageManager.findVolumeById(mVolumeId);
36 final VolumeInfo vol = storage.findVolumeById(volId); in onReceive()
58 mVolume = storage.findVolumeById(volumeId); in onCreateView()
55 mVolume = storage.findVolumeById(volumeId); in onCreateView()
79 mVolume = mStorage.findVolumeById(volumeId); in onCreate()
76 final VolumeInfo volumeInfo = storageManager.findVolumeById(mUnmountVolumeId); in onCreate()121 getSystemService(StorageManager.class).findVolumeById(mUnmountVolumeId); in onResume()
91 mVolumeInfo = mStorageManager.findVolumeById( in onCreate()107 mVolumeInfo = mStorageManager.findVolumeById( in onResume()
93 mTargetVolumeInfo = storageManager.findVolumeById(volumeId); in onCreate()104 mVolumeInfo = storageManager.findVolumeById(volumeId); in onCreate()
78 final VolumeInfo info = mStorageManager.findVolumeById(mVolumeId); in onCreate()124 final VolumeInfo volumeInfo = mStorageManager.findVolumeById(mVolumeId); in onCreateGuidance()
188 final VolumeInfo volumeInfo = storageManager.findVolumeById(volumeId); in unmount()
290 final VolumeInfo info = mStorageManager.findVolumeById(volumeId); in onRequestFormatAsPublic()
143 final VolumeInfo info = storageManager.findVolumeById(mVolumeId); in onCreate()
41 VolumeInfo volume = sm.findVolumeById(volumeId); in maybeInitializeVolume()
40 VolumeInfo vol = storage.findVolumeById(volId); in onReceive()
51 protected VolumeInfo findVolumeById(String id) { in findVolumeById() method in ShadowStorageManager
195 .findVolumeById(VolumeInfo.ID_PRIVATE_INTERNAL)); in getDefaultInternalStorageEntry()
142 when(storageManager.findVolumeById(anyString())).thenReturn(info); in initializeVolumeDoesntBreakOnNullVolume()
124 when(mStorageManager.findVolumeById(VolumeInfo.ID_PRIVATE_INTERNAL)).thenReturn(volumeInfo); in getDefaultInternalStorageEntry_shouldReturnVolumeInfoStorageOfIdPrivateInternal()
921 final VolumeInfo volume = sm.findVolumeById(volumeId); in maybeInitializeVolume()