Home
last modified time | relevance | path

Searched refs:DeviceStorageMonitorInternal (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerServiceCreateProfileTest.java37 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()
/frameworks/base/services/core/java/com/android/server/storage/
DDeviceStorageMonitorInternal.java19 public interface DeviceStorageMonitorInternal { interface
DDeviceStorageMonitorService.java328 publishLocalService(DeviceStorageMonitorInternal.class, mLocalService); in onStart()
335 private final DeviceStorageMonitorInternal mLocalService = new DeviceStorageMonitorInternal() {
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
DUserManagerServiceTest.java79 import com.android.server.storage.DeviceStorageMonitorInternal;
159 private @Mock DeviceStorageMonitorInternal mDeviceStorageMonitorInternal;
187 mockGetLocalService(DeviceStorageMonitorInternal.class, mDeviceStorageMonitorInternal); in setFixtures()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java245 import com.android.server.storage.DeviceStorageMonitorInternal;
4453 final DeviceStorageMonitorInternal
4454 dsm = mInjector.getLocalService(DeviceStorageMonitorInternal.class);
4799 DeviceStorageMonitorInternal dsm = LocalServices
4800 .getService(DeviceStorageMonitorInternal.class);
DUserManagerService.java167 import com.android.server.storage.DeviceStorageMonitorInternal;
5451 DeviceStorageMonitorInternal dsm = LocalServices
5452 .getService(DeviceStorageMonitorInternal.class);
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java531 import com.android.server.storage.DeviceStorageMonitorInternal;
12564 DeviceStorageMonitorInternal deviceStorageMonitorInternal =
12565 LocalServices.getService(DeviceStorageMonitorInternal.class);