/frameworks/av/services/audioflinger/ |
D | PatchCommandThread.cpp | 50 patch.mAudioPatch.num_sinks, in createAudioPatch() 51 patch.mAudioPatch.num_sinks > 0 ? patch.mAudioPatch.sinks[0].ext.device.type : 0); in createAudioPatch() 65 patch.mAudioPatch.num_sinks, in updateAudioPatch() 66 patch.mAudioPatch.num_sinks > 0 ? patch.mAudioPatch.sinks[0].ext.device.type : 0); in updateAudioPatch()
|
D | PatchPanel.cpp | 125 __func__, patch->num_sources, patch->num_sinks, *handle); in createAudioPatch_l() 129 if (!audio_patch_is_valid(patch) || (patch->num_sinks == 0 && patch->num_sources != 2)) { in createAudioPatch_l() 162 } else if (patch->num_sinks == 0 || in createAudioPatch_l() 199 for (unsigned int i = 0; i < patch->num_sinks; i++) { in createAudioPatch_l() 204 patch->num_sinks > 1) { in createAudioPatch_l() 230 (patch->num_sinks != 0 && patch->sinks[0].ext.device.hw_module != in createAudioPatch_l() 364 patch->num_sinks, in createAudioPatch_l() 381 for (unsigned int i = 0; i < patch->num_sinks; i++) { in createAudioPatch_l() 522 if (mAudioPatch.num_sinks != 0) { in createConnections_l() 751 mAudioPatch.num_sinks > 0 && mAudioPatch.sinks[0].type == AUDIO_PORT_TYPE_DEVICE; in dump() [all …]
|
D | DeviceEffectManager.cpp | 61 patch.mAudioPatch.num_sinks > 0 ? patch.mAudioPatch.sinks[0].ext.device.type : 0); in onCreateAudioPatch() 86 patch.mAudioPatch.num_sinks > 0 ? patch.mAudioPatch.sinks[0].ext.device.type : 0); in onUpdateAudioPatch()
|
D | MelReporter.cpp | 134 patch.mAudioPatch.num_sinks > 0 ? patch.mAudioPatch.sinks[0].ext.device.type : 0); in onCreateAudioPatch() 145 for (size_t i = 0; i < patch.mAudioPatch.num_sinks; ++i) { in onCreateAudioPatch()
|
D | Threads.cpp | 333 for (size_t i = 0; i < patch->num_sinks; ++i) { in patchSinksToString() 4938 for (unsigned int i = 0; i < patch->num_sinks; i++) { in createAudioPatch_l() 4977 bool configChanged = (mPatch.num_sinks == 0) || in createAudioPatch_l() 4987 patch->num_sinks, in createAudioPatch_l() 9880 patch->num_sinks, in createAudioPatch_l() 10686 for (unsigned int i = 0; i < patch->num_sinks; i++) { in createAudioPatch_l() 10697 numDevices = mPatch.num_sinks; in createAudioPatch_l() 10735 status = mHalDevice->createAudioPatch(patch->num_sources, patch->sources, patch->num_sinks, in createAudioPatch_l()
|
D | Effects.cpp | 3466 for (uint32_t i = 0; i < patch.mAudioPatch.num_sinks && status == NAME_NOT_FOUND; i++) { in onCreatePatch()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioPatch.cpp | 58 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/media/libmediahelper/ |
D | AudioValidator.cpp | 108 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/ |
D | AudioIoDescriptor.h | 73 if (mPatch.num_sources != 0 && mPatch.num_sinks != 0) { in getDeviceId()
|
/frameworks/av/media/libmedia/include/media/ |
D | PatchBuilder.h | 95 PortCfgs sinks() { return PortCfgs(&mPatch.num_sinks, mPatch.sinks); } in sinks()
|
/frameworks/av/media/libaudioclient/ |
D | AidlConversion.cpp | 387 legacy.num_sinks = VALUE_OR_RETURN(convertIntegral<unsigned int>(aidl.sinks.size())); in aidl2legacy_AudioPatchFw_audio_patch() 388 if (legacy.num_sinks > AUDIO_PATCH_PORTS_MAX) { in aidl2legacy_AudioPatchFw_audio_patch() 391 for (size_t i = 0; i < legacy.num_sinks; ++i) { in aidl2legacy_AudioPatchFw_audio_patch() 411 if (legacy.num_sinks > AUDIO_PATCH_PORTS_MAX) { in legacy2aidl_audio_patch_AudioPatchFw() 414 for (unsigned int i = 0; i < legacy.num_sinks; ++i) { in legacy2aidl_audio_patch_AudioPatchFw()
|
/frameworks/av/media/libaudiohal/include/media/audiohal/ |
D | DeviceHalInterface.h | 115 unsigned int num_sinks,
|
/frameworks/av/media/libaudiohal/impl/ |
D | DeviceHalHidl.h | 91 unsigned int num_sinks, const struct audio_port_config* sinks,
|
D | DeviceHalAidl.h | 137 unsigned int num_sinks, const struct audio_port_config* sinks,
|
D | DeviceHalHidl.cpp | 402 unsigned int num_sinks, in createAudioPatch() argument 420 HidlUtils::audioPortConfigsFromHal(num_sinks, sinks, &hidlSinks); in createAudioPatch()
|
D | DeviceHalAidl.cpp | 581 unsigned int num_sinks, in createAudioPatch() argument 587 if (num_sinks > AUDIO_PATCH_PORTS_MAX || num_sources > AUDIO_PATCH_PORTS_MAX || in createAudioPatch() 616 for (unsigned int i = 0; i < num_sinks; ++i) { in createAudioPatch()
|
/frameworks/av/services/audiopolicy/fuzzer/ |
D | audiopolicy_fuzzer.cpp | 343 if (patch->num_sources != 0 && patch->num_sinks != 0) { in getDeviceIdFromPatch() 363 patch.num_sinks = mFdp->ConsumeIntegralInRange(0, AUDIO_PATCH_PORTS_MAX); in createFuzzedPatch() 364 for (int i = 0; i < patch.num_sinks; ++i) { in createFuzzedPatch()
|
/frameworks/av/media/libaudioclient/tests/ |
D | audio_test_utils.cpp | 673 for (auto j = 0; j < patches[i].num_sinks; j++) { in getPatchForInputMix() 685 for (auto j = 0; j < patch.num_sinks; j++) { in patchContainsOutputDevice()
|
D | audiosystem_tests.cpp | 273 audioPatch.num_sinks = 1; in TEST_F()
|
/frameworks/av/services/audiopolicy/managerdefault/ |
D | AudioPolicyManager.cpp | 2039 for (size_t j = 0; j < patch->mPatch.num_sinks; ++j) { in releaseMsdOutputPatches() 2056 for (size_t j = 0; j < patch->mPatch.num_sinks; ++j) { in msdHasPatchesToAllDevices() 5067 ALOGV("%s num sources %d num sinks %d", __func__, patch->num_sources, patch->num_sinks); in createAudioPatch() 5078 for (size_t i = 0; i < patch->num_sinks; i++) { in createAudioPatch() 5165 ALOGV("%s num sources %d num sinks %d", __func__, patch->num_sources, patch->num_sinks); in createAudioPatchInternal() 5173 for (size_t i = 0; i < patch->num_sinks; i++) { in createAudioPatchInternal() 5207 for (size_t i = 0; i < patch->num_sinks; i++) { in createAudioPatchInternal() 5259 if (patch->num_sinks > 1) { in createAudioPatchInternal() 5336 for (size_t i = 0; i < patch->num_sinks; i++) { in createAudioPatchInternal() 5423 if (patch->num_sinks > 1) { in createAudioPatchInternal() [all …]
|
/frameworks/av/services/audiopolicy/tests/ |
D | audiopolicymanager_tests.cpp | 381 if (patch->num_sources != 0 && patch->num_sinks != 0) { in getDeviceIdFromPatch() 408 patch.num_sinks = 1; in TEST_F() 411 patch.num_sinks = AUDIO_PATCH_PORTS_MAX + 1; in TEST_F() 414 patch.num_sinks = 1; in TEST_F() 419 patch.num_sinks = 1; in TEST_F() 425 patch.num_sinks = 1; in TEST_F() 724 ASSERT_EQ(1, patch->mPatch.num_sinks); in TEST_P()
|
/frameworks/base/core/jni/ |
D | android_media_AudioSystem.cpp | 1750 nPatch.num_sinks++; in android_media_AudioSystem_createAudioPatch() 1879 i, nPatches[i].num_sources, nPatches[i].num_sinks); in android_media_AudioSystem_listAudioPatches() 1908 jSinks.reset(env->NewObjectArray(nPatches[i].num_sinks, gAudioPortConfigClass, NULL)); in android_media_AudioSystem_listAudioPatches() 1914 for (size_t j = 0; j < nPatches[i].num_sinks; j++) { in android_media_AudioSystem_listAudioPatches()
|
/frameworks/av/media/libaudioclient/fuzzer/ |
D | audioflinger_fuzzer.cpp | 725 patch.num_sinks = mFdp.ConsumeIntegral<uint32_t>(); in invokeAudioPatch()
|