Searched refs:findVolumeById (Results 1 – 25 of 28) 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()
58 mVolume = storage.findVolumeById(volumeId); in onCreateView()
156 mVolume = mStorageManager.findVolumeById(mVolumeId); in onCreate()349 mVolume = mStorageManager.findVolumeById(mVolumeId); in onResume()687 mVolume = mStorageManager.findVolumeById(mVolumeId);
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()
156 mVolume = mStorageManager.findVolumeById(mVolumeId); in onCreate()349 mVolume = mStorageManager.findVolumeById(mVolumeId); in onResume()662 mVolume = mStorageManager.findVolumeById(mVolumeId);
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()
78 final VolumeInfo info = mStorageManager.findVolumeById(mVolumeId); in onCreate()124 final VolumeInfo volumeInfo = mStorageManager.findVolumeById(mVolumeId); in onCreateGuidance()
93 mTargetVolumeInfo = storageManager.findVolumeById(volumeId); in onCreate()104 mVolumeInfo = storageManager.findVolumeById(volumeId); in onCreate()
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()
40 VolumeInfo vol = storage.findVolumeById(volId); in onReceive()
51 protected VolumeInfo findVolumeById(String id) { in findVolumeById() method in ShadowStorageManager
142 when(storageManager.findVolumeById(anyString())).thenReturn(info); in initializeVolumeDoesntBreakOnNullVolume()