Home
last modified time | relevance | path

Searched refs:encapsulationType (Results 1 – 6 of 6) sorted by relevance

/hardware/interfaces/audio/common/all-versions/default/7.0/
DHidlUtils.cpp723 AudioEncapsulationType* encapsulationType) { in audioUsageFromHal() argument
724 *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() argument
734 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 …]
/hardware/interfaces/audio/common/7.1/enums/include/
Dandroid_audio_policy_configuration_V7_1-enums.h297 static inline bool isUnknownAudioEncapsulationType(const std::string& encapsulationType) { in isUnknownAudioEncapsulationType() argument
298 return stringToAudioEncapsulationType(encapsulationType) == AudioEncapsulationType::UNKNOWN; in isUnknownAudioEncapsulationType()
/hardware/interfaces/audio/common/7.0/enums/include/
Dandroid_audio_policy_configuration_V7_0-enums.h294 static inline bool isUnknownAudioEncapsulationType(const std::string& encapsulationType) { in isUnknownAudioEncapsulationType() argument
295 return stringToAudioEncapsulationType(encapsulationType) == AudioEncapsulationType::UNKNOWN; in isUnknownAudioEncapsulationType()
/hardware/interfaces/audio/common/all-versions/default/tests/
Dhidlutils_tests.cpp984 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()
/hardware/interfaces/audio/common/all-versions/default/
DHidlUtils.h155 AudioEncapsulationType* encapsulationType);
156 static status_t encapsulationTypeToHal(const AudioEncapsulationType& encapsulationType,
/hardware/interfaces/audio/common/7.0/
Dtypes.hal192 AudioEncapsulationType encapsulationType;