Home
last modified time | relevance | path

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

/frameworks/av/media/libaudiofoundation/
DDeviceDescriptorBase.cpp199 media::audio::common::AudioPortDeviceExt deviceExt; in writeToParcelable() local
200 deviceExt.device = VALUE_OR_RETURN_STATUS( in writeToParcelable()
202 deviceExt.encodedFormats = VALUE_OR_RETURN_STATUS( in writeToParcelable()
205 deviceExt.encapsulationModes = VALUE_OR_RETURN_STATUS( in writeToParcelable()
207 deviceExt.encapsulationMetadataTypes = VALUE_OR_RETURN_STATUS( in writeToParcelable()
209 UNION_SET(parcelable->hal.ext, device, deviceExt); in writeToParcelable()
226 media::audio::common::AudioPortDeviceExt deviceExt = VALUE_OR_RETURN_STATUS( in readFromParcelable() local
229 aidl2legacy_AudioDeviceTypeAddress(deviceExt.device)); in readFromParcelable()
231 convertContainer<FormatVector>(deviceExt.encodedFormats, in readFromParcelable()
234 aidl2legacy_AudioEncapsulationMode_mask(deviceExt.encapsulationModes)); in readFromParcelable()
[all …]
/frameworks/av/media/libaudioclient/aidl/fuzzer/libaudiomockhal/
DModuleMock.cpp127 AudioPortDeviceExt deviceExt; in createDeviceExt() local
128 deviceExt.device.type.type = devType; in createDeviceExt()
129 deviceExt.flags = flags; in createDeviceExt()
130 return AudioPortExt::make<AudioPortExt::Tag::device>(deviceExt); in createDeviceExt()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioPolicyConfig.cpp117 if (const auto& deviceExt = aidlPort.ext.get<AudioPortExt::device>(); in aidl2legacy_AudioHwModule_HwModule() local
118 deviceExt.device.type.connection.empty() || in aidl2legacy_AudioHwModule_HwModule()
120 (deviceExt.device.type.type == AudioDeviceType::IN_SUBMIX && in aidl2legacy_AudioHwModule_HwModule()
121 deviceExt.device.address != AudioDeviceAddress())) { in aidl2legacy_AudioHwModule_HwModule()
128 (deviceExt.flags & defaultDeviceFlag) != 0) { in aidl2legacy_AudioHwModule_HwModule()
/frameworks/base/media/java/android/media/audio/common/
DAidlConversion.java541 AudioPortDeviceExt deviceExt = new AudioPortDeviceExt(); in api2aidl_AudioDeviceAttributes_AudioPort() local
542 deviceExt.device = new AudioDevice(); in api2aidl_AudioDeviceAttributes_AudioPort()
543 deviceExt.encodedFormats = new AudioFormatDescription[]{}; in api2aidl_AudioDeviceAttributes_AudioPort()
544 deviceExt.device.type = in api2aidl_AudioDeviceAttributes_AudioPort()
546 deviceExt.device.address = AudioDeviceAddress.id(attributes.getAddress()); in api2aidl_AudioDeviceAttributes_AudioPort()
547 port.ext = AudioPortExt.device(deviceExt); in api2aidl_AudioDeviceAttributes_AudioPort()
/frameworks/av/media/libaudiohal/tests/
DCoreAudioHalAidl_test.cpp119 AudioPortDeviceExt deviceExt; in createPortDeviceExt() local
120 deviceExt.device.type.type = devType; in createPortDeviceExt()
122 deviceExt.device.address = "bottom"; in createPortDeviceExt()
124 deviceExt.device.address = "back"; in createPortDeviceExt()
126 deviceExt.device.type.connection = std::move(connection); in createPortDeviceExt()
127 deviceExt.flags = flags; in createPortDeviceExt()
128 return AudioPortExt::make<AudioPortExt::device>(deviceExt); in createPortDeviceExt()
/frameworks/av/media/libaudiohal/impl/
DHal2AidlMapper.cpp664 const AudioPortDeviceExt& deviceExt = port.ext.get<AudioPortExt::Tag::device>(); in initialize() local
665 if ((deviceExt.flags & defaultDeviceFlag) != 0) { in initialize()
673 if (const auto& devDesc = deviceExt.device; in initialize()