Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarVolumeTest.java278 List<AudioAttributes> activeHalAudioAttributes = new ArrayList<>(1); in getSuggestedAudioContext_withHalActiveAttribute_returnsHalActive() local
279 activeHalAudioAttributes.add(TEST_ASSISTANT_ATTRIBUTE); in getSuggestedAudioContext_withHalActiveAttribute_returnsHalActive()
283 CALL_STATE_IDLE, activeHalAudioAttributes, TEST_INACTIVE_ATTRIBUTES); in getSuggestedAudioContext_withHalActiveAttribute_returnsHalActive()
291 List<AudioAttributes> activeHalAudioAttributes = new ArrayList<>(1); in getSuggestedAudioContext_withHalUnprioritizedAttribute_returnsDefault() local
292 activeHalAudioAttributes.add(CarAudioContext in getSuggestedAudioContext_withHalUnprioritizedAttribute_returnsDefault()
297 CALL_STATE_IDLE, activeHalAudioAttributes, TEST_INACTIVE_ATTRIBUTES); in getSuggestedAudioContext_withHalUnprioritizedAttribute_returnsDefault()
305 List<AudioAttributes> activeHalAudioAttributes = in getSuggestedAudioContext_withConfigAndHalActiveAttribute_returnsConfigActive() local
311 CALL_STATE_IDLE, activeHalAudioAttributes, TEST_INACTIVE_ATTRIBUTES); in getSuggestedAudioContext_withConfigAndHalActiveAttribute_returnsConfigActive()
318 List<AudioAttributes> activeHalAudioAttributes = ImmutableList.of(TEST_MEDIA_ATTRIBUTE); in getSuggestedAudioContext_withConfigAndHalActiveAttribute_returnsHalActive() local
324 CALL_STATE_IDLE, activeHalAudioAttributes, TEST_INACTIVE_ATTRIBUTES); in getSuggestedAudioContext_withConfigAndHalActiveAttribute_returnsHalActive()
[all …]
/packages/services/Car/service/src/com/android/car/audio/
DCarVolume.java274 List<AudioAttributes> activeHalAudioAttributes) { in isAnyContextActive() argument
277 Objects.requireNonNull(activeHalAudioAttributes, "Audio attributes can not be null"); in isAnyContextActive()
280 callState, activeHalAudioAttributes); in isAnyContextActive()
300 List<AudioAttributes> activeHalAudioAttributes) { in getActiveAttributes() argument
302 Objects.requireNonNull(activeHalAudioAttributes, "Active HAL contexts can not be null"); in getActiveAttributes()
304 ArraySet<AudioAttributes> attributes = new ArraySet<>(activeHalAudioAttributes); in getActiveAttributes()