/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioPatch.cpp | 57 dumpPatchEndpoints(dst, spaces, "src ", mPatch.num_sources, mPatch.sources); in dump() 73 handle, patch->getAfHandle(), patch->mPatch.num_sources, patch->mPatch.num_sinks, in addAudioPatch() 111 for (size_t srcIndex = 0; srcIndex < patch->mPatch.num_sources && !skip; srcIndex++) { in listAudioPatches() 132 patchIndex, patch->mPatch.num_sources, patch->mPatch.num_sinks); in listAudioPatches()
|
/frameworks/av/services/audioflinger/ |
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() 134 if (patch->num_sources > 2) { in createAudioPatch_l() 222 if ((patch->num_sources == 2) || in createAudioPatch_l() 228 if (patch->num_sources == 2) { in createAudioPatch_l() 305 if (patch->num_sources == 2 in createAudioPatch_l() 362 status = hwDevice->createAudioPatch(patch->num_sources, in createAudioPatch_l() 566 if (mAudioPatch.num_sources == 2 && mAudioPatch.sources[1].type == AUDIO_PORT_TYPE_MIX) { in createConnections_l() 753 mAudioPatch.num_sources > 0 && mAudioPatch.sources[0].type == AUDIO_PORT_TYPE_DEVICE; in dump() 758 (hasSourceDevice ? mAudioPatch.num_sources : 0), in dump()
|
D | MelReporter.cpp | 135 if (patch.mAudioPatch.num_sources == 0 in onCreateAudioPatch()
|
D | Threads.cpp | 346 for (size_t i = 0; i < patch->num_sources; ++i) { in patchSourcesToString() 4985 status = hwDevice->createAudioPatch(patch->num_sources, in createAudioPatch_l() 9878 status = hwDevice->createAudioPatch(patch->num_sources, in createAudioPatch_l() 9890 if ((mPatch.num_sources == 0) || (mPatch.sources[0].id != deviceId)) { in createAudioPatch_l() 10701 numDevices = mPatch.num_sources; in createAudioPatch_l() 10735 status = mHalDevice->createAudioPatch(patch->num_sources, patch->sources, patch->num_sinks, in createAudioPatch_l()
|
/frameworks/av/media/libmediahelper/ |
D | AudioValidator.cpp | 105 if (patch.num_sources > AUDIO_PATCH_PORTS_MAX) { in validateAudioPatch() 111 for (size_t i = 0; i < patch.num_sources; 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 | 96 PortCfgs sources() { return PortCfgs(&mPatch.num_sources, mPatch.sources); } in sources()
|
/frameworks/av/media/libaudioclient/ |
D | AidlConversion.cpp | 395 legacy.num_sources = VALUE_OR_RETURN(convertIntegral<unsigned int>(aidl.sources.size())); in aidl2legacy_AudioPatchFw_audio_patch() 396 if (legacy.num_sources > AUDIO_PATCH_PORTS_MAX) { in aidl2legacy_AudioPatchFw_audio_patch() 399 for (size_t i = 0; i < legacy.num_sources; ++i) { in aidl2legacy_AudioPatchFw_audio_patch() 418 if (legacy.num_sources > AUDIO_PATCH_PORTS_MAX) { in legacy2aidl_audio_patch_AudioPatchFw() 421 for (unsigned int i = 0; i < legacy.num_sources; ++i) { in legacy2aidl_audio_patch_AudioPatchFw()
|
/frameworks/av/media/libaudiohal/include/media/audiohal/ |
D | DeviceHalInterface.h | 113 unsigned int num_sources,
|
/frameworks/av/media/libaudiohal/impl/ |
D | DeviceHalHidl.h | 90 status_t createAudioPatch(unsigned int num_sources, const struct audio_port_config* sources,
|
D | DeviceHalAidl.h | 136 status_t createAudioPatch(unsigned int num_sources, const struct audio_port_config* sources,
|
D | DeviceHalHidl.cpp | 400 unsigned int num_sources, in createAudioPatch() argument 419 HidlUtils::audioPortConfigsFromHal(num_sources, sources, &hidlSources); in createAudioPatch()
|
D | DeviceHalAidl.cpp | 579 status_t DeviceHalAidl::createAudioPatch(unsigned int num_sources, in createAudioPatch() argument 587 if (num_sinks > AUDIO_PATCH_PORTS_MAX || num_sources > AUDIO_PATCH_PORTS_MAX || in createAudioPatch() 608 for (unsigned int i = 0; i < num_sources; ++i) { in createAudioPatch()
|
/frameworks/av/services/audiopolicy/fuzzer/ |
D | audiopolicy_fuzzer.cpp | 343 if (patch->num_sources != 0 && patch->num_sinks != 0) { in getDeviceIdFromPatch() 356 patch.num_sources = mFdp->ConsumeIntegralInRange(0, AUDIO_PATCH_PORTS_MAX); in createFuzzedPatch() 357 for (int i = 0; i < patch.num_sources; ++i) { in createFuzzedPatch()
|
/frameworks/av/media/libaudioclient/tests/ |
D | audiorouting_tests.cpp | 74 for (auto j = 0; j < patch.num_sources; j++) { in TEST()
|
D | audio_test_utils.cpp | 656 for (auto j = 0; j < patches[i].num_sources; j++) { in getPatchForOutputMix() 694 for (auto j = 0; j < patch.num_sources; j++) { in patchContainsInputDevice()
|
D | audiosystem_tests.cpp | 272 audioPatch.num_sources = 1; in TEST_F()
|
/frameworks/av/services/audiopolicy/tests/ |
D | audiopolicymanager_tests.cpp | 381 if (patch->num_sources != 0 && patch->num_sinks != 0) { in getDeviceIdFromPatch() 407 patch.num_sources = AUDIO_PATCH_PORTS_MAX + 1; in TEST_F() 410 patch.num_sources = 1; in TEST_F() 413 patch.num_sources = 2; in TEST_F() 417 patch.num_sources = 1; in TEST_F() 423 patch.num_sources = 1; in TEST_F() 723 ASSERT_EQ(1, patch->mPatch.num_sources); in TEST_P()
|
/frameworks/av/services/audiopolicy/service/ |
D | AudioPolicyService.cpp | 2498 if (patch.num_sources == patch2.num_sources) { in insertCommand_l() 2499 for (unsigned count = 0; count < patch.num_sources; count++) { in insertCommand_l()
|
/frameworks/av/services/audiopolicy/managerdefault/ |
D | AudioPolicyManager.cpp | 1796 for (size_t j = 0; j < patch->mPatch.num_sources; ++j) { in getMsdOutputPatches() 5067 ALOGV("%s num sources %d num sinks %d", __func__, patch->num_sources, patch->num_sinks); in createAudioPatch() 5072 if (patch->num_sources > 1) { in createAudioPatch() 5165 ALOGV("%s num sources %d num sinks %d", __func__, patch->num_sources, patch->num_sinks); in createAudioPatchInternal() 5529 if (patch->num_sources > 1 && patch->sources[1].type == AUDIO_PORT_TYPE_MIX) { in releaseAudioPatchInternal() 5531 } else if (patch->num_sources == 1 && sourceDesc != nullptr) { in releaseAudioPatchInternal() 8478 for (size_t j = 0; j < patchDesc->mPatch.num_sources && !release; j++) { in cleanUpForDevice() 8683 caller, status, afPatchHandle, patch->num_sources, patch->num_sinks); in installPatch()
|
/frameworks/base/core/jni/ |
D | android_media_AudioSystem.cpp | 1738 nPatch.num_sources++; in android_media_AudioSystem_createAudioPatch() 1879 i, nPatches[i].num_sources, nPatches[i].num_sinks); in android_media_AudioSystem_listAudioPatches() 1884 jSources.reset(env->NewObjectArray(nPatches[i].num_sources, gAudioPortConfigClass, NULL)); in android_media_AudioSystem_listAudioPatches() 1890 for (size_t j = 0; j < nPatches[i].num_sources; j++) { in android_media_AudioSystem_listAudioPatches()
|
/frameworks/av/media/libaudioclient/fuzzer/ |
D | audioflinger_fuzzer.cpp | 724 patch.num_sources = mFdp.ConsumeIntegral<uint32_t>(); in invokeAudioPatch()
|