Home
last modified time | relevance | path

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

123

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerServiceUserInfoTest.java144 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
DUserManagerTest.java147 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 …]
DUserLifecycleStressTest.java73 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/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/apphibernation/
DAppHibernationServiceTest.java141 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/
DUserManagerService.java914 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/
DLockPatternUtilsTest.java75 final UserInfo userInfo = Mockito.mock(UserInfo.class); in configureTest() local
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/television/
DUninstallAlertFragment.java73 UserInfo userInfo = userManager.getUserInfo(dialogInfo.user.getIdentifier()); in onCreateGuidance() 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
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
DUserTracker.kt45 val userInfo: UserInfo constant
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/handheld/
DUninstallAlertDialogFragment.java139 UserInfo userInfo = userManager.getUserInfo(dialogInfo.user.getIdentifier()); in onCreateDialog() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DUserInfoControllerImpl.java131 UserInfo userInfo; in queryForUserInformation() local
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/
DJobConcurrencyManagerTest.java181 private static JobStatus createJob(UserInfo userInfo) { in createJob()
/frameworks/base/packages/SystemUI/src/com/android/systemui/privacy/
DPrivacyDialogController.kt157 val userInfo = userInfos.firstOrNull { ui -> ui.id == UserHandle.getUserId(it.uid) } in showDialog() constant
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierPrivilegesTrackerTest.java618 public final UserInfo userInfo; field in CarrierPrivilegesTrackerTest.PackageCertInfo
621 PackageCertInfo(String pkgName, String cert, UserInfo userInfo, int uid) { in PackageCertInfo()
DTelephonyRegistryTest.java645 UserInfo userInfo = new UserInfo(UserHandle.myUserId(), "" /* name */, 0 /* flags */); in testNotifyCellLocationForSubscriberByUserSwitched() local
/frameworks/base/apex/media/framework/java/android/media/
DMediaCommunicationManager.java127 public boolean isTrustedForMediaControl(@NonNull MediaSessionManager.RemoteUserInfo userInfo) { in isTrustedForMediaControl()
/frameworks/base/core/tests/coretests/src/android/content/
DAbstractCrossUserContentResolverTest.java62 final UserInfo userInfo = createUser(); in setUp() local
/frameworks/base/services/core/java/com/android/server/am/
DUserController.java650 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/
DLockscreenSmartspaceControllerTest.kt466 val userInfo = mock(UserInfo::class.java) in mockUserInfo() constant
/frameworks/base/services/core/java/com/android/server/
DSystemService.java152 public TargetUser(@NonNull UserInfo userInfo) { in TargetUser()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DKeyguardUserSwitcherAdapterTest.kt59 private lateinit var userInfo: UserInfo variable in com.android.systemui.statusbar.policy.KeyguardUserSwitcherAdapterTest
/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/storage/
DStorageSessionController.java86 UserInfo userInfo = mUserManager.getUserInfo(vol.mountUserId); in getConnectionUserIdForVolume() local

123