Home
last modified time | relevance | path

Searched refs:DEFAULT_AUDIO_CONTEXT (Results 1 – 7 of 7) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarVolumeTest.java35 import static com.android.car.audio.CarAudioService.DEFAULT_AUDIO_CONTEXT;
135 assertThat(suggestedContext).isEqualTo(CarAudioService.DEFAULT_AUDIO_CONTEXT); in getSuggestedAudioContext_withNoActivePlaybackAndIdleTelephony_returnsDefault()
223 assertThat(suggestedContext).isEqualTo(DEFAULT_AUDIO_CONTEXT); in getSuggestedAudioContext_withUnprioritizedUsage_returnsDefault()
245 assertThat(suggestedContext).isEqualTo(DEFAULT_AUDIO_CONTEXT); in getSuggestedAudioContext_withHalUnprioritizedUsage_returnsDefault()
361 assertThat(suggestedContext).isEqualTo(DEFAULT_AUDIO_CONTEXT); in getSuggestedAudioContext_afterActiveContextTimeout_returnsDefaultContext()
424 assertThat(suggestedContext).isEqualTo(DEFAULT_AUDIO_CONTEXT); in getSuggestedAudioContext_afterResetSelectedVolumeContext_returnsDefaultContext()
/packages/services/Car/service/src/com/android/car/audio/
DCarVolume.java19 import static com.android.car.audio.CarAudioService.DEFAULT_AUDIO_CONTEXT;
158 int currentContext = DEFAULT_AUDIO_CONTEXT; in findActiveContextWithHighestPriority()
DCarAudioZonesHelperLegacy.java198 if (legacyAudioContext == CarAudioService.DEFAULT_AUDIO_CONTEXT) { in bindContextToBuilder()
DCarAudioZonesHelper.java442 if (isVersionOne() && carAudioContext == CarAudioService.DEFAULT_AUDIO_CONTEXT) { in parseVolumeGroupContexts()
DCarAudioService.java114 static final @AudioContext int DEFAULT_AUDIO_CONTEXT = CarAudioContext.getContextForUsage( field in CarAudioService
/packages/services/Car/tests/carservice_test/src/com/android/car/audio/
DCarAudioZonesHelperLegacyTest.java144 when(mMockAudioControlWrapper.getBusForContext(CarAudioService.DEFAULT_AUDIO_CONTEXT)) in loadAudioZones_associatesNonLegacyContextsWithMediaBus()
156 assertThat(contexts).containsAtLeast(CarAudioService.DEFAULT_AUDIO_CONTEXT, in loadAudioZones_associatesNonLegacyContextsWithMediaBus()
DCarAudioZonesHelperTest.java18 import static com.android.car.audio.CarAudioService.DEFAULT_AUDIO_CONTEXT;
277 assertThat(audioContexts).containsAtLeast(DEFAULT_AUDIO_CONTEXT, CarAudioContext.EMERGENCY, in loadAudioZones_forVersionOne_bindsNonLegacyContextsToDefault()