/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | NotificationFilter.java | 76 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/ |
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/services/core/java/com/android/server/pm/ |
D | CrossProfileAppsServiceImpl.java | 160 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/ |
D | IntentForwarderActivity.java | 244 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/ |
D | UserController.java | 386 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/ |
D | Trampoline.java | 230 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/ |
D | LockPatternUtils.java | 248 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/ |
D | AppRestrictionsHelper.java | 77 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/ |
D | WifiP2pServiceImplTest.java | 721 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/ |
D | CertificateMonitor.java | 145 if (!mInjector.getUserManager().isUserUnlocked(userHandle.getIdentifier())) { in updateInstalledCertificates()
|
D | DevicePolicyManagerService.java | 1881 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/ |
D | DisplayManagerService.java | 398 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/ |
D | AppRestrictionsHelperTest.java | 291 UserManager getUserManager() { in getUserManager() method in AppRestrictionsHelperTest.TestInjector
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | DevicePolicyManagerServiceTestable.java | 137 UserManager getUserManager() { in getUserManager() method in DevicePolicyManagerServiceTestable.MockInjector
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | AccountManagerService.java | 1083 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/ |
D | CrossProfileAppsServiceImplTest.java | 553 public UserManager getUserManager() { in getUserManager() method in CrossProfileAppsServiceImplTest.TestInjector
|
/frameworks/base/core/java/android/app/ |
D | ApplicationPackageManager.java | 142 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/ |
D | RecentTasks.java | 833 final List<UserInfo> profiles = mService.getUserManager().getProfiles(userId, in getProfileIds() 843 return mService.getUserManager().getUserInfo(userId); in getUserInfo()
|
D | ActivityTaskManagerService.java | 867 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/ |
D | UserControllerTest.java | 537 protected UserManagerService getUserManager() { in getUserManager() method in UserControllerTest.TestInjector
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiInjector.java | 382 public UserManager getUserManager() { in getUserManager() method in WifiInjector
|
D | WifiServiceImpl.java | 459 mUserManager = mWifiInjector.getUserManager(); in WifiServiceImpl()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/app/ |
D | IntentForwarderActivityTest.java | 642 public UserManager getUserManager() { in getUserManager() method in IntentForwarderActivityTest.TestInjector
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | LockSettingsService.java | 394 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/ |
D | TrampolineTest.java | 1351 protected UserManager getUserManager() { in getUserManager() method in TrampolineTest.TrampolineTestable
|