Home
last modified time | relevance | path

Searched refs:DeviceDescriptorBase (Results 1 – 16 of 16) sorted by relevance

/frameworks/av/media/libaudiofoundation/
DDeviceDescriptorBase.cpp28 DeviceDescriptorBase::DeviceDescriptorBase(audio_devices_t type) : in DeviceDescriptorBase() function in android::DeviceDescriptorBase
29 DeviceDescriptorBase(type, "") in DeviceDescriptorBase()
33 DeviceDescriptorBase::DeviceDescriptorBase( in DeviceDescriptorBase() function in android::DeviceDescriptorBase
36 DeviceDescriptorBase(AudioDeviceTypeAddr(type, address), encodedFormats) in DeviceDescriptorBase()
40 DeviceDescriptorBase::DeviceDescriptorBase( in DeviceDescriptorBase() function in android::DeviceDescriptorBase
53 void DeviceDescriptorBase::setAddress(const std::string &address) { in setAddress()
57 void DeviceDescriptorBase::toAudioPortConfig(struct audio_port_config *dstConfig, in toAudioPortConfig()
85 void DeviceDescriptorBase::toAudioPort(struct audio_port *port) const in toAudioPort()
91 void DeviceDescriptorBase::toAudioPort(struct audio_port_v7 *port) const { in toAudioPort()
96 status_t DeviceDescriptorBase::setEncapsulationModes(uint32_t encapsulationModes) { in setEncapsulationModes()
[all …]
DAndroid.bp58 "DeviceDescriptorBase.cpp",
/frameworks/av/media/libaudiofoundation/include/media/
DDeviceDescriptorBase.h34 class DeviceDescriptorBase : public AudioPort, public AudioPortConfig
38 explicit DeviceDescriptorBase(audio_devices_t type);
39 DeviceDescriptorBase(audio_devices_t type, const std::string& address,
41 DeviceDescriptorBase(const AudioDeviceTypeAddr& deviceTypeAddr,
44 virtual ~DeviceDescriptorBase() = default;
56 return sp<AudioPort>::fromExisting(const_cast<DeviceDescriptorBase*>(this)); in getAudioPort()
80 bool equals(const sp<DeviceDescriptorBase>& other) const;
104 using DeviceDescriptorBaseVector = std::vector<sp<DeviceDescriptorBase>>;
118 ConversionResult<sp<DeviceDescriptorBase>>
121 legacy2aidl_DeviceDescriptorBase(const sp<DeviceDescriptorBase>& legacy);
/frameworks/av/media/libaudiofoundation/tests/
Daudiofoundation_parcelable_test.cpp146 sp<DeviceDescriptorBase> desc = new DeviceDescriptorBase(AUDIO_DEVICE_OUT_SPEAKER); in TEST()
157 sp<DeviceDescriptorBase> descFromParcel = new DeviceDescriptorBase(AUDIO_DEVICE_NONE); in TEST()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DDeviceDescriptor.cpp58 DeviceDescriptorBase(deviceTypeAddr, encodedFormats), mTagName(tagName), in DeviceDescriptor()
59 mDeclaredAddress(DeviceDescriptorBase::address()) in DeviceDescriptor()
133 DeviceDescriptorBase::toAudioPortConfig(dstConfig, srcConfig); in toAudioPortConfig()
172 RETURN_STATUS_IF_ERROR(DeviceDescriptorBase::readFromParcelable(parcelable)); in readFromParcelable()
173 mDeclaredAddress = DeviceDescriptorBase::address(); in readFromParcelable()
216 DeviceDescriptorBase::dump(&descBaseDumpStr, spaces, extraInfo.c_str(), verbose); in dump()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DDeviceDescriptor.h33 class DeviceDescriptor : public DeviceDescriptorBase,
104 DeviceDescriptorBase::toAudioPort(port); in toAudioPortInternal()
/frameworks/av/services/audiopolicy/tests/
DAudioPolicyTestClient.h38 const sp<DeviceDescriptorBase>& /*device*/, in openOutput() argument
DAudioPolicyManagerTestClient.h42 const sp<DeviceDescriptorBase>& /*device*/, in openOutput() argument
Daudiopolicymanager_tests.cpp2509 const sp<DeviceDescriptorBase>& device, in openOutput()
/frameworks/av/services/audiopolicy/service/
DAudioPolicyClientImpl.cpp57 const sp<DeviceDescriptorBase>& device, in openOutput()
DAudioPolicyService.h791 const sp<DeviceDescriptorBase>& device,
/frameworks/av/services/audioflinger/
DPatchPanel.cpp393 sp<DeviceDescriptorBase> device = new DeviceDescriptorBase( in createAudioPatch_l()
DAudioFlinger.cpp3015 sp<DeviceDescriptorBase> device = VALUE_OR_RETURN_STATUS( in openOutput()
/frameworks/av/services/audiopolicy/
DAudioPolicyInterface.h478 const sp<DeviceDescriptorBase>& device,
/frameworks/av/media/libaudioclient/fuzzer/
Daudioflinger_fuzzer.cpp685 sp<DeviceDescriptorBase> device = new DeviceDescriptorBase(getValue(&mFdp, kDevices)); in invokeAudioOutputDevice()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp474 const auto devDescr = sp<DeviceDescriptorBase>::make(device, device_address); in deviceToAudioPort()