/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | MockSystemServices.java | 207 when(userManager.getUserInfo(eq(userId))).thenReturn(uh); in addUser() 213 when(userManager.getUserInfo(anyInt())).thenAnswer( in addUser() 216 return getUserInfo(userId1); in addUser() 222 final UserInfo ui = getUserInfo(userId1); in addUser() 223 return ui == null ? null : getUserInfo(ui.profileGroupId); in addUser() 258 when(userManager.getUserInfo(eq(userId))).thenReturn(null); in removeUser() 263 private UserInfo getUserInfo(int userId) { in getUserInfo() method in MockSystemServices
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | UserManagerServiceUserInfoTest.java | 111 UserInfo userInfo = mUserManagerService.getUserInfo(UserHandle.USER_SYSTEM); in testGetUserName() 121 assertEquals("A Name", mUserManagerService.getUserInfo(TEST_ID).name); in testGetUserName()
|
D | UserManagerTest.java | 171 while (mUserManager.getUserInfo(user.getIdentifier()) != null) { in testRemoveUserByHandle() 222 userInfo = mUserManager.getUserInfo(userInfo.id); in testSetUserAdmin() 412 long ownerCreationTime = mUserManager.getUserInfo(primaryUserId).creationTime; in testGetUserCreationTime() 644 while (mUserManager.getUserInfo(userId) != null) { in removeUser()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | BaseLockSettingsServiceTests.java | 148 when(mUserManager.getUserInfo(eq(PRIMARY_USER_ID))).thenReturn(PRIMARY_USER_INFO); in setUp() 155 when(mUserManager.getUserInfo(eq(SECONDARY_USER_ID))).thenReturn(SECONDARY_USER_INFO); in setUp() 183 when(mUserManager.getUserInfo(eq(profileId))).thenReturn(userInfo); in installChildProfile()
|
/frameworks/base/core/java/android/os/ |
D | UserManager.java | 1405 UserInfo user = getUserInfo(UserHandle.myUserId()); in isPrimaryUser() 1441 UserInfo user = getUserInfo(userId); in isUserAdmin() 1484 return mService.getUserInfo(user.getIdentifier()).isRestricted(); in isRestrictedProfile() 1523 UserInfo user = getUserInfo(id); in isGuestUser() 1536 UserInfo user = getUserInfo(UserHandle.myUserId()); in isGuestUser() 1630 final UserInfo user = getUserInfo(userId); in isUserEphemeral() 1792 public UserInfo getUserInfo(@UserIdInt int userHandle) { in getUserInfo() method in UserManager 1794 return mService.getUserInfo(userHandle); in getUserInfo()
|
D | IUserManager.aidl | 63 UserInfo getUserInfo(int userHandle); in getUserInfo() method
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | UserController.java | 484 if (getUserInfo(userId).isManagedProfile()) { in finishUserUnlocked() 503 final UserInfo info = getUserInfo(userId); in finishUserUnlocked() 528 UserInfo userInfo = getUserInfo(userId); in finishUserUnlockedCompleted() 811 if (getUserInfo(userId).isEphemeral()) { 855 if (mDelayUserDataLocking && !getUserInfo(userId).isEphemeral() 930 UserInfo userInfo = getUserInfo(oldUserId); 1056 final UserInfo userInfo = getUserInfo(userId); 1272 final UserInfo userInfo = getUserInfo(userId); 1326 UserInfo targetUserInfo = getUserInfo(targetUserId); 1347 UserInfo currentUserInfo = getUserInfo(currentUserId); [all …]
|
/frameworks/base/core/java/android/webkit/ |
D | UserPackage.java | 91 public UserInfo getUserInfo() { in getUserInfo() method in UserPackage
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | LockSettingsService.java | 289 if (!mUserManager.getUserInfo(managedUserId).isManagedProfile()) { in tieManagedProfileLockIfNecessary() 478 final UserInfo user = mUserManager.getUserInfo(userId); in maybeShowEncryptionNotificationForUser() 581 && tiedManagedProfileReadyToUnlock(mUserManager.getUserInfo(userId))) { in ensureProfileKeystoreUnlocked() 604 if (mUserManager.getUserInfo(userId).isManagedProfile()) { in onUnlockUser() 612 if (mUserManager.getUserInfo(userId).isPrimary() && !isUserSecure(userId)) { in onUnlockUser() 1225 if (mUserManager.getUserInfo(userId).isManagedProfile()) { in unlockUser() 1260 if (mUserManager.getUserInfo(userId).isManagedProfile()) { in getDecryptedPasswordsForAllTiedProfiles() 1302 if (mUserManager.getUserInfo(userId).isManagedProfile()) { in synchronizeUnifiedWorkChallengeForProfiles() 1340 return mUserManager.getUserInfo(userId).isManagedProfile() in isManagedProfileWithUnifiedLock() 1345 return mUserManager.getUserInfo(userId).isManagedProfile() in isManagedProfileWithSeparatedLock() [all …]
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/ |
D | WebAsset.java | 139 if (url.getUserInfo() != null) { in create()
|
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
D | LockPatternUtilsTest.java | 76 when(um.getUserInfo(DEMO_USER_ID)).thenReturn(userInfo); in configureTest()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/television/ |
D | UninstallAlertFragment.java | 73 UserInfo userInfo = userManager.getUserInfo(dialogInfo.user.getIdentifier()); in onCreateGuidance()
|
/frameworks/base/core/tests/coretests/src/android/net/ |
D | UriTest.java | 175 assertEquals("bob", uri.getUserInfo()); in testAuthorityParsing() 180 assertEquals("bob lee", uri.getUserInfo()); in testAuthorityParsing() 184 assertEquals("bob@lee:jr", uri.getUserInfo()); in testAuthorityParsing() 396 assertNull(uri.getUserInfo()); in testOpaqueUri()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/ |
D | RestrictedLockUtilsTest.java | 312 when(mUserManager.getUserInfo(userId)).thenReturn(userInfo); in setUpUser() 319 when(mUserManager.getUserInfo(userId)).thenReturn(userInfo); in setUpManagedProfile()
|
/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/ |
D | UserLifecycleTests.java | 402 while (mUm.getUserInfo(userId) != null && in removeUser() 411 if (mUm.getUserInfo(userId) != null) { in removeUser()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | SecurityControllerImpl.java | 242 return mUserManager.getUserInfo(mCurrentUserId).isRestricted() in isVpnRestricted() 296 final UserInfo newUserInfo = mUserManager.getUserInfo(newUserId); in onUserSwitched()
|
D | UserSwitcherController.java | 381 UserInfo currUserInfo = mUserManager.getUserInfo(currUserId); in switchTo() 428 UserInfo info = mUserManager.getUserInfo(mLastNonGuestUser); in showExitGuestDialog() 492 final UserInfo userInfo = mUserManager.getUserInfo(currentId);
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | SecurityControllerTest.java | 87 when(mUserManager.getUserInfo(anyInt())).thenReturn(new UserInfo()); in setUp()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationAssistantsTest.java | 103 when(mUm.getUserInfo(eq(user.id))).thenReturn(user); in setUp()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/ |
D | UidDetailProvider.java | 142 final UserInfo info = um.getUserInfo(userHandle); in buildUidDetail()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/handheld/ |
D | UninstallAlertDialogFragment.java | 153 UserInfo userInfo = userManager.getUserInfo(dialogInfo.user.getIdentifier()); in onCreateDialog()
|
/frameworks/base/services/core/java/com/android/server/search/ |
D | SearchManagerService.java | 122 if (um.getUserInfo(userId) == null) { in getSearchables()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/ |
D | TrampolineTest.java | 141 when(mUserManagerMock.getUserInfo(UserHandle.USER_SYSTEM)).thenReturn(mUserInfoMock); in setUp() 142 when(mUserManagerMock.getUserInfo(NON_USER_SYSTEM)).thenReturn(mUserInfoMock); in setUp() 143 when(mUserManagerMock.getUserInfo(UNSTARTED_NON_USER_SYSTEM)).thenReturn(mUserInfoMock); in setUp()
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/users/ |
D | AppRestrictionsHelperTest.java | 77 when(mUm.getUserInfo(mTestUser.getIdentifier())).thenReturn(user); in setUp()
|
/frameworks/base/core/java/android/net/ |
D | Uri.java | 238 public abstract String getUserInfo(); in getUserInfo() method in Uri 955 public String getUserInfo() { in getUserInfo() method in Uri.OpaqueUri 1101 public String getUserInfo() { in getUserInfo() method in Uri.AbstractHierarchicalUri
|