Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DHwModule.cpp156 sp<DeviceDescriptor> sinkDevice = 0; in getRouteSinkDevice() local
158 sinkDevice = mDeclaredDevices.getDeviceFromTagName(route->getSink()->getTagName()); in getRouteSinkDevice()
160 return sinkDevice; in getRouteSinkDevice()
213 sp<DeviceDescriptor> sinkDevice = getRouteSinkDevice(route); in refreshSupportedDevices() local
214 if (sinkDevice == 0) { in refreshSupportedDevices()
218 sinkDevices.add(sinkDevice); in refreshSupportedDevices()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp3561 sp<DeviceDescriptor> sinkDevice = in createAudioPatchInternal() local
3563 if (sinkDevice == 0) { in createAudioPatchInternal()
3567 sinkDevice->toAudioPortConfig(&sinkPortConfig, &patch->sinks[i]); in createAudioPatchInternal()
3576 if (!srcDevice->hasSameHwModuleAs(sinkDevice) || in createAudioPatchInternal()
3578 !srcDevice->getModule()->supportsPatch(srcDevice, sinkDevice) || in createAudioPatchInternal()
3605 __FUNCTION__, sinkDevice->toString().c_str()); in createAudioPatchInternal()
3610 getOutputsForDevices(DeviceVector(sinkDevice), mOutputs); in createAudioPatchInternal()
3620 __FUNCTION__, sinkDevice->toString().c_str()); in createAudioPatchInternal()
3986 sp<DeviceDescriptor> sinkDevice = sinkDevices.itemAt(0); in connectAudioSource() local
3987 ALOG_ASSERT(mAvailableOutputDevices.contains(sinkDevice), "%s: Device %s not available", in connectAudioSource()
[all …]
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputHardwareManager.java798 int sinkDevice = mAudioManager.getDevicesForStream(AudioManager.STREAM_MUSIC); in findAudioSinkFromAudioPolicy() local
800 if ((port.type() & sinkDevice) != 0 && in findAudioSinkFromAudioPolicy()