Home
last modified time | relevance | path

Searched refs:getUserManager (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationFilter.java76 private NotificationLockscreenUserManager getUserManager() { in getUserManager() method in NotificationFilter
98 if (getUserManager().isLockscreenPublicMode(sbn.getUserId()) in shouldFilterOut()
100 || getUserManager().shouldHideNotifications(sbn.getUserId()) in shouldFilterOut()
101 || getUserManager().shouldHideNotifications(sbn.getKey()))) { in shouldFilterOut()
/frameworks/base/core/tests/packagemanagertests/src/android/content/pm/
DKernelPackageMappingTests.java57 private UserManager getUserManager() { in getUserManager() method in KernelPackageMappingTests
102 mSecondaryUser = getUserManager().createUser("Secondary", 0); in testNotInstalledSecondary()
112 getUserManager().removeUser(mSecondaryUser.id); in shutDown()
/frameworks/base/services/core/java/com/android/server/pm/
DCrossProfileAppsServiceImpl.java160 mInjector.getUserManager().getEnabledProfileIds(callingUserId); in getTargetUserProfilesUnchecked()
227 return mInjector.getUserManager().isSameProfileGroup(callerUserId, userId); in isSameProfileGroup()
267 public UserManager getUserManager() { in getUserManager() method in CrossProfileAppsServiceImpl.InjectorImpl
306 UserManager getUserManager(); in getUserManager() method
/frameworks/base/core/java/com/android/internal/app/
DIntentForwarderActivity.java244 List<UserInfo> relatedUsers = mInjector.getUserManager().getProfiles(UserHandle.myUserId()); in getManagedProfile()
258 UserInfo parent = mInjector.getUserManager().getProfileParent(UserHandle.myUserId()); in getProfileParent()
296 public UserManager getUserManager() { in getUserManager() method in IntentForwarderActivity.InjectorImpl
319 UserManager getUserManager(); in getUserManager() method
/frameworks/base/services/core/java/com/android/server/am/
DUserController.java386 if (mInjector.getUserManager().isManagedProfile(userId)) { in finishUserBoot()
387 final UserInfo parent = mInjector.getUserManager().getProfileParent(userId); in finishUserBoot()
429 mInjector.getUserManager().onBeforeUnlockUser(userId); in finishUserUnlocking()
485 UserInfo parent = mInjector.getUserManager().getProfileParent(userId); in finishUserUnlocked()
536 mInjector.getUserManager().onUserLoggedIn(userId); in finishUserUnlockedCompleted()
551 mInjector.getUserManager().makeInitialized(userInfo.id); in finishUserUnlockedCompleted()
812 mInjector.getUserManager().removeUserEvenWhenDisallowed(userId);
958 List<UserInfo> profiles = mInjector.getUserManager().getProfiles(
1155 mInjector.getUserManager().onBeforeStartUser(userId);
1312 final UserInfo parent = mInjector.getUserManager().getProfileParent(testUserId);
[all …]
/frameworks/base/services/backup/java/com/android/server/backup/
DTrampoline.java230 protected UserManager getUserManager() { in getUserManager() method in Trampoline
304 || getUserManager().getUserInfo(userId).isManagedProfile(); in enforcePermissionsOnUser()
365 if (getUserManager().isUserUnlocked(userId)) { in setBackupServiceActive()
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternUtils.java248 private UserManager getUserManager() { in getUserManager() method in LockPatternUtils
740 UserInfo userInfo = getUserManager().getUserInfo(userId); in isLockScreenDisabled()
1161 && !getUserManager().hasUserRestriction( in isSeparateProfileChallengeAllowedToUnify()
1176 final UserInfo info = getUserManager().getUserInfo(userHandle); in isManagedProfile()
1649 if (!(getUserManager().isSystemUser() || getUserManager().isPrimaryUser())) { in setCredentialRequiredToDecrypt()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/
DAppRestrictionsHelper.java77 mUserManager = mInjector.getUserManager(); in AppRestrictionsHelper()
417 UserManager getUserManager() { in getUserManager() method in AppRestrictionsHelper.Injector
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pServiceImplTest.java721 when(mWifiInjector.getUserManager()).thenReturn(mUserManager); in setUpWifiP2pServiceImpl()
3103 when(mWifiInjector.getUserManager()).thenReturn(mUserManager); in testFactoryResetSuccessWhenP2pEnabled()
3111 verify(mWifiInjector).getUserManager(); in testFactoryResetSuccessWhenP2pEnabled()
3130 when(mWifiInjector.getUserManager()).thenReturn(mUserManager); in testFactoryResetSuccessWhenP2pFromDisabledToEnabled()
3137 verify(mWifiInjector).getUserManager(); in testFactoryResetSuccessWhenP2pFromDisabledToEnabled()
3153 verify(mWifiInjector, times(2)).getUserManager(); in testFactoryResetSuccessWhenP2pFromDisabledToEnabled()
3174 when(mWifiInjector.getUserManager()).thenReturn(mUserManager); in testFactoryResetFailureWithoutNetworkSettingPermission()
3178 verify(mWifiInjector).getUserManager(); in testFactoryResetFailureWithoutNetworkSettingPermission()
3195 when(mWifiInjector.getUserManager()).thenReturn(mUserManager); in testFactoryResetFailureWhenNetworkResetDisallow()
3200 verify(mWifiInjector).getUserManager(); in testFactoryResetFailureWhenNetworkResetDisallow()
[all …]
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DCertificateMonitor.java145 if (!mInjector.getUserManager().isUserUnlocked(userHandle.getIdentifier())) { in updateInstalledCertificates()
DDevicePolicyManagerService.java1881 return new Owners(getUserManager(), getUserManagerInternal(), in newOwners()
1885 UserManager getUserManager() { in getUserManager() method in DevicePolicyManagerService.Injector
2216 mUserManager = Preconditions.checkNotNull(injector.getUserManager()); in DevicePolicyManagerService()
9936 final List<UserInfo> userInfos = mInjector.getUserManager().getUsers(true in getSecondaryUsers()
9959 return mInjector.getUserManager().isUserEphemeral(callingUserId); in isEphemeralUser()
14379 if (mInjector.getUserManager().isUserEphemeral(userInfo.id)) { in inEphemeralUserSession()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayManagerService.java398 final int userSerial = getUserManager().getUserSerialNumber(newUserId); in onSwitchUser()
1105 final int userSerial = getUserManager().getUserSerialNumber(userId); in setBrightnessConfigurationForUserInternal()
1143 final int userSerial = getUserManager().getUserSerialNumber(mCurrentUserId); in loadBrightnessConfiguration()
1502 private UserManager getUserManager() { in getUserManager() method in DisplayManagerService
2159 final int userSerial = getUserManager().getUserSerialNumber(userId); in getBrightnessConfigurationForUser()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/users/
DAppRestrictionsHelperTest.java291 UserManager getUserManager() { in getUserManager() method in AppRestrictionsHelperTest.TestInjector
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerServiceTestable.java137 UserManager getUserManager() { in getUserManager() method in DevicePolicyManagerServiceTestable.MockInjector
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java1083 private UserManager getUserManager() { in getUserManager() method in AccountManagerService
1428 ? getUserManager().getUserInfo(userId).restrictedProfileParentId in syncSharedAccounts()
1833 if (getUserManager().getUserInfo(accounts.userId).canHaveProfile()) { in addAccountInternal()
1857 List<UserInfo> users = getUserManager().getUsers(); in addAccountToLinkedRestrictedUsers()
2075 List<UserInfo> users = getUserManager().getUsers(true); in renameAccountInternal()
2095 final UserInfo userInfo = getUserManager().getUserInfo(parentUserId); in canHaveProfile()
2341 List<UserInfo> users = getUserManager().getUsers(true); in removeAccountInternal()
4232 final List<UserInfo> users = getUserManager().getUsers(true);
5182 final List<UserInfo> users = getUserManager().getUsers();
5675 if (getUserManager().getUserRestrictions(new UserHandle(userId))
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DCrossProfileAppsServiceImplTest.java553 public UserManager getUserManager() { in getUserManager() method in CrossProfileAppsServiceImplTest.TestInjector
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java142 UserManager getUserManager() { in getUserManager() method in ApplicationPackageManager
1464 return IconDrawableFactory.getUserBadgeColor(getUserManager(), user.getIdentifier()); in getUserBadgeColor()
1508 int badge = getUserManager().getManagedProfileBadge(user.getIdentifier()); in getUserBadgedLabel()
2831 return getUserManager().isManagedProfile(userId); in isManagedProfile()
/frameworks/base/services/core/java/com/android/server/wm/
DRecentTasks.java833 final List<UserInfo> profiles = mService.getUserManager().getProfiles(userId, in getProfileIds()
843 return mService.getUserManager().getUserInfo(userId); in getUserInfo()
DActivityTaskManagerService.java867 UserManagerService getUserManager() { in getUserManager() method in ActivityTaskManagerService
884 return getUserManager().hasUserRestriction(restriction, userId); in hasUserRestriction()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DUserControllerTest.java537 protected UserManagerService getUserManager() { in getUserManager() method in UserControllerTest.TestInjector
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiInjector.java382 public UserManager getUserManager() { in getUserManager() method in WifiInjector
DWifiServiceImpl.java459 mUserManager = mWifiInjector.getUserManager(); in WifiServiceImpl()
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DIntentForwarderActivityTest.java642 public UserManager getUserManager() { in getUserManager() method in IntentForwarderActivityTest.TestInjector
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsService.java394 public UserManager getUserManager() { in getUserManager() method in LockSettingsService.Injector
419 return new SyntheticPasswordManager(getContext(), storage, getUserManager(), in getSyntheticPasswordManager()
463 mUserManager = injector.getUserManager(); in LockSettingsService()
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/
DTrampolineTest.java1351 protected UserManager getUserManager() { in getUserManager() method in TrampolineTest.TrampolineTestable

12