Home
last modified time | relevance | path

Searched refs:receivesDuckEvents (Results 1 – 5 of 5) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DFocusEntryTest.java80 assertThat(focusEntry.receivesDuckEvents()).isFalse(); in receivesDuckEvents_whenBundleDoesNotReceiveDuckingEvents_returnsFalse()
90 assertThat(focusEntry.receivesDuckEvents()).isFalse(); in receivesDuckEvents_withoutReceiveCarAudioDuckingEventsPermission_returnsFalse()
100 assertThat(focusEntry.receivesDuckEvents()).isTrue(); in receivesDuckEvents_withReceiveCarAudioDuckingEventsPermission_returnsTrue()
DFocusInteractionTest.java284 when(focusEntry.receivesDuckEvents()).thenReturn(receivesDuckingEvents); in newMockFocusEntryWithDuckingBehavior()
/packages/services/Car/service/src/com/android/car/audio/
DFocusEntry.java90 boolean receivesDuckEvents() { in receivesDuckEvents() method in FocusEntry
114 writer.printf("%s\tReceives Duck Events: %b, ", indent, receivesDuckEvents()); in dump()
DFocusInteraction.java352 || focusHolder.receivesDuckEvents()) { in evaluateRequest()
DCarAudioFocus.java311 } else if (allowDucking && entry.receivesDuckEvents()) { in evaluateFocusRequestLocked()