Home
last modified time | relevance | path

Searched defs:userInfo (Results 1 – 25 of 37) sorted by relevance

12

/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/
DUserLifecycleTests.java104 final UserInfo userInfo = mUm.createUser("TestUser", 0); in createAndStartUser() local
122 final UserInfo userInfo = mUm.createUser("TestUser", 0); in switchUser() local
179 final UserInfo userInfo = mUm.createUser("TestUser", 0); in stopUser() local
199 final UserInfo userInfo = mUm.createUser("TestUser", 0); in lockedBootCompleted() local
218 final UserInfo userInfo = mUm.createProfileForUser("TestUser", in managedProfileUnlock() local
238 final UserInfo userInfo = mUm.createProfileForUser("TestUser", in managedProfileUnlock_stopped() local
266 final UserInfo userInfo = mUm.createUser("TestUser", in ephemeralUserStopped() local
297 final UserInfo userInfo = mUm.createProfileForUser("TestUser", in managedProfileStopped() local
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DRestrictedLockUtilsTest.java184 UserInfo userInfo = setUpUser(mUserId, new ComponentName[] {mAdmin1}); in checkIfKeyguardFeaturesAreDisabled_doesMatchAllowedFeature_unifiedManagedProfile() local
212 UserInfo userInfo = setUpUser(mUserId, new ComponentName[] {mAdmin1}); in checkIfKeyguardFeaturesAreDisabled_notMatchOtherFeatures_unifiedManagedProfile() local
235 UserInfo userInfo = setUpUser(mUserId, new ComponentName[] {mAdmin1}); in checkIfKeyguardFeaturesAreDisabled_onlyMatchesProfile_separateManagedProfile() local
271 UserInfo userInfo = setUpUser(mUserId, new ComponentName[] {mAdmin1}); in checkIfKeyguardFeaturesAreDisabled_onlyMatchesParent_profileParentPolicy() local
311 UserInfo userInfo = new UserInfo(userId, "primary", 0); in setUpUser() local
318 UserInfo userInfo = new UserInfo(userId, "profile", UserInfo.FLAG_MANAGED_PROFILE); in setUpManagedProfile() local
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerTest.java124 UserInfo userInfo = createUser("Guest 1", UserInfo.FLAG_GUEST); in testAddUser() local
158 UserInfo userInfo = createUser("Guest 1", UserInfo.FLAG_GUEST); in testRemoveUser() local
166 UserInfo userInfo = createUser("Guest 1", UserInfo.FLAG_GUEST); in testRemoveUserByHandle() local
209 UserInfo userInfo = createUser("SecondaryUser", /*flags=*/ 0); in testSetUserAdmin() local
236 UserInfo userInfo = createProfileForUser("Profile", in testGetProfileParent() local
289 UserInfo userInfo = createProfileForUser("Managed", in testAddManagedProfile_disallowedPackagesInstalledLater() local
312 UserInfo userInfo = createUser("SecondaryUser", /*flags=*/ 0); in testCreateUser_disallowAddUser() local
328 UserInfo userInfo = createProfileForUser("Managed", in testCreateProfileForUser_disallowAddManagedProfile() local
345 UserInfo userInfo = createProfileEvenWhenDisallowedForUser("Managed", in testCreateProfileForUserEvenWhenDisallowed() local
361 UserInfo userInfo = createProfileForUser("Managed", in testCreateProfileForUser_disallowAddUser() local
[all …]
DUserLifecycleStressTest.java73 final UserInfo userInfo = mUserManager.createProfileForUser("TestUser", in stopManagedProfileStressTest() local
DUserManagerServiceUserInfoTest.java111 UserInfo userInfo = mUserManagerService.getUserInfo(UserHandle.USER_SYSTEM); in testGetUserName() local
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/testutils/shadow/
DShadowUserManager.java54 final UserInfo userInfo = new UserInfo(); in addProfile() local
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DBaseLockSettingsServiceTests.java179 final UserInfo userInfo = new UserInfo( in installChildProfile() local
191 final UserInfo userInfo = installChildProfile(profileId); in installAndTurnOffChildProfile() local
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/car/
DUserGridRecyclerView.java144 UserInfo userInfo = new UserInfo(); in createStartGuestUserRecord() local
154 UserInfo userInfo = new UserInfo(); in createAddUserRecord() local
384 public UserRecord(UserInfo userInfo, boolean isStartGuestSession, boolean isAddUser, in UserRecord()
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DLockPatternUtilsTest.java73 final UserInfo userInfo = Mockito.mock(UserInfo.class); in configureTest() local
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java707 UserInfo userInfo = mUsers.get(profileId).info; in getProfilesLU() local
776 UserInfo userInfo = getUserInfoLU(userId); in isSameProfileGroupNoChecks() local
1114 UserInfo userInfo = getUserInfoLU(userId); in getManagedProfileBadge() local
1123 UserInfo userInfo = getUserInfoLU(userId); in isManagedProfile() local
1154 UserInfo userInfo = userWithName(getUserInfoLU(userId)); in getUserName() local
1203 UserInfo userInfo = getUserInfoLU(userId); in isDemoUser() local
1219 final UserInfo userInfo = getUserInfoLU(userId); in canHaveRestrictedProfile() local
1843 UserInfo userInfo = getUserInfoLU(userId); in canAddMoreManagedProfiles() local
2305 final UserInfo userInfo = userData.info; in writeUserLP() local
2570 UserInfo userInfo = new UserInfo(id, name, iconPath, flags); in readUserLP() local
[all …]
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/television/
DUninstallAlertFragment.java73 UserInfo userInfo = userManager.getUserInfo(dialogInfo.user.getIdentifier()); in onCreateGuidance() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DUserInfoControllerImpl.java127 UserInfo userInfo; in queryForUserInformation() local
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/handheld/
DUninstallAlertDialogFragment.java153 UserInfo userInfo = userManager.getUserInfo(dialogInfo.user.getIdentifier()); in onCreateDialog() local
/frameworks/base/core/tests/coretests/src/android/content/
DAbstractCrossUserContentResolverTest.java61 final UserInfo userInfo = createUser(); in setUp() local
/frameworks/base/core/java/android/provider/
DCallLog.java869 final UserInfo userInfo = users.get(i); in addCall() local
919 final UserInfo userInfo = userManager.getUserInfo(userId); in shouldHaveSharedCallLogEntries() local
/frameworks/base/services/core/java/com/android/server/testharness/
DTestHarnessModeService.java120 UserInfo userInfo = getPrimaryUser(); in disableLockScreen() local
/frameworks/base/services/core/java/com/android/server/am/
DUserController.java528 UserInfo userInfo = getUserInfo(userId); in finishUserUnlockedCompleted() local
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsService.java800 final UserInfo userInfo = users.get(i); in migrateOldData() local
882 userInfo, in migrateFrpCredential() local
1252 private boolean tiedManagedProfileReadyToUnlock(UserInfo userInfo) { in tiedManagedProfileReadyToUnlock()
1669 final UserInfo userInfo = mUserManager.getUserInfo(userId); in unlockUserKey() local
1675 final UserInfo userInfo = mUserManager.getUserInfo(userId); in addUserKeyAuth() local
/frameworks/base/services/core/java/com/android/server/om/
DOverlayManagerService.java284 final UserInfo userInfo = users.get(i); in initIfNeeded() local
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DUserControllerTest.java473 UserInfo userInfo = new UserInfo(userId, "User" + userId, flags); in setUpUser() local
/frameworks/base/services/core/java/com/android/server/adb/
DAdbDebuggingManager.java575 UserInfo userInfo = UserManager.get(mContext).getUserInfo(currentUserId); in startConfirmation() local
/frameworks/base/media/java/android/media/session/
DMediaSessionManager.java645 public boolean isTrustedForMediaControl(@NonNull RemoteUserInfo userInfo) { in isTrustedForMediaControl()
/frameworks/base/services/core/java/com/android/server/textservices/
DTextServicesManagerService.java766 UserInfo userInfo = mUserManager.getUserInfo(userId); in dump() local
/frameworks/base/services/appwidget/java/com/android/server/appwidget/
DAppWidgetServiceImpl.java625 UserInfo userInfo = mUserManager.getUserInfo(providerUserId); in maskWidgetsViewsLocked() local
3559 UserInfo userInfo = mUserManager.getUserInfo(userId); in isProfileWithLockedParent() local
3574 UserInfo userInfo = mUserManager.getUserInfo(userId); in isProfileWithUnlockedParent() local
3853 UserInfo userInfo = mUserManager.getUserInfo(profileId); in isProfileEnabled() local
/frameworks/base/services/core/java/com/android/server/wm/
DRecentTasks.java1189 final UserInfo userInfo = getUserInfo(userId); in trimInactiveRecentTasks() local

12