Home
last modified time | relevance | path

Searched refs:mUserManagerInternal (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/services/core/java/com/android/server/role/
DRoleManagerService.java101 private final UserManagerInternal mUserManagerInternal; field in RoleManagerService
151 mUserManagerInternal = LocalServices.getService(UserManagerInternal.class); in RoleManagerService()
457 if (!mUserManagerInternal.exists(userId)) { in getRoleHoldersAsUser()
478 if (!mUserManagerInternal.exists(userId)) { in addRoleHolderAsUser()
498 if (!mUserManagerInternal.exists(userId)) { in removeRoleHolderAsUser()
518 if (!mUserManagerInternal.exists(userId)) { in clearRoleHoldersAsUser()
535 if (userId != UserHandle.USER_ALL && !mUserManagerInternal.exists(userId)) { in addOnRoleHoldersChangedListenerAsUser()
553 if (userId != UserHandle.USER_ALL && !mUserManagerInternal.exists(userId)) { in removeOnRoleHoldersChangedListenerAsUser()
664 int[] userIds = mUserManagerInternal.getUserIds(); in dump()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DOwners.java107 private final UserManagerInternal mUserManagerInternal; field in Owners
148 mUserManagerInternal = userManagerInternal; in Owners()
188 mUserManagerInternal.setDeviceManaged(hasDeviceOwner()); in load()
190 mUserManagerInternal.setUserManaged(ui.id, hasProfileOwner(ui.id)); in load()
292 mUserManagerInternal.setDeviceManaged(true); in setDeviceOwnerWithRestrictionsMigrated()
304 mUserManagerInternal.setDeviceManaged(false); in clearDeviceOwner()
317 mUserManagerInternal.setUserManaged(userId, true); in setProfileOwner()
326 mUserManagerInternal.setUserManaged(userId, false); in removeProfileOwner()
DDevicePolicyManagerService.java501 final UserManagerInternal mUserManagerInternal; field in DevicePolicyManagerService
2225 mUserManagerInternal = Preconditions.checkNotNull(injector.getUserManagerInternal()); in DevicePolicyManagerService()
2287 mUserManagerInternal.addUserRestrictionsListener(new RestrictionsListener(mContext)); in DevicePolicyManagerService()
2581 final Bundle origRestrictions = mUserManagerInternal.getBaseUserRestrictions( in migrateUserRestrictionsForUser()
2607 mUserManagerInternal.setBaseUserRestrictionsByDpmsForMigration(user.getIdentifier(), in migrateUserRestrictionsForUser()
3586 mUserManagerInternal.setForceEphemeralUsers(deviceOwner.forceEphemeralUsers); in onLockSettingsReady()
6537 success = mUserManagerInternal.removeUserEvenWhenDisallowed(userId); in forceWipeUser()
7330 mUserManagerInternal.setForceEphemeralUsers(forceEphemeralUsers); in setForceEphemeralUsers()
7337 mUserManagerInternal.removeAllUsers(); in setForceEphemeralUsers()
8055 mUserManagerInternal.setForceEphemeralUsers(admin.forceEphemeralUsers); in clearDeviceOwnerLocked()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DTaskSnapshotPersister.java78 private final UserManagerInternal mUserManagerInternal; field in TaskSnapshotPersister
90 mUserManagerInternal = LocalServices.getService(UserManagerInternal.class); in TaskSnapshotPersister()
336 return mUserManagerInternal.isUserUnlocked(mUserId); in isReady()
/frameworks/base/services/core/java/com/android/server/pm/
DLauncherAppsService.java120 private final UserManagerInternal mUserManagerInternal; field in LauncherAppsService.LauncherAppsImpl
138 mUserManagerInternal = Preconditions.checkNotNull( in LauncherAppsImpl()
315 return mUserManagerInternal.isProfileAccessible(injectCallingUserId(), targetUserId, in canAccessProfile()
903 return mUserManagerInternal.isProfileAccessible(listeningUser.getIdentifier(), in isEnabledProfileOf()
DShortcutService.java320 private final UserManagerInternal mUserManagerInternal; field in ShortcutService
438 mUserManagerInternal = Preconditions.checkNotNull( in ShortcutService()
1187 return mUserManagerInternal.isUserUnlockingOrUnlocked(userId); in isUserUnlockedL()
3556 return mUserManagerInternal.getProfileParentId(userId); in getParentOrSelfUserId()
DPackageManagerService.java1013 private UserManagerInternal mUserManagerInternal; field in PackageManagerService
4895 if (mUserManagerInternal == null) {
4896 mUserManagerInternal = LocalServices.getService(UserManagerInternal.class);
4898 return mUserManagerInternal;
12782 if (!mUserManagerInternal.isUserRunning(userId)) {
12798 if (mUserManagerInternal.isUserUnlockingOrUnlocked(userId)) {
/frameworks/base/services/core/java/com/android/server/am/
DUserController.java2250 private UserManagerInternal mUserManagerInternal;
2310 if (mUserManagerInternal == null) {
2311 mUserManagerInternal = LocalServices.getService(UserManagerInternal.class);
2313 return mUserManagerInternal;
/frameworks/base/services/core/java/com/android/server/inputmethod/
DInputMethodManagerService.java316 private final UserManagerInternal mUserManagerInternal; field in InputMethodManagerService
1049 ? senderUserId : mUserManagerInternal.getProfileParentId(senderUserId); in onReceive()
1463 mUserManagerInternal = LocalServices.getService(UserManagerInternal.class); in InputMethodManagerService()
1540 !mSystemReady || !mUserManagerInternal.isUserUnlockingOrUnlocked(newUserId); in switchUserLocked()
1613 !mUserManagerInternal.isUserUnlockingOrUnlocked(currentUserId)); in systemRunning()
2930 if (!mUserManagerInternal.isUserRunning(userId)) { in startInputOrWindowGainedFocus()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsProvider.java288 private UserManagerInternal mUserManagerInternal; field in SettingsProvider
324 mUserManagerInternal = LocalServices.getService(UserManagerInternal.class); in onCreate()
1265 if (name != null && mUserManagerInternal.isSettingRestrictedForUser( in mutateGlobalSetting()
1574 if (name != null && mUserManagerInternal.isSettingRestrictedForUser(
1715 if (name != null && mUserManagerInternal.isSettingRestrictedForUser(
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java471 private final UserManagerInternal mUserManagerInternal; field in AudioService
630 mUserManagerInternal = LocalServices.getService(UserManagerInternal.class); in AudioService()
815 mUserManagerInternal.addUserRestrictionsListener(mUserRestrictionsListener); in AudioService()
1605 mUserManagerInternal.getUserRestriction(currentUser, in readUserRestrictions()
1607 || mUserManagerInternal.getUserRestriction(currentUser, in readUserRestrictions()
1620 mMicMuteFromRestrictions = mUserManagerInternal.getUserRestriction( in readUserRestrictions()