Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardUpdateMonitorTest.java114 private TestableKeyguardUpdateMonitor mKeyguardUpdateMonitor; field in KeyguardUpdateMonitorTest
143 mKeyguardUpdateMonitor = new TestableKeyguardUpdateMonitor(context); in setup()
150 mKeyguardUpdateMonitor.mBroadcastReceiver.onReceive(getContext(), intent); in testIgnoresSimStateCallback_rebroadcast()
153 mKeyguardUpdateMonitor.hasSimStateJustChanged()); in testIgnoresSimStateCallback_rebroadcast()
156 mKeyguardUpdateMonitor.mBroadcastReceiver.onReceive(getContext(), intent); in testIgnoresSimStateCallback_rebroadcast()
159 mKeyguardUpdateMonitor.hasSimStateJustChanged()); in testIgnoresSimStateCallback_rebroadcast()
164 assertThat(mKeyguardUpdateMonitor.mTelephonyCapable).isFalse(); in testTelephonyCapable_BootInitState()
172 mKeyguardUpdateMonitor.mBroadcastReceiver.onReceive(getContext(), in testTelephonyCapable_SimState_Absent()
175 assertThat(mKeyguardUpdateMonitor.mTelephonyCapable).isTrue(); in testTelephonyCapable_SimState_Absent()
183 mKeyguardUpdateMonitor.mBroadcastReceiver.onReceive(getContext(), in testTelephonyCapable_SimState_CardIOError()
[all …]
DCarrierTextControllerTest.java96 private KeyguardUpdateMonitor mKeyguardUpdateMonitor; field in CarrierTextControllerTest
131 mKeyguardUpdateMonitor); in setUp()
142 when(mKeyguardUpdateMonitor.getFilteredSubscriptionInfo(anyBoolean())).thenReturn(list); in testAirplaneMode()
143 when(mKeyguardUpdateMonitor.getSimState(0)).thenReturn(IccCardConstants.State.READY); in testAirplaneMode()
144 mKeyguardUpdateMonitor.mServiceStates = new HashMap<>(); in testAirplaneMode()
162 when(mKeyguardUpdateMonitor.getFilteredSubscriptionInfo(anyBoolean())).thenReturn(list); in testCardIOError()
163 when(mKeyguardUpdateMonitor.getSimState(0)).thenReturn(IccCardConstants.State.READY); in testCardIOError()
164 when(mKeyguardUpdateMonitor.getSimState(1)).thenReturn( in testCardIOError()
166 mKeyguardUpdateMonitor.mServiceStates = new HashMap<>(); in testCardIOError()
195 when(mKeyguardUpdateMonitor.getFilteredSubscriptionInfo(anyBoolean())).thenReturn( in testWrongSlots()
[all …]
DKeyguardMessageAreaTest.java44 private KeyguardUpdateMonitor mKeyguardUpdateMonitor; field in KeyguardMessageAreaTest
50 mMessageArea = new KeyguardMessageArea(mContext, null, mKeyguardUpdateMonitor, in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DEmergencyCryptkeeperText.java40 private KeyguardUpdateMonitor mKeyguardUpdateMonitor; field in EmergencyCryptkeeperText
69 mKeyguardUpdateMonitor = KeyguardUpdateMonitor.getInstance(mContext); in onAttachedToWindow()
70 mKeyguardUpdateMonitor.registerCallback(mCallback); in onAttachedToWindow()
79 if (mKeyguardUpdateMonitor != null) { in onDetachedFromWindow()
80 mKeyguardUpdateMonitor.removeCallback(mCallback); in onDetachedFromWindow()
100 List<SubscriptionInfo> subs = mKeyguardUpdateMonitor.getFilteredSubscriptionInfo(false); in update()
104 IccCardConstants.State simState = mKeyguardUpdateMonitor.getSimState(subId); in update()
DKeyguardMonitorImpl.java40 private final KeyguardUpdateMonitor mKeyguardUpdateMonitor; field in KeyguardMonitorImpl
59 mKeyguardUpdateMonitor = KeyguardUpdateMonitor.getInstance(mContext); in KeyguardMonitorImpl()
68 mKeyguardUpdateMonitor.registerCallback(this); in addCallback()
77 mKeyguardUpdateMonitor.removeCallback(this); in removeCallback()
110 return mKeyguardUpdateMonitor.isDeviceInteractive(); in isDeviceInteractive()
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeAuthRemover.java28 private final KeyguardUpdateMonitor mKeyguardUpdateMonitor; field in DozeAuthRemover
31 mKeyguardUpdateMonitor = KeyguardUpdateMonitor.getInstance(context); in DozeAuthRemover()
38 if (mKeyguardUpdateMonitor.getUserUnlockedWithBiometric(currentUser)) { in transitionTo()
39 mKeyguardUpdateMonitor.clearBiometricRecognized(); in transitionTo()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DUnlockMethodCache.java46 private final KeyguardUpdateMonitor mKeyguardUpdateMonitor; field in UnlockMethodCache
59 mKeyguardUpdateMonitor = KeyguardUpdateMonitor.getInstance(ctx); in UnlockMethodCache()
122 boolean canSkipBouncer = !secure || mKeyguardUpdateMonitor.getUserCanSkipBouncer(user) in update()
124 boolean trustManaged = mKeyguardUpdateMonitor.getUserTrustIsManaged(user); in update()
125 boolean trusted = mKeyguardUpdateMonitor.getUserHasTrust(user); in update()
126 boolean faceAuthEnabled = mKeyguardUpdateMonitor.isFaceAuthEnabledForUser(user); in update()
181 if (!mKeyguardUpdateMonitor.isUnlockingWithBiometricAllowed()) {
DLockIcon.java81 private final KeyguardUpdateMonitor mKeyguardUpdateMonitor; field in LockIcon
151 mSimLocked = mKeyguardUpdateMonitor.isSimPinSecure();
185 mKeyguardUpdateMonitor = KeyguardUpdateMonitor.getInstance(mContext); in LockIcon()
202 mKeyguardUpdateMonitor.registerCallback(mUpdateMonitorCallback); in onAttachedToWindow()
205 mSimLocked = mKeyguardUpdateMonitor.isSimPinSecure(); in onAttachedToWindow()
218 mKeyguardUpdateMonitor.removeCallback(mUpdateMonitorCallback); in onDetachedFromWindow()
386 boolean fingerprintRunning = mKeyguardUpdateMonitor.isFingerprintDetectionRunning(); in onInitializeAccessibilityNodeInfo()
387 boolean unlockingAllowed = mKeyguardUpdateMonitor.isUnlockingWithBiometricAllowed(); in onInitializeAccessibilityNodeInfo()
DKeyguardBouncer.java70 private final KeyguardUpdateMonitor mKeyguardUpdateMonitor; field in KeyguardBouncer
107 mKeyguardUpdateMonitor = keyguardUpdateMonitor; in KeyguardBouncer()
113 mKeyguardUpdateMonitor.registerCallback(mUpdateMonitorCallback); in KeyguardBouncer()
177 && !mKeyguardUpdateMonitor.userNeedsStrongAuth() in show()
DScrimController.java131 private final KeyguardUpdateMonitor mKeyguardUpdateMonitor; field in ScrimController
191 mKeyguardUpdateMonitor = KeyguardUpdateMonitor.getInstance(mContext); in ScrimController()
193 mKeyguardUpdateMonitor.registerCallback(mKeyguardVisibilityCallback); in ScrimController()
309 if (mKeyguardUpdateMonitor.needsSlowUnlockTransition() && mState == ScrimState.UNLOCKED) { in transitionTo()
DStatusBar.java362 KeyguardUpdateMonitor mKeyguardUpdateMonitor; field in StatusBar
688 mKeyguardUpdateMonitor = KeyguardUpdateMonitor.getInstance(mContext); in start()
689 mKeyguardUpdateMonitor.setKeyguardBypassController(mKeyguardBypassController); in start()
776 mKeyguardUpdateMonitor.registerCallback(mUpdateCallback); in start()
1291 new Handler(), mKeyguardUpdateMonitor, mKeyguardBypassController); in startKeyguard()
1408 mKeyguardUpdateMonitor.requestFaceAuth(); in requestFaceAuth()
2481 if (mKeyguardUpdateMonitor != null) { in dump()
2482 mKeyguardUpdateMonitor.dump(fd, pw, args); in dump()
3898 mKeyguardUpdateMonitor.onCameraLaunched(); in onCameraLaunchGestureDetected()
4115 if (mKeyguardUpdateMonitor != null && passiveAuthInterrupt) { in pulseWhileDozing()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DOperatorNameView.java48 private KeyguardUpdateMonitor mKeyguardUpdateMonitor; field in OperatorNameView
73 mKeyguardUpdateMonitor = KeyguardUpdateMonitor.getInstance(mContext); in onAttachedToWindow()
74 mKeyguardUpdateMonitor.registerCallback(mCallback); in onAttachedToWindow()
83 mKeyguardUpdateMonitor.removeCallback(mCallback); in onDetachedFromWindow()
137 List<SubscriptionInfo> subs = mKeyguardUpdateMonitor.getFilteredSubscriptionInfo(false); in updateText()
141 State simState = mKeyguardUpdateMonitor.getSimState(subId); in updateText()
144 ServiceState ss = mKeyguardUpdateMonitor.getServiceState(subId); in updateText()
DKeyguardIndicationController.java92 private final KeyguardUpdateMonitor mKeyguardUpdateMonitor; field in KeyguardIndicationController
167 mKeyguardUpdateMonitor = keyguardUpdateMonitor; in KeyguardIndicationController()
192 mKeyguardUpdateMonitor.registerCallback(getKeyguardCallback()); in KeyguardIndicationController()
193 mKeyguardUpdateMonitor.registerCallback(mTickReceiver); in KeyguardIndicationController()
211 mKeyguardUpdateMonitor.onLockIconPressed(); in handleLockLongClick()
421 && mKeyguardUpdateMonitor.getUserHasTrust(userId)) { in updateIndication()
439 && mKeyguardUpdateMonitor.getUserTrustIsManaged(userId) in updateIndication()
440 && !mKeyguardUpdateMonitor.getUserHasTrust(userId)) { in updateIndication()
601 } else if (mKeyguardUpdateMonitor.isScreenOn()) { in showSwipeUpToUnlock()
687 if (!mKeyguardUpdateMonitor.isUnlockingWithBiometricAllowed()) { in onBiometricHelp()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DCarrierTextController.java62 protected KeyguardUpdateMonitor mKeyguardUpdateMonitor; field in CarrierTextController
127 if (mKeyguardUpdateMonitor != null) {
227 mKeyguardUpdateMonitor = KeyguardUpdateMonitor.getInstance(mContext); in setListening()
228 mKeyguardUpdateMonitor.registerCallback(mCallback); in setListening()
234 mKeyguardUpdateMonitor = null; in setListening()
239 if (mKeyguardUpdateMonitor != null) { in setListening()
240 mKeyguardUpdateMonitor.removeCallback(mCallback); in setListening()
248 return mKeyguardUpdateMonitor.getFilteredSubscriptionInfo(false); in getSubscriptionInfo()
273 IccCardConstants.State simState = mKeyguardUpdateMonitor.getSimState(subId); in updateCarrierText()
284 ServiceState ss = mKeyguardUpdateMonitor.mServiceStates.get(subId); in updateCarrierText()
DKeyguardPINView.java45 private final KeyguardUpdateMonitor mKeyguardUpdateMonitor; field in KeyguardPINView
65 mKeyguardUpdateMonitor = KeyguardUpdateMonitor.getInstance(context); in KeyguardPINView()
155 DisappearAnimationUtils disappearAnimationUtils = mKeyguardUpdateMonitor in startDisappearAnimation()
DKeyguardPatternView.java71 private final KeyguardUpdateMonitor mKeyguardUpdateMonitor; field in KeyguardPatternView
120 mKeyguardUpdateMonitor = KeyguardUpdateMonitor.getInstance(mContext); in KeyguardPatternView()
483 float durationMultiplier = mKeyguardUpdateMonitor.needsSlowUnlockTransition() in startDisappearAnimation()
494 DisappearAnimationUtils disappearAnimationUtils = mKeyguardUpdateMonitor in startDisappearAnimation()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DKeyguardIndicationControllerTest.java101 private KeyguardUpdateMonitor mKeyguardUpdateMonitor; field in KeyguardIndicationControllerTest
129 when(mKeyguardUpdateMonitor.isUnlockingWithBiometricAllowed()).thenReturn(true); in setUp()
130 when(mKeyguardUpdateMonitor.isScreenOn()).thenReturn(true); in setUp()
145 mUnlockMethodCache, mStatusBarStateController, mKeyguardUpdateMonitor, in createController()
406 verify(mKeyguardUpdateMonitor).onLockIconPressed(); in lockIcon_click()
413 when(mKeyguardUpdateMonitor.getUserHasTrust(anyInt())).thenReturn(true); in unlockMethodCache_listenerUpdatesIndication()
418 reset(mKeyguardUpdateMonitor); in unlockMethodCache_listenerUpdatesIndication()
419 when(mKeyguardUpdateMonitor.getUserHasTrust(anyInt())).thenReturn(false); in unlockMethodCache_listenerUpdatesIndication()
429 verify(mKeyguardUpdateMonitor, times(2)).registerCallback(any()); in unlockMethodCache_listener()
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/brightline/
DBrightLineFalsingManager.java47 private final KeyguardUpdateMonitor mKeyguardUpdateMonitor; field in BrightLineFalsingManager
76 mKeyguardUpdateMonitor = keyguardUpdateMonitor; in BrightLineFalsingManager()
79 mKeyguardUpdateMonitor.registerCallback(mKeyguardUpdateCallback); in BrightLineFalsingManager()
333 mKeyguardUpdateMonitor.removeCallback(mKeyguardUpdateCallback); in cleanup()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
DDozeUiTest.java65 private KeyguardUpdateMonitor mKeyguardUpdateMonitor; field in DozeUiTest
83 mDozeParameters, mKeyguardUpdateMonitor); in setUp()
138 mDozeParameters, mKeyguardUpdateMonitor); in neverAnimateScreenOff_whenNotSupported()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
DKeyguardSliceProviderTest.java88 private KeyguardUpdateMonitor mKeyguardUpdateMonitor; field in KeyguardSliceProviderTest
239 verify(mKeyguardUpdateMonitor).removeCallback(any()); in onDestroy_unregisterListeners()
273 return mKeyguardUpdateMonitor; in getKeyguardUpdateMonitor()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DKeyguardBouncerTest.java84 private KeyguardUpdateMonitor mKeyguardUpdateMonitor; field in KeyguardBouncerTest
104 mExpansionCallback, mUnlockMethodCache, mKeyguardUpdateMonitor, in setup()
408 verify(mKeyguardUpdateMonitor).registerCallback(any()); in testRegisterUpdateMonitorCallback()
DStatusBarTest.java172 private KeyguardUpdateMonitor mKeyguardUpdateMonitor; field in StatusBarTest
270 mock(AutoHideController.class), mKeyguardUpdateMonitor, mStatusBarWindowView); in setup()
669 reset(mKeyguardUpdateMonitor); in testPulseWhileDozing_notifyAuthInterrupt()
672 verify(mKeyguardUpdateMonitor).onAuthInterruptDetected(eq(true)); in testPulseWhileDozing_notifyAuthInterrupt()
674 verify(mKeyguardUpdateMonitor, never()).onAuthInterruptDetected(eq(true)); in testPulseWhileDozing_notifyAuthInterrupt()
823 mKeyguardUpdateMonitor = keyguardUpdateMonitor; in TestableStatusBar()