Home
last modified time | relevance | path

Searched refs:UserManagerInternal (Results 1 – 25 of 39) sorted by relevance

12

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDragDropControllerTests.java35 import android.os.UserManagerInternal;
112 final UserManagerInternal userManager = mock(UserManagerInternal.class); in setUpOnce()
113 LocalServices.addService(UserManagerInternal.class, userManager); in setUpOnce()
118 LocalServices.removeServiceForTest(UserManagerInternal.class); in tearDownOnce()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserRestrictionsUtilsTest.java25 import android.os.UserManagerInternal;
126 UserManagerInternal.CAMERA_NOT_DISABLED, global, local); in testSortToGlobalAndLocal()
131 UserManagerInternal.CAMERA_NOT_DISABLED, global, local); in testSortToGlobalAndLocal()
144 ), true /* isDeviceOwner */, UserManagerInternal.CAMERA_NOT_DISABLED, global, local); in testSortToGlobalAndLocal()
178 ), false /* isDeviceOwner */, UserManagerInternal.CAMERA_NOT_DISABLED, global, local); in testSortToGlobalAndLocal()
206 UserManagerInternal.CAMERA_DISABLED_GLOBALLY, global, local); in testSortToLocalAndGlobalWithCameraDisabled()
212 UserManagerInternal.CAMERA_DISABLED_LOCALLY, global, local); in testSortToLocalAndGlobalWithCameraDisabled()
DUserManagerServiceIdRecyclingTest.java25 import android.os.UserManagerInternal;
60 LocalServices.removeServiceForTest(UserManagerInternal.class); in setup()
DUserManagerServiceUserInfoTest.java27 import android.os.UserManagerInternal;
63 LocalServices.removeServiceForTest(UserManagerInternal.class); in setup()
DUserManagerServiceCreateProfileTest.java26 import android.os.UserManagerInternal;
59 LocalServices.removeServiceForTest(UserManagerInternal.class); in setup()
DBaseShortcutManagerTest.java84 import android.os.UserManagerInternal;
617 protected UserManagerInternal mMockUserManagerInternal;
758 mMockUserManagerInternal = mock(UserManagerInternal.class); in setUp()
771 LocalServices.removeServiceForTest(UserManagerInternal.class); in setUp()
772 LocalServices.addService(UserManagerInternal.class, mMockUserManagerInternal); in setUp()
/frameworks/base/services/core/java/com/android/server/wm/
DKeyguardDisableHandler.java29 import android.os.UserManagerInternal;
125 final UserManagerInternal userManager = LocalServices.getService(UserManagerInternal.class); in create()
DDragState.java44 import android.os.UserManagerInternal;
377 final UserManagerInternal userManager = LocalServices.getService(UserManagerInternal.class); in broadcastDragStartedLocked()
/frameworks/base/services/core/java/com/android/server/oemlock/
DOemLockService.java31 import android.os.UserManagerInternal;
32 import android.os.UserManagerInternal.UserRestrictionsListener;
81 LocalServices.getService(UserManagerInternal.class) in OemLockService()
/frameworks/base/core/java/android/os/
DUserManagerInternal.java26 public abstract class UserManagerInternal { class
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DMockSystemServices.java54 import android.os.UserManagerInternal;
84 public final UserManagerInternal userManagerInternal;
123 userManagerInternal = mock(UserManagerInternal.class); in MockSystemServices()
DDevicePolicyManagerServiceTestable.java39 import android.os.UserManagerInternal;
142 UserManagerInternal getUserManagerInternal() { in getUserManagerInternal()
DDpmMockContext.java34 import android.os.UserManagerInternal;
232 public UserManagerInternal getUserManagerInternal() { in getUserManagerInternal()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DUserControllerTest.java70 import android.os.UserManagerInternal;
508 private final UserManagerInternal mUserManagerInternalMock;
521 mUserManagerInternalMock = mock(UserManagerInternal.class); in TestInjector()
542 UserManagerInternal getUserManagerInternal() { in getUserManagerInternal()
/frameworks/base/services/core/java/com/android/server/infra/
DAbstractMasterSystemService.java34 import android.os.UserManagerInternal;
226 final UserManagerInternal umi = LocalServices.getService(UserManagerInternal.class); in AbstractMasterSystemService()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DOwners.java32 import android.os.UserManagerInternal;
107 private final UserManagerInternal mUserManagerInternal;
134 UserManagerInternal userManagerInternal, in Owners()
143 UserManagerInternal userManagerInternal, in Owners()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DInputMethodUtils.java33 import android.os.UserManagerInternal;
765 private static final UserManagerInternal sUserManagerInternal =
766 LocalServices.getService(UserManagerInternal.class);
1319 final UserManagerInternal userManagerInternal = in resolveUserId()
1320 LocalServices.getService(UserManagerInternal.class); in resolveUserId()
/frameworks/base/services/core/java/com/android/server/policy/
DPermissionPolicyService.java48 import android.os.UserManagerInternal;
218 final UserManagerInternal um = LocalServices.getService(UserManagerInternal.class); in onBootPhase()
/frameworks/base/services/core/java/com/android/server/pm/
DUserRestrictionsUtils.java36 import android.os.UserManagerInternal;
426 if (cameraRestrictionScope == UserManagerInternal.CAMERA_DISABLED_GLOBALLY) { in sortToGlobalAndLocal()
428 } else if (cameraRestrictionScope == UserManagerInternal.CAMERA_DISABLED_LOCALLY) { in sortToGlobalAndLocal()
DLauncherAppsService.java62 import android.os.UserManagerInternal;
120 private final UserManagerInternal mUserManagerInternal;
139 LocalServices.getService(UserManagerInternal.class)); in LauncherAppsImpl()
/frameworks/base/services/core/java/com/android/server/role/
DRoleManagerService.java51 import android.os.UserManagerInternal;
103 private final UserManagerInternal mUserManagerInternal;
153 mUserManagerInternal = LocalServices.getService(UserManagerInternal.class); in RoleManagerService()
/frameworks/base/services/core/java/com/android/server/connectivity/
DTethering.java90 import android.os.UserManagerInternal;
91 import android.os.UserManagerInternal.UserRestrictionsListener;
294 final UserManagerInternal umi = LocalServices.getService(UserManagerInternal.class); in startStateMachineUpdaters()
/frameworks/base/services/core/java/com/android/server/am/
DUserController.java78 import android.os.UserManagerInternal;
932 LocalServices.getService(UserManagerInternal.class).onEphemeralUserStop(oldUserId);
2205 private UserManagerInternal mUserManagerInternal;
2264 UserManagerInternal getUserManagerInternal() {
2266 mUserManagerInternal = LocalServices.getService(UserManagerInternal.class);
DBatteryStatsService.java42 import android.os.UserManagerInternal;
184 private UserManagerInternal umi; in BatteryStatsService()
188 umi = LocalServices.getService(UserManagerInternal.class); in BatteryStatsService()
/frameworks/base/services/core/java/com/android/server/
DBluetoothManagerService.java60 import android.os.UserManagerInternal;
61 import android.os.UserManagerInternal.UserRestrictionsListener;
1181 UserManagerInternal userManagerInternal = in handleOnBootPhase()
1182 LocalServices.getService(UserManagerInternal.class); in handleOnBootPhase()

12