Searched refs:deviceExt (Results 1 – 6 of 6) sorted by relevance
199 media::audio::common::AudioPortDeviceExt deviceExt; in writeToParcelable() local200 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() local229 aidl2legacy_AudioDeviceTypeAddress(deviceExt.device)); in readFromParcelable()231 convertContainer<FormatVector>(deviceExt.encodedFormats, in readFromParcelable()234 aidl2legacy_AudioEncapsulationMode_mask(deviceExt.encapsulationModes)); in readFromParcelable()[all …]
127 AudioPortDeviceExt deviceExt; in createDeviceExt() local128 deviceExt.device.type.type = devType; in createDeviceExt()129 deviceExt.flags = flags; in createDeviceExt()130 return AudioPortExt::make<AudioPortExt::Tag::device>(deviceExt); in createDeviceExt()
117 if (const auto& deviceExt = aidlPort.ext.get<AudioPortExt::device>(); in aidl2legacy_AudioHwModule_HwModule() local118 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()
541 AudioPortDeviceExt deviceExt = new AudioPortDeviceExt(); in api2aidl_AudioDeviceAttributes_AudioPort() local542 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()
119 AudioPortDeviceExt deviceExt; in createPortDeviceExt() local120 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()
664 const AudioPortDeviceExt& deviceExt = port.ext.get<AudioPortExt::Tag::device>(); in initialize() local665 if ((deviceExt.flags & defaultDeviceFlag) != 0) { in initialize()673 if (const auto& devDesc = deviceExt.device; in initialize()