Home
last modified time | relevance | path

Searched refs:mVolumes (Results 1 – 4 of 4) 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/robotests/src/com/android/settings/deviceinfo/
DTopLevelStoragePreferenceControllerTest.java57 private List<VolumeInfo> mVolumes; field in TopLevelStoragePreferenceControllerTest
64 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()
DStorageSettingsTest.java50 private List<VolumeInfo> mVolumes; field in StorageSettingsTest
55 mVolumes = new ArrayList<>(); in setUp()
56 mVolumes.add(mock(VolumeInfo.class, RETURNS_DEEP_STUBS)); in setUp()
57 when(mStorageManagerVolumeProvider.getVolumes()).thenReturn(mVolumes); in setUp()
/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()