Home
last modified time | relevance | path

Searched defs:activePlaybackContexts (Results 1 – 2 of 2) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarVolumeTest.java140 List<Integer> activePlaybackContexts = ImmutableList.of(VOICE_COMMAND); in getSuggestedAudioContext_withOneConfiguration_returnsAssociatedContext() local
172 List<Integer> activePlaybackContexts = ImmutableList.of(ALARM, CALL, NOTIFICATION); in getSuggestedAudioContext_withActivePlayback_returnsHighestPriorityContext() local
183 List<Integer> activePlaybackContexts = ImmutableList.of(ALARM, NOTIFICATION); in getSuggestedAudioContext_withLowerPriorityActivePlaybackAndCall_returnsCall() local
195 List<Integer> activePlaybackContexts = ImmutableList.of(NAVIGATION); in getSuggestedAudioContext_withV1AndNavigationConfigurationAndCall_returnsNav() local
206 List<Integer> activePlaybackContexts = ImmutableList.of(NAVIGATION); in getSuggestedAudioContext_withV2AndNavigationConfigurationAndCall_returnsCall() local
217 List<Integer> activePlaybackContexts = ImmutableList.of(INVALID); in getSuggestedAudioContext_withUnprioritizedUsage_returnsDefault() local
251 List<Integer> activePlaybackContexts = ImmutableList.of(MUSIC); in getSuggestedAudioContext_withConfigAndHalActiveUsage_returnsConfigActive() local
263 List<Integer> activePlaybackContexts = ImmutableList.of(VOICE_COMMAND); in getSuggestedAudioContext_withConfigAndHalActiveUsage_returnsHalActive() local
275 List<Integer> activePlaybackContexts = new ArrayList<>(); in getSuggestedAudioContext_withHalActiveUsageAndActiveCall_returnsCall() local
286 List<Integer> activePlaybackContexts = new ArrayList<>(); in getSuggestedAudioContext_withMultipleHalActiveUsages_returnsMusic() local
[all …]
/packages/services/Car/service/src/com/android/car/audio/
DCarVolume.java134 @AudioContext int getSuggestedAudioContextAndSaveIfFound( in getSuggestedAudioContextAndSaveIfFound()
203 private static Set<Integer> getActiveContexts(@NonNull List<Integer> activePlaybackContexts, in getActiveContexts()