Home
last modified time | relevance | path

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

12

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskSnapshotPersisterTestBase.java43 import android.os.UserManagerInternal;
81 final UserManagerInternal userManager = mock(UserManagerInternal.class); in setUpOnce()
82 LocalServices.addService(UserManagerInternal.class, userManager); in setUpOnce()
87 LocalServices.removeServiceForTest(UserManagerInternal.class); in tearDownOnce()
95 final UserManagerInternal userManagerInternal = in setUp()
96 LocalServices.getService(UserManagerInternal.class); in setUp()
DDragDropControllerTests.java36 import android.os.UserManagerInternal;
115 final UserManagerInternal userManager = mock(UserManagerInternal.class); in setUpOnce()
116 LocalServices.addService(UserManagerInternal.class, userManager); in setUpOnce()
121 LocalServices.removeServiceForTest(UserManagerInternal.class); in tearDownOnce()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DLockSettingsServiceTestable.java30 import android.os.UserManagerInternal;
52 private UserManagerInternal mUserManagerInternal;
60 UserManagerInternal userManagerInternal, DeviceStateCache deviceStateCache, in MockInjector()
133 public UserManagerInternal getUserManagerInternal() { in getUserManagerInternal()
171 UserManagerInternal userManagerInternal, DeviceStateCache deviceStateCache, in LockSettingsServiceTestable()
DBaseLockSettingsServiceTests.java48 import android.os.UserManagerInternal;
107 UserManagerInternal mUserManagerInternal;
127 mUserManagerInternal = mock(UserManagerInternal.class); in setUp_baseServices()
/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;
77 private final UserManagerInternal mUserManagerInternal;
88 mUserManagerInternal = LocalServices.getService(UserManagerInternal.class); in TaskSnapshotPersister()
DDragState.java44 import android.os.UserManagerInternal;
363 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/services/tests/servicestests/src/com/android/server/pm/
DUserManagerServiceIdRecyclingTest.java26 import android.os.UserManagerInternal;
64 LocalServices.removeServiceForTest(UserManagerInternal.class); in setup()
DUserManagerServiceUserInfoTest.java46 import android.os.UserManagerInternal;
85 LocalServices.removeServiceForTest(UserManagerInternal.class); in setup()
DUserManagerServiceCreateProfileTest.java30 import android.os.UserManagerInternal;
67 LocalServices.removeServiceForTest(UserManagerInternal.class); in setup()
DUserSystemPackageInstallerTest.java46 import android.os.UserManagerInternal;
105 LocalServices.removeServiceForTest(UserManagerInternal.class); in setup()
/frameworks/base/services/core/java/com/android/server/
DSystemServiceManager.java27 import android.os.UserManagerInternal;
75 private UserManagerInternal mUserManagerInternal;
240 mUserManagerInternal = LocalServices.getService(UserManagerInternal.class); in preSystemReady()
/frameworks/base/services/core/java/com/android/server/infra/
DAbstractMasterSystemService.java34 import android.os.UserManagerInternal;
192 private UserManagerInternal mUm;
263 final UserManagerInternal umi = getUserManagerInternal(); in AbstractMasterSystemService()
706 protected UserManagerInternal getUserManagerInternal() { in getUserManagerInternal()
709 mUm = LocalServices.getService(UserManagerInternal.class); in getUserManagerInternal()
/frameworks/base/services/core/java/com/android/server/pm/
DUserRestrictionsUtils.java36 import android.os.UserManagerInternal;
440 public static boolean isGlobal(@UserManagerInternal.OwnerType int restrictionOwnerType, in isGlobal()
442 return ((restrictionOwnerType == UserManagerInternal.OWNER_TYPE_DEVICE_OWNER) && ( in isGlobal()
445 == UserManagerInternal.OWNER_TYPE_PROFILE_OWNER_OF_ORGANIZATION_OWNED_DEVICE) in isGlobal()
454 public static boolean isLocal(@UserManagerInternal.OwnerType int restrictionOwnerType, in isLocal()
DLauncherAppsService.java72 import android.os.UserManagerInternal;
135 private final UserManagerInternal mUserManagerInternal;
157 LocalServices.getService(UserManagerInternal.class)); in LauncherAppsImpl()
1084 private final UserManagerInternal mUserManagerInternal;
1086 ShortcutChangeHandler(UserManagerInternal userManager) { in ShortcutChangeHandler()
/frameworks/base/services/core/java/android/os/
DUserManagerInternal.java35 public abstract class UserManagerInternal { class
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DMockSystemServices.java58 import android.os.UserManagerInternal;
91 public final UserManagerInternal userManagerInternal;
135 userManagerInternal = mock(UserManagerInternal.class); in MockSystemServices()
DDevicePolicyManagerServiceTestable.java39 import android.os.UserManagerInternal;
147 UserManagerInternal getUserManagerInternal() { in getUserManagerInternal()
DDpmMockContext.java34 import android.os.UserManagerInternal;
238 public UserManagerInternal getUserManagerInternal() { in getUserManagerInternal()
/frameworks/base/services/core/java/com/android/server/storage/
DStorageUserConnection.java38 import android.os.UserManagerInternal;
82 mIsDemoUser = LocalServices.getService(UserManagerInternal.class) in StorageUserConnection()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DUserControllerTest.java74 import android.os.UserManagerInternal;
634 private final UserManagerInternal mUserManagerInternalMock;
647 mUserManagerInternalMock = mock(UserManagerInternal.class); in TestInjector()
668 UserManagerInternal getUserManagerInternal() { in getUserManagerInternal()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DOwners.java33 import android.os.UserManagerInternal;
113 private final UserManagerInternal mUserManagerInternal;
141 UserManagerInternal userManagerInternal, in Owners()
151 UserManagerInternal userManagerInternal, in Owners()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DInputMethodUtils.java33 import android.os.UserManagerInternal;
763 private static final UserManagerInternal sUserManagerInternal =
764 LocalServices.getService(UserManagerInternal.class);
1314 final UserManagerInternal userManagerInternal = in resolveUserId()
1315 LocalServices.getService(UserManagerInternal.class); in resolveUserId()
/frameworks/base/services/core/java/com/android/server/role/
DRoleManagerService.java52 import android.os.UserManagerInternal;
105 private final UserManagerInternal mUserManagerInternal;
163 mUserManagerInternal = LocalServices.getService(UserManagerInternal.class); in RoleManagerService()

12