Searched refs:getAudioFocusHolders (Results 1 – 4 of 4) sorted by relevance
236 when(mFocusMocks.get(PRIMARY_ZONE_ID).getAudioFocusHolders()).thenReturn(focusHolders); in onAudioFocusRequest_withFocusCallback_callsOnFocusChange()279 when(mFocusMocks.get(PRIMARY_ZONE_ID).getAudioFocusHolders()).thenReturn(focusHolders); in onAudioFocusAbandon()337 when(mFocusMocks.get(SECONDARY_ZONE_ID).getAudioFocusHolders()) in transientlyLoseAllFocusHoldersInZone()386 when(mFocusMocks.get(PRIMARY_ZONE_ID).getAudioFocusHolders()) in reevaluateAndRegainAudioFocusList_notifiesFocusListener()388 when(mFocusMocks.get(SECONDARY_ZONE_ID).getAudioFocusHolders()) in reevaluateAndRegainAudioFocusList_notifiesFocusListener()446 when(mFocusMocks.get(SECONDARY_ZONE_ID).getAudioFocusHolders()) in transientlyLoseAudioFocusForZone_forActiveFocusHolders()471 when(mFocusMocks.get(SECONDARY_ZONE_ID).getAudioFocusHolders()).thenReturn(List.of()); in transientlyLoseAudioFocusForZone_forInactiveFocusHolders()
1318 assertThat(carAudioFocus.getAudioFocusHolders()).isEmpty(); in getAudioFocusHolders_withNoFocusHolders_returnsEmptyList()1327 List<AudioFocusInfo> focusHolders = carAudioFocus.getAudioFocusHolders(); in getAudioFocusHolders_withFocusHolders_returnsPopulatedList()1337 List<AudioFocusInfo> focusHolders = carAudioFocus.getAudioFocusHolders(); in getAudioFocusHolders_doesNotMutateList()1354 List<AudioFocusInfo> focusHolders = carAudioFocus.getAudioFocusHolders(); in getAudioFocusHolders_withTransientFocusLoser_doesNotIncludeTransientLoser()1366 List<AudioFocusInfo> focusHolders = carAudioFocus.getAudioFocusHolders(); in getAudioFocusHolders_withDelayedRequest_doesNotIncludeDelayedRequest()
138 List<AudioFocusInfo> activeFocusInfos = focus.getAudioFocusHolders(); in transientlyLoseAllFocusHoldersInZone()307 focusHoldersByZoneId.put(zoneId, mFocusZones.get(zoneId).getAudioFocusHolders()); in notifyFocusListeners()325 carAudioFocus.getAudioFocusHolders(), carAudioFocus.getAudioFocusLosers(), zoneId); in sendFocusChangeToOemService()378 List<AudioFocusInfo> activeFocusInfos = carAudioFocus.getAudioFocusHolders(); in transientlyLoseAudioFocusForZone()
905 List<AudioFocusInfo> getAudioFocusHolders() { in getAudioFocusHolders() method in CarAudioFocus