Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioPatch.cpp58 dumpPatchEndpoints(dst, spaces, "sink", mPatch.num_sinks, mPatch.sinks); in dump()
73 handle, patch->getAfHandle(), patch->mPatch.num_sources, patch->mPatch.num_sinks, in addAudioPatch()
117 for (size_t sinkIndex = 0; sinkIndex < patch->mPatch.num_sinks && !skip; sinkIndex++) { in listAudioPatches()
132 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()
375 patch->num_sinks, in createAudioPatch()
392 for (unsigned int i = 0; i < patch->num_sinks; i++) { in createAudioPatch()
483 if (mAudioPatch.num_sinks != 0) { in createConnections()
711 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.cpp249 for (size_t i = 0; i < patch->num_sinks; ++i) { in patchSinksToString()
4595 for (unsigned int i = 0; i < patch->num_sinks; i++) { in createAudioPatch_l()
4634 bool configChanged = (mPatch.num_sinks == 0) || in createAudioPatch_l()
4644 patch->num_sinks, in createAudioPatch_l()
9303 patch->num_sinks, in createAudioPatch_l()
10036 for (unsigned int i = 0; i < patch->num_sinks; i++) { in createAudioPatch_l()
10047 numDevices = mPatch.num_sinks; in createAudioPatch_l()
10075 status = mHalDevice->createAudioPatch(patch->num_sources, patch->sources, patch->num_sinks, in createAudioPatch_l()
DEffects.cpp3269 for (uint32_t i = 0; i < patch.mAudioPatch.num_sinks && status == NAME_NOT_FOUND; i++) { in onCreatePatch()
/frameworks/av/media/libmediahelper/
DAudioValidator.cpp108 if (patch.num_sinks > AUDIO_PATCH_PORTS_MAX) { in validateAudioPatch()
116 for (size_t i = 0; i < patch.num_sinks; i++) { in validateAudioPatch()
/frameworks/av/media/libaudioclient/include/media/
DAudioIoDescriptor.h73 if (mPatch.num_sources != 0 && mPatch.num_sinks != 0) { in getDeviceId()
/frameworks/av/media/libmedia/include/media/
DPatchBuilder.h95 PortCfgs sinks() { return PortCfgs(&mPatch.num_sinks, mPatch.sinks); } in sinks()
/frameworks/av/media/libaudiohal/include/media/audiohal/
DDeviceHalInterface.h102 unsigned int num_sinks,
/frameworks/av/media/libaudiohal/impl/
DDeviceHalHidl.h96 unsigned int num_sinks,
DDeviceHalHidl.cpp355 unsigned int num_sinks, in createAudioPatch() argument
373 HidlUtils::audioPortConfigsFromHal(num_sinks, sinks, &hidlSinks); in createAudioPatch()
/frameworks/av/services/audiopolicy/tests/
Daudiopolicymanager_tests.cpp305 if (patch->num_sources != 0 && patch->num_sinks != 0) { in getDeviceIdFromPatch()
332 patch.num_sinks = 1; in TEST_F()
335 patch.num_sinks = AUDIO_PATCH_PORTS_MAX + 1; in TEST_F()
338 patch.num_sinks = 1; in TEST_F()
343 patch.num_sinks = 1; in TEST_F()
349 patch.num_sinks = 1; in TEST_F()
649 ASSERT_EQ(1, patch->mPatch.num_sinks); in TEST_P()
/frameworks/av/services/audiopolicy/fuzzer/
Daudiopolicy_fuzzer.cpp336 if (patch->num_sources != 0 && patch->num_sinks != 0) { in getDeviceIdFromPatch()
356 patch.num_sinks = mFdp->ConsumeIntegralInRange(0, AUDIO_PATCH_PORTS_MAX); in createFuzzedPatch()
357 for (int i = 0; i < patch.num_sinks; ++i) { in createFuzzedPatch()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp1798 for (size_t j = 0; j < patch->mPatch.num_sinks; ++j) { in releaseMsdOutputPatches()
1814 for (size_t j = 0; j < patch->mPatch.num_sinks; ++j) { in msdHasPatchesToAllDevices()
4268 ALOGV("%s num sources %d num sinks %d", __func__, patch->num_sources, patch->num_sinks); in createAudioPatch()
4279 for (size_t i = 0; i < patch->num_sinks; i++) { in createAudioPatch()
4364 ALOGV("%s num sources %d num sinks %d", __func__, patch->num_sources, patch->num_sinks); in createAudioPatchInternal()
4372 for (size_t i = 0; i < patch->num_sinks; i++) { in createAudioPatchInternal()
4406 for (size_t i = 0; i < patch->num_sinks; i++) { in createAudioPatchInternal()
4457 if (patch->num_sinks > 1) { in createAudioPatchInternal()
4533 for (size_t i = 0; i < patch->num_sinks; i++) { in createAudioPatchInternal()
4615 if (patch->num_sinks > 1) { in createAudioPatchInternal()
[all …]
/frameworks/av/media/libaudioclient/
DAidlConversion.cpp2056 legacy.num_sinks = VALUE_OR_RETURN(convertIntegral<unsigned int>(aidl.sinks.size())); in aidl2legacy_AudioPatch_audio_patch()
2057 if (legacy.num_sinks > AUDIO_PATCH_PORTS_MAX) { in aidl2legacy_AudioPatch_audio_patch()
2060 for (size_t i = 0; i < legacy.num_sinks; ++i) { in aidl2legacy_AudioPatch_audio_patch()
2080 if (legacy.num_sinks > AUDIO_PATCH_PORTS_MAX) { in legacy2aidl_audio_patch_AudioPatch()
2083 for (unsigned int i = 0; i < legacy.num_sinks; ++i) { in legacy2aidl_audio_patch_AudioPatch()
/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp1730 nPatch.num_sinks++; in android_media_AudioSystem_createAudioPatch()
1876 i, nPatches[i].num_sources, nPatches[i].num_sinks); in android_media_AudioSystem_listAudioPatches()
1905 jSinks = env->NewObjectArray(nPatches[i].num_sinks, in android_media_AudioSystem_listAudioPatches()
1912 for (size_t j = 0; j < nPatches[i].num_sinks; j++) { in android_media_AudioSystem_listAudioPatches()
/frameworks/av/media/libaudioclient/fuzzer/
Daudioflinger_fuzzer.cpp694 patch.num_sinks = mFdp.ConsumeIntegral<uint32_t>(); in invokeAudioPatch()