Searched refs:optionalBubbles (Results 1 – 4 of 4) sorted by relevance
51 @Mock lateinit var optionalBubbles: Optional<Bubbles> variable in com.android.systemui.notetask.NoteTaskInitializerTest58 whenever(optionalBubbles.isPresent).thenReturn(true) in setUp()59 whenever(optionalBubbles.orElse(null)).thenReturn(bubbles) in setUp()67 optionalBubbles = optionalBubbles, in createNoteTaskInitializer()92 whenever(optionalBubbles.isPresent).thenReturn(false) in initialize_bubblesNotPresent_shouldDoNothing()
61 @Mock lateinit var optionalBubbles: Optional<Bubbles> in <lambda>() variable in com.android.systemui.notetask.NoteTaskControllerTest74 whenever(optionalBubbles.orElse(null)).thenReturn(bubbles) in <lambda>()84 optionalBubbles = optionalBubbles, in <lambda>()190 whenever(optionalBubbles.orElse(null)).thenReturn(null) in <lambda>()
31 private val optionalBubbles: Optional<Bubbles>, constant in com.android.systemui.notetask.NoteTaskInitializer59 if (isEnabled && optionalBubbles.isPresent) { in initialize()
49 private val optionalBubbles: Optional<Bubbles>, constant in com.android.systemui.notetask.NoteTaskController76 val bubbles = optionalBubbles.getOrNull() ?: return in showNoteTask()