Home
last modified time | relevance | path

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

/frameworks/av/media/libaudiofoundation/
DDeviceDescriptorBase.cpp190 media::audio::common::AudioPortDeviceExt deviceExt; in writeToParcelable() local
191 deviceExt.device = VALUE_OR_RETURN_STATUS( in writeToParcelable()
193 deviceExt.encodedFormats = VALUE_OR_RETURN_STATUS( in writeToParcelable()
196 deviceExt.encapsulationModes = VALUE_OR_RETURN_STATUS( in writeToParcelable()
198 deviceExt.encapsulationMetadataTypes = VALUE_OR_RETURN_STATUS( in writeToParcelable()
200 UNION_SET(parcelable->hal.ext, device, deviceExt); in writeToParcelable()
217 media::audio::common::AudioPortDeviceExt deviceExt = VALUE_OR_RETURN_STATUS( in readFromParcelable() local
220 aidl2legacy_AudioDeviceTypeAddress(deviceExt.device)); in readFromParcelable()
222 convertContainer<FormatVector>(deviceExt.encodedFormats, in readFromParcelable()
225 aidl2legacy_AudioEncapsulationMode_mask(deviceExt.encapsulationModes)); in readFromParcelable()
[all …]
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioPolicyConfig.cpp115 if (const auto& deviceExt = aidlPort.ext.get<AudioPortExt::device>(); in aidl2legacy_AudioHwModule_HwModule() local
116 deviceExt.device.type.connection.empty()) { // Attached device in aidl2legacy_AudioHwModule_HwModule()
121 if ((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()