Searched refs:DeviceStorageMonitorInternal (Results 1 – 7 of 7) sorted by relevance
37 import com.android.server.storage.DeviceStorageMonitorInternal;257 DeviceStorageMonitorInternal dsmMock = Mockito.mock(DeviceStorageMonitorInternal.class); in testCreateProfileForUser_lowStorageException()259 LocalServices.addService(DeviceStorageMonitorInternal.class, dsmMock); in testCreateProfileForUser_lowStorageException()268 LocalServices.removeServiceForTest(DeviceStorageMonitorInternal.class); in testCreateProfileForUser_lowStorageException()274 DeviceStorageMonitorInternal dsmMock = Mockito.mock(DeviceStorageMonitorInternal.class); in testCreateProfileForUser_unknownParentUser()276 LocalServices.addService(DeviceStorageMonitorInternal.class, dsmMock); in testCreateProfileForUser_unknownParentUser()286 LocalServices.removeServiceForTest(DeviceStorageMonitorInternal.class); in testCreateProfileForUser_unknownParentUser()292 DeviceStorageMonitorInternal dsmMock = Mockito.mock(DeviceStorageMonitorInternal.class); in testCreateManagedProfileForUser_maxManagedUsersException()294 LocalServices.addService(DeviceStorageMonitorInternal.class, dsmMock); in testCreateManagedProfileForUser_maxManagedUsersException()310 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() {
51 import com.android.server.storage.DeviceStorageMonitorInternal;107 private @Mock DeviceStorageMonitorInternal mDeviceStorageMonitorInternal;132 mockGetLocalService(DeviceStorageMonitorInternal.class, mDeviceStorageMonitorInternal); in setFixtures()
243 import com.android.server.storage.DeviceStorageMonitorInternal;4468 final DeviceStorageMonitorInternal4469 dsm = mInjector.getLocalService(DeviceStorageMonitorInternal.class);4764 DeviceStorageMonitorInternal dsm = LocalServices4765 .getService(DeviceStorageMonitorInternal.class);
149 import com.android.server.storage.DeviceStorageMonitorInternal;4817 DeviceStorageMonitorInternal dsm = LocalServices4818 .getService(DeviceStorageMonitorInternal.class);
504 import com.android.server.storage.DeviceStorageMonitorInternal;12628 DeviceStorageMonitorInternal deviceStorageMonitorInternal =12629 LocalServices.getService(DeviceStorageMonitorInternal.class);