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.cpp317 SwAudioOutputDescriptor::SwAudioOutputDescriptor(const sp<IOProfile>& profile, in SwAudioOutputDescriptor() function in android::SwAudioOutputDescriptor
329 void SwAudioOutputDescriptor::dump(String8 *dst, int spaces, const char* extraInfo) const in dump()
343 DeviceVector SwAudioOutputDescriptor::devices() const in devices()
353 bool SwAudioOutputDescriptor::sharesHwModuleWith( in sharesHwModuleWith()
354 const sp<SwAudioOutputDescriptor>& outputDesc) in sharesHwModuleWith()
366 DeviceVector SwAudioOutputDescriptor::supportedDevices() const in supportedDevices()
376 bool SwAudioOutputDescriptor::supportsDevice(const sp<DeviceDescriptor> &device) const in supportsDevice()
381 bool SwAudioOutputDescriptor::supportsAllDevices(const DeviceVector &devices) const in supportsAllDevices()
386 bool SwAudioOutputDescriptor::supportsDevicesForPlayback(const DeviceVector &devices) const in supportsDevicesForPlayback()
393 DeviceVector SwAudioOutputDescriptor::filterSupportedDevices(const DeviceVector &devices) const in filterSupportedDevices()
[all …]
DClientDescriptor.cpp109 const sp<SwAudioOutputDescriptor>& swOutput, bool closeOutput) in setSwOutput()
DAudioPolicyMix.cpp81 status_t AudioPolicyMixCollection::registerMix(AudioMix mix, sp<SwAudioOutputDescriptor> desc) in registerMix()
143 void AudioPolicyMixCollection::closeOutput(sp<SwAudioOutputDescriptor> &desc) in closeOutput()
385 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);
91 sp<DeviceDescriptor> getDeviceAndMixForOutput(const sp<SwAudioOutputDescriptor> &output,
DAudioOutputDescriptor.h338 class SwAudioOutputDescriptor: public AudioOutputDescriptor
341 SwAudioOutputDescriptor(const sp<IOProfile>& profile,
343 virtual ~SwAudioOutputDescriptor() {} in ~SwAudioOutputDescriptor()
348 bool sharesHwModuleWith(const sp<SwAudioOutputDescriptor>& outputDesc);
356 sp<SwAudioOutputDescriptor> subOutput1() { return mOutput1; } in subOutput1()
357 sp<SwAudioOutputDescriptor> subOutput2() { return mOutput2; } in subOutput2()
404 status_t openDuplicating(const sp<SwAudioOutputDescriptor>& output1,
405 const sp<SwAudioOutputDescriptor>& output2,
451 sp<SwAudioOutputDescriptor> mOutput1; // used by duplicated outputs: first output
452 sp<SwAudioOutputDescriptor> mOutput2; // used by duplicated outputs: second output
[all …]
DClientDescriptor.h43 class SwAudioOutputDescriptor; variable
110 std::vector<wp<SwAudioOutputDescriptor>> secondaryOutputs, in TrackClientDescriptor()
125 const std::vector<wp<SwAudioOutputDescriptor>>& getSecondaryOutputs() const { in getSecondaryOutputs()
128 void setSecondaryOutputs(std::vector<wp<SwAudioOutputDescriptor>>&& secondaryOutputs) { in setSecondaryOutputs()
173 std::vector<wp<SwAudioOutputDescriptor>> mSecondaryOutputs;
237 bool belongsToOutput(const sp<SwAudioOutputDescriptor> &swOutput) const { in belongsToOutput()
247 wp<SwAudioOutputDescriptor> swOutput() const { return mSwOutput; } in swOutput()
248 void setSwOutput(const sp<SwAudioOutputDescriptor>& swOutput, bool closeOutput = false);
259 wp<SwAudioOutputDescriptor> mSwOutput;
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.h510 void addOutput(audio_io_handle_t output, const sp<SwAudioOutputDescriptor>& outputDesc);
528 uint32_t setOutputDevices(const sp<SwAudioOutputDescriptor>& outputDesc,
656 bool isTelephonyRxOrTx(const sp<SwAudioOutputDescriptor>& desc) const { in isTelephonyRxOrTx()
707 DeviceVector getNewOutputDevices(const sp<SwAudioOutputDescriptor>& outputDesc,
854 status_t startSource(const sp<SwAudioOutputDescriptor>& outputDesc,
857 status_t stopSource(const sp<SwAudioOutputDescriptor>& outputDesc,
909 sp<SwAudioOutputDescriptor> ignoredOutput, uint32_t delayMs);
913 sp<SwAudioOutputDescriptor> mPrimaryOutput; // primary output descriptor
916 sp<SwAudioOutputDescriptor> mSpatializerOutput;
1133 bool isOutputOnlyAvailableRouteToSomeDevice(const sp<SwAudioOutputDescriptor>& outputDesc);
[all …]
DAudioPolicyManager.cpp275 sp<SwAudioOutputDescriptor> desc = mOutputs.valueFor(output); in setDeviceConnectionStateInt()
290 sp<SwAudioOutputDescriptor> desc = mOutputs.valueFor(output); in setDeviceConnectionStateInt()
320 sp<SwAudioOutputDescriptor> desc = mOutputs.valueAt(i); in setDeviceConnectionStateInt()
353 sp<SwAudioOutputDescriptor> desc = mOutputs.valueFor(output); in setDeviceConnectionStateInt()
553 sp<SwAudioOutputDescriptor> desc = mOutputs.valueAt(i); in handleDeviceConfigChange()
842 sp<SwAudioOutputDescriptor> desc = mOutputs.valueAt(i); in setPhoneState()
883 sp<SwAudioOutputDescriptor> desc = mOutputs.valueAt(i); in setPhoneState()
1189 sp<SwAudioOutputDescriptor> policyDesc = primaryMix->getOutput(); in getOutputForAttrInt()
1332 std::vector<wp<SwAudioOutputDescriptor>> weakSecondaryOutputDescs; in getOutputForAttr()
1335 sp<SwAudioOutputDescriptor> outputDesc = secondaryMix->getOutput(); in getOutputForAttr()
[all …]
/frameworks/av/services/audiopolicy/tests/
Daudiopolicymanager_tests.cpp1750 sp<SwAudioOutputDescriptor> outDesc = mManager->getOutputs().valueFor(output); in TEST_F()
1791 sp<SwAudioOutputDescriptor> outDesc = mManager->getOutputs().valueFor(output); in testHDMIPortSelection()
/frameworks/av/services/audiopolicy/fuzzer/
Daudiopolicy_fuzzer.cpp975 sp<SwAudioOutputDescriptor> outDesc = mManager->getOutputs().valueFor(output); in testHDMIPortSelection()