Home
last modified time | relevance | path

Searched refs:mVolumes (Results 1 – 3 of 3) sorted by relevance

/packages/services/Mtp/src/com/android/mtp/
DMtpService.java71 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 MtpService
119 mVolumes = StorageManager.getVolumeList(getUserId(), 0); in onCreate()
141 for (StorageVolume v : mVolumes) { in onStartCommand()
158 final StorageVolume primary = StorageManager.getPrimaryVolume(mVolumes); in onStartCommand()
/packages/apps/Settings/tests/unit/src/com/android/settings/deviceinfo/
DTopLevelStoragePreferenceControllerTest.java61 private List<VolumeInfo> mVolumes; field in TopLevelStoragePreferenceControllerTest
68 mVolumes = new ArrayList<>(); in setUp()
69 mVolumes.add(mock(VolumeInfo.class, RETURNS_DEEP_STUBS)); in setUp()
70 when(mStorageManagerVolumeProvider.getVolumes()).thenReturn(mVolumes); in setUp()
77 final VolumeInfo volumeInfo = mVolumes.get(0); in updateSummary_shouldDisplayUsedPercentAndFreeSpace()
/packages/apps/StorageManager/robotests/src/com/android/storagemanager/automatic/
DAutomaticStorageManagementJobServiceTest.java76 private List<VolumeInfo> mVolumes; field in AutomaticStorageManagementJobServiceTest
95 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()