Home
last modified time | relevance | path

Searched refs:halStreamType (Results 1 – 3 of 3) sorted by relevance

/hardware/interfaces/audio/common/all-versions/default/7.0/
DHidlUtils.cpp339 status_t HidlUtils::audioStreamTypeFromHal(audio_stream_type_t halStreamType, in audioStreamTypeFromHal() argument
341 if (halStreamType != AUDIO_STREAM_DEFAULT) { in audioStreamTypeFromHal()
342 *streamType = audio_stream_type_to_string(halStreamType); in audioStreamTypeFromHal()
346 ALOGE("Unknown audio stream type value 0x%X", halStreamType); in audioStreamTypeFromHal()
355 audio_stream_type_t* halStreamType) { in audioStreamTypeToHal() argument
358 audio_stream_type_from_string(streamType.c_str(), halStreamType)) { in audioStreamTypeToHal()
364 *halStreamType = AUDIO_STREAM_DEFAULT; in audioStreamTypeToHal()
/hardware/interfaces/audio/common/all-versions/default/
DHidlUtils.h121 static status_t audioStreamTypeFromHal(audio_stream_type_t halStreamType,
124 audio_stream_type_t* halStreamType);
/hardware/interfaces/audio/common/all-versions/default/tests/
Dhidlutils_tests.cpp693 audio_stream_type_t halStreamType; in TEST() local
695 EXPECT_EQ(NO_ERROR, HidlUtils::audioStreamTypeToHal(streamType, &halStreamType)) in TEST()
697 EXPECT_EQ(NO_ERROR, HidlUtils::audioStreamTypeFromHal(halStreamType, &streamTypeBack)) in TEST()
698 << "Conversion of stream type " << halStreamType << " failed"; in TEST()