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.cpp166 sp<DeviceDescriptor> sinkDevice = 0; in getRouteSinkDevice() local
168 sinkDevice = mDeclaredDevices.getDeviceFromTagName(route->getSink()->getTagName()); in getRouteSinkDevice()
170 return sinkDevice; in getRouteSinkDevice()
223 sp<DeviceDescriptor> sinkDevice = getRouteSinkDevice(route); in refreshSupportedDevices() local
224 if (sinkDevice == 0) { in refreshSupportedDevices()
228 sinkDevices.add(sinkDevice); in refreshSupportedDevices()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DClientDescriptor.h204 void connect(audio_patch_handle_t patchHandle, const sp<DeviceDescriptor>& sinkDevice) { in connect() argument
206 mSinkDevice = sinkDevice; in connect()
215 sp<DeviceDescriptor> sinkDevice() const { return mSinkDevice; } in sinkDevice() function
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp1412 const sp<DeviceDescriptor> &sinkDevice, in getMsdProfiles() argument
1431 outProfile->supportsDevice(sinkDevice)) { in getMsdProfiles()
1502 const sp<DeviceDescriptor> sinkDevice = msdIsSource ? in buildMsdPatch() local
1504 patchBuilder.addSource(sourceDevice).addSink(sinkDevice); in buildMsdPatch()
1513 if (getMsdProfiles(hwAvSync, inputProfiles, outputProfiles, sourceDevice, sinkDevice, in buildMsdPatch()
3991 sp<DeviceDescriptor> sinkDevice = in createAudioPatchInternal() local
3993 if (sinkDevice == 0) { in createAudioPatchInternal()
3997 sinkDevice->toAudioPortConfig(&sinkPortConfig, &patch->sinks[i]); in createAudioPatchInternal()
4025 __FUNCTION__, sinkDevice->toString().c_str()); in createAudioPatchInternal()
4041 if (!srcDevice->hasSameHwModuleAs(sinkDevice) || in createAudioPatchInternal()
[all …]
DAudioPolicyManager.h880 const sp<DeviceDescriptor> &sinkDevice,
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputHardwareManager.java848 int sinkDevice = mAudioManager.getDevicesForStream(AudioManager.STREAM_MUSIC); in findAudioSinkFromAudioPolicy() local
850 if ((port.type() & sinkDevice) != 0 && in findAudioSinkFromAudioPolicy()