Searched refs:encapsulationType (Results 1 – 6 of 6) sorted by relevance
723 AudioEncapsulationType* encapsulationType) { in audioUsageFromHal() argument724 *encapsulationType = audio_encapsulation_type_to_string(halEncapsulationType); in audioUsageFromHal()725 if (!encapsulationType->empty() && !xsd::isUnknownAudioEncapsulationType(*encapsulationType)) { in audioUsageFromHal()732 status_t HidlUtils::encapsulationTypeToHal(const AudioEncapsulationType& encapsulationType, in audioUsageFromHal() argument734 if (!xsd::isUnknownAudioEncapsulationType(encapsulationType) && in audioUsageFromHal()735 audio_encapsulation_type_from_string(encapsulationType.c_str(), halEncapsulationType)) { in audioUsageFromHal()738 ALOGE("Unknown audio encapsulation type \"%s\"", encapsulationType.c_str()); in audioUsageFromHal()858 &transport.encapsulationType), in audioUsageFromHal()874 &transport.encapsulationType), in audioUsageFromHal()911 transport.encapsulationType, in audioUsageFromHal()[all …]
297 static inline bool isUnknownAudioEncapsulationType(const std::string& encapsulationType) { in isUnknownAudioEncapsulationType() argument298 return stringToAudioEncapsulationType(encapsulationType) == AudioEncapsulationType::UNKNOWN; in isUnknownAudioEncapsulationType()
294 static inline bool isUnknownAudioEncapsulationType(const std::string& encapsulationType) { in isUnknownAudioEncapsulationType() argument295 return stringToAudioEncapsulationType(encapsulationType) == AudioEncapsulationType::UNKNOWN; in isUnknownAudioEncapsulationType()
984 invalid[0].encapsulationType = "random string"; in TEST()986 invalid[1].encapsulationType = "random string"; in TEST()994 invalid[i].encapsulationType = in TEST()1004 invalid[i].encapsulationType = in TEST()1015 transports[0].encapsulationType = in TEST()1018 transports[1].encapsulationType = in TEST()1057 port.transports[0].encapsulationType = in TEST()1061 port.transports[1].encapsulationType = in TEST()
155 AudioEncapsulationType* encapsulationType);156 static status_t encapsulationTypeToHal(const AudioEncapsulationType& encapsulationType,
192 AudioEncapsulationType encapsulationType;