Searched refs:SwAudioOutputDescriptor (Results 1 – 10 of 10) sorted by relevance
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioOutputDescriptor.cpp | 319 SwAudioOutputDescriptor::SwAudioOutputDescriptor(const sp<IOProfile>& profile, in SwAudioOutputDescriptor() function in android::SwAudioOutputDescriptor 333 void SwAudioOutputDescriptor::dump(String8 *dst, int spaces, const char* extraInfo) const in dump() 350 DeviceVector SwAudioOutputDescriptor::devices() const in devices() 360 bool SwAudioOutputDescriptor::sharesHwModuleWith( in sharesHwModuleWith() 361 const sp<SwAudioOutputDescriptor>& outputDesc) in sharesHwModuleWith() 373 DeviceVector SwAudioOutputDescriptor::supportedDevices() const in supportedDevices() 386 bool SwAudioOutputDescriptor::supportsDevice(const sp<DeviceDescriptor> &device) const in supportsDevice() 391 bool SwAudioOutputDescriptor::supportsAllDevices(const DeviceVector &devices) const in supportsAllDevices() 396 bool SwAudioOutputDescriptor::supportsAtLeastOne(const DeviceVector &devices) const in supportsAtLeastOne() 401 bool SwAudioOutputDescriptor::supportsDevicesForPlayback(const DeviceVector &devices) const in supportsDevicesForPlayback() [all …]
|
D | ClientDescriptor.cpp | 111 const sp<SwAudioOutputDescriptor>& swOutput, bool closeOutput) in setSwOutput()
|
D | AudioPolicyMix.cpp | 185 const sp<SwAudioOutputDescriptor>& desc) in registerMix() 293 void AudioPolicyMixCollection::closeOutput(sp<SwAudioOutputDescriptor> &desc, in closeOutput() 478 const sp<SwAudioOutputDescriptor> &output, in getDeviceAndMixForOutput()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
D | AudioPolicyMix.h | 41 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(const AudioMix& mix, const sp<SwAudioOutputDescriptor>& desc); 64 void closeOutput(sp<SwAudioOutputDescriptor> &desc, const SwAudioOutputCollection& allOutputs); 112 sp<DeviceDescriptor> getDeviceAndMixForOutput(const sp<SwAudioOutputDescriptor> &output,
|
D | AudioOutputDescriptor.h | 358 class SwAudioOutputDescriptor: public AudioOutputDescriptor 361 SwAudioOutputDescriptor(const sp<IOProfile>& profile, 363 virtual ~SwAudioOutputDescriptor() {} in ~SwAudioOutputDescriptor() 368 bool sharesHwModuleWith(const sp<SwAudioOutputDescriptor>& outputDesc); 376 sp<SwAudioOutputDescriptor> subOutput1() { return mOutput1; } in subOutput1() 377 sp<SwAudioOutputDescriptor> subOutput2() { return mOutput2; } in subOutput2() 425 status_t openDuplicating(const sp<SwAudioOutputDescriptor>& output1, 426 const sp<SwAudioOutputDescriptor>& output2, 497 sp<SwAudioOutputDescriptor> mOutput1; // used by duplicated outputs: first output 498 sp<SwAudioOutputDescriptor> mOutput2; // used by duplicated outputs: second output [all …]
|
D | ClientDescriptor.h | 43 class SwAudioOutputDescriptor; variable 112 std::vector<wp<SwAudioOutputDescriptor>> secondaryOutputs, in TrackClientDescriptor() 127 const std::vector<wp<SwAudioOutputDescriptor>>& getSecondaryOutputs() const { in getSecondaryOutputs() 130 void setSecondaryOutputs(std::vector<wp<SwAudioOutputDescriptor>>&& secondaryOutputs) { in setSecondaryOutputs() 187 std::vector<wp<SwAudioOutputDescriptor>> mSecondaryOutputs; 253 bool belongsToOutput(const sp<SwAudioOutputDescriptor> &swOutput) const { in belongsToOutput() 263 wp<SwAudioOutputDescriptor> swOutput() const { return mSwOutput; } in swOutput() 264 void setSwOutput(const sp<SwAudioOutputDescriptor>& swOutput, bool closeOutput = false); 278 wp<SwAudioOutputDescriptor> mSwOutput;
|
/frameworks/av/services/audiopolicy/managerdefault/ |
D | AudioPolicyManager.h | 532 void addOutput(audio_io_handle_t output, const sp<SwAudioOutputDescriptor>& outputDesc); 554 const sp<SwAudioOutputDescriptor>& outputDesc, 715 bool isTelephonyRxOrTx(const sp<SwAudioOutputDescriptor>& desc) const { in isTelephonyRxOrTx() 766 DeviceVector getNewOutputDevices(const sp<SwAudioOutputDescriptor>& outputDesc, 913 status_t startSource(const sp<SwAudioOutputDescriptor>& outputDesc, 916 status_t stopSource(const sp<SwAudioOutputDescriptor>& outputDesc, 969 sp<SwAudioOutputDescriptor> ignoredOutput, uint32_t delayMs); 982 sp<SwAudioOutputDescriptor> mPrimaryOutput; // primary output descriptor 987 sp<SwAudioOutputDescriptor> mSpatializerOutput; 1201 bool isOutputOnlyAvailableRouteToSomeDevice(const sp<SwAudioOutputDescriptor>& outputDesc); [all …]
|
D | AudioPolicyManager.cpp | 284 sp<SwAudioOutputDescriptor> desc = mOutputs.valueFor(output); in setDeviceConnectionStateInt() 299 sp<SwAudioOutputDescriptor> desc = mOutputs.valueFor(output); in setDeviceConnectionStateInt() 329 sp<SwAudioOutputDescriptor> desc = mOutputs.valueAt(i); in setDeviceConnectionStateInt() 572 sp<SwAudioOutputDescriptor> desc = mOutputs.valueAt(i); in handleDeviceConfigChange() 898 sp<SwAudioOutputDescriptor> desc = mOutputs.valueAt(i); in setPhoneState() 940 sp<SwAudioOutputDescriptor> desc = mOutputs.valueAt(i); in setPhoneState() 1259 sp<SwAudioOutputDescriptor> policyDesc = primaryMix->getOutput(); in getOutputForAttrInt() 1473 std::vector<wp<SwAudioOutputDescriptor>> weakSecondaryOutputDescs; in getOutputForAttr() 1476 sp<SwAudioOutputDescriptor> outputDesc = secondaryMix->getOutput(); in getOutputForAttr() 1491 sp<SwAudioOutputDescriptor> outputDesc = mOutputs.valueFor(*output); in getOutputForAttr() [all …]
|
/frameworks/av/services/audiopolicy/fuzzer/ |
D | audiopolicy_fuzzer.cpp | 991 sp<SwAudioOutputDescriptor> outDesc = mManager->getOutputs().valueFor(output); in testHDMIPortSelection()
|
/frameworks/av/services/audiopolicy/tests/ |
D | audiopolicymanager_tests.cpp | 2657 sp<SwAudioOutputDescriptor> outDesc = mManager->getOutputs().valueFor(output); in TEST_F() 3138 sp<SwAudioOutputDescriptor> outDesc = mManager->getOutputs().valueFor(output); in testHDMIPortSelection()
|