/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | UserManagerServiceUserInfoTest.java | 144 UserInfo userInfo = mUserManagerService.getUserInfo(UserHandle.USER_SYSTEM); in testGetUserName() local 166 UserInfo userInfo = createUser(testId, 0, typeName); in testIsUserOfType() local 174 UserInfo userInfo = createUser(100, FLAG_FULL, null); in testSupportSwitchTo_partial() local 183 UserInfo userInfo = createUser(100, FLAG_DISABLED, null); in testSupportSwitchTo_disabled() local 191 UserInfo userInfo = createUser(100, FLAG_FULL, null); in testSupportSwitchTo_preCreated() local 203 UserInfo userInfo = createUser(100, FLAG_PROFILE, null); in testSupportSwitchTo_profile() local 303 UserInfo userInfo = createUser(userId, in testUpgradeProfileType_updateTypeAndFlags() local 340 UserInfo userInfo = createUser(userId, oldUserType.getDefaultUserInfoFlags(), in testUpgradeProfileType_updateRestrictions() local
|
D | UserManagerTest.java | 147 UserInfo userInfo = createUser("Guest 1", UserInfo.FLAG_GUEST); in testAddGuest() local 166 UserInfo userInfo = createProfileForUser("Clone user1", in testCloneUser() local 213 UserInfo userInfo = createUser("Guest 1", UserInfo.FLAG_GUEST); in testRemoveUser() local 222 UserInfo userInfo = createUser("Guest 1", UserInfo.FLAG_GUEST); in testRemoveUserByHandle() local 379 final UserInfo userInfo = createUser("Name", userType, 0); in createUserWithTypeAndCheckFlags() local 392 final UserInfo userInfo = createUser("Name", flags); in createUserWithFlagsAndCheckType() local 430 UserInfo userInfo = createUser("SecondaryUser", /*flags=*/ 0); in testSetUserAdmin() local 445 UserInfo userInfo = createProfileForUser("Profile", in testGetProfileParent() local 468 UserInfo userInfo = createProfileForUser("Managed", in testProfileTypeInformation() local 563 UserInfo userInfo = createProfileForUser("Managed", in testAddManagedProfile_disallowedPackagesInstalledLater() local [all …]
|
D | UserLifecycleStressTest.java | 73 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/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/apphibernation/ |
D | AppHibernationServiceTest.java | 141 UserInfo userInfo = addUser(USER_ID_1); in setUp() local 212 UserInfo userInfo = in testGetHibernatingPackagesForUser_returnsCorrectPackages() local 408 UserInfo userInfo = new UserInfo(userId, "user_" + userId, 0 /* flags */); in addUser() local
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserManagerService.java | 914 UserInfo userInfo = mUsers.get(profileId).info; in getProfilesLU() local 989 UserInfo userInfo = getUserInfoLU(userId); in isSameProfileGroupNoChecks() local 1356 final UserInfo userInfo = getUserInfoLU(userId); in getUserTypeNoChecks() local 1373 private @Nullable UserTypeDetails getUserTypeDetails(@Nullable UserInfo userInfo) { in getUserTypeDetails() 1433 final UserInfo userInfo = getUserInfoNoChecks(userId); in getUserBadgeLabelResId() local 1450 final UserInfo userInfo = getUserInfoNoChecks(userId); in getUserBadgeColorResId() local 1466 final UserInfo userInfo = getUserInfoNoChecks(userId); in getUserBadgeDarkColorResId() local 1513 UserInfo userInfo = getUserInfoLU(userId); in isProfile() local 1522 UserInfo userInfo = getUserInfoLU(userId); in isManagedProfile() local 1531 UserInfo userInfo = getUserInfoLU(userId); in isCloneProfile() local [all …]
|
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/ |
D | LockPatternUtilsTest.java | 75 final UserInfo userInfo = Mockito.mock(UserInfo.class); in configureTest() local
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/television/ |
D | UninstallAlertFragment.java | 73 UserInfo userInfo = userManager.getUserInfo(dialogInfo.user.getIdentifier()); in onCreateGuidance() 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
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/ |
D | UserTracker.kt | 45 val userInfo: UserInfo constant
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/handheld/ |
D | UninstallAlertDialogFragment.java | 139 UserInfo userInfo = userManager.getUserInfo(dialogInfo.user.getIdentifier()); in onCreateDialog() local
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | UserInfoControllerImpl.java | 131 UserInfo userInfo; in queryForUserInformation() local
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/ |
D | JobConcurrencyManagerTest.java | 181 private static JobStatus createJob(UserInfo userInfo) { in createJob()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/privacy/ |
D | PrivacyDialogController.kt | 157 val userInfo = userInfos.firstOrNull { ui -> ui.id == UserHandle.getUserId(it.uid) } in showDialog() constant
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | CarrierPrivilegesTrackerTest.java | 618 public final UserInfo userInfo; field in CarrierPrivilegesTrackerTest.PackageCertInfo 621 PackageCertInfo(String pkgName, String cert, UserInfo userInfo, int uid) { in PackageCertInfo()
|
D | TelephonyRegistryTest.java | 645 UserInfo userInfo = new UserInfo(UserHandle.myUserId(), "" /* name */, 0 /* flags */); in testNotifyCellLocationForSubscriberByUserSwitched() local
|
/frameworks/base/apex/media/framework/java/android/media/ |
D | MediaCommunicationManager.java | 127 public boolean isTrustedForMediaControl(@NonNull MediaSessionManager.RemoteUserInfo userInfo) { in isTrustedForMediaControl()
|
/frameworks/base/core/tests/coretests/src/android/content/ |
D | AbstractCrossUserContentResolverTest.java | 62 final UserInfo userInfo = createUser(); in setUp() local
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | UserController.java | 650 final UserInfo userInfo = getUserInfo(userId); in finishUserUnlocked() local 707 UserInfo userInfo = getUserInfo(userId); in finishUserUnlockedCompleted() local
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/lockscreen/ |
D | LockscreenSmartspaceControllerTest.kt | 466 val userInfo = mock(UserInfo::class.java) in mockUserInfo() constant
|
/frameworks/base/services/core/java/com/android/server/ |
D | SystemService.java | 152 public TargetUser(@NonNull UserInfo userInfo) { in TargetUser()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | KeyguardUserSwitcherAdapterTest.kt | 59 private lateinit var userInfo: UserInfo variable in com.android.systemui.statusbar.policy.KeyguardUserSwitcherAdapterTest
|
/frameworks/base/services/core/java/com/android/server/testharness/ |
D | TestHarnessModeService.java | 120 UserInfo userInfo = getPrimaryUser(); in disableLockScreen() local
|
/frameworks/base/services/core/java/com/android/server/storage/ |
D | StorageSessionController.java | 86 UserInfo userInfo = mUserManager.getUserInfo(vol.mountUserId); in getConnectionUserIdForVolume() local
|