Home
last modified time | relevance | path

Searched refs:mKeyguardMessageArea (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DAuthKeyguardMessageAreaTest.java38 private KeyguardMessageArea mKeyguardMessageArea; field in AuthKeyguardMessageAreaTest
43 mKeyguardMessageArea = new AuthKeyguardMessageArea(mContext, null); in setUp()
44 mKeyguardMessageArea.setIsVisible(true); in setUp()
49 mKeyguardMessageArea.setVisibility(View.INVISIBLE); in testShowsTextField()
50 mKeyguardMessageArea.setMessage("oobleck", /* animate= */ true); in testShowsTextField()
51 assertThat(mKeyguardMessageArea.getVisibility()).isEqualTo(View.VISIBLE); in testShowsTextField()
52 assertThat(mKeyguardMessageArea.getText()).isEqualTo("oobleck"); in testShowsTextField()
57 mKeyguardMessageArea.setIsVisible(false); in testHiddenWhenBouncerHidden()
58 mKeyguardMessageArea.setVisibility(View.INVISIBLE); in testHiddenWhenBouncerHidden()
59 mKeyguardMessageArea.setMessage("oobleck", /* animate= */ true); in testHiddenWhenBouncerHidden()
[all …]
DKeyguardMessageAreaControllerTest.java57 private KeyguardMessageArea mKeyguardMessageArea; field in KeyguardMessageAreaControllerTest
65 mKeyguardMessageArea); in setUp()
98 verify(mKeyguardMessageArea).setMessage("", /* animate= */ true); in testClearsTextField()
106 verify(mKeyguardMessageArea).addTextChangedListener(textWatcherArgumentCaptor.capture()); in textChanged_AnnounceForAccessibility()
110 verify(mKeyguardMessageArea).removeCallbacks(any(Runnable.class)); in textChanged_AnnounceForAccessibility()
111 verify(mKeyguardMessageArea).postDelayed(any(Runnable.class), anyLong()); in textChanged_AnnounceForAccessibility()
117 verify(mKeyguardMessageArea).setIsVisible(true); in testSetBouncerVisible()
123 when(mKeyguardMessageArea.getText()).thenReturn(msg); in testGetMessage()
133 verify(mKeyguardMessageArea).setMessage(msg, /* animate= */ true); in testFingerprintMessageUpdate()
139 verify(mKeyguardMessageArea).setMessage(msg2, /* animate= */ true); in testFingerprintMessageUpdate()
[all …]
DKeyguardAbsKeyInputViewControllerTest.java66 private BouncerKeyguardMessageArea mKeyguardMessageArea; field in KeyguardAbsKeyInputViewControllerTest
99 .thenReturn(mKeyguardMessageArea); in setup()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/keyguard/
DKeyguardPasswordViewControllerTest.kt83 @Mock private lateinit var mKeyguardMessageArea: BouncerKeyguardMessageArea variable in com.android.keyguard.KeyguardPasswordViewControllerTest
100 .thenReturn(mKeyguardMessageArea) in setup()
101 Mockito.`when`(messageAreaControllerFactory.create(mKeyguardMessageArea)) in setup()
DKeyguardPinBasedInputViewControllerTest.java64 private BouncerKeyguardMessageArea mKeyguardMessageArea; field in KeyguardPinBasedInputViewControllerTest
104 .thenReturn(mKeyguardMessageArea); in setup()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarKeyguardViewManagerTest.java141 @Mock private KeyguardMessageArea mKeyguardMessageArea; field in StatusBarKeyguardViewManagerTest
183 when(mContainer.findViewById(anyInt())).thenReturn(mKeyguardMessageArea); in setUp()