Home
last modified time | relevance | path

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

1234

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerServiceUserInfoTest.java211 UserInfo userInfo = mUserManagerService.getUserInfo(UserHandle.USER_SYSTEM); in testGetUserName() local
233 UserInfo userInfo = createUser(testId, 0, typeName); in testIsUserOfType() local
241 UserInfo userInfo = createUser(100, FLAG_FULL, null); in testSupportSwitchTo_partial() local
250 UserInfo userInfo = createUser(100, FLAG_DISABLED, null); in testSupportSwitchTo_disabled() local
258 UserInfo userInfo = createUser(100, FLAG_FULL, null); in testSupportSwitchTo_preCreated() local
270 UserInfo userInfo = createUser(100, FLAG_PROFILE, null); in testSupportSwitchTo_profile() local
277 UserInfo userInfo = createUser(100, FLAG_MAIN, null); in testCanHaveProfile() local
416 UserInfo userInfo = createUser(userId, in testUpgradeProfileType_updateTypeAndFlags() local
453 UserInfo userInfo = createUser(userId, oldUserType.getDefaultUserInfoFlags(), in testUpgradeProfileType_updateRestrictions() local
DUserManagerTest.java154 UserInfo userInfo = createUser("Guest 1", UserInfo.FLAG_GUEST); in testAddGuest() local
472 UserInfo userInfo = createUser("Guest 1", UserInfo.FLAG_GUEST); in testRemoveUser() local
481 UserInfo userInfo = createUser("Guest 1", UserInfo.FLAG_GUEST); in testRemoveUserByHandle() local
795 final UserInfo userInfo = createUser("Name", userType, 0); in createUserWithTypeAndCheckFlags() local
808 final UserInfo userInfo = createUser("Name", flags); in createUserWithFlagsAndCheckType() local
927 UserInfo userInfo = createUser("SecondaryUser", /*flags=*/ 0); in testSetUserAdmin() local
939 UserInfo userInfo = createUser("Admin", /*flags=*/ UserInfo.FLAG_ADMIN); in testRevokeUserAdmin() local
951 UserInfo userInfo = createUser("NonAdmin", /*flags=*/ 0); in testRevokeUserAdminFromNonAdmin() local
965 UserInfo userInfo = createProfileForUser("Profile", in testGetProfileParent() local
1128 UserInfo userInfo = createProfileForUser("Managed", in testAddManagedProfile_disallowedPackagesInstalledLater() local
[all …]
DUserLifecycleStressTest.java116 final UserInfo userInfo = mUserManager.createProfileForUser(TEST_USER_NAME, in stopManagedProfileStressTest() local
145 final UserInfo userInfo = mUserManager.createUser(TEST_USER_NAME, in removeRecentlyStartedUserStressTest() local
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DRestrictedLockUtilsTest.java195 UserInfo userInfo = setUpUser(mUserId, new ComponentName[] {mAdmin1}); in checkIfKeyguardFeaturesAreDisabled_doesMatchAllowedFeature_unifiedManagedProfile() local
223 UserInfo userInfo = setUpUser(mUserId, new ComponentName[] {mAdmin1}); in checkIfKeyguardFeaturesAreDisabled_notMatchOtherFeatures_unifiedManagedProfile() local
246 UserInfo userInfo = setUpUser(mUserId, new ComponentName[] {mAdmin1}); in checkIfKeyguardFeaturesAreDisabled_onlyMatchesProfile_separateManagedProfile() local
282 UserInfo userInfo = setUpUser(mUserId, new ComponentName[] {mAdmin1}); in checkIfKeyguardFeaturesAreDisabled_onlyMatchesParent_profileParentPolicy() local
322 UserInfo userInfo = new UserInfo(userId, "primary", 0); in setUpUser() local
329 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/packages/SettingsLib/tests/robotests/testutils/com/android/settingslib/testutils/shadow/
DShadowUserManager.java61 final UserInfo userInfo = new UserInfo(); in addProfile() local
86 UserInfo userInfo = getUserInfo(UserHandle.myUserId()); in setIsAdminUser() local
/frameworks/base/services/tests/InputMethodSystemServerTests/src/com/android/server/inputmethod/
DUserDataRepositoryTest.java89 final var userInfo = new UserInfo(); in testUserDataRepository_addsNewUserInfoOnUserCreatedEvent() local
115 final var userInfo = new UserInfo(); in testUserDataRepository_removesUserInfoOnUserRemovedEvent() local
/frameworks/base/packages/SettingsLib/SpaPrivileged/src/com/android/settingslib/spaprivileged/model/app/
DAppRepository.kt56 val userInfo = context.userManager.getUserInfo(app.userId) in rememberAppRepository() constant
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/data/model/
DSelectedUserModel.kt24 val userInfo: UserInfo, constant in com.android.systemui.user.data.model.SelectedUserModel
/frameworks/base/services/core/java/com/android/server/pm/
DUserNeedsBadgingCache.java57 final UserInfo userInfo; in get() local
DUserManagerService.java1289 UserInfo userInfo = getUserInfoLU(userId); in getPrivateProfileUserId() local
1494 UserInfo userInfo = mUsers.get(profileId).info; in getProfilesLU() local
1599 UserInfo userInfo = getUserInfoLU(userId); in isSameProfileGroupNoChecks() local
1747 UserInfo userInfo; in requestQuietModeEnabled() local
2163 final UserInfo userInfo = getUserInfoLU(userId); in getUserTypeNoChecks() local
2180 private @Nullable UserTypeDetails getUserTypeDetails(@Nullable UserInfo userInfo) { in getUserTypeDetails()
2280 final UserInfo userInfo = getUserInfoNoChecks(userId); in getUserBadgeLabelResId() local
2297 final UserInfo userInfo = getUserInfoNoChecks(userId); in getUserBadgeColorResId() local
2313 final UserInfo userInfo = getUserInfoNoChecks(userId); in getUserBadgeDarkColorResId() local
2372 final UserInfo userInfo = getUserInfoNoChecks(userId); in getProfileLabelResId() local
[all …]
DCrossProfileResolver.java94 UserInfo userInfo = mUserManager.getUserInfo(userId); in isUserEnabled() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/domain/interactor/
DPromptCredentialInteractor.kt112 private fun userInfo( in <lambda>() method
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardDismissInteractorTest.kt49 private val userInfo = UserInfo(0, "", 0) constant in com.android.systemui.keyguard.domain.interactor.KeyguardDismissInteractorTest
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DGuestSessionNotification.java61 void createPersistentNotification(UserInfo userInfo, boolean isGuestFirstLogin) { in createPersistentNotification()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/
DBaseLockSettingsServiceTests.java278 final UserInfo userInfo = new UserInfo( in installChildProfile() local
295 final UserInfo userInfo = installChildProfile(profileId); in installAndTurnOffChildProfile() local
/frameworks/base/services/core/java/com/android/server/am/
DUserController.java697 final UserInfo userInfo = getUserInfo(userId); in sendLockedBootCompletedBroadcast() local
810 final UserInfo userInfo = getUserInfo(userId); in finishUserUnlocked() local
861 UserInfo userInfo = getUserInfo(userId); in finishUserUnlockedCompleted() local
/frameworks/base/core/java/com/android/internal/app/
DSetScreenLockDialogActivity.java145 UserInfo userInfo = userManager.getUserInfo(mOriginUserId); in setLaunchUserSpecificMessage() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/settings/
DUserTracker.kt47 val userInfo: UserInfo constant
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/settings/repository/
DUserAwareSecureSettingsRepository.kt60 .flatMapLatest { userInfo -> settingObserver(name, defaultValue, userInfo.id) } in boolSettingForActiveUser() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/panels/data/repository/
DQSPreferencesRepository.kt48 .flatMapLatest { userInfo -> in <lambda>() method
/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/src/com/android/systemui/privacy/
DPrivacyDialogController.kt214 val userInfo = userInfos.firstOrNull { ui -> ui.id == UserHandle.getUserId(it.uid) } in showDialog() constant
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/mediaprojection/appselector/data/
DShellRecentTaskListProviderTest.kt251 val userInfo = in createRecentTask() constant

1234