/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/ |
D | KeyguardUpdateMonitorTest.java | 114 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 …]
|
D | CarrierTextControllerTest.java | 96 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 …]
|
D | KeyguardMessageAreaTest.java | 44 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/ |
D | EmergencyCryptkeeperText.java | 40 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()
|
D | KeyguardMonitorImpl.java | 40 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/ |
D | DozeAuthRemover.java | 28 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/ |
D | UnlockMethodCache.java | 46 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()) {
|
D | LockIcon.java | 81 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()
|
D | KeyguardBouncer.java | 70 private final KeyguardUpdateMonitor mKeyguardUpdateMonitor; field in KeyguardBouncer 107 mKeyguardUpdateMonitor = keyguardUpdateMonitor; in KeyguardBouncer() 113 mKeyguardUpdateMonitor.registerCallback(mUpdateMonitorCallback); in KeyguardBouncer() 177 && !mKeyguardUpdateMonitor.userNeedsStrongAuth() in show()
|
D | ScrimController.java | 131 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()
|
D | StatusBar.java | 362 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/ |
D | OperatorNameView.java | 48 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()
|
D | KeyguardIndicationController.java | 92 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/ |
D | CarrierTextController.java | 62 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()
|
D | KeyguardPINView.java | 45 private final KeyguardUpdateMonitor mKeyguardUpdateMonitor; field in KeyguardPINView 65 mKeyguardUpdateMonitor = KeyguardUpdateMonitor.getInstance(context); in KeyguardPINView() 155 DisappearAnimationUtils disappearAnimationUtils = mKeyguardUpdateMonitor in startDisappearAnimation()
|
D | KeyguardPatternView.java | 71 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/ |
D | KeyguardIndicationControllerTest.java | 101 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/ |
D | BrightLineFalsingManager.java | 47 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/ |
D | DozeUiTest.java | 65 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/ |
D | KeyguardSliceProviderTest.java | 88 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/ |
D | KeyguardBouncerTest.java | 84 private KeyguardUpdateMonitor mKeyguardUpdateMonitor; field in KeyguardBouncerTest 104 mExpansionCallback, mUnlockMethodCache, mKeyguardUpdateMonitor, in setup() 408 verify(mKeyguardUpdateMonitor).registerCallback(any()); in testRegisterUpdateMonitorCallback()
|
D | StatusBarTest.java | 172 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()
|