Home
last modified time | relevance | path

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

12

/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.java21 import android.os.UserManagerInternal;
59 LocalServices.removeServiceForTest(UserManagerInternal.class); in setup()
DUserManagerServiceUserInfoTest.java22 import android.os.UserManagerInternal;
62 LocalServices.removeServiceForTest(UserManagerInternal.class); in setup()
DUserManagerServiceCreateProfileTest.java26 import android.os.UserManagerInternal;
58 LocalServices.removeServiceForTest(UserManagerInternal.class); in setup()
DBaseShortcutManagerTest.java82 import android.os.UserManagerInternal;
613 protected UserManagerInternal mMockUserManagerInternal;
752 mMockUserManagerInternal = mock(UserManagerInternal.class); in setUp()
762 LocalServices.removeServiceForTest(UserManagerInternal.class); in setUp()
763 LocalServices.addService(UserManagerInternal.class, mMockUserManagerInternal); in setUp()
DPackageManagerSettingsTests.java44 import android.os.UserManagerInternal;
949 LocalServices.removeServiceForTest(UserManagerInternal.class); in createUserManagerServiceRef()
/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
DDragDropControllerTests.java34 import android.os.UserManagerInternal;
108 final UserManagerInternal userManager = mock(UserManagerInternal.class); in setUp()
109 LocalServices.addService(UserManagerInternal.class, userManager); in setUp()
126 LocalServices.removeServiceForTest(UserManagerInternal.class); in tearDown()
/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/am/
DUserControllerTest.java32 import android.os.UserManagerInternal;
328 UserManagerInternal userManagerInternalMock;
341 userManagerInternalMock = mock(UserManagerInternal.class); in TestInjector()
361 UserManagerInternal getUserManagerInternal() { in getUserManagerInternal()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DMockSystemServices.java53 import android.os.UserManagerInternal;
82 public final UserManagerInternal userManagerInternal;
119 userManagerInternal = mock(UserManagerInternal.class); in MockSystemServices()
DDevicePolicyManagerServiceTestable.java38 import android.os.UserManagerInternal;
139 UserManagerInternal getUserManagerInternal() { in getUserManagerInternal()
DDpmMockContext.java32 import android.os.UserManagerInternal;
219 public UserManagerInternal getUserManagerInternal() { in getUserManagerInternal()
/frameworks/base/services/core/java/com/android/server/wm/
DDragState.java45 import android.os.UserManagerInternal;
323 final UserManagerInternal userManager = LocalServices.getService(UserManagerInternal.class); in broadcastDragStartedLocked()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DOwners.java31 import android.os.UserManagerInternal;
104 private final UserManagerInternal mUserManagerInternal;
130 UserManagerInternal userManagerInternal, in Owners()
137 UserManagerInternal userManagerInternal, in Owners()
/frameworks/base/services/core/java/com/android/server/pm/
DUserRestrictionsUtils.java36 import android.os.UserManagerInternal;
366 if (cameraRestrictionScope == UserManagerInternal.CAMERA_DISABLED_GLOBALLY) { in sortToGlobalAndLocal()
368 } else if (cameraRestrictionScope == UserManagerInternal.CAMERA_DISABLED_LOCALLY) { in sortToGlobalAndLocal()
DLauncherAppsService.java55 import android.os.UserManagerInternal;
108 private final UserManagerInternal mUserManagerInternal;
122 LocalServices.getService(UserManagerInternal.class)); in LauncherAppsImpl()
DUserManagerService.java72 import android.os.UserManagerInternal;
73 import android.os.UserManagerInternal.UserRestrictionsListener;
539 LocalServices.addService(UserManagerInternal.class, mLocalService); in UserManagerService()
3731 private class LocalService extends UserManagerInternal {
/frameworks/base/services/autofill/java/com/android/server/autofill/
DAutofillManagerService.java55 import android.os.UserManagerInternal;
178 final UserManagerInternal umi = LocalServices.getService(UserManagerInternal.class); in AutofillManagerService()
/frameworks/base/services/core/java/com/android/server/am/
DUserController.java77 import android.os.UserManagerInternal;
834 LocalServices.getService(UserManagerInternal.class).onEphemeralUserStop(oldUserId);
2058 private UserManagerInternal mUserManagerInternal;
2117 UserManagerInternal getUserManagerInternal() {
2119 mUserManagerInternal = LocalServices.getService(UserManagerInternal.class);
DBatteryStatsService.java41 import android.os.UserManagerInternal;
168 private UserManagerInternal umi; in BatteryStatsService()
172 umi = LocalServices.getService(UserManagerInternal.class); in BatteryStatsService()
/frameworks/base/services/core/java/com/android/server/
DBluetoothManagerService.java58 import android.os.UserManagerInternal;
59 import android.os.UserManagerInternal.UserRestrictionsListener;
1101 UserManagerInternal userManagerInternal = in handleOnBootPhase()
1102 LocalServices.getService(UserManagerInternal.class); in handleOnBootPhase()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java65 import android.os.UserManagerInternal;
276 private UserManagerInternal mUserManagerInternal;
312 mUserManagerInternal = LocalServices.getService(UserManagerInternal.class); in onCreate()
841 UserManagerInternal userManager = LocalServices.getService(UserManagerInternal.class); in startWatchingUserRestrictionChanges()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DPermissionManagerService.java48 import android.os.UserManagerInternal;
113 private final UserManagerInternal mUserManagerInt;
148 mUserManagerInt = LocalServices.getService(UserManagerInternal.class); in PermissionManagerService()
/frameworks/base/services/core/java/com/android/server/job/
DJobSchedulerService.java65 import android.os.UserManagerInternal;
948 UserManagerInternal umi = LocalServices.getService(UserManagerInternal.class); in cancelJobsForNonExistentUsers()

12