Home
last modified time | relevance | path

Searched refs:mKeyguardUpdateMonitor (Results 1 – 25 of 78) sorted by relevance

1234

/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
H A DKeyguardUpdateMonitorTest.java376 setupBiometrics(mKeyguardUpdateMonitor); in setup()
1997 mKeyguardUpdateMonitor = in testShouldListenForFace_whenUserIsNotPrimary_returnsFalse()
2333 mKeyguardUpdateMonitor.onTrustChanged( in testOnTrustGrantedForCurrentUser_dismissKeyguardRequested_deviceInteractive()
2358 mKeyguardUpdateMonitor.onTrustChanged( in testOnTrustGrantedForCurrentUser_dismissKeyguardRequested_doesNotDismiss()
2384 mKeyguardUpdateMonitor.onTrustChanged( in testOnTrustGrantedForCurrentUser_dismissKeyguardRequested_temporaryAndRenewable()
2410 mKeyguardUpdateMonitor.onTrustChanged( in testOnTrustGranted_differentUser_noCallback()
2439 mKeyguardUpdateMonitor.onTrustChanged( in testOnTrustGrantedForCurrentUser_bouncerShowing_initiatedByUser()
2465 mKeyguardUpdateMonitor.onTrustChanged( in testOnTrustGrantedForCurrentUser_bouncerShowing_temporaryRenewable()
3240 if (mKeyguardUpdateMonitor != null) { in cleanupKeyguardUpdateMonitor()
3242 mKeyguardUpdateMonitor.destroy(); in cleanupKeyguardUpdateMonitor()
[all …]
H A DCarrierTextManagerTest.java106 private KeyguardUpdateMonitor mKeyguardUpdateMonitor; field in CarrierTextManagerTest
160 mBgExecutor, mKeyguardUpdateMonitor, mLogger) in setUp()
186 mKeyguardUpdateMonitor.mServiceStates = new HashMap<>(); in testAirplaneMode()
218 mKeyguardUpdateMonitor, in testAirplaneMode_noSim_nullPlmn_nullSpn_doesNotCrash()
230 when(mKeyguardUpdateMonitor.getSimState(0)) in testAirplaneMode_noSim_nullPlmn_nullSpn_doesNotCrash()
232 mKeyguardUpdateMonitor.mServiceStates = new HashMap<>(); in testAirplaneMode_noSim_nullPlmn_nullSpn_doesNotCrash()
247 when(mKeyguardUpdateMonitor.getSimState(1)).thenReturn( in testCardIOError()
249 mKeyguardUpdateMonitor.mServiceStates = new HashMap<>(); in testCardIOError()
502 when(mKeyguardUpdateMonitor.getSimState(anyInt())) in testCarrierText_oneDisabledSub()
527 when(mKeyguardUpdateMonitor.getSimState(anyInt())) in testCarrierText_firstDisabledSub()
[all …]
H A DLockIconViewControllerTest.java85 when(mKeyguardUpdateMonitor.isUdfpsSupported()).thenReturn(false); in testUpdateLockIconLocationOnAuthenticatorsRegistered()
106 when(mKeyguardUpdateMonitor.isUdfpsSupported()).thenReturn(false); in testUpdateLockIconLocationOnUdfpsLocationChanged()
139 when(mKeyguardUpdateMonitor.isUdfpsSupported()).thenReturn(false); in testLockIconViewBackgroundDisabledWhenUdfpsIsNotSupported()
182 when(mKeyguardUpdateMonitor.isUdfpsEnrolled()).thenReturn(false); in testLockIcon_clearsIconOnAod_whenUdfpsNotEnrolled()
203 when(mKeyguardUpdateMonitor.isUdfpsEnrolled()).thenReturn(true); in testLockIcon_updateToAodLock_whenUdfpsEnrolled()
224 when(mKeyguardUpdateMonitor.isUdfpsEnrolled()).thenReturn(true); in testBurnInOffsetsUpdated_onDozeAmountChanged()
263 when(mKeyguardUpdateMonitor.getUserUnlockedWithBiometric(anyInt())).thenReturn(true); in lockIconShows_afterUnlockStateChanges()
269 when(mKeyguardUpdateMonitor.getUserUnlockedWithBiometric(anyInt())).thenReturn(false); in lockIconShows_afterUnlockStateChanges()
285 when(mKeyguardUpdateMonitor.getUserUnlockedWithBiometric(anyInt())).thenReturn(true); in lockIconAccessibility_notVisibleToUser()
308 when(mKeyguardUpdateMonitor.getUserUnlockedWithBiometric(anyInt())).thenReturn(true); in lockIconAccessibility_bouncerAnimatingAway()
[all …]
H A DKeyguardMessageAreaControllerTest.java51 private KeyguardUpdateMonitor mKeyguardUpdateMonitor; field in KeyguardMessageAreaControllerTest
60 mKeyguardUpdateMonitor, mConfigurationController).create( in setUp()
83 verify(mKeyguardUpdateMonitor).registerCallback( in onAttachedToWindow_registersKeyguardUpdateMontiorCallback()
87 verify(mKeyguardUpdateMonitor).removeCallback( in onAttachedToWindow_registersKeyguardUpdateMontiorCallback()
H A DLockIconViewControllerWithCoroutinesTest.kt49 whenever(mKeyguardUpdateMonitor.isUdfpsEnrolled()).thenReturn(false)
71 whenever(mKeyguardUpdateMonitor.isUdfpsEnrolled()).thenReturn(true)
93 whenever(mKeyguardUpdateMonitor.isUdfpsEnrolled()).thenReturn(true)
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
H A DKeyguardStateControllerTest.java61 private KeyguardUpdateMonitor mKeyguardUpdateMonitor; field in KeyguardStateControllerTest
82 mKeyguardUpdateMonitor, in setup()
92 verify(mKeyguardUpdateMonitor).registerCallback(any()); in testAddCallback_registersListener()
99 when(mKeyguardUpdateMonitor.isFaceAuthEnabledForUser(anyInt())).thenReturn(false); in testFaceAuthEnabledChanged_calledWhenFaceEnrollmentStateChanges()
100 verify(mKeyguardUpdateMonitor).registerCallback(mUpdateCallbackCaptor.capture()); in testFaceAuthEnabledChanged_calledWhenFaceEnrollmentStateChanges()
104 when(mKeyguardUpdateMonitor.isFaceAuthEnabledForUser(anyInt())).thenReturn(true); in testFaceAuthEnabledChanged_calledWhenFaceEnrollmentStateChanges()
146 when(mKeyguardUpdateMonitor.getUserCanSkipBouncer(anyInt())).thenReturn(true); in testCanSkipLockScreen()
167 when(mKeyguardUpdateMonitor.getUserCanSkipBouncer(anyInt())).thenReturn(true); in testIsUnlocked()
176 when(mKeyguardUpdateMonitor.getUserHasTrust(anyInt())).thenReturn(true); in testIsTrusted()
187 when(mKeyguardUpdateMonitor.getUserHasTrust(anyInt())).thenReturn(true); in testCallbacksAreInvoked()
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DOperatorNameViewController.java49 private final KeyguardUpdateMonitor mKeyguardUpdateMonitor; field in OperatorNameViewController
64 mKeyguardUpdateMonitor = keyguardUpdateMonitor; in OperatorNameViewController()
73 mKeyguardUpdateMonitor.registerCallback(mKeyguardUpdateMonitorCallback); in onViewAttached()
81 mKeyguardUpdateMonitor.removeCallback(mKeyguardUpdateMonitorCallback); in onViewDetached()
95 SubscriptionInfo sI = mKeyguardUpdateMonitor.getSubscriptionInfoForSubId(defaultSubId); in getDefaultSubInfo()
99 mKeyguardUpdateMonitor.getSimState(defaultSubId), in getDefaultSubInfo()
100 mKeyguardUpdateMonitor.getServiceState(defaultSubId)); in getDefaultSubInfo()
109 private final KeyguardUpdateMonitor mKeyguardUpdateMonitor; field in OperatorNameViewController.Factory
123 mKeyguardUpdateMonitor = keyguardUpdateMonitor; in Factory()
134 mKeyguardUpdateMonitor, in create()
H A DKeyguardIndicationController.java152 private final KeyguardUpdateMonitor mKeyguardUpdateMonitor; field in KeyguardIndicationController
286 mKeyguardUpdateMonitor = keyguardUpdateMonitor; in KeyguardIndicationController()
351 mKeyguardUpdateMonitor.registerCallback(getKeyguardCallback()); in init()
575 if (!mKeyguardUpdateMonitor.isUserUnlocked(userId) in updateLockScreenUserLockedMsg()
576 || mKeyguardUpdateMonitor.isEncryptedOrLockdown(userId)) { in updateLockScreenUserLockedMsg()
652 && mKeyguardUpdateMonitor.getUserTrustIsManaged(userId) in updateLockScreenTrustMsg()
1028 && !mKeyguardUpdateMonitor.getUserCanSkipBouncer( in showActionToUnlock()
1036 } else if (mKeyguardUpdateMonitor.isFaceEnrolled() in showActionToUnlock()
1037 && !mKeyguardUpdateMonitor.getIsFaceAuthenticated()) { in showActionToUnlock()
1392 return !mKeyguardUpdateMonitor.isUnlockingWithBiometricAllowed( in isPrimaryAuthRequired()
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DKeyguardMessageAreaController.java47 private final KeyguardUpdateMonitor mKeyguardUpdateMonitor; field in KeyguardMessageAreaController
108 mKeyguardUpdateMonitor = keyguardUpdateMonitor; in KeyguardMessageAreaController()
116 mKeyguardUpdateMonitor.registerCallback(mInfoCallback); in onViewAttached()
117 mView.setSelected(mKeyguardUpdateMonitor.isDeviceInteractive()); in onViewAttached()
125 mKeyguardUpdateMonitor.removeCallback(mInfoCallback); in onViewDetached()
174 private final KeyguardUpdateMonitor mKeyguardUpdateMonitor; field in KeyguardMessageAreaController.Factory
180 mKeyguardUpdateMonitor = keyguardUpdateMonitor; in Factory()
187 view, mKeyguardUpdateMonitor, mConfigurationController); in create()
H A DEmergencyButtonController.java58 private final KeyguardUpdateMonitor mKeyguardUpdateMonitor; field in EmergencyButtonController
102 mKeyguardUpdateMonitor = keyguardUpdateMonitor; in EmergencyButtonController()
121 mKeyguardUpdateMonitor.registerCallback(mInfoCallback); in onViewAttached()
128 mKeyguardUpdateMonitor.removeCallback(mInfoCallback); in onViewDetached()
150 /* simLocked= */ mKeyguardUpdateMonitor.isSimPinVoiceSecure(), in updateEmergencyCallButton()
180 mKeyguardUpdateMonitor.reportEmergencyCallAction(true /* bypassHandler */); in takeEmergencyCallAction()
210 private final KeyguardUpdateMonitor mKeyguardUpdateMonitor; field in EmergencyButtonController.Factory
233 mKeyguardUpdateMonitor = keyguardUpdateMonitor; in Factory()
248 mKeyguardUpdateMonitor, mTelephonyManager, mPowerManager, mActivityTaskManager, in create()
H A DKeyguardSecurityModel.java51 private final KeyguardUpdateMonitor mKeyguardUpdateMonitor; field in KeyguardSecurityModel
59 mKeyguardUpdateMonitor = keyguardUpdateMonitor; in KeyguardSecurityModel()
64 mKeyguardUpdateMonitor.getNextSubIdForState( in getSecurityMode()
70 mKeyguardUpdateMonitor.getNextSubIdForState( in getSecurityMode()
H A DCarrierTextController.java28 private final KeyguardUpdateMonitor mKeyguardUpdateMonitor; field in CarrierTextController
58 mKeyguardUpdateMonitor = keyguardUpdateMonitor; in CarrierTextController()
64 mView.setSelected(mKeyguardUpdateMonitor.isDeviceInteractive()); in onInit()
H A DKeyguardInputViewController.java196 private final KeyguardUpdateMonitor mKeyguardUpdateMonitor; field in KeyguardInputViewController.Factory
223 mKeyguardUpdateMonitor = keyguardUpdateMonitor; in Factory()
248 mKeyguardUpdateMonitor, securityMode, mLockPatternUtils, in create()
254 mKeyguardUpdateMonitor, securityMode, mLockPatternUtils, in create()
261 mKeyguardUpdateMonitor, securityMode, mLockPatternUtils, in create()
267 mKeyguardUpdateMonitor, securityMode, mLockPatternUtils, in create()
273 mKeyguardUpdateMonitor, securityMode, mLockPatternUtils, in create()
H A DKeyguardSimPinViewController.java51 private final KeyguardUpdateMonitor mKeyguardUpdateMonitor; field in KeyguardSimPinViewController
89 mKeyguardUpdateMonitor = keyguardUpdateMonitor; in KeyguardSimPinViewController()
120 mKeyguardUpdateMonitor.registerCallback(mUpdateMonitorCallback); in onResume()
127 mKeyguardUpdateMonitor.removeCallback(mUpdateMonitorCallback); in onPause()
166 mKeyguardUpdateMonitor.reportSimUnlocked(mSubId); in verifyPasswordAndUnlock()
325 SubscriptionInfo info = mKeyguardUpdateMonitor.getSubscriptionInfoForSubId(mSubId); in setLockedSimMessage()
343 int subId = mKeyguardUpdateMonitor in handleSubInfoChangeIfNeeded()
H A DKeyguardSimPukViewController.java48 private final KeyguardUpdateMonitor mKeyguardUpdateMonitor; field in KeyguardSimPukViewController
93 mKeyguardUpdateMonitor = keyguardUpdateMonitor; in KeyguardSimPukViewController()
101 mKeyguardUpdateMonitor.registerCallback(mUpdateMonitorCallback); in onViewAttached()
107 mKeyguardUpdateMonitor.removeCallback(mUpdateMonitorCallback); in onViewDetached()
207 SubscriptionInfo info = mKeyguardUpdateMonitor.getSubscriptionInfoForSubId(mSubId); in showDefaultMessage()
277 mKeyguardUpdateMonitor.reportSimUnlocked(mSubId); in updateSim()
344 int subId = mKeyguardUpdateMonitor.getNextSubIdForState( in handleSubInfoChangeIfNeeded()
H A DCarrierTextManager.java77 protected KeyguardUpdateMonitor mKeyguardUpdateMonitor; field in CarrierTextManager
200 mKeyguardUpdateMonitor = keyguardUpdateMonitor; in CarrierTextManager()
210 mKeyguardUpdateMonitor.registerCallback(mCallback); in CarrierTextManager()
308 return mKeyguardUpdateMonitor.getFilteredSubscriptionInfo(); in getSubscriptionInfo()
334 int simState = mKeyguardUpdateMonitor.getSimState(subId); in updateCarrierText()
344 ServiceState ss = mKeyguardUpdateMonitor.mServiceStates.get(subId); in updateCarrierText()
544 if (!mKeyguardUpdateMonitor.isDeviceProvisioned() in getStatusForIccState()
656 private final KeyguardUpdateMonitor mKeyguardUpdateMonitor; field in CarrierTextManager.Builder
683 mKeyguardUpdateMonitor = keyguardUpdateMonitor; in Builder()
714 mMainExecutor, mBgExecutor, mKeyguardUpdateMonitor, mLogger); in build()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
H A DDozeAuthRemover.java30 private final KeyguardUpdateMonitor mKeyguardUpdateMonitor; field in DozeAuthRemover
34 mKeyguardUpdateMonitor = keyguardUpdateMonitor; in DozeAuthRemover()
41 if (mKeyguardUpdateMonitor.getUserUnlockedWithBiometric(currentUser)) { in transitionTo()
42 mKeyguardUpdateMonitor.clearBiometricRecognized(); in transitionTo()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
H A DKeyguardIndicationControllerTest.java453 when(mKeyguardUpdateMonitor.isUnlockingWithFingerprintAllowed()) in onBiometricHelp_coEx_faceUnavailable_fpNotAllowed()
587 when(mKeyguardUpdateMonitor.isFaceEnrolled()).thenReturn(true); in transientIndication_swipeUpToRetry()
603 when(mKeyguardUpdateMonitor.isFaceEnrolled()).thenReturn(true); in transientIndication_swipeUpToRetry_faceAuthenticated()
1037 when(mKeyguardUpdateMonitor.isUdfpsSupported()).thenReturn(true); in coEx_faceSuccess_showsPressToOpen()
1061 when(mKeyguardUpdateMonitor.isUdfpsSupported()).thenReturn(true); in coEx_faceSuccess_touchExplorationEnabled_showsFaceUnlockedSwipeToOpen()
1085 when(mKeyguardUpdateMonitor.isUdfpsSupported()).thenReturn(true); in coEx_faceSuccess_a11yEnabled_showsFaceUnlockedSwipeToOpen()
1130 when(mKeyguardUpdateMonitor.isUdfpsSupported()).thenReturn(true); in udfpsOnly_a11yEnabled_showsSwipeToOpen()
1150 when(mKeyguardUpdateMonitor.isUdfpsSupported()).thenReturn(true); in udfpsOnly_showsPressToOpen()
1378 when(mKeyguardUpdateMonitor.isFaceLockedOut()).thenReturn(false); in onBiometricError_whenFaceLockoutReset_onLockOutError_showsPassedInMessage()
1429 when(mKeyguardUpdateMonitor.isFaceLockedOut()).thenReturn(true); in onBiometricError_whenFaceIsLocked_onMultipleLockOutErrors_showUnavailableMessage()
[all …]
H A DKeyguardIndicationControllerBaseTest.java120 protected KeyguardUpdateMonitor mKeyguardUpdateMonitor; field in KeyguardIndicationControllerBaseTest
206 when(mKeyguardUpdateMonitor.isUnlockingWithBiometricAllowed(anyBoolean())).thenReturn(true); in setUp()
208 when(mKeyguardUpdateMonitor.isUserUnlocked(anyInt())).thenReturn(true); in setUp()
228 mIndicationHelper = new IndicationHelper(mKeyguardUpdateMonitor); in setUp()
257 mKeyguardStateController, mStatusBarStateController, mKeyguardUpdateMonitor, in createController()
285 verify(mKeyguardUpdateMonitor).registerCallback( in createController()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/dreams/conditions/
H A DDreamConditionTest.java56 KeyguardUpdateMonitor mKeyguardUpdateMonitor; field in DreamConditionTest
73 mKeyguardUpdateMonitor); in testInitialDreamingState()
87 mKeyguardUpdateMonitor); in testInitialNonDreamingState()
103 mKeyguardUpdateMonitor); in testChange()
105 verify(mKeyguardUpdateMonitor).registerCallback(callbackCaptor.capture()); in testChange()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DKeyguardStateControllerImpl.java65 private final KeyguardUpdateMonitor mKeyguardUpdateMonitor; field in KeyguardStateControllerImpl
126 mKeyguardUpdateMonitor = keyguardUpdateMonitor; in KeyguardStateControllerImpl()
128 mKeyguardUpdateMonitor.registerCallback(mKeyguardUpdateMonitorCallback); in KeyguardStateControllerImpl()
195 mKeyguardUpdateMonitor.setKeyguardShowing(showing, occluded); in notifyKeyguardState()
255 boolean canDismissLockScreen = !secure || mKeyguardUpdateMonitor.getUserCanSkipBouncer(user) in update()
257 boolean trustManaged = mKeyguardUpdateMonitor.getUserTrustIsManaged(user); in update()
258 boolean trusted = mKeyguardUpdateMonitor.getUserHasTrust(user); in update()
259 boolean faceAuthEnabled = mKeyguardUpdateMonitor.isFaceAuthEnabledForUser(user); in update()
457 if (mKeyguardUpdateMonitor.isUnlockingWithBiometricAllowed(isStrongBiometric)) { in onBiometricAuthenticated()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
H A DViewConfigCoordinator.kt43 private val mKeyguardUpdateMonitor: KeyguardUpdateMonitor
75 mKeyguardUpdateMonitor.registerCallback(mKeyguardUpdateCallback)
80 val keyguardIsSwitchingUser = mKeyguardUpdateMonitor.isSwitchingUser
96 val keyguardIsSwitchingUser = mKeyguardUpdateMonitor.isSwitchingUser
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DLatencyTester.java59 private final KeyguardUpdateMonitor mKeyguardUpdateMonitor; field in LatencyTester
74 mKeyguardUpdateMonitor = keyguardUpdateMonitor; in LatencyTester()
91 mKeyguardUpdateMonitor.onFaceAuthenticated(KeyguardUpdateMonitor.getCurrentUser(), in fakeWakeAndUnlock()
94 mKeyguardUpdateMonitor.onFingerprintAuthenticated( in fakeWakeAndUnlock()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/wallet/ui/
H A DWalletActivity.java73 private final KeyguardUpdateMonitor mKeyguardUpdateMonitor; field in WalletActivity
103 mKeyguardUpdateMonitor = keyguardUpdateMonitor; in WalletActivity()
136 mKeyguardUpdateMonitor, in onCreate()
201 mKeyguardUpdateMonitor.registerCallback(mKeyguardUpdateMonitorCallback); in onStart()
271 mKeyguardUpdateMonitor.removeCallback(mKeyguardUpdateMonitorCallback); in onDestroy()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
H A DDozeServiceHostTest.java81 @Mock private KeyguardUpdateMonitor mKeyguardUpdateMonitor; field in DozeServiceHostTest
107 mKeyguardUpdateMonitor, mPulseExpansionHandler, in setup()
195 reset(mKeyguardUpdateMonitor); in testPulseWhileDozing_notifyAuthInterrupt()
198 verify(mKeyguardUpdateMonitor).onAuthInterruptDetected(eq(true)); in testPulseWhileDozing_notifyAuthInterrupt()
200 verify(mKeyguardUpdateMonitor, never()).onAuthInterruptDetected(eq(true)); in testPulseWhileDozing_notifyAuthInterrupt()

1234