Home
last modified time | relevance | path

Searched refs:getUserManager (Results 1 – 25 of 32) 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.java376 if (!mInjector.getUserManager().isPreCreated(userId)) { in finishUserBoot()
392 if (mInjector.getUserManager().isManagedProfile(userId)) { in finishUserBoot()
393 final UserInfo parent = mInjector.getUserManager().getProfileParent(userId); in finishUserBoot()
436 mInjector.getUserManager().onBeforeUnlockUser(userId); in finishUserUnlocking()
492 UserInfo parent = mInjector.getUserManager().getProfileParent(userId); in finishUserUnlocked()
544 mInjector.getUserManager().onUserLoggedIn(userId); in finishUserUnlockedCompleted()
559 mInjector.getUserManager().makeInitialized(userInfo.id); in finishUserUnlockedCompleted()
834 mInjector.getUserManager().removeUserEvenWhenDisallowed(userId);
980 List<UserInfo> profiles = mInjector.getUserManager().getProfiles(
1184 mInjector.getUserManager().onBeforeStartUser(userId);
[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()
3084 when(mWifiInjector.getUserManager()).thenReturn(mUserManager); in testFactoryResetSuccessWhenP2pEnabled()
3092 verify(mWifiInjector).getUserManager(); in testFactoryResetSuccessWhenP2pEnabled()
3111 when(mWifiInjector.getUserManager()).thenReturn(mUserManager); in testFactoryResetSuccessWhenP2pFromDisabledToEnabled()
3118 verify(mWifiInjector).getUserManager(); in testFactoryResetSuccessWhenP2pFromDisabledToEnabled()
3134 verify(mWifiInjector, times(2)).getUserManager(); in testFactoryResetSuccessWhenP2pFromDisabledToEnabled()
3155 when(mWifiInjector.getUserManager()).thenReturn(mUserManager); in testFactoryResetFailureWithoutNetworkSettingPermission()
3159 verify(mWifiInjector).getUserManager(); in testFactoryResetFailureWithoutNetworkSettingPermission()
3176 when(mWifiInjector.getUserManager()).thenReturn(mUserManager); in testFactoryResetFailureWhenNetworkResetDisallow()
3181 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.java1885 return new Owners(getUserManager(), getUserManagerInternal(), in newOwners()
1889 UserManager getUserManager() { in getUserManager() method in DevicePolicyManagerService.Injector
2224 mUserManager = Preconditions.checkNotNull(injector.getUserManager()); in DevicePolicyManagerService()
9945 final List<UserInfo> userInfos = mInjector.getUserManager().getUsers(true in getSecondaryUsers()
9968 return mInjector.getUserManager().isUserEphemeral(callingUserId); in isEphemeralUser()
14367 if (mInjector.getUserManager().isUserEphemeral(userInfo.id)) { in inEphemeralUserSession()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayManagerService.java400 final int userSerial = getUserManager().getUserSerialNumber(newUserId); in onSwitchUser()
1107 final int userSerial = getUserManager().getUserSerialNumber(userId); in setBrightnessConfigurationForUserInternal()
1145 final int userSerial = getUserManager().getUserSerialNumber(mCurrentUserId); in loadBrightnessConfiguration()
1504 private UserManager getUserManager() { in getUserManager() method in DisplayManagerService
2161 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
1311 if (!getUserManager().removeUserEvenWhenDisallowed(userId)) { in getUserAccounts()
1455 ? getUserManager().getUserInfo(userId).restrictedProfileParentId in syncSharedAccounts()
1860 if (getUserManager().getUserInfo(accounts.userId).canHaveProfile()) { in addAccountInternal()
1884 List<UserInfo> users = getUserManager().getUsers(); in addAccountToLinkedRestrictedUsers()
2102 List<UserInfo> users = getUserManager().getUsers(true); in renameAccountInternal()
2122 final UserInfo userInfo = getUserManager().getUserInfo(parentUserId); in canHaveProfile()
2368 List<UserInfo> users = getUserManager().getUsers(true); in removeAccountInternal()
4259 final List<UserInfo> users = getUserManager().getUsers(true);
5206 final List<UserInfo> users = getUserManager().getUsers();
[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.java870 UserManagerService getUserManager() { in getUserManager() method in ActivityTaskManagerService
887 return getUserManager().hasUserRestriction(restriction, userId); in hasUserRestriction()
2530 final int[] profileIds = getUserManager().getProfileIds( in getFilteredTasks()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiInjector.java391 public UserManager getUserManager() { in getUserManager() method in WifiInjector
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DIntentForwarderActivityTest.java642 public UserManager getUserManager() { in getUserManager() method in IntentForwarderActivityTest.TestInjector
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DUserControllerTest.java575 protected UserManagerService getUserManager() { in getUserManager() method in UserControllerTest.TestInjector
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityTestsBase.java495 doReturn(ums).when(this).getUserManager(); in TestActivityTaskManagerService()
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsService.java417 public UserManager getUserManager() { in getUserManager() method in LockSettingsService.Injector
442 return new SyntheticPasswordManager(getContext(), storage, getUserManager(), in getSyntheticPasswordManager()
486 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