Home
last modified time | relevance | path

Searched refs:SwAudioOutputDescriptor (Results 1 – 8 of 8) sorted by relevance

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioOutputDescriptor.cpp254 SwAudioOutputDescriptor::SwAudioOutputDescriptor(const sp<IOProfile>& profile, in SwAudioOutputDescriptor() function in android::SwAudioOutputDescriptor
267 void SwAudioOutputDescriptor::dump(String8 *dst) const in dump()
274 DeviceVector SwAudioOutputDescriptor::devices() const in devices()
284 bool SwAudioOutputDescriptor::sharesHwModuleWith( in sharesHwModuleWith()
285 const sp<SwAudioOutputDescriptor>& outputDesc) in sharesHwModuleWith()
297 DeviceVector SwAudioOutputDescriptor::supportedDevices() const in supportedDevices()
307 bool SwAudioOutputDescriptor::supportsDevice(const sp<DeviceDescriptor> &device) const in supportsDevice()
312 bool SwAudioOutputDescriptor::supportsAllDevices(const DeviceVector &devices) const in supportsAllDevices()
317 DeviceVector SwAudioOutputDescriptor::filterSupportedDevices(const DeviceVector &devices) const in filterSupportedDevices()
323 bool SwAudioOutputDescriptor::deviceSupportsEncodedFormats(audio_devices_t device) in deviceSupportsEncodedFormats()
[all …]
DAudioPolicyMix.cpp76 status_t AudioPolicyMixCollection::registerMix(AudioMix mix, sp<SwAudioOutputDescriptor> desc) in registerMix()
138 void AudioPolicyMixCollection::closeOutput(sp<SwAudioOutputDescriptor> &desc) in closeOutput()
151 sp<SwAudioOutputDescriptor> &primaryDesc, in getOutputForAttr()
152 std::vector<sp<SwAudioOutputDescriptor>> *secondaryDescs) in getOutputForAttr()
170 sp<SwAudioOutputDescriptor> policyDesc = policyMix->getOutput(); in getOutputForAttr()
339 const sp<SwAudioOutputDescriptor> &output, in getDeviceAndMixForOutput()
DClientDescriptor.cpp97 void SourceClientDescriptor::setSwOutput(const sp<SwAudioOutputDescriptor>& swOutput) in setSwOutput()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioPolicyMix.h40 const sp<SwAudioOutputDescriptor> &getOutput() const { return mOutput; } in getOutput()
41 void setOutput(const sp<SwAudioOutputDescriptor> &output) { mOutput = output; } in setOutput()
47 sp<SwAudioOutputDescriptor> mOutput; // Corresponding output stream
57 status_t registerMix(AudioMix mix, sp<SwAudioOutputDescriptor> desc);
61 void closeOutput(sp<SwAudioOutputDescriptor> &desc);
74 sp<SwAudioOutputDescriptor> &primaryDesc,
75 std::vector<sp<SwAudioOutputDescriptor>> *secondaryDescs);
88 sp<DeviceDescriptor> getDeviceAndMixForOutput(const sp<SwAudioOutputDescriptor> &output,
DAudioOutputDescriptor.h310 class SwAudioOutputDescriptor: public AudioOutputDescriptor
313 SwAudioOutputDescriptor(const sp<IOProfile>& profile,
315 virtual ~SwAudioOutputDescriptor() {} in ~SwAudioOutputDescriptor()
320 bool sharesHwModuleWith(const sp<SwAudioOutputDescriptor>& outputDesc);
326 sp<SwAudioOutputDescriptor> subOutput1() { return mOutput1; } in subOutput1()
327 sp<SwAudioOutputDescriptor> subOutput2() { return mOutput2; } in subOutput2()
358 status_t openDuplicating(const sp<SwAudioOutputDescriptor>& output1,
359 const sp<SwAudioOutputDescriptor>& output2,
393 sp<SwAudioOutputDescriptor> mOutput1; // used by duplicated outputs: first output
394 sp<SwAudioOutputDescriptor> mOutput2; // used by duplicated outputs: second output
[all …]
DClientDescriptor.h40 class SwAudioOutputDescriptor; variable
93 std::vector<wp<SwAudioOutputDescriptor>> secondaryOutputs) : in TrackClientDescriptor()
107 const std::vector<wp<SwAudioOutputDescriptor>>& getSecondaryOutputs() const { in getSecondaryOutputs()
138 const std::vector<wp<SwAudioOutputDescriptor>> mSecondaryOutputs;
193 wp<SwAudioOutputDescriptor> swOutput() const { return mSwOutput; } in swOutput()
194 void setSwOutput(const sp<SwAudioOutputDescriptor>& swOutput);
204 wp<SwAudioOutputDescriptor> mSwOutput;
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp207 sp<SwAudioOutputDescriptor> desc = mOutputs.valueFor(output); in setDeviceConnectionStateInt()
224 sp<SwAudioOutputDescriptor> desc = mOutputs.valueFor(output); in setDeviceConnectionStateInt()
251 sp<SwAudioOutputDescriptor> desc = mOutputs.valueAt(i); in setDeviceConnectionStateInt()
689 sp<SwAudioOutputDescriptor> desc = mOutputs.valueAt(i); in setPhoneState()
739 sp<SwAudioOutputDescriptor> desc = mOutputs.valueAt(i); in setPhoneState()
798 sp<SwAudioOutputDescriptor> outputDesc = mOutputs.valueAt(i); in setForceUse()
940 std::vector<sp<SwAudioOutputDescriptor>> *secondaryDescs) in getOutputForAttrInt()
963 sp<SwAudioOutputDescriptor> policyDesc; in getOutputForAttrInt()
1066 std::vector<sp<SwAudioOutputDescriptor>> secondaryOutputDescs; in getOutputForAttr()
1081 std::vector<wp<SwAudioOutputDescriptor>> weakSecondaryOutputDescs; in getOutputForAttr()
[all …]
DAudioPolicyManager.h398 void addOutput(audio_io_handle_t output, const sp<SwAudioOutputDescriptor>& outputDesc);
404 uint32_t setOutputDevices(const sp<SwAudioOutputDescriptor>& outputDesc,
534 DeviceVector getNewOutputDevices(const sp<SwAudioOutputDescriptor>& outputDesc,
661 status_t startSource(const sp<SwAudioOutputDescriptor>& outputDesc,
664 status_t stopSource(const sp<SwAudioOutputDescriptor>& outputDesc,
698 sp<SwAudioOutputDescriptor> mPrimaryOutput; // primary output descriptor
810 std::vector<sp<SwAudioOutputDescriptor>> *secondaryDescs);