Searched refs:halStreamType (Results 1 – 3 of 3) sorted by relevance
339 status_t HidlUtils::audioStreamTypeFromHal(audio_stream_type_t halStreamType, in audioStreamTypeFromHal() argument341 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() argument358 audio_stream_type_from_string(streamType.c_str(), halStreamType)) { in audioStreamTypeToHal()364 *halStreamType = AUDIO_STREAM_DEFAULT; in audioStreamTypeToHal()
121 static status_t audioStreamTypeFromHal(audio_stream_type_t halStreamType,124 audio_stream_type_t* halStreamType);
693 audio_stream_type_t halStreamType; in TEST() local695 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()