Searched defs:activePlaybackContexts (Results 1 – 2 of 2) sorted by relevance
140 List<Integer> activePlaybackContexts = ImmutableList.of(VOICE_COMMAND); in getSuggestedAudioContext_withOneConfiguration_returnsAssociatedContext() local172 List<Integer> activePlaybackContexts = ImmutableList.of(ALARM, CALL, NOTIFICATION); in getSuggestedAudioContext_withActivePlayback_returnsHighestPriorityContext() local183 List<Integer> activePlaybackContexts = ImmutableList.of(ALARM, NOTIFICATION); in getSuggestedAudioContext_withLowerPriorityActivePlaybackAndCall_returnsCall() local195 List<Integer> activePlaybackContexts = ImmutableList.of(NAVIGATION); in getSuggestedAudioContext_withV1AndNavigationConfigurationAndCall_returnsNav() local206 List<Integer> activePlaybackContexts = ImmutableList.of(NAVIGATION); in getSuggestedAudioContext_withV2AndNavigationConfigurationAndCall_returnsCall() local217 List<Integer> activePlaybackContexts = ImmutableList.of(INVALID); in getSuggestedAudioContext_withUnprioritizedUsage_returnsDefault() local251 List<Integer> activePlaybackContexts = ImmutableList.of(MUSIC); in getSuggestedAudioContext_withConfigAndHalActiveUsage_returnsConfigActive() local263 List<Integer> activePlaybackContexts = ImmutableList.of(VOICE_COMMAND); in getSuggestedAudioContext_withConfigAndHalActiveUsage_returnsHalActive() local275 List<Integer> activePlaybackContexts = new ArrayList<>(); in getSuggestedAudioContext_withHalActiveUsageAndActiveCall_returnsCall() local286 List<Integer> activePlaybackContexts = new ArrayList<>(); in getSuggestedAudioContext_withMultipleHalActiveUsages_returnsMusic() local[all …]
134 @AudioContext int getSuggestedAudioContextAndSaveIfFound( in getSuggestedAudioContextAndSaveIfFound()203 private static Set<Integer> getActiveContexts(@NonNull List<Integer> activePlaybackContexts, in getActiveContexts()