/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | TaskSnapshotPersisterTestBase.java | 38 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()
|
D | DragDropControllerTests.java | 37 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/ |
D | ContentSuggestionsPerUserServiceTest.java | 30 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/ |
D | UserRestrictionsUtilsTest.java | 25 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()
|
D | UserManagerServiceIdRecyclingTest.java | 25 import android.os.UserManagerInternal; 60 LocalServices.removeServiceForTest(UserManagerInternal.class); in setup()
|
D | UserManagerServiceUserInfoTest.java | 27 import android.os.UserManagerInternal; 63 LocalServices.removeServiceForTest(UserManagerInternal.class); in setup()
|
D | UserManagerServiceCreateProfileTest.java | 26 import android.os.UserManagerInternal; 59 LocalServices.removeServiceForTest(UserManagerInternal.class); in setup()
|
D | ScanTests.java | 47 import android.os.UserManagerInternal; 72 UserManagerInternal mMockUserManager;
|
D | BaseShortcutManagerTest.java | 84 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/ |
D | KeyguardDisableHandler.java | 29 import android.os.UserManagerInternal; 125 final UserManagerInternal userManager = LocalServices.getService(UserManagerInternal.class); in create()
|
D | TaskSnapshotPersister.java | 31 import android.os.UserManagerInternal; 78 private final UserManagerInternal mUserManagerInternal; 90 mUserManagerInternal = LocalServices.getService(UserManagerInternal.class); in TaskSnapshotPersister()
|
D | DragState.java | 44 import android.os.UserManagerInternal; 375 final UserManagerInternal userManager = LocalServices.getService(UserManagerInternal.class); in broadcastDragStartedLocked()
|
/frameworks/base/services/core/java/com/android/server/oemlock/ |
D | OemLockService.java | 31 import android.os.UserManagerInternal; 32 import android.os.UserManagerInternal.UserRestrictionsListener; 81 LocalServices.getService(UserManagerInternal.class) in OemLockService()
|
/frameworks/base/core/java/android/os/ |
D | UserManagerInternal.java | 26 public abstract class UserManagerInternal { class
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | MockSystemServices.java | 54 import android.os.UserManagerInternal; 84 public final UserManagerInternal userManagerInternal; 123 userManagerInternal = mock(UserManagerInternal.class); in MockSystemServices()
|
D | DevicePolicyManagerServiceTestable.java | 39 import android.os.UserManagerInternal; 142 UserManagerInternal getUserManagerInternal() { in getUserManagerInternal()
|
D | DpmMockContext.java | 34 import android.os.UserManagerInternal; 234 public UserManagerInternal getUserManagerInternal() { in getUserManagerInternal()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | UserControllerTest.java | 72 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/ |
D | AbstractMasterSystemService.java | 34 import android.os.UserManagerInternal; 257 final UserManagerInternal umi = LocalServices.getService(UserManagerInternal.class); in AbstractMasterSystemService()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | Owners.java | 32 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/ |
D | InputMethodUtils.java | 33 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/ |
D | PermissionPolicyService.java | 48 import android.os.UserManagerInternal; 218 final UserManagerInternal um = LocalServices.getService(UserManagerInternal.class); in onBootPhase()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserRestrictionsUtils.java | 36 import android.os.UserManagerInternal; 426 if (cameraRestrictionScope == UserManagerInternal.CAMERA_DISABLED_GLOBALLY) { in sortToGlobalAndLocal() 428 } else if (cameraRestrictionScope == UserManagerInternal.CAMERA_DISABLED_LOCALLY) { in sortToGlobalAndLocal()
|
D | LauncherAppsService.java | 62 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/ |
D | RoleManagerService.java | 51 import android.os.UserManagerInternal; 101 private final UserManagerInternal mUserManagerInternal; 151 mUserManagerInternal = LocalServices.getService(UserManagerInternal.class); in RoleManagerService()
|