Searched refs:DeviceStorageMonitorInternal (Results 1 – 7 of 7) sorted by relevance
37 import com.android.server.storage.DeviceStorageMonitorInternal;260 DeviceStorageMonitorInternal dsmMock = Mockito.mock(DeviceStorageMonitorInternal.class); in testCreateProfileForUser_lowStorageException()262 LocalServices.addService(DeviceStorageMonitorInternal.class, dsmMock); in testCreateProfileForUser_lowStorageException()271 LocalServices.removeServiceForTest(DeviceStorageMonitorInternal.class); in testCreateProfileForUser_lowStorageException()277 DeviceStorageMonitorInternal dsmMock = Mockito.mock(DeviceStorageMonitorInternal.class); in testCreateProfileForUser_unknownParentUser()279 LocalServices.addService(DeviceStorageMonitorInternal.class, dsmMock); in testCreateProfileForUser_unknownParentUser()289 LocalServices.removeServiceForTest(DeviceStorageMonitorInternal.class); in testCreateProfileForUser_unknownParentUser()295 DeviceStorageMonitorInternal dsmMock = Mockito.mock(DeviceStorageMonitorInternal.class); in testCreateManagedProfileForUser_maxManagedUsersException()297 LocalServices.addService(DeviceStorageMonitorInternal.class, dsmMock); in testCreateManagedProfileForUser_maxManagedUsersException()313 LocalServices.removeServiceForTest(DeviceStorageMonitorInternal.class); in testCreateManagedProfileForUser_maxManagedUsersException()
19 public interface DeviceStorageMonitorInternal { interface
328 publishLocalService(DeviceStorageMonitorInternal.class, mLocalService); in onStart()335 private final DeviceStorageMonitorInternal mLocalService = new DeviceStorageMonitorInternal() {
79 import com.android.server.storage.DeviceStorageMonitorInternal;159 private @Mock DeviceStorageMonitorInternal mDeviceStorageMonitorInternal;187 mockGetLocalService(DeviceStorageMonitorInternal.class, mDeviceStorageMonitorInternal); in setFixtures()
245 import com.android.server.storage.DeviceStorageMonitorInternal;4453 final DeviceStorageMonitorInternal4454 dsm = mInjector.getLocalService(DeviceStorageMonitorInternal.class);4799 DeviceStorageMonitorInternal dsm = LocalServices4800 .getService(DeviceStorageMonitorInternal.class);
167 import com.android.server.storage.DeviceStorageMonitorInternal;5451 DeviceStorageMonitorInternal dsm = LocalServices5452 .getService(DeviceStorageMonitorInternal.class);
531 import com.android.server.storage.DeviceStorageMonitorInternal;12564 DeviceStorageMonitorInternal deviceStorageMonitorInternal =12565 LocalServices.getService(DeviceStorageMonitorInternal.class);