Searched refs:halContentType (Results 1 – 3 of 3) sorted by relevance
45 static status_t audioContentTypeFromHal(const audio_content_type_t halContentType,48 audio_content_type_t* halContentType);178 inline status_t HidlUtils::audioContentTypeFromHal(const audio_content_type_t halContentType, in audioContentTypeFromHal() argument180 *contentType = AudioContentType(halContentType); in audioContentTypeFromHal()185 audio_content_type_t* halContentType) { in audioContentTypeToHal() argument186 *halContentType = static_cast<audio_content_type_t>(contentType); in audioContentTypeToHal()
204 status_t HidlUtils::audioContentTypeFromHal(const audio_content_type_t halContentType, in audioContentTypeFromHal() argument206 *contentType = audio_content_type_to_string(halContentType); in audioContentTypeFromHal()210 ALOGE("Unknown audio content type value 0x%X", halContentType); in audioContentTypeFromHal()216 audio_content_type_t* halContentType) { in audioContentTypeToHal() argument218 audio_content_type_from_string(contentType.c_str(), halContentType)) { in audioContentTypeToHal()222 *halContentType = AUDIO_CONTENT_TYPE_UNKNOWN; in audioContentTypeToHal()
393 audio_content_type_t halContentType; in TEST() local395 EXPECT_EQ(NO_ERROR, HidlUtils::audioContentTypeToHal(contentType, &halContentType)) in TEST()397 EXPECT_EQ(NO_ERROR, HidlUtils::audioContentTypeFromHal(halContentType, &contentTypeBack)) in TEST()398 << "Conversion of content type " << halContentType << " failed"; in TEST()