Home
last modified time | relevance | path

Searched refs:num_sinks (Results 1 – 19 of 19) 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.cpp143 __func__, patch->num_sources, patch->num_sinks, *handle); in createAudioPatch()
147 if (!audio_patch_is_valid(patch) || (patch->num_sinks == 0 && patch->num_sources != 2)) { in createAudioPatch()
178 } else if (patch->num_sinks == 0 || in createAudioPatch()
211 for (unsigned int i = 0; i < patch->num_sinks; i++) { in createAudioPatch()
216 patch->num_sinks > 1) { in createAudioPatch()
242 (patch->num_sinks != 0 && patch->sinks[0].ext.device.hw_module != in createAudioPatch()
366 patch->num_sinks, in createAudioPatch()
383 for (unsigned int i = 0; i < patch->num_sinks; i++) { in createAudioPatch()
474 if (mAudioPatch.num_sinks != 0) { in createConnections()
686 mAudioPatch.num_sinks > 0 && mAudioPatch.sinks[0].type == AUDIO_PORT_TYPE_DEVICE; in dump()
[all …]
DDeviceEffectManager.cpp39 patch.mAudioPatch.num_sinks, in createAudioPatch()
40 patch.mAudioPatch.num_sinks > 0 ? patch.mAudioPatch.sinks[0].ext.device.type : 0); in createAudioPatch()
49 patch.mAudioPatch.num_sinks > 0 ? patch.mAudioPatch.sinks[0].ext.device.type : 0); in onCreateAudioPatch()
DThreads.cpp241 for (size_t i = 0; i < patch->num_sinks; ++i) { in patchSinksToString()
4307 for (unsigned int i = 0; i < patch->num_sinks; i++) { in createAudioPatch_l()
4346 bool configChanged = (mPatch.num_sinks == 0) || in createAudioPatch_l()
4356 patch->num_sinks, in createAudioPatch_l()
8805 patch->num_sinks, in createAudioPatch_l()
9542 for (unsigned int i = 0; i < patch->num_sinks; i++) { in createAudioPatch_l()
9553 numDevices = mPatch.num_sinks; in createAudioPatch_l()
9583 patch->num_sinks, in createAudioPatch_l()
DEffects.cpp3108 for (uint32_t i = 0; i < patch.mAudioPatch.num_sinks && status == NAME_NOT_FOUND; i++) { in onCreatePatch()
/frameworks/av/media/libmediahelper/
DAudioValidator.cpp109 if (patch.num_sinks > AUDIO_PATCH_PORTS_MAX) { in validateAudioPatch()
117 for (size_t i = 0; i < patch.num_sinks; i++) { in validateAudioPatch()
/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.cpp305 unsigned int num_sinks, in createAudioPatch() argument
322 HidlUtils::audioPortConfigsFromHal(num_sinks, sinks, &hidlSinks); in createAudioPatch()
/frameworks/av/media/libaudiohal/include/media/audiohal/
DDeviceHalInterface.h99 unsigned int num_sinks,
/frameworks/av/media/libmedia/include/media/
DPatchBuilder.h95 PortCfgs sinks() { return PortCfgs(&mPatch.num_sinks, mPatch.sinks); } in sinks()
/frameworks/av/services/audiopolicy/tests/
Daudiopolicymanager_tests.cpp295 if (patch->num_sources != 0 && patch->num_sinks != 0) { in getDeviceIdFromPatch()
322 patch.num_sinks = 1; in TEST_F()
325 patch.num_sinks = AUDIO_PATCH_PORTS_MAX + 1; in TEST_F()
328 patch.num_sinks = 1; in TEST_F()
333 patch.num_sinks = 1; in TEST_F()
339 patch.num_sinks = 1; in TEST_F()
633 ASSERT_EQ(1, patch->mPatch.num_sinks); in TEST_P()
/frameworks/av/services/audiopolicy/fuzzer/
Daudiopolicy_fuzzer.cpp325 if (patch->num_sources != 0 && patch->num_sinks != 0) { in getDeviceIdFromPatch()
345 patch.num_sinks = mFdp->ConsumeIntegralInRange(0, AUDIO_PATCH_PORTS_MAX); in createFuzzedPatch()
346 for (int i = 0; i < patch.num_sinks; ++i) { in createFuzzedPatch()
/frameworks/av/media/libaudioclient/
DAidlConversion.cpp1108 legacy.num_sinks = VALUE_OR_RETURN(convertIntegral<unsigned int>(aidl.sinks.size())); in aidl2legacy_AudioPatch_audio_patch()
1109 if (legacy.num_sinks > AUDIO_PATCH_PORTS_MAX) { in aidl2legacy_AudioPatch_audio_patch()
1112 for (size_t i = 0; i < legacy.num_sinks; ++i) { in aidl2legacy_AudioPatch_audio_patch()
1132 if (legacy.num_sinks > AUDIO_PATCH_PORTS_MAX) { in legacy2aidl_audio_patch_AudioPatch()
1135 for (unsigned int i = 0; i < legacy.num_sinks; ++i) { in legacy2aidl_audio_patch_AudioPatch()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp1596 for (size_t j = 0; j < patch->mPatch.num_sinks; ++j) { in releaseMsdOutputPatches()
3799 ALOGV("%s num sources %d num sinks %d", __func__, patch->num_sources, patch->num_sinks); in createAudioPatchInternal()
3812 for (size_t i = 0; i < patch->num_sinks; i++) { in createAudioPatchInternal()
3825 for (size_t i = 0; i < patch->num_sinks; i++) { in createAudioPatchInternal()
3859 for (size_t i = 0; i < patch->num_sinks; i++) { in createAudioPatchInternal()
3910 if (patch->num_sinks > 1) { in createAudioPatchInternal()
3986 for (size_t i = 0; i < patch->num_sinks; i++) { in createAudioPatchInternal()
4047 if (patch->num_sinks > 1) { in createAudioPatchInternal()
6722 for (size_t j = 0; j < patchDesc->mPatch.num_sinks && !release; j++) { in cleanUpForDevice()
6932 caller, status, afPatchHandle, patch->num_sources, patch->num_sinks); in installPatch()
[all …]
/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp1665 nPatch.num_sinks++; in android_media_AudioSystem_createAudioPatch()
1811 i, nPatches[i].num_sources, nPatches[i].num_sinks); in android_media_AudioSystem_listAudioPatches()
1840 jSinks = env->NewObjectArray(nPatches[i].num_sinks, in android_media_AudioSystem_listAudioPatches()
1847 for (size_t j = 0; j < nPatches[i].num_sinks; j++) { in android_media_AudioSystem_listAudioPatches()
/frameworks/av/media/libaudioclient/fuzzer/
Daudioflinger_fuzzer.cpp683 patch.num_sinks = mFdp.ConsumeIntegral<uint32_t>(); in invokeAudioPatch()