/frameworks/base/core/tests/packagemanagertests/src/android/content/pm/ |
D | KernelPackageMappingTests.java | 57 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/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | NotificationFilter.java | 88 private NotificationLockscreenUserManager getUserManager() { in getUserManager() method in NotificationFilter 110 if (getUserManager().isLockscreenPublicMode(sbn.getUserId()) in shouldFilterOut() 112 || getUserManager().shouldHideNotifications(sbn.getUserId()) in shouldFilterOut() 113 || getUserManager().shouldHideNotifications(sbn.getKey()))) { in shouldFilterOut()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | CrossProfileAppsServiceImpl.java | 257 mInjector.getUserManager().getEnabledProfileIds(mInjector.getCallingUserId()); in canRequestInteractAcrossProfilesUnchecked() 313 mInjector.getUserManager().getEnabledProfileIds(userId); in getTargetUserProfilesUnchecked() 424 mInjector.getUserManager() 580 final int[] profileIds = mInjector.getUserManager().getProfileIds( 623 mInjector.getUserManager().getProfileIds(userId, /* enabledOnly= */ false); 673 mInjector.getUserManager().isSameProfileGroup(callerUserId, userId)); 778 public UserManager getUserManager() { 855 UserManager getUserManager();
|
/frameworks/base/core/java/com/android/internal/app/ |
D | IntentForwarderActivity.java | 348 List<UserInfo> relatedUsers = mInjector.getUserManager().getProfiles(UserHandle.myUserId()); in getManagedProfile() 362 UserInfo parent = mInjector.getUserManager().getProfileParent(UserHandle.myUserId()); in getProfileParent() 400 public UserManager getUserManager() { in getUserManager() method in IntentForwarderActivity.InjectorImpl 426 UserManager getUserManager(); in getUserManager() method
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | UserController.java | 510 if (!mInjector.getUserManager().isPreCreated(userId)) { in finishUserBoot() 527 if (mInjector.getUserManager().isProfile(userId)) { in finishUserBoot() 528 final UserInfo parent = mInjector.getUserManager().getProfileParent(userId); in finishUserBoot() 573 mInjector.getUserManager().onBeforeUnlockUser(userId); in finishUserUnlocking() 629 UserInfo parent = mInjector.getUserManager().getProfileParent(userId); in finishUserUnlocked() 681 mInjector.getUserManager().onUserLoggedIn(userId); in finishUserUnlockedCompleted() 696 mInjector.getUserManager().makeInitialized(userInfo.id); in finishUserUnlockedCompleted() 1021 mInjector.getUserManager().removeUserEvenWhenDisallowed(userId); 1173 List<UserInfo> profiles = mInjector.getUserManager().getProfiles( 1407 mInjector.getUserManager().onBeforeStartUser(userId); [all …]
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | LockPatternUtils.java | 252 private UserManager getUserManager() { in getUserManager() method in LockPatternUtils 596 UserInfo userInfo = getUserManager().getUserInfo(userId); in isLockScreenDisabled() 925 && !getUserManager().hasUserRestriction( in isSeparateProfileChallengeAllowedToUnify() 940 final UserInfo info = getUserManager().getUserInfo(userHandle); in isManagedProfile() 1345 if (!(getUserManager().isSystemUser() || getUserManager().isPrimaryUser())) { in setCredentialRequiredToDecrypt()
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | RebootEscrowManager.java | 127 public UserManager getUserManager() { in getUserManager() method in RebootEscrowManager.Injector 166 mUserManager = injector.getUserManager(); in RebootEscrowManager()
|
D | LockSettingsService.java | 455 public UserManager getUserManager() { in getUserManager() method in LockSettingsService.Injector 495 return new SyntheticPasswordManager(getContext(), storage, getUserManager(), in getSyntheticPasswordManager() 547 return new ManagedProfilePasswordCache(ks, getUserManager()); in getManagedProfilePasswordCache() 579 mUserManager = injector.getUserManager(); in LockSettingsService()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/ |
D | AppRestrictionsHelper.java | 77 mUserManager = mInjector.getUserManager(); in AppRestrictionsHelper() 417 UserManager getUserManager() { in getUserManager() method in AppRestrictionsHelper.Injector
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | BackupManagerService.java | 306 protected UserManager getUserManager() { in getUserManager() method in BackupManagerService 417 || getUserManager().getUserInfo(userId).isManagedProfile(); in enforcePermissionsOnUser() 475 if (getUserManager().isUserUnlocked(userId)) { in setBackupServiceActive() 1409 userIds = getUserManager().getProfileIds(callingUserId, false); in getUserForAncestralSerialNumber()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ |
D | AuthContainerView.java | 199 UserManager getUserManager(Context context) { in getUserManager() method in AuthContainerView.Injector 259 mEffectiveUserId = mInjector.getUserManager(mContext) in AuthContainerView()
|
/frameworks/base/core/java/android/app/ |
D | ApplicationPackageManager.java | 161 UserManager getUserManager() { in getUserManager() method in ApplicationPackageManager 1580 getUserManager().getUserIconBadgeResId(user.getIdentifier()), in getUserBadgedIcon() 1603 return getUserManager().getUserBadgeDarkColor(user.getIdentifier()); in getUserBadgeColor() 1605 return getUserManager().getUserBadgeColor(user.getIdentifier()); in getUserBadgeColor() 1617 getUserManager().getUserBadgeResId(user.getIdentifier()), density); in getUserBadgeForDensity() 1632 getUserManager().getUserBadgeNoBackgroundResId(user.getIdentifier()), density); in getUserBadgeForDensityNoBackground() 1655 return getUserManager().getBadgedLabelForUser(label, user); in getUserBadgedLabel() 3015 return getUserManager().hasBadge(userId); in hasUserBadge()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/ |
D | AuthContainerViewTest.java | 279 public UserManager getUserManager(Context context) { in getUserManager() method in AuthContainerViewTest.MockInjector
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | CertificateMonitor.java | 140 if (!mInjector.getUserManager().isUserUnlocked(userHandle.getIdentifier())) { in updateInstalledCertificates()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/ |
D | WifiP2pServiceImplTest.java | 763 when(mWifiInjector.getUserManager()).thenReturn(mUserManager); in setUpWifiP2pServiceImpl() 3235 when(mWifiInjector.getUserManager()).thenReturn(mUserManager); in testFactoryResetSuccessWhenP2pEnabled() 3245 verify(mWifiInjector).getUserManager(); in testFactoryResetSuccessWhenP2pEnabled() 3264 when(mWifiInjector.getUserManager()).thenReturn(mUserManager); in testFactoryResetSuccessWhenP2pFromDisabledToEnabled() 3273 verify(mWifiInjector).getUserManager(); in testFactoryResetSuccessWhenP2pFromDisabledToEnabled() 3288 verify(mWifiInjector, times(2)).getUserManager(); in testFactoryResetSuccessWhenP2pFromDisabledToEnabled() 3309 when(mWifiInjector.getUserManager()).thenReturn(mUserManager); in testFactoryResetFailureWithoutNetworkSettingPermission() 3313 verify(mWifiInjector).getUserManager(); in testFactoryResetFailureWithoutNetworkSettingPermission() 3330 when(mWifiInjector.getUserManager()).thenReturn(mUserManager); in testFactoryResetFailureWhenNetworkResetDisallow() 3336 verify(mWifiInjector).getUserManager(); in testFactoryResetFailureWhenNetworkResetDisallow() [all …]
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/users/ |
D | AppRestrictionsHelperTest.java | 291 UserManager getUserManager() { in getUserManager() method in AppRestrictionsHelperTest.TestInjector
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | DisplayManagerService.java | 421 final int userSerial = getUserManager().getUserSerialNumber(newUserId); in onSwitchUser() 1184 final int userSerial = getUserManager().getUserSerialNumber(userId); in setBrightnessConfigurationForUserInternal() 1222 final int userSerial = getUserManager().getUserSerialNumber(mCurrentUserId); in loadBrightnessConfiguration() 1680 private UserManager getUserManager() { in getUserManager() method in DisplayManagerService 2369 final int userSerial = getUserManager().getUserSerialNumber(userId); in getBrightnessConfigurationForUser()
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | AccountManagerService.java | 1084 private UserManager getUserManager() { in getUserManager() method in AccountManagerService 1312 if (!getUserManager().removeUserEvenWhenDisallowed(userId)) { in getUserAccounts() 1456 ? getUserManager().getUserInfo(userId).restrictedProfileParentId in syncSharedAccounts() 1471 UserInfo user = getUserManager().getUserInfo(userId); in onServiceChanged() 1866 if (getUserManager().getUserInfo(accounts.userId).canHaveProfile()) { in addAccountInternal() 1890 List<UserInfo> users = getUserManager().getUsers(); in addAccountToLinkedRestrictedUsers() 2108 List<UserInfo> users = getUserManager().getUsers(true); in renameAccountInternal() 2128 final UserInfo userInfo = getUserManager().getUserInfo(parentUserId); in canHaveProfile() 2364 List<UserInfo> users = getUserManager().getUsers(true); in removeAccountInternal() 4255 final List<UserInfo> users = getUserManager().getUsers(true); [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DevicePolicyManagerServiceTestable.java | 142 UserManager getUserManager() { in getUserManager() method in DevicePolicyManagerServiceTestable.MockInjector
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | RebootEscrowManagerTests.java | 110 public UserManager getUserManager() { in getUserManager() method in RebootEscrowManagerTests.MockInjector
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | CrossProfileAppsServiceImplTest.java | 648 public UserManager getUserManager() { in getUserManager() method in CrossProfileAppsServiceImplTest.TestInjector
|
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/ |
D | BackupManagerServiceTest.java | 594 protected UserManager getUserManager() { in getUserManager() method in BackupManagerServiceTest.BackupManagerServiceTestable
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | SystemServicesTestRule.java | 480 doReturn(ums).when(this).getUserManager();
|
/frameworks/base/services/robotests/src/com/android/server/pm/ |
D | CrossProfileAppsServiceImplRoboTest.java | 689 public UserManager getUserManager() { in getUserManager() method in CrossProfileAppsServiceImplRoboTest.TestInjector
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | RecentTasks.java | 851 int[] profileIds = mService.getUserManager().getProfileIds(userId, false /* enabledOnly */); in getProfileIds() 860 return mService.getUserManager().getUserInfo(userId); in getUserInfo()
|