Home
last modified time | relevance | path

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

12

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskSnapshotPersisterTestBase.java38 import android.os.UserManagerInternal;
63 final UserManagerInternal userManager = mock(UserManagerInternal.class); in setUpOnce()
64 LocalServices.addService(UserManagerInternal.class, userManager); in setUpOnce()
69 LocalServices.removeServiceForTest(UserManagerInternal.class); in tearDownOnce()
77 final UserManagerInternal userManagerInternal = in setUp()
78 LocalServices.getService(UserManagerInternal.class); in setUp()
DDragDropControllerTests.java37 import android.os.UserManagerInternal;
114 final UserManagerInternal userManager = mock(UserManagerInternal.class); in setUpOnce()
115 LocalServices.addService(UserManagerInternal.class, userManager); in setUpOnce()
120 LocalServices.removeServiceForTest(UserManagerInternal.class); in tearDownOnce()
/frameworks/base/services/tests/servicestests/src/com/android/server/contentsuggestions/
DContentSuggestionsPerUserServiceTest.java30 import android.os.UserManagerInternal;
51 UserManagerInternal umi = mock(UserManagerInternal.class); in setup()
52 LocalServices.removeServiceForTest(UserManagerInternal.class); in setup()
53 LocalServices.addService(UserManagerInternal.class, umi); in setup()
/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()
DScanTests.java47 import android.os.UserManagerInternal;
72 UserManagerInternal mMockUserManager;
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()
DTaskSnapshotPersister.java31 import android.os.UserManagerInternal;
78 private final UserManagerInternal mUserManagerInternal;
90 mUserManagerInternal = LocalServices.getService(UserManagerInternal.class); in TaskSnapshotPersister()
DDragState.java44 import android.os.UserManagerInternal;
375 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;
234 public UserManagerInternal getUserManagerInternal() { in getUserManagerInternal()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DUserControllerTest.java72 import android.os.UserManagerInternal;
546 private final UserManagerInternal mUserManagerInternalMock;
559 mUserManagerInternalMock = mock(UserManagerInternal.class); in TestInjector()
580 UserManagerInternal getUserManagerInternal() { in getUserManagerInternal()
/frameworks/base/services/core/java/com/android/server/infra/
DAbstractMasterSystemService.java34 import android.os.UserManagerInternal;
257 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;
101 private final UserManagerInternal mUserManagerInternal;
151 mUserManagerInternal = LocalServices.getService(UserManagerInternal.class); in RoleManagerService()

12