Home
last modified time | relevance | path

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

/packages/services/Car/car-lib/src/android/car/oem/
DOemCarAudioFocusEvaluationRequest.java206 @NonNull List<AudioFocusEntry> focusLosers, in OemCarAudioFocusEvaluationRequest() argument
214 Preconditions.checkArgument(focusLosers != null, in OemCarAudioFocusEvaluationRequest()
218 mFocusLosers = focusLosers; in OemCarAudioFocusEvaluationRequest()
258 @NonNull List<AudioFocusEntry> focusLosers, in Builder() argument
264 Preconditions.checkArgument(focusLosers != null, in Builder()
268 mFocusLosers = focusLosers; in Builder()
351 public @NonNull Builder setFocusLosers(@NonNull List<AudioFocusEntry> focusLosers) { in setFocusLosers() argument
352 Preconditions.checkArgument(focusLosers != null, in setFocusLosers()
355 mFocusLosers = focusLosers; in setFocusLosers()
/packages/services/Car/tests/OemCarServiceTestApp/src/com/android/car/oem/focus/
DFocusInteraction.java477 List<AudioFocusEntry> focusLosers) { in evaluateRequest() argument
493 focusLosers.add(focusHolder); in evaluateRequest()
503 focusLosers.add(focusHolder); in evaluateRequest()
/packages/services/Car/service/src/com/android/car/audio/
DFocusInteraction.java395 boolean allowsDelayedFocus, List<FocusEntry> focusLosers) { in evaluateRequest() argument
408 focusLosers.add(focusHolder); in evaluateRequest()
420 focusLosers.add(focusHolder); in evaluateRequest()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarAudioFocusUnitTest.java1392 List<AudioFocusInfo> focusLosers = carAudioFocus.getAudioFocusLosers(); in getAudioFocusLosers_doesNotMutateList() local
1394 assertThat(focusLosers).isEmpty(); in getAudioFocusLosers_doesNotMutateList()
1398 assertThat(focusLosers).isEmpty(); in getAudioFocusLosers_doesNotMutateList()
1409 List<AudioFocusInfo> focusLosers = carAudioFocus.getAudioFocusLosers(); in getAudioFocusLosers_withTransientFocusLoser_doesNotIncludeTransientLoser() local
1411 assertThat(focusLosers).containsExactly(mediaInfo); in getAudioFocusLosers_withTransientFocusLoser_doesNotIncludeTransientLoser()
1421 List<AudioFocusInfo> focusLosers = carAudioFocus.getAudioFocusLosers(); in getAudioFocusLosers_withDelayedRequest_doesNotIncludeDelayedRequest() local
1423 assertThat(focusLosers).isEmpty(); in getAudioFocusLosers_withDelayedRequest_doesNotIncludeDelayedRequest()
/packages/services/Car/tests/carservice_unit_test/res/raw/
Dcar_hidden_apis_release_33.3.txt551 …olumeGroups, List<AudioFocusEntry> focusHolders, List<AudioFocusEntry> focusLosers, int audioZoneI…