/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | UserManagerServiceUserInfoTest.java | 146 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
|
D | UserManagerTest.java | 149 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 …]
|
D | UserLifecycleStressTest.java | 79 final UserInfo userInfo = mUserManager.createProfileForUser("TestUser", in stopManagedProfileStressTest() local
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/ |
D | RestrictedLockUtilsTest.java | 184 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/ |
D | AppHibernationServiceTest.java | 159 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/ |
D | UserNeedsBadgingCache.java | 57 final UserInfo userInfo; in get() local
|
D | UserManagerService.java | 958 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/ |
D | ShadowUserManager.java | 54 final UserInfo userInfo = new UserInfo(); in addProfile() local
|
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/ |
D | BaseLockSettingsServiceTests.java | 195 final UserInfo userInfo = new UserInfo( in installChildProfile() local 208 final UserInfo userInfo = installChildProfile(profileId); in installAndTurnOffChildProfile() local
|
D | LockSettingsServiceTestable.java | 221 UserInfo userInfo = mUserManager.getUserInfo(userId); in isCredentialSharableWithParent() local
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/television/ |
D | UninstallAlertFragment.java | 77 UserInfo userInfo = userManager.getUserInfo(dialogInfo.user.getIdentifier()); in onCreateGuidance() local
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | GuestSessionNotification.java | 60 void createPersistentNotification(UserInfo userInfo, boolean isGuestFirstLogin) { in createPersistentNotification()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/ |
D | UserTracker.kt | 46 val userInfo: UserInfo constant
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/handheld/ |
D | UninstallAlertDialogFragment.java | 141 UserInfo userInfo = userManager.getUserInfo(dialogInfo.user.getIdentifier()); in onCreateDialog() local
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/settings/ |
D | ControlsSettingsRepositoryImpl.kt | 64 .flatMapLatest { userInfo -> in <lambda>() method
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | UserInfoControllerImpl.java | 127 UserInfo userInfo; in queryForUserInformation() local
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/settings/ |
D | FakeUserTracker.kt | 44 override val userInfo: UserInfo constant
|
/frameworks/base/core/tests/coretests/src/android/content/ |
D | AbstractCrossUserContentResolverTest.java | 66 final UserInfo userInfo = createUser(); in setUp() local
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/privacy/ |
D | PrivacyDialogController.kt | 208 val userInfo = userInfos.firstOrNull { ui -> ui.id == UserHandle.getUserId(it.uid) } in showDialog() constant
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/app/ |
D | GameServiceControllerTest.java | 296 UserInfo userInfo = new UserInfo(userId, "", "", UserInfo.FLAG_FULL); in user() local
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | UserController.java | 733 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/ |
D | LockscreenAndDreamTargetFilter.kt | 129 for (userInfo in userTracker.userProfiles) { in getWorkProfileUser() method
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/ |
D | JobConcurrencyManagerTest.java | 401 private static JobStatus createJob(UserInfo userInfo) { in createJob()
|
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
D | LockPatternUtilsTest.java | 97 final UserInfo userInfo = Mockito.mock(UserInfo.class); in configureTest() local
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | CarrierPrivilegesTrackerTest.java | 1175 public final UserInfo userInfo; field in CarrierPrivilegesTrackerTest.PackageCertInfo 1178 PackageCertInfo(String pkgName, String cert, UserInfo userInfo, int uid) { in PackageCertInfo()
|