Searched refs:mVolumes (Results 1 – 4 of 4) sorted by relevance
71 mVolumes = StorageManager.getVolumeList(getUserId(), 0);72 for (int i = 0; i < mVolumes.length; i++) {73 StorageVolume volume = mVolumes[i];115 private StorageVolume[] mVolumes; field in MtpService119 mVolumes = StorageManager.getVolumeList(getUserId(), 0); in onCreate()141 for (StorageVolume v : mVolumes) { in onStartCommand()158 final StorageVolume primary = StorageManager.getPrimaryVolume(mVolumes); in onStartCommand()
57 private List<VolumeInfo> mVolumes; field in TopLevelStoragePreferenceControllerTest64 mVolumes = new ArrayList<>(); in setUp()65 mVolumes.add(mock(VolumeInfo.class, RETURNS_DEEP_STUBS)); in setUp()66 when(mStorageManagerVolumeProvider.getVolumes()).thenReturn(mVolumes); in setUp()73 final VolumeInfo volumeInfo = mVolumes.get(0); in updateSummary_shouldDisplayUsedPercentAndFreeSpace()
50 private List<VolumeInfo> mVolumes; field in StorageSettingsTest55 mVolumes = new ArrayList<>(); in setUp()56 mVolumes.add(mock(VolumeInfo.class, RETURNS_DEEP_STUBS)); in setUp()57 when(mStorageManagerVolumeProvider.getVolumes()).thenReturn(mVolumes); in setUp()
76 private List<VolumeInfo> mVolumes; field in AutomaticStorageManagementJobServiceTest95 mVolumes = new ArrayList<>(); in setUp()96 mVolumes.add(mVolumeInfo); in setUp()99 when(mStorageVolumeProvider.getVolumes()).thenReturn(mVolumes); in setUp()224 mVolumes.add(nonPrivateVolume); in testNonPrivateDrivesIgnoredForFreeSpaceCalculation()254 mVolumes.add(privateVolumeInfo); in testMultiplePrivateVolumesCountedForASMActivationThreshold()