Home
last modified time | relevance | path

Searched refs:keyguardMonitor (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/notetask/
DNoteTaskInitializerTest.kt65 @Mock lateinit var keyguardMonitor: KeyguardUpdateMonitor variable in com.android.systemui.notetask.NoteTaskInitializerTest
74 whenever(keyguardMonitor.isUserUnlocked(userTracker.userId)).thenReturn(true) in setUp()
88 keyguardUpdateMonitor = keyguardMonitor, in createUnderTest()
102 whenever(keyguardMonitor.isUserUnlocked(userTracker.userId)).thenReturn(true) in createUnderTest()
109 verify(keyguardMonitor).registerCallback(any()) in createUnderTest()
114 whenever(keyguardMonitor.isUserUnlocked(userTracker.userId)).thenReturn(false) in initialize_withUserLocked()
121 verify(keyguardMonitor).registerCallback(any()) in initialize_withUserLocked()
137 keyguardMonitor, in initialize_flagDisabled()
153 keyguardMonitor, in initialize_bubblesNotPresent()
176 whenever(keyguardMonitor.isUserUnlocked(userTracker.userId)).thenReturn(false) in initialize_userUnlocked_shouldUpdateNoteTask()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/notetask/quickaffordance/
DNoteTaskQuickAffordanceConfig.kt65 private val keyguardMonitor: KeyguardUpdateMonitor, in <lambda>() constant in com.android.systemui.notetask.quickaffordance.NoteTaskQuickAffordanceConfig
86 val userUnlockedFlow = userManager.createUserUnlockedFlow(keyguardMonitor) in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/notetask/quickaffordance/
DNoteTaskQuickAffordanceConfigTest.kt116 keyguardMonitor = mock(), in createUnderTest()