Home
last modified time | relevance | path

Searched refs:num_sinks (Results 1 – 15 of 15) sorted by relevance

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioPatch.cpp55 dumpPatchEndpoints(dst, spaces, "sink", mPatch.num_sinks, mPatch.sinks); in dump()
70 handle, patch->getAfHandle(), patch->mPatch.num_sources, patch->mPatch.num_sinks, in addAudioPatch()
114 for (size_t sinkIndex = 0; sinkIndex < patch->mPatch.num_sinks && !skip; sinkIndex++) { in listAudioPatches()
129 patchIndex, patch->mPatch.num_sources, patch->mPatch.num_sinks); in listAudioPatches()
/frameworks/av/services/audioflinger/
DPatchPanel.cpp120 __func__, patch->num_sources, patch->num_sinks, *handle); in createAudioPatch()
124 if (!audio_patch_is_valid(patch) || (patch->num_sinks == 0 && patch->num_sources != 2)) { in createAudioPatch()
155 } else if (patch->num_sinks == 0 || in createAudioPatch()
187 for (unsigned int i = 0; i < patch->num_sinks; i++) { in createAudioPatch()
192 patch->num_sinks > 1) { in createAudioPatch()
218 (patch->num_sinks != 0 && patch->sinks[0].ext.device.hw_module != in createAudioPatch()
342 patch->num_sinks, in createAudioPatch()
359 for (unsigned int i = 0; i < patch->num_sinks; i++) { in createAudioPatch()
444 if (mAudioPatch.num_sinks != 0) { in createConnections()
655 mAudioPatch.num_sinks > 0 && mAudioPatch.sinks[0].type == AUDIO_PORT_TYPE_DEVICE; in dump()
[all …]
DDeviceEffectManager.cpp37 patch.mAudioPatch.num_sinks, in createAudioPatch()
38 patch.mAudioPatch.num_sinks > 0 ? patch.mAudioPatch.sinks[0].ext.device.type : 0); in createAudioPatch()
47 patch.mAudioPatch.num_sinks > 0 ? patch.mAudioPatch.sinks[0].ext.device.type : 0); in onCreateAudioPatch()
DThreads.cpp4073 for (unsigned int i = 0; i < patch->num_sinks; i++) { in createAudioPatch_l()
4112 bool configChanged = (mPatch.num_sinks == 0) || in createAudioPatch_l()
4121 patch->num_sinks, in createAudioPatch_l()
8376 patch->num_sinks, in createAudioPatch_l()
8939 for (unsigned int i = 0; i < patch->num_sinks; i++) { in createAudioPatch_l()
8950 numDevices = mPatch.num_sinks; in createAudioPatch_l()
8980 patch->num_sinks, in createAudioPatch_l()
DEffects.cpp2975 for (uint32_t i = 0; i < patch.mAudioPatch.num_sinks && status == NAME_NOT_FOUND; i++) { in onCreatePatch()
/frameworks/av/media/libaudioclient/include/media/
DAudioIoDescriptor.h49 if (mPatch.num_sources != 0 && mPatch.num_sinks != 0) { in getDeviceId()
/frameworks/av/media/libaudiohal/impl/
DDeviceHalLocal.cpp160 unsigned int num_sinks, in createAudioPatch() argument
165 mDev, num_sources, sources, num_sinks, sinks, patch); in createAudioPatch()
DDeviceHalLocal.h93 unsigned int num_sinks,
DDeviceHalHidl.h100 unsigned int num_sinks,
DDeviceHalHidl.cpp319 unsigned int num_sinks, in createAudioPatch() argument
325 HidlUtils::audioPortConfigsFromHal(num_sinks, sinks, &hidlSinks); in createAudioPatch()
/frameworks/av/media/libaudiohal/include/media/audiohal/
DDeviceHalInterface.h99 unsigned int num_sinks,
/frameworks/av/services/audiopolicy/tests/
Daudiopolicymanager_tests.cpp241 if (patch->num_sources != 0 && patch->num_sinks != 0) { in getDeviceIdFromPatch()
268 patch.num_sinks = 1; in TEST_F()
271 patch.num_sinks = AUDIO_PATCH_PORTS_MAX + 1; in TEST_F()
274 patch.num_sinks = 1; in TEST_F()
279 patch.num_sinks = 1; in TEST_F()
285 patch.num_sinks = 1; in TEST_F()
/frameworks/av/media/libmedia/include/media/
DPatchBuilder.h95 PortCfgs sinks() { return PortCfgs(&mPatch.num_sinks, mPatch.sinks); } in sinks()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp1186 for (size_t j = 0; j < patch->mPatch.num_sinks; ++j) { in getOutputForDevices()
3378 ALOGV("%s num sources %d num sinks %d", __func__, patch->num_sources, patch->num_sinks); in createAudioPatchInternal()
3391 for (size_t i = 0; i < patch->num_sinks; i++) { in createAudioPatchInternal()
3404 for (size_t i = 0; i < patch->num_sinks; i++) { in createAudioPatchInternal()
3438 for (size_t i = 0; i < patch->num_sinks; i++) { in createAudioPatchInternal()
3489 if (patch->num_sinks > 1) { in createAudioPatchInternal()
3556 for (size_t i = 0; i < patch->num_sinks; i++) { in createAudioPatchInternal()
3582 if (patch->num_sinks > 1) { in createAudioPatchInternal()
6111 for (size_t j = 0; j < patchDesc->mPatch.num_sinks && !release; j++) { in cleanUpForDevice()
6317 caller, status, afPatchHandle, patch->num_sources, patch->num_sinks); in installPatch()
/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp1503 nPatch.num_sinks++; in android_media_AudioSystem_createAudioPatch()
1649 i, nPatches[i].num_sources, nPatches[i].num_sinks); in android_media_AudioSystem_listAudioPatches()
1678 jSinks = env->NewObjectArray(nPatches[i].num_sinks, in android_media_AudioSystem_listAudioPatches()
1685 for (size_t j = 0; j < nPatches[i].num_sinks; j++) { in android_media_AudioSystem_listAudioPatches()