Home
last modified time | relevance | path

Searched refs:sinkDevice (Results 1 – 5 of 5) sorted by relevance

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DHwModule.cpp175 sp<DeviceDescriptor> sinkDevice = 0; in getRouteSinkDevice() local
177 sinkDevice = mDeclaredDevices.getDeviceFromTagName(route->getSink()->getTagName()); in getRouteSinkDevice()
179 return sinkDevice; in getRouteSinkDevice()
232 sp<DeviceDescriptor> sinkDevice = getRouteSinkDevice(route); in refreshSupportedDevices() local
233 if (sinkDevice == 0) { in refreshSupportedDevices()
237 sinkDevices.add(sinkDevice); in refreshSupportedDevices()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DClientDescriptor.h229 void connect(audio_patch_handle_t patchHandle, const sp<DeviceDescriptor>& sinkDevice) { in connect() argument
231 mSinkDevice = sinkDevice; in connect()
246 sp<DeviceDescriptor> sinkDevice() const { return mSinkDevice; } in sinkDevice() function
289 const sp<DeviceDescriptor>& sinkDevice, in InternalSourceClientDescriptor() argument
295 setPreferredDeviceId(sinkDevice->getId()); in InternalSourceClientDescriptor()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp792 const sp<DeviceDescriptor> &srcDevice, const sp<DeviceDescriptor> &sinkDevice, in connectTelephonyTxAudioSource() argument
796 if (srcDevice == nullptr || sinkDevice == nullptr) { in connectTelephonyTxAudioSource()
801 patchBuilder.addSource(srcDevice).addSink(sinkDevice); in connectTelephonyTxAudioSource()
803 srcDevice->toString().c_str(), sinkDevice->toString().c_str()); in connectTelephonyTxAudioSource()
810 callTxSourceClientPortId, mUidCached, aa, source, srcDevice, sinkDevice, in connectTelephonyTxAudioSource()
814 mCallTxSourceClient, sinkDevice, patchBuilder.patch(), patchHandle, mUidCached, in connectTelephonyTxAudioSource()
1702 const sp<DeviceDescriptor> &sinkDevice, in getMsdProfiles() argument
1721 outProfile->supportsDevice(sinkDevice)) { in getMsdProfiles()
1813 const sp<DeviceDescriptor> sinkDevice = msdIsSource ? in buildMsdPatch() local
1815 patchBuilder.addSource(sourceDevice).addSink(sinkDevice); in buildMsdPatch()
[all …]
DAudioPolicyManager.h670 const sp<DeviceDescriptor> &sinkDevice,
894 const sp<DeviceDescriptor> &sinkDevice,
1012 const sp<DeviceDescriptor> &sinkDevice,
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputHardwareManager.java911 int sinkDevice = mAudioManager.getDevicesForStream(AudioManager.STREAM_MUSIC); in findAudioSinkFromAudioPolicy() local
913 if ((port.type() & sinkDevice) != 0 && in findAudioSinkFromAudioPolicy()