Searched refs:activeHalUsages (Results 1 – 2 of 2) sorted by relevance
228 int[] activeHalUsages = new int[] {USAGE_ASSISTANT}; in getSuggestedAudioContext_withHalActiveUsage_returnsHalActive() local232 CALL_STATE_IDLE, activeHalUsages); in getSuggestedAudioContext_withHalActiveUsage_returnsHalActive()239 int[] activeHalUsages = new int[] {USAGE_VIRTUAL_SOURCE}; in getSuggestedAudioContext_withHalUnprioritizedUsage_returnsDefault() local243 CALL_STATE_IDLE, activeHalUsages); in getSuggestedAudioContext_withHalUnprioritizedUsage_returnsDefault()250 int[] activeHalUsages = new int[] {USAGE_ASSISTANT}; in getSuggestedAudioContext_withConfigAndHalActiveUsage_returnsConfigActive() local255 activeHalUsages); in getSuggestedAudioContext_withConfigAndHalActiveUsage_returnsConfigActive()262 int[] activeHalUsages = new int[] {USAGE_MEDIA}; in getSuggestedAudioContext_withConfigAndHalActiveUsage_returnsHalActive() local267 activeHalUsages); in getSuggestedAudioContext_withConfigAndHalActiveUsage_returnsHalActive()274 int[] activeHalUsages = new int[] {USAGE_MEDIA}; in getSuggestedAudioContext_withHalActiveUsageAndActiveCall_returnsCall() local278 activePlaybackContexts, CALL_STATE_OFFHOOK, activeHalUsages); in getSuggestedAudioContext_withHalActiveUsageAndActiveCall_returnsCall()[all …]
136 @NonNull @AttributeUsage int[] activeHalUsages) { in getSuggestedAudioContextAndSaveIfFound() argument145 activeHalUsages); in getSuggestedAudioContextAndSaveIfFound()189 @NonNull @AttributeUsage int[] activeHalUsages) { in isAnyContextActive() argument194 callState, activeHalUsages); in isAnyContextActive()204 @CallState int callState, @NonNull @AttributeUsage int[] activeHalUsages) { in getActiveContexts() argument206 Objects.nonNull(activeHalUsages); in getActiveContexts()208 Set<Integer> contexts = CarAudioContext.getUniqueContextsForUsages(activeHalUsages); in getActiveContexts()