Home
last modified time | relevance | path

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

12

/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardUpdateMonitorTest.java158 private TestableKeyguardUpdateMonitor mKeyguardUpdateMonitor; field in KeyguardUpdateMonitorTest
204 mKeyguardUpdateMonitor = new TestableKeyguardUpdateMonitor(mSpiedContext); in setup()
210 mKeyguardUpdateMonitor.destroy(); in tearDown()
217 assertThat(mKeyguardUpdateMonitor.mBatteryStatus).isNotNull(); in testInitialBatteryLevelRequested()
223 eq(mKeyguardUpdateMonitor.mBroadcastReceiver), in testReceiversRegistered()
226 eq(mKeyguardUpdateMonitor.mBroadcastAllReceiver), in testReceiversRegistered()
250 mKeyguardUpdateMonitor.mBroadcastReceiver.onReceive(getContext(), intent); in testIgnoresSimStateCallback_rebroadcast()
253 mKeyguardUpdateMonitor.hasSimStateJustChanged()); in testIgnoresSimStateCallback_rebroadcast()
256 mKeyguardUpdateMonitor.mBroadcastReceiver.onReceive(getContext(), intent); in testIgnoresSimStateCallback_rebroadcast()
259 mKeyguardUpdateMonitor.hasSimStateJustChanged()); in testIgnoresSimStateCallback_rebroadcast()
[all …]
DCarrierTextControllerTest.java100 private KeyguardUpdateMonitor mKeyguardUpdateMonitor; field in CarrierTextControllerTest
138 mDependency.injectTestDependency(KeyguardUpdateMonitor.class, mKeyguardUpdateMonitor); in setUp()
140 doAnswer(this::checkMainThread).when(mKeyguardUpdateMonitor) in setUp()
142 doAnswer(this::checkMainThread).when(mKeyguardUpdateMonitor) in setUp()
182 when(mKeyguardUpdateMonitor.getFilteredSubscriptionInfo(anyBoolean())).thenReturn(list); in testAirplaneMode()
183 when(mKeyguardUpdateMonitor.getSimState(0)).thenReturn(TelephonyManager.SIM_STATE_READY); in testAirplaneMode()
184 mKeyguardUpdateMonitor.mServiceStates = new HashMap<>(); in testAirplaneMode()
202 when(mKeyguardUpdateMonitor.getFilteredSubscriptionInfo(anyBoolean())).thenReturn(list); in testCardIOError()
203 when(mKeyguardUpdateMonitor.getSimState(0)).thenReturn(TelephonyManager.SIM_STATE_READY); in testCardIOError()
204 when(mKeyguardUpdateMonitor.getSimState(1)).thenReturn( in testCardIOError()
[all …]
DKeyguardMessageAreaTest.java44 private KeyguardUpdateMonitor mKeyguardUpdateMonitor; field in KeyguardMessageAreaTest
50 mMessageArea = new KeyguardMessageArea(mContext, null, mKeyguardUpdateMonitor, in setUp()
DKeyguardSecurityContainerTest.java58 private KeyguardUpdateMonitor mKeyguardUpdateMonitor; field in KeyguardSecurityContainerTest
75 mDependency.injectTestDependency(KeyguardUpdateMonitor.class, mKeyguardUpdateMonitor); in setup()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeAuthRemover.java29 private final KeyguardUpdateMonitor mKeyguardUpdateMonitor; field in DozeAuthRemover
32 mKeyguardUpdateMonitor = Dependency.get(KeyguardUpdateMonitor.class); in DozeAuthRemover()
39 if (mKeyguardUpdateMonitor.getUserUnlockedWithBiometric(currentUser)) { in transitionTo()
40 mKeyguardUpdateMonitor.clearBiometricRecognized(); in transitionTo()
DDozeFactory.java54 private final KeyguardUpdateMonitor mKeyguardUpdateMonitor; field in DozeFactory
82 mKeyguardUpdateMonitor = keyguardUpdateMonitor; in DozeFactory()
155 mKeyguardUpdateMonitor, dozeLog); in createDozeUi()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DEmergencyCryptkeeperText.java40 private KeyguardUpdateMonitor mKeyguardUpdateMonitor; field in EmergencyCryptkeeperText
69 mKeyguardUpdateMonitor = Dependency.get(KeyguardUpdateMonitor.class); in onAttachedToWindow()
70 mKeyguardUpdateMonitor.registerCallback(mCallback); in onAttachedToWindow()
79 if (mKeyguardUpdateMonitor != null) { in onDetachedFromWindow()
80 mKeyguardUpdateMonitor.removeCallback(mCallback); in onDetachedFromWindow()
112 List<SubscriptionInfo> subs = mKeyguardUpdateMonitor.getFilteredSubscriptionInfo(false); in update()
116 int simState = mKeyguardUpdateMonitor.getSimState(subId); in update()
DKeyguardStateControllerImpl.java52 private final KeyguardUpdateMonitor mKeyguardUpdateMonitor; field in KeyguardStateControllerImpl
78 mKeyguardUpdateMonitor = keyguardUpdateMonitor; in KeyguardStateControllerImpl()
80 mKeyguardUpdateMonitor.registerCallback(mKeyguardUpdateMonitorCallback); in KeyguardStateControllerImpl()
184 boolean canDismissLockScreen = !secure || mKeyguardUpdateMonitor.getUserCanSkipBouncer(user) in update()
186 boolean trustManaged = mKeyguardUpdateMonitor.getUserTrustIsManaged(user); in update()
187 boolean trusted = mKeyguardUpdateMonitor.getUserHasTrust(user); in update()
188 boolean faceAuthEnabled = mKeyguardUpdateMonitor.isFaceAuthEnabledForUser(user); in update()
299 if (mKeyguardUpdateMonitor.isUnlockingWithBiometricAllowed(isStrongBiometric)) { in onBiometricAuthenticated()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DKeyguardStateControllerTest.java48 private KeyguardUpdateMonitor mKeyguardUpdateMonitor; field in KeyguardStateControllerTest
57 mKeyguardUpdateMonitor, mLockPatternUtils); in setup()
62 verify(mKeyguardUpdateMonitor).registerCallback(any()); in testAddCallback_registersListener()
99 when(mKeyguardUpdateMonitor.getUserCanSkipBouncer(anyInt())).thenReturn(true); in testCanSkipLockScreen()
120 when(mKeyguardUpdateMonitor.getUserCanSkipBouncer(anyInt())).thenReturn(true); in testIsUnlocked()
129 when(mKeyguardUpdateMonitor.getUserHasTrust(anyInt())).thenReturn(true); in testIsTrusted()
140 when(mKeyguardUpdateMonitor.getUserHasTrust(anyInt())).thenReturn(true); in testCallbacksAreInvoked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DOperatorNameView.java48 private KeyguardUpdateMonitor mKeyguardUpdateMonitor; field in OperatorNameView
73 mKeyguardUpdateMonitor = Dependency.get(KeyguardUpdateMonitor.class); in onAttachedToWindow()
74 mKeyguardUpdateMonitor.registerCallback(mCallback); in onAttachedToWindow()
83 mKeyguardUpdateMonitor.removeCallback(mCallback); in onDetachedFromWindow()
137 List<SubscriptionInfo> subs = mKeyguardUpdateMonitor.getFilteredSubscriptionInfo(false); in updateText()
141 int simState = mKeyguardUpdateMonitor.getSimState(subId); in updateText()
144 ServiceState ss = mKeyguardUpdateMonitor.getServiceState(subId); in updateText()
DKeyguardIndicationController.java96 private final KeyguardUpdateMonitor mKeyguardUpdateMonitor; field in KeyguardIndicationController
158 mKeyguardUpdateMonitor = keyguardUpdateMonitor; in KeyguardIndicationController()
167 mKeyguardUpdateMonitor.registerCallback(getKeyguardCallback()); in KeyguardIndicationController()
168 mKeyguardUpdateMonitor.registerCallback(mTickReceiver); in KeyguardIndicationController()
429 if (!mKeyguardUpdateMonitor.isUserUnlocked(userId)) { in updateIndication()
442 && mKeyguardUpdateMonitor.getUserHasTrust(userId)) { in updateIndication()
464 && mKeyguardUpdateMonitor.getUserTrustIsManaged(userId) in updateIndication()
465 && !mKeyguardUpdateMonitor.getUserHasTrust(userId)) { in updateIndication()
620 } else if (mKeyguardUpdateMonitor.isScreenOn()) { in showSwipeUpToUnlock()
715 if (!mKeyguardUpdateMonitor in onBiometricHelp()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DLockscreenLockIconController.java64 private final KeyguardUpdateMonitor mKeyguardUpdateMonitor; field in LockscreenLockIconController
96 mKeyguardUpdateMonitor.registerCallback(mUpdateMonitorCallback);
101 mSimLocked = mKeyguardUpdateMonitor.isSimPinSecure();
111 mKeyguardUpdateMonitor.removeCallback(mUpdateMonitorCallback);
217 mSimLocked = mKeyguardUpdateMonitor.isSimPinSecure();
288 mKeyguardUpdateMonitor.isFingerprintDetectionRunning();
294 boolean unlockingAllowed = mKeyguardUpdateMonitor
331 mKeyguardUpdateMonitor = keyguardUpdateMonitor; in LockscreenLockIconController()
443 mKeyguardUpdateMonitor.onLockIconPressed(); in handleLongClick()
485 } else if (mKeyguardUpdateMonitor.isFaceDetectionRunning() in getState()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DKeyguardIndicationControllerTest.java110 private KeyguardUpdateMonitor mKeyguardUpdateMonitor; field in KeyguardIndicationControllerTest
141 when(mKeyguardUpdateMonitor.isUnlockingWithBiometricAllowed(anyBoolean())).thenReturn(true); in setUp()
142 when(mKeyguardUpdateMonitor.isScreenOn()).thenReturn(true); in setUp()
143 when(mKeyguardUpdateMonitor.isUserUnlocked(anyInt())).thenReturn(true); in setUp()
161 mKeyguardStateController, mStatusBarStateController, mKeyguardUpdateMonitor, in createController()
474 reset(mKeyguardUpdateMonitor); in updateMonitor_listenerUpdatesIndication()
480 when(mKeyguardUpdateMonitor.getUserHasTrust(anyInt())).thenReturn(true); in updateMonitor_listenerUpdatesIndication()
481 when(mKeyguardUpdateMonitor.isUserUnlocked(anyInt())).thenReturn(true); in updateMonitor_listenerUpdatesIndication()
485 reset(mKeyguardUpdateMonitor); in updateMonitor_listenerUpdatesIndication()
486 when(mKeyguardUpdateMonitor.isUserUnlocked(anyInt())).thenReturn(true); in updateMonitor_listenerUpdatesIndication()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
DKeyguardCoordinator.java64 private final KeyguardUpdateMonitor mKeyguardUpdateMonitor; field in KeyguardCoordinator
83 mKeyguardUpdateMonitor = keyguardUpdateMonitor; in KeyguardCoordinator()
111 if (mKeyguardUpdateMonitor.isUserInLockdown(currUserId)
112 || mKeyguardUpdateMonitor.isUserInLockdown(notifUserId)) {
166 mKeyguardUpdateMonitor.registerCallback(mKeyguardUpdateCallback); in setupInvalidateNotifListCallbacks()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/
DFalsingManagerProxyTest.java61 private KeyguardUpdateMonitor mKeyguardUpdateMonitor; field in FalsingManagerProxyTest
90 mProximitySensor, mDeviceConfig, mDockManager, mKeyguardUpdateMonitor, in test_brightLineFalsingManagerDisabled()
101 mProximitySensor, mDeviceConfig, mDockManager, mKeyguardUpdateMonitor, in test_brightLineFalsingManagerEnabled()
109 mProximitySensor, mDeviceConfig, mDockManager, mKeyguardUpdateMonitor, in test_brightLineFalsingManagerToggled()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/
DKeyguardCoordinatorTest.java69 @Mock private KeyguardUpdateMonitor mKeyguardUpdateMonitor; field in KeyguardCoordinatorTest
83 mKeyguardUpdateMonitor, mHighPriorityProvider); in setup()
132 when(mKeyguardUpdateMonitor.isUserInLockdown(NOTIF_USER_ID)).thenReturn(true); in lockdown()
233 when(mKeyguardUpdateMonitor.isUserInLockdown(NOTIF_USER_ID)).thenReturn(false); in setupUnfilteredState()
234 when(mKeyguardUpdateMonitor.isUserInLockdown(CURR_USER_ID)).thenReturn(false); in setupUnfilteredState()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DDozeServiceHostTest.java76 @Mock private KeyguardUpdateMonitor mKeyguardUpdateMonitor; field in DozeServiceHostTest
100 mKeyguardUpdateMonitor, mVisualStabilityManager, mPulseExpansionHandler, in setup()
188 reset(mKeyguardUpdateMonitor); in testPulseWhileDozing_notifyAuthInterrupt()
191 verify(mKeyguardUpdateMonitor).onAuthInterruptDetected(eq(true)); in testPulseWhileDozing_notifyAuthInterrupt()
193 verify(mKeyguardUpdateMonitor, never()).onAuthInterruptDetected(eq(true)); in testPulseWhileDozing_notifyAuthInterrupt()
DLockscreenIconControllerTest.java55 private KeyguardUpdateMonitor mKeyguardUpdateMonitor; field in LockscreenIconControllerTest
89 mLockscreenGestureLogger, mKeyguardUpdateMonitor, mLockPatternUtils, in setUp()
115 verify(mKeyguardUpdateMonitor).onLockIconPressed(); in lockIcon_click()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/car/keyguard/
DCarKeyguardViewController.java70 private final KeyguardUpdateMonitor mKeyguardUpdateMonitor; field in CarKeyguardViewController
131 mKeyguardUpdateMonitor = keyguardUpdateMonitor; in CarKeyguardViewController()
205 mKeyguardUpdateMonitor.sendKeyguardReset(); in reset()
401 mKeyguardUpdateMonitor.onKeyguardVisibilityChanged(mShowing); in notifyKeyguardUpdateMonitor()
403 mKeyguardUpdateMonitor.sendKeyguardBouncerChanged(isBouncerShowing()); in notifyKeyguardUpdateMonitor()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DCarrierTextController.java69 protected KeyguardUpdateMonitor mKeyguardUpdateMonitor; field in CarrierTextController
180 mKeyguardUpdateMonitor = Dependency.get(KeyguardUpdateMonitor.class); in CarrierTextController()
255 mMainHandler.post(() -> mKeyguardUpdateMonitor.registerCallback(mCallback)); in handleSetListening()
267 mMainHandler.post(() -> mKeyguardUpdateMonitor.removeCallback(mCallback)); in handleSetListening()
284 return mKeyguardUpdateMonitor.getFilteredSubscriptionInfo(false); in getSubscriptionInfo()
309 int simState = mKeyguardUpdateMonitor.getSimState(subId); in updateCarrierText()
320 ServiceState ss = mKeyguardUpdateMonitor.mServiceStates.get(subId); in updateCarrierText()
520 !mKeyguardUpdateMonitor.isDeviceProvisioned() in getStatusForIccState()
DKeyguardPINView.java46 private final KeyguardUpdateMonitor mKeyguardUpdateMonitor; field in KeyguardPINView
66 mKeyguardUpdateMonitor = Dependency.get(KeyguardUpdateMonitor.class); in KeyguardPINView()
156 DisappearAnimationUtils disappearAnimationUtils = mKeyguardUpdateMonitor in startDisappearAnimation()
DKeyguardAbsKeyInputView.java54 private final KeyguardUpdateMonitor mKeyguardUpdateMonitor; field in KeyguardAbsKeyInputView
66 mKeyguardUpdateMonitor = Dependency.get(KeyguardUpdateMonitor.class); in KeyguardAbsKeyInputView()
158 mKeyguardUpdateMonitor.setCredentialAttempted(); in verifyPasswordAndUnlock()
DKeyguardPatternView.java73 private final KeyguardUpdateMonitor mKeyguardUpdateMonitor; field in KeyguardPatternView
122 mKeyguardUpdateMonitor = Dependency.get(KeyguardUpdateMonitor.class); in KeyguardPatternView()
285 mKeyguardUpdateMonitor.setCredentialAttempted(); in onPatternDetected()
489 float durationMultiplier = mKeyguardUpdateMonitor.needsSlowUnlockTransition() in startDisappearAnimation()
500 DisappearAnimationUtils disappearAnimationUtils = mKeyguardUpdateMonitor in startDisappearAnimation()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
DDozeUiTest.java65 private KeyguardUpdateMonitor mKeyguardUpdateMonitor; field in DozeUiTest
85 mDozeParameters, mKeyguardUpdateMonitor, mDozeLog); in setUp()
140 mDozeParameters, mKeyguardUpdateMonitor, mDozeLog); in neverAnimateScreenOff_whenNotSupported()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/brightline/
DBrightLineFalsingManagerTest.java53 private KeyguardUpdateMonitor mKeyguardUpdateMonitor; field in BrightLineFalsingManagerTest
74 mKeyguardUpdateMonitor, mProximitySensor, deviceConfigProxy, dockManager, in setup()

12