Searched refs:sinkDevice (Results 1 – 3 of 3) sorted by relevance
156 sp<DeviceDescriptor> sinkDevice = 0; in getRouteSinkDevice() local158 sinkDevice = mDeclaredDevices.getDeviceFromTagName(route->getSink()->getTagName()); in getRouteSinkDevice()160 return sinkDevice; in getRouteSinkDevice()213 sp<DeviceDescriptor> sinkDevice = getRouteSinkDevice(route); in refreshSupportedDevices() local214 if (sinkDevice == 0) { in refreshSupportedDevices()218 sinkDevices.add(sinkDevice); in refreshSupportedDevices()
3561 sp<DeviceDescriptor> sinkDevice = in createAudioPatchInternal() local3563 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() local3987 ALOG_ASSERT(mAvailableOutputDevices.contains(sinkDevice), "%s: Device %s not available", in connectAudioSource()[all …]
798 int sinkDevice = mAudioManager.getDevicesForStream(AudioManager.STREAM_MUSIC); in findAudioSinkFromAudioPolicy() local800 if ((port.type() & sinkDevice) != 0 && in findAudioSinkFromAudioPolicy()