Home
last modified time | relevance | path

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

123

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerServiceUserInfoTest.java146 UserInfo userInfo = mUserManagerService.getUserInfo(UserHandle.USER_SYSTEM); in testGetUserName() local
168 UserInfo userInfo = createUser(testId, 0, typeName); in testIsUserOfType() local
176 UserInfo userInfo = createUser(100, FLAG_FULL, null); in testSupportSwitchTo_partial() local
185 UserInfo userInfo = createUser(100, FLAG_DISABLED, null); in testSupportSwitchTo_disabled() local
193 UserInfo userInfo = createUser(100, FLAG_FULL, null); in testSupportSwitchTo_preCreated() local
205 UserInfo userInfo = createUser(100, FLAG_PROFILE, null); in testSupportSwitchTo_profile() local
305 UserInfo userInfo = createUser(userId, in testUpgradeProfileType_updateTypeAndFlags() local
342 UserInfo userInfo = createUser(userId, oldUserType.getDefaultUserInfoFlags(), in testUpgradeProfileType_updateRestrictions() local
DUserManagerTest.java149 UserInfo userInfo = createUser("Guest 1", UserInfo.FLAG_GUEST); in testAddGuest() local
168 UserInfo userInfo = createProfileForUser("Clone user1", in testCloneUser() local
274 UserInfo userInfo = createUser("Guest 1", UserInfo.FLAG_GUEST); in testRemoveUser() local
283 UserInfo userInfo = createUser("Guest 1", UserInfo.FLAG_GUEST); in testRemoveUserByHandle() local
444 final UserInfo userInfo = createUser("Name", userType, 0); in createUserWithTypeAndCheckFlags() local
457 final UserInfo userInfo = createUser("Name", flags); in createUserWithFlagsAndCheckType() local
495 UserInfo userInfo = createUser("SecondaryUser", /*flags=*/ 0); in testSetUserAdmin() local
510 UserInfo userInfo = createProfileForUser("Profile", in testGetProfileParent() local
533 UserInfo userInfo = createProfileForUser("Managed", in testProfileTypeInformation() local
628 UserInfo userInfo = createProfileForUser("Managed", in testAddManagedProfile_disallowedPackagesInstalledLater() local
[all …]
DUserLifecycleStressTest.java79 final UserInfo userInfo = mUserManager.createProfileForUser("TestUser", in stopManagedProfileStressTest() 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/apphibernation/
DAppHibernationServiceTest.java159 UserInfo userInfo = addUser(USER_ID_1); in setUp() local
234 UserInfo userInfo = in testGetHibernatingPackagesForUser_returnsCorrectPackages() local
256 UserInfo userInfo = in testGetHibernatingPackagesForUser_doesNotReturnPackagesThatArentVisible() local
463 UserInfo userInfo = in testGetHibernationStatsForUser_returnsAllIfNoPackagesSpecified() local
518 UserInfo userInfo = new UserInfo(userId, "user_" + userId, 0 /* flags */); in addUser() local
/frameworks/base/services/core/java/com/android/server/pm/
DUserNeedsBadgingCache.java57 final UserInfo userInfo; in get() local
DUserManagerService.java958 UserInfo userInfo = mUsers.get(profileId).info; in getProfilesLU() local
1033 UserInfo userInfo = getUserInfoLU(userId); in isSameProfileGroupNoChecks() local
1404 final UserInfo userInfo = getUserInfoLU(userId); in getUserTypeNoChecks() local
1421 private @Nullable UserTypeDetails getUserTypeDetails(@Nullable UserInfo userInfo) { in getUserTypeDetails()
1490 final UserInfo userInfo = getUserInfoNoChecks(userId); in getUserBadgeLabelResId() local
1507 final UserInfo userInfo = getUserInfoNoChecks(userId); in getUserBadgeColorResId() local
1523 final UserInfo userInfo = getUserInfoNoChecks(userId); in getUserBadgeDarkColorResId() local
1569 UserInfo userInfo = getUserInfoLU(userId); in isProfile() local
1582 UserInfo userInfo = getUserInfoLU(userId); in getProfileType() local
1657 UserInfo userInfo = userWithName(getUserInfoLU(userId)); in getUserName() local
[all …]
/frameworks/base/packages/SettingsLib/tests/robotests/testutils/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.java195 final UserInfo userInfo = new UserInfo( in installChildProfile() local
208 final UserInfo userInfo = installChildProfile(profileId); in installAndTurnOffChildProfile() local
DLockSettingsServiceTestable.java221 UserInfo userInfo = mUserManager.getUserInfo(userId); in isCredentialSharableWithParent() local
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/television/
DUninstallAlertFragment.java77 UserInfo userInfo = userManager.getUserInfo(dialogInfo.user.getIdentifier()); in onCreateGuidance() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DGuestSessionNotification.java60 void createPersistentNotification(UserInfo userInfo, boolean isGuestFirstLogin) { in createPersistentNotification()
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
DUserTracker.kt46 val userInfo: UserInfo constant
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/handheld/
DUninstallAlertDialogFragment.java141 UserInfo userInfo = userManager.getUserInfo(dialogInfo.user.getIdentifier()); in onCreateDialog() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/settings/
DControlsSettingsRepositoryImpl.kt64 .flatMapLatest { userInfo -> in <lambda>() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DUserInfoControllerImpl.java127 UserInfo userInfo; in queryForUserInformation() local
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/settings/
DFakeUserTracker.kt44 override val userInfo: UserInfo constant
/frameworks/base/core/tests/coretests/src/android/content/
DAbstractCrossUserContentResolverTest.java66 final UserInfo userInfo = createUser(); in setUp() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/privacy/
DPrivacyDialogController.kt208 val userInfo = userInfos.firstOrNull { ui -> ui.id == UserHandle.getUserId(it.uid) } in showDialog() constant
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/app/
DGameServiceControllerTest.java296 UserInfo userInfo = new UserInfo(userId, "", "", UserInfo.FLAG_FULL); in user() local
/frameworks/base/services/core/java/com/android/server/am/
DUserController.java733 final UserInfo userInfo = getUserInfo(userId); in finishUserUnlocked() local
784 UserInfo userInfo = getUserInfo(userId); in finishUserUnlockedCompleted() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/smartspace/filters/
DLockscreenAndDreamTargetFilter.kt129 for (userInfo in userTracker.userProfiles) { in getWorkProfileUser() method
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/
DJobConcurrencyManagerTest.java401 private static JobStatus createJob(UserInfo userInfo) { in createJob()
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DLockPatternUtilsTest.java97 final UserInfo userInfo = Mockito.mock(UserInfo.class); in configureTest() local
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierPrivilegesTrackerTest.java1175 public final UserInfo userInfo; field in CarrierPrivilegesTrackerTest.PackageCertInfo
1178 PackageCertInfo(String pkgName, String cert, UserInfo userInfo, int uid) { in PackageCertInfo()

123