/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioPatch.cpp | 55 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/ |
D | PatchPanel.cpp | 120 __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 …]
|
D | DeviceEffectManager.cpp | 37 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()
|
D | Threads.cpp | 4073 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()
|
D | Effects.cpp | 2975 for (uint32_t i = 0; i < patch.mAudioPatch.num_sinks && status == NAME_NOT_FOUND; i++) { in onCreatePatch()
|
/frameworks/av/media/libaudioclient/include/media/ |
D | AudioIoDescriptor.h | 49 if (mPatch.num_sources != 0 && mPatch.num_sinks != 0) { in getDeviceId()
|
/frameworks/av/media/libaudiohal/impl/ |
D | DeviceHalLocal.cpp | 160 unsigned int num_sinks, in createAudioPatch() argument 165 mDev, num_sources, sources, num_sinks, sinks, patch); in createAudioPatch()
|
D | DeviceHalLocal.h | 93 unsigned int num_sinks,
|
D | DeviceHalHidl.h | 100 unsigned int num_sinks,
|
D | DeviceHalHidl.cpp | 319 unsigned int num_sinks, in createAudioPatch() argument 325 HidlUtils::audioPortConfigsFromHal(num_sinks, sinks, &hidlSinks); in createAudioPatch()
|
/frameworks/av/media/libaudiohal/include/media/audiohal/ |
D | DeviceHalInterface.h | 99 unsigned int num_sinks,
|
/frameworks/av/services/audiopolicy/tests/ |
D | audiopolicymanager_tests.cpp | 241 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/ |
D | PatchBuilder.h | 95 PortCfgs sinks() { return PortCfgs(&mPatch.num_sinks, mPatch.sinks); } in sinks()
|
/frameworks/av/services/audiopolicy/managerdefault/ |
D | AudioPolicyManager.cpp | 1186 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/ |
D | android_media_AudioSystem.cpp | 1503 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()
|