Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/role/
DRoleManagerService.java103 private final UserManagerInternal mUserManagerInternal; field in RoleManagerService
153 mUserManagerInternal = LocalServices.getService(UserManagerInternal.class); in RoleManagerService()
458 if (!mUserManagerInternal.exists(userId)) { in getRoleHoldersAsUser()
479 if (!mUserManagerInternal.exists(userId)) { in addRoleHolderAsUser()
499 if (!mUserManagerInternal.exists(userId)) { in removeRoleHolderAsUser()
519 if (!mUserManagerInternal.exists(userId)) { in clearRoleHoldersAsUser()
536 if (userId != UserHandle.USER_ALL && !mUserManagerInternal.exists(userId)) { in addOnRoleHoldersChangedListenerAsUser()
554 if (userId != UserHandle.USER_ALL && !mUserManagerInternal.exists(userId)) { in removeOnRoleHoldersChangedListenerAsUser()
665 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.java497 final UserManagerInternal mUserManagerInternal; field in DevicePolicyManagerService
2217 mUserManagerInternal = Preconditions.checkNotNull(injector.getUserManagerInternal()); in DevicePolicyManagerService()
2279 mUserManagerInternal.addUserRestrictionsListener(new RestrictionsListener(mContext)); in DevicePolicyManagerService()
2573 final Bundle origRestrictions = mUserManagerInternal.getBaseUserRestrictions( in migrateUserRestrictionsForUser()
2599 mUserManagerInternal.setBaseUserRestrictionsByDpmsForMigration(user.getIdentifier(), in migrateUserRestrictionsForUser()
3578 mUserManagerInternal.setForceEphemeralUsers(deviceOwner.forceEphemeralUsers); in onLockSettingsReady()
6521 success = mUserManagerInternal.removeUserEvenWhenDisallowed(userId); in forceWipeUser()
7314 mUserManagerInternal.setForceEphemeralUsers(forceEphemeralUsers); in setForceEphemeralUsers()
7321 mUserManagerInternal.removeAllUsers(); in setForceEphemeralUsers()
8039 mUserManagerInternal.setForceEphemeralUsers(admin.forceEphemeralUsers); in clearDeviceOwnerLocked()
[all …]
/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()
909 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.java970 private UserManagerInternal mUserManagerInternal; field in PackageManagerService
4970 if (mUserManagerInternal == null) { in getUserManagerInternal()
4971 mUserManagerInternal = LocalServices.getService(UserManagerInternal.class); in getUserManagerInternal()
4973 return mUserManagerInternal; in getUserManagerInternal()
13234 if (!mUserManagerInternal.isUserRunning(userId)) {
13250 if (mUserManagerInternal.isUserUnlockingOrUnlocked(userId)) {
/frameworks/base/services/core/java/com/android/server/am/
DUserController.java2205 private UserManagerInternal mUserManagerInternal;
2265 if (mUserManagerInternal == null) {
2266 mUserManagerInternal = LocalServices.getService(UserManagerInternal.class);
2268 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()
1257 if (name != null && mUserManagerInternal.isSettingRestrictedForUser( in mutateGlobalSetting()
1566 if (name != null && mUserManagerInternal.isSettingRestrictedForUser(
1707 if (name != null && mUserManagerInternal.isSettingRestrictedForUser(
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java477 private final UserManagerInternal mUserManagerInternal; field in AudioService
638 mUserManagerInternal = LocalServices.getService(UserManagerInternal.class); in AudioService()
818 mUserManagerInternal.addUserRestrictionsListener(mUserRestrictionsListener); in AudioService()
1564 mUserManagerInternal.getUserRestriction(currentUser, in readUserRestrictions()
1566 || mUserManagerInternal.getUserRestriction(currentUser, in readUserRestrictions()
1579 boolean microphoneMute = mUserManagerInternal.getUserRestriction( in readUserRestrictions()