Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioOutputDescriptor.cpp284 SwAudioOutputDescriptor::SwAudioOutputDescriptor(const sp<IOProfile>& profile, in SwAudioOutputDescriptor() function in android::SwAudioOutputDescriptor
297 void SwAudioOutputDescriptor::dump(String8 *dst) const in dump()
304 DeviceVector SwAudioOutputDescriptor::devices() const in devices()
314 bool SwAudioOutputDescriptor::sharesHwModuleWith( in sharesHwModuleWith()
315 const sp<SwAudioOutputDescriptor>& outputDesc) in sharesHwModuleWith()
327 DeviceVector SwAudioOutputDescriptor::supportedDevices() const in supportedDevices()
337 bool SwAudioOutputDescriptor::supportsDevice(const sp<DeviceDescriptor> &device) const in supportsDevice()
342 bool SwAudioOutputDescriptor::supportsAllDevices(const DeviceVector &devices) const in supportsAllDevices()
347 bool SwAudioOutputDescriptor::supportsDevicesForPlayback(const DeviceVector &devices) const in supportsDevicesForPlayback()
354 DeviceVector SwAudioOutputDescriptor::filterSupportedDevices(const DeviceVector &devices) const in filterSupportedDevices()
[all …]
DClientDescriptor.cpp102 void SourceClientDescriptor::setSwOutput(const sp<SwAudioOutputDescriptor>& swOutput) in setSwOutput()
DAudioPolicyMix.cpp81 status_t AudioPolicyMixCollection::registerMix(AudioMix mix, sp<SwAudioOutputDescriptor> desc) in registerMix()
143 void AudioPolicyMixCollection::closeOutput(sp<SwAudioOutputDescriptor> &desc) in closeOutput()
375 const sp<SwAudioOutputDescriptor> &output, in getDeviceAndMixForOutput()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioPolicyMix.h41 const sp<SwAudioOutputDescriptor> &getOutput() const { return mOutput; } in getOutput()
42 void setOutput(const sp<SwAudioOutputDescriptor> &output) { mOutput = output; } in setOutput()
48 sp<SwAudioOutputDescriptor> mOutput; // Corresponding output stream
58 status_t registerMix(AudioMix mix, sp<SwAudioOutputDescriptor> desc);
62 void closeOutput(sp<SwAudioOutputDescriptor> &desc);
90 sp<DeviceDescriptor> getDeviceAndMixForOutput(const sp<SwAudioOutputDescriptor> &output,
DAudioOutputDescriptor.h328 class SwAudioOutputDescriptor: public AudioOutputDescriptor
331 SwAudioOutputDescriptor(const sp<IOProfile>& profile,
333 virtual ~SwAudioOutputDescriptor() {} in ~SwAudioOutputDescriptor()
338 bool sharesHwModuleWith(const sp<SwAudioOutputDescriptor>& outputDesc);
346 sp<SwAudioOutputDescriptor> subOutput1() { return mOutput1; } in subOutput1()
347 sp<SwAudioOutputDescriptor> subOutput2() { return mOutput2; } in subOutput2()
378 status_t openDuplicating(const sp<SwAudioOutputDescriptor>& output1,
379 const sp<SwAudioOutputDescriptor>& output2,
421 sp<SwAudioOutputDescriptor> mOutput1; // used by duplicated outputs: first output
422 sp<SwAudioOutputDescriptor> mOutput2; // used by duplicated outputs: second output
[all …]
DClientDescriptor.h41 class SwAudioOutputDescriptor; variable
94 std::vector<wp<SwAudioOutputDescriptor>> secondaryOutputs, in TrackClientDescriptor()
109 const std::vector<wp<SwAudioOutputDescriptor>>& getSecondaryOutputs() const { in getSecondaryOutputs()
112 void setSecondaryOutputs(std::vector<wp<SwAudioOutputDescriptor>>&& secondaryOutputs) { in setSecondaryOutputs()
149 std::vector<wp<SwAudioOutputDescriptor>> mSecondaryOutputs;
216 wp<SwAudioOutputDescriptor> swOutput() const { return mSwOutput; } in swOutput()
217 void setSwOutput(const sp<SwAudioOutputDescriptor>& swOutput);
228 wp<SwAudioOutputDescriptor> mSwOutput;
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.h452 void addOutput(audio_io_handle_t output, const sp<SwAudioOutputDescriptor>& outputDesc);
458 uint32_t setOutputDevices(const sp<SwAudioOutputDescriptor>& outputDesc,
621 DeviceVector getNewOutputDevices(const sp<SwAudioOutputDescriptor>& outputDesc,
759 status_t startSource(const sp<SwAudioOutputDescriptor>& outputDesc,
762 status_t stopSource(const sp<SwAudioOutputDescriptor>& outputDesc,
797 sp<SwAudioOutputDescriptor> mPrimaryOutput; // primary output descriptor
1037 bool areAllActiveTracksRerouted(const sp<SwAudioOutputDescriptor>& output);
1039 sp<SwAudioOutputDescriptor> openOutputWithProfileAndDevice(const sp<IOProfile>& profile,
DAudioPolicyManager.cpp231 sp<SwAudioOutputDescriptor> desc = mOutputs.valueFor(output); in setDeviceConnectionStateInt()
246 sp<SwAudioOutputDescriptor> desc = mOutputs.valueFor(output); in setDeviceConnectionStateInt()
273 sp<SwAudioOutputDescriptor> desc = mOutputs.valueAt(i); in setDeviceConnectionStateInt()
306 sp<SwAudioOutputDescriptor> desc = mOutputs.valueFor(output); in setDeviceConnectionStateInt()
496 sp<SwAudioOutputDescriptor> desc = mOutputs.valueAt(i); in handleDeviceConfigChange()
767 sp<SwAudioOutputDescriptor> desc = mOutputs.valueAt(i); in setPhoneState()
811 sp<SwAudioOutputDescriptor> desc = mOutputs.valueAt(i); in setPhoneState()
1034 sp<SwAudioOutputDescriptor> policyDesc = primaryMix->getOutput(); in getOutputForAttrInt()
1168 std::vector<wp<SwAudioOutputDescriptor>> weakSecondaryOutputDescs; in getOutputForAttr()
1171 sp<SwAudioOutputDescriptor> outputDesc = secondaryMix->getOutput(); in getOutputForAttr()
[all …]
/frameworks/av/services/audiopolicy/fuzzer/
Daudiopolicy_fuzzer.cpp930 sp<SwAudioOutputDescriptor> outDesc = mManager->getOutputs().valueFor(output); in testHDMIPortSelection()
/frameworks/av/services/audiopolicy/tests/
Daudiopolicymanager_tests.cpp1474 sp<SwAudioOutputDescriptor> outDesc = mManager->getOutputs().valueFor(output); in testHDMIPortSelection()