/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/ |
H A D | AuthSessionCoordinatorTest.java | 41 private static final int PRIMARY_USER = 0; field in AuthSessionCoordinatorTest 57 mCoordinator.authStartedFor(PRIMARY_USER, 1 /* sensorId */, 0 /* requestId */); in testUserUnlockedWithWeak() 58 mCoordinator.lockedOutFor(PRIMARY_USER, BIOMETRIC_STRONG, 1 /* sensorId */, in testUserUnlockedWithWeak() 69 mCoordinator.authEndedFor(PRIMARY_USER, BIOMETRIC_WEAK, 1 /* sensorId */, in testUserUnlockedWithWeak() 84 mCoordinator.lockedOutFor(PRIMARY_USER, BIOMETRIC_STRONG, 1 /* sensorId */, in testUserLocked() 86 mCoordinator.authEndedFor(PRIMARY_USER, BIOMETRIC_WEAK, 2 /* sensorId */, in testUserLocked() 97 mCoordinator.authEndedFor(PRIMARY_USER, BIOMETRIC_WEAK, 1 /* sensorId */, in testUserLocked() 111 mCoordinator.lockedOutFor(PRIMARY_USER, BIOMETRIC_STRONG, 1 /* sensorId */, in testWeakAndConvenientCannotResetLockout() 150 mCoordinator.lockedOutFor(PRIMARY_USER, BIOMETRIC_WEAK, 2 /* sensorId */, in testUserLockedDuringLockoutOfSameSession() 164 mCoordinator.lockedOutFor(PRIMARY_USER, BIOMETRIC_STRONG, 1 /* sensorId */, in testMultiUserAuth() [all …]
|
H A D | MultiBiometricLockoutStateTest.java | 46 private static final int PRIMARY_USER = 0; field in MultiBiometricLockoutStateTest 72 unlockAllBiometrics(mLockoutState, PRIMARY_USER); in unlockAllBiometrics() 76 lockoutAllBiometrics(mLockoutState, PRIMARY_USER); in lockoutAllBiometrics() 99 mLockoutState.setPermanentLockOut(PRIMARY_USER, BIOMETRIC_CONVENIENCE); in testConvenienceLockout() 112 mLockoutState.setPermanentLockOut(PRIMARY_USER, BIOMETRIC_WEAK); in testWeakLockout() 125 mLockoutState.setPermanentLockOut(PRIMARY_USER, BIOMETRIC_STRONG); in testStrongLockout() 150 mLockoutState.clearPermanentLockOut(PRIMARY_USER, BIOMETRIC_WEAK); in testWeakUnlock() 162 mLockoutState.clearPermanentLockOut(PRIMARY_USER, BIOMETRIC_STRONG); in testStrongUnlock() 204 mLockoutState.setTimedLockout(PRIMARY_USER, BIOMETRIC_STRONG); in testTimedLockout() 223 mLockoutState.setTimedLockout(PRIMARY_USER, BIOMETRIC_STRONG); in testTimedLockoutAfterDuration() [all …]
|
/aosp14/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/ |
H A D | CrossProfileAppsServiceImplTest.java | 83 private static final int PRIMARY_USER = 0; field in CrossProfileAppsServiceImplTest 123 mUserEnabled.put(PRIMARY_USER, true); in setupEnabledProfiles() 134 if (targetUser == PRIMARY_USER) { in setupEnabledProfiles() 137 profileUserId = PRIMARY_USER; in setupEnabledProfiles() 150 mTestInjector.setCallingUserId(PRIMARY_USER); in setupCaller() 156 mockAppsInstalled(PACKAGE_ONE, PRIMARY_USER, true); in setupPackage() 222 mockAppsInstalled(PACKAGE_ONE, PRIMARY_USER, false); in getTargetUserProfiles_fromProfile_notInstalled() 592 UserHandle.of(PRIMARY_USER).getIdentifier(), in startActivityAsUser_fromProfile_success() 606 eq(PRIMARY_USER)); in startActivityAsUser_fromProfile_success() 620 UserHandle.of(PRIMARY_USER).getIdentifier(), in startActivityAsUser_sameTask_fromProfile_success() [all …]
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
H A D | CrossProfileAppsServiceImplTest.java | 83 private static final int PRIMARY_USER = 0; field in CrossProfileAppsServiceImplTest 123 mUserEnabled.put(PRIMARY_USER, true); in setupEnabledProfiles() 134 if (targetUser == PRIMARY_USER) { in setupEnabledProfiles() 137 profileUserId = PRIMARY_USER; in setupEnabledProfiles() 150 mTestInjector.setCallingUserId(PRIMARY_USER); in setupCaller() 156 mockAppsInstalled(PACKAGE_ONE, PRIMARY_USER, true); in setupPackage() 222 mockAppsInstalled(PACKAGE_ONE, PRIMARY_USER, false); in getTargetUserProfiles_fromProfile_notInstalled() 592 UserHandle.of(PRIMARY_USER).getIdentifier(), in startActivityAsUser_fromProfile_success() 606 eq(PRIMARY_USER)); in startActivityAsUser_fromProfile_success() 620 UserHandle.of(PRIMARY_USER).getIdentifier(), in startActivityAsUser_sameTask_fromProfile_success() [all …]
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bouncer/data/repo/ |
H A D | BouncerMessageRepositoryTest.kt | 100 userRepository.setUserInfos(listOf(PRIMARY_USER)) 162 userRepository.setSelectedUserInfo(PRIMARY_USER) 188 userRepository.setSelectedUserInfo(PRIMARY_USER) 207 userRepository.setSelectedUserInfo(PRIMARY_USER) 225 userRepository.setSelectedUserInfo(PRIMARY_USER) 237 userRepository.setSelectedUserInfo(PRIMARY_USER) 260 userRepository.setSelectedUserInfo(PRIMARY_USER) 291 userRepository.setSelectedUserInfo(PRIMARY_USER) 320 userRepository.setSelectedUserInfo(PRIMARY_USER) 373 private val PRIMARY_USER = regex
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/ |
H A D | ScreenshotPolicyImplTest.kt | 44 private const val PRIMARY_USER = 2000 147 userId = PRIMARY_USER 196 userId = PRIMARY_USER 220 userId = PRIMARY_USER
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bouncer/domain/interactor/ |
H A D | BouncerMessageInteractorTest.kt | 71 userRepository.setUserInfos(listOf(PRIMARY_USER)) 82 userRepository.setSelectedUserInfo(PRIMARY_USER) 288 private val PRIMARY_USER = regex
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/data/repository/ |
H A D | BiometricSettingsRepositoryTest.kt | 118 userRepository.setUserInfos(listOf(PRIMARY_USER, ANOTHER_USER)) 119 userRepository.setSelectedUserInfo(PRIMARY_USER) 724 private val PRIMARY_USER = regex
|