Searched refs:primaryUser (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/services/tests/PackageManagerServiceTests/appenumeration/src/com/android/server/pm/test/appenumeration/ |
D | CrossUserPackageVisibilityTests.java | 112 final UserReference primaryUser = sDeviceState.primaryUser(); in setup() local 113 if (primaryUser.id() == UserHandle.myUserId()) { in setup() 114 mCurrentUser = primaryUser; in setup() 118 mOtherUser = primaryUser; in setup()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/deviceentry/domain/interactor/ |
D | DeviceEntryFaceAuthInteractorTest.kt | 96 fakeUserRepository.setUserInfos(listOf(primaryUser, secondaryUser)) in setup() 240 fakeUserRepository.setSelectedUserInfo(primaryUser, SelectionStatus.SELECTION_COMPLETE) in faceAuthLockedOutStateIsUpdatedAfterUserSwitch() 242 primaryUser, in faceAuthLockedOutStateIsUpdatedAfterUserSwitch() 447 fakeUserRepository.setSelectedUserInfo(primaryUser, SelectionStatus.SELECTION_COMPLETE) in faceLockoutStateIsResetWheneverFingerprintIsNotLockedOut() 466 fakeUserRepository.setSelectedUserInfo(primaryUser, SelectionStatus.SELECTION_COMPLETE) in faceLockoutStateIsSetToUsersLockoutStateWheneverFingerprintIsNotLockedOut() 553 private val primaryUser = UserInfo(primaryUserId, "test user", UserInfo.FLAG_PRIMARY) constant
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/deviceentry/domain/interactor/ |
D | DeviceUnlockedInteractorTest.kt | 72 kosmos.fakeUserRepository.setUserInfos(listOf(primaryUser, secondaryUser)) in setup() 195 primaryUser, in deviceUnlockStatus_whenUnlockedByTrustAgent_providesThatInfo() 226 private val primaryUser = UserInfo(primaryUserId, "test user", UserInfo.FLAG_PRIMARY) constant
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/deviceentry/data/repository/ |
D | DeviceEntryFaceAuthRepositoryTest.kt | 177 fakeUserRepository.setUserInfos(listOf(primaryUser, secondaryUser)) in setup() 506 fakeUserRepository.setSelectedUserInfo(primaryUser) in dumpDoesNotErrorOutWhenFaceManagerOrBypassControllerIsNull() 514 fakeUserRepository.setSelectedUserInfo(primaryUser) in dumpDoesNotErrorOutWhenFaceManagerOrBypassControllerIsNull() 538 primaryUser, in authenticateDoesNotRunIfUserSwitchingIsCurrentlyInProgress() 549 userInfo = primaryUser, in detectDoesNotRunIfUserSwitchingIsCurrentlyInProgress() 819 primaryUser, in isAuthenticatedIsResetToFalseWhenUserIsSwitching() 1193 fakeUserRepository.setSelectedUserInfo(primaryUser, SelectionStatus.SELECTION_COMPLETE) in allPreconditionsToRunFaceAuthAreTrue() 1214 fakeUserRepository.setSelectedUserInfo(primaryUser) in initCollectors() 1290 val primaryUser = UserInfo(primaryUserId, "test user", FLAG_PRIMARY) constant
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/authentication/domain/interactor/ |
D | AuthenticationInteractor.kt | 292 val primaryUser = in <lambda>() constant 300 if (userToBeWiped == primaryUser) { in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardSecurityContainerController.java | 1146 int primaryUser = UserHandle.USER_SYSTEM; in showMessageForFailedUnlockAttempt() local 1149 primaryUser = mainUserId; in showMessageForFailedUnlockAttempt() 1153 if (expiringUserId != primaryUser) { in showMessageForFailedUnlockAttempt()
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 2316 final UserInfo primaryUser = mUserManager.getPrimaryUser(); in removeUserData() local 2317 if (primaryUser != null) { in removeUserData() 2318 clearOrgOwnedProfileOwnerDeviceWidePolicies(primaryUser.id); in removeUserData()
|