Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DUserManagerServiceCreateProfileTest.java37 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()
/aosp14/frameworks/base/services/core/java/com/android/server/storage/
H A DDeviceStorageMonitorInternal.java19 public interface DeviceStorageMonitorInternal { interface
H A DDeviceStorageMonitorService.java328 publishLocalService(DeviceStorageMonitorInternal.class, mLocalService); in onStart()
335 private final DeviceStorageMonitorInternal mLocalService = new DeviceStorageMonitorInternal() {
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/pm/
H A DUserManagerServiceTest.java51 import com.android.server.storage.DeviceStorageMonitorInternal;
107 private @Mock DeviceStorageMonitorInternal mDeviceStorageMonitorInternal;
132 mockGetLocalService(DeviceStorageMonitorInternal.class, mDeviceStorageMonitorInternal); in setFixtures()
/aosp14/frameworks/base/services/core/java/com/android/server/pm/
H A DPackageManagerService.java243 import com.android.server.storage.DeviceStorageMonitorInternal;
4468 final DeviceStorageMonitorInternal
4469 dsm = mInjector.getLocalService(DeviceStorageMonitorInternal.class);
4764 DeviceStorageMonitorInternal dsm = LocalServices
4765 .getService(DeviceStorageMonitorInternal.class);
H A DUserManagerService.java149 import com.android.server.storage.DeviceStorageMonitorInternal;
4817 DeviceStorageMonitorInternal dsm = LocalServices
4818 .getService(DeviceStorageMonitorInternal.class);
/aosp14/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
H A DDevicePolicyManagerService.java504 import com.android.server.storage.DeviceStorageMonitorInternal;
12628 DeviceStorageMonitorInternal deviceStorageMonitorInternal =
12629 LocalServices.getService(DeviceStorageMonitorInternal.class);