Searched refs:suggestedContext (Results 1 – 3 of 3) sorted by relevance
131 @AudioContext int suggestedContext = in getSuggestedAudioContext_withNoActivePlaybackAndIdleTelephony_returnsDefault() local135 assertThat(suggestedContext).isEqualTo(CarAudioService.DEFAULT_AUDIO_CONTEXT); in getSuggestedAudioContext_withNoActivePlaybackAndIdleTelephony_returnsDefault()142 @AudioContext int suggestedContext = mCarVolume in getSuggestedAudioContext_withOneConfiguration_returnsAssociatedContext() local146 assertThat(suggestedContext).isEqualTo(VOICE_COMMAND); in getSuggestedAudioContext_withOneConfiguration_returnsAssociatedContext()151 @AudioContext int suggestedContext = in getSuggestedAudioContext_withCallStateOffHook_returnsCallContext() local155 assertThat(suggestedContext).isEqualTo(CALL); in getSuggestedAudioContext_withCallStateOffHook_returnsCallContext()163 @AudioContext int suggestedContext = in getSuggestedAudioContext_withV1AndCallStateRinging_returnsCallRingContext() local167 assertThat(suggestedContext).isEqualTo(CALL_RING); in getSuggestedAudioContext_withV1AndCallStateRinging_returnsCallRingContext()174 @AudioContext int suggestedContext = mCarVolume in getSuggestedAudioContext_withActivePlayback_returnsHighestPriorityContext() local178 assertThat(suggestedContext).isEqualTo(CALL); in getSuggestedAudioContext_withActivePlayback_returnsHighestPriorityContext()[all …]
65 @AudioContext int suggestedContext = mCarAudioService in onVolumeAdjustment() local69 int groupId = mCarAudioService.getVolumeGroupIdForAudioContext(zoneId, suggestedContext); in onVolumeAdjustment()74 + CarAudioContext.toString(suggestedContext) + " suggested volume group: " in onVolumeAdjustment()
1531 int getVolumeGroupIdForAudioContext(int zoneId, int suggestedContext) { in getVolumeGroupIdForAudioContext() argument1533 return getVolumeGroupIdForAudioContextLocked(zoneId, suggestedContext); in getVolumeGroupIdForAudioContext()