Searched refs:findVolumeById (Results 1 – 25 of 27) sorted by relevance
12
54 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()
102 mVolume = mStorageManager.findVolumeById(volId); in onCreate()208 mVolume = mStorageManager.findVolumeById(mVolumeId); in onResume()256 mVolume = mStorageManager.findVolumeById(mVolumeId);
36 final VolumeInfo vol = storage.findVolumeById(volId); in onReceive()
156 mVolume = mStorageManager.findVolumeById(mVolumeId); in onCreate()349 mVolume = mStorageManager.findVolumeById(mVolumeId); in onResume()687 mVolume = mStorageManager.findVolumeById(mVolumeId);
58 mVolume = storage.findVolumeById(volumeId); in onCreateView()
55 mVolume = storage.findVolumeById(volumeId); in onCreateView()
256 final VolumeInfo vol = mStorageManager.findVolumeById(key); in onPreferenceTreeClick()446 final VolumeInfo vol = sm.findVolumeById(volumeId); in onCreateDialog()
79 mVolume = mStorage.findVolumeById(volumeId); in onCreate()
76 final VolumeInfo volumeInfo = storageManager.findVolumeById(mUnmountVolumeId); in onCreate()121 getSystemService(StorageManager.class).findVolumeById(mUnmountVolumeId); in onResume()
88 mVolumeInfo = mStorageManager.findVolumeById( in onCreate()104 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()
143 final VolumeInfo info = storageManager.findVolumeById(mVolumeId); in onCreate()
290 final VolumeInfo info = mStorageManager.findVolumeById(volumeId); in onRequestFormatAsPublic()
41 VolumeInfo volume = sm.findVolumeById(volumeId); in maybeInitializeVolume()
51 protected VolumeInfo findVolumeById(String id) { in findVolumeById() method in ShadowStorageManager
142 when(storageManager.findVolumeById(anyString())).thenReturn(info); in initializeVolumeDoesntBreakOnNullVolume()