Home
last modified time | relevance | path

Searched refs:activeHalUsages (Results 1 – 2 of 2) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarVolumeTest.java228 int[] activeHalUsages = new int[] {USAGE_ASSISTANT}; in getSuggestedAudioContext_withHalActiveUsage_returnsHalActive() local
232 CALL_STATE_IDLE, activeHalUsages); in getSuggestedAudioContext_withHalActiveUsage_returnsHalActive()
239 int[] activeHalUsages = new int[] {USAGE_VIRTUAL_SOURCE}; in getSuggestedAudioContext_withHalUnprioritizedUsage_returnsDefault() local
243 CALL_STATE_IDLE, activeHalUsages); in getSuggestedAudioContext_withHalUnprioritizedUsage_returnsDefault()
250 int[] activeHalUsages = new int[] {USAGE_ASSISTANT}; in getSuggestedAudioContext_withConfigAndHalActiveUsage_returnsConfigActive() local
255 activeHalUsages); in getSuggestedAudioContext_withConfigAndHalActiveUsage_returnsConfigActive()
262 int[] activeHalUsages = new int[] {USAGE_MEDIA}; in getSuggestedAudioContext_withConfigAndHalActiveUsage_returnsHalActive() local
267 activeHalUsages); in getSuggestedAudioContext_withConfigAndHalActiveUsage_returnsHalActive()
274 int[] activeHalUsages = new int[] {USAGE_MEDIA}; in getSuggestedAudioContext_withHalActiveUsageAndActiveCall_returnsCall() local
278 activePlaybackContexts, CALL_STATE_OFFHOOK, activeHalUsages); in getSuggestedAudioContext_withHalActiveUsageAndActiveCall_returnsCall()
[all …]
/packages/services/Car/service/src/com/android/car/audio/
DCarVolume.java136 @NonNull @AttributeUsage int[] activeHalUsages) { in getSuggestedAudioContextAndSaveIfFound() argument
145 activeHalUsages); in getSuggestedAudioContextAndSaveIfFound()
189 @NonNull @AttributeUsage int[] activeHalUsages) { in isAnyContextActive() argument
194 callState, activeHalUsages); in isAnyContextActive()
204 @CallState int callState, @NonNull @AttributeUsage int[] activeHalUsages) { in getActiveContexts() argument
206 Objects.nonNull(activeHalUsages); in getActiveContexts()
208 Set<Integer> contexts = CarAudioContext.getUniqueContextsForUsages(activeHalUsages); in getActiveContexts()