Home
last modified time | relevance | path

Searched refs:patchHandle (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/media/java/android/media/
DAudioPatch.java41 AudioPatch(AudioHandle patchHandle, AudioPortConfig[] sources, AudioPortConfig[] sinks) { in AudioPatch() argument
42 mHandle = patchHandle; in AudioPatch()
DAudioRecordingConfiguration.java85 AudioFormat devFormat, int patchHandle, String packageName, int clientPortId, in AudioRecordingConfiguration() argument
93 mPatchHandle = patchHandle; in AudioRecordingConfiguration()
108 int patchHandle, String packageName) { in AudioRecordingConfiguration() argument
110 devFormat, patchHandle, packageName, 0 /*clientPortId*/, in AudioRecordingConfiguration()
DAudioSystem.java786 int patchHandle = recordingFormat[6]; in recordingCallbackFromNative() local
788 if (patch.id() == patchHandle) { in recordingCallbackFromNative()
/frameworks/base/libs/hwui/jni/
DNinePatch.cpp80 static void finalize(JNIEnv* env, jobject, jlong patchHandle) { in finalize() argument
81 int8_t* patch = reinterpret_cast<int8_t*>(patchHandle); in finalize()
/frameworks/av/media/libaudioclient/aidl/android/media/
DIAudioPolicyServiceClient.aidl45 int /* audio_patch_handle_t */ patchHandle, in onRecordingConfigurationUpdate()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.h532 audio_patch_handle_t *patchHandle = NULL,
537 audio_patch_handle_t *patchHandle = NULL);
541 audio_patch_handle_t *patchHandle = NULL);
543 audio_patch_handle_t *patchHandle = NULL);
1209 audio_patch_handle_t *patchHandle,
1215 audio_patch_handle_t *patchHandle,
DAudioPolicyManager.cpp798 audio_patch_handle_t patchHandle = AUDIO_PATCH_HANDLE_NONE; in connectTelephonyTxAudioSource() local
800 mCallTxSourceClient, sinkDevice, patchBuilder.patch(), patchHandle, mUidCached, in connectTelephonyTxAudioSource()
4720 audio_patch_handle_t patchHandle = AUDIO_PATCH_HANDLE_NONE; in releaseAudioPatchInternal() local
4731 patchHandle = outputDesc->getPatchHandle(); in releaseAudioPatchInternal()
4753 patchHandle == AUDIO_PATCH_HANDLE_NONE ? nullptr : &patchHandle); in releaseAudioPatchInternal()
6957 audio_patch_handle_t *patchHandle, in setOutputDevices() argument
7033 installPatch(__func__, patchHandle, outputDesc.get(), patchBuilder.patch(), in setOutputDevices()
7045 audio_patch_handle_t *patchHandle) in resetOutputDevice() argument
7048 if (patchHandle == nullptr && !outputDesc->isRouted()) { in resetOutputDevice()
7051 if (patchHandle) { in resetOutputDevice()
[all …]
/frameworks/av/services/audioflinger/
DPatchPanel.h28 SoftwarePatch(const PatchPanel &patchPanel, audio_patch_handle_t patchHandle, in SoftwarePatch() argument
30 : mPatchPanel(patchPanel), mPatchHandle(patchHandle), in SoftwarePatch()
DPatchPanel.cpp820 for (const auto& patchHandle : module.second.sw_patches) { in getDownstreamSoftwarePatches() local
821 const auto& patch_iter = mPatches.find(patchHandle); in getDownstreamSoftwarePatches()
824 patches->emplace_back(*this, patchHandle, in getDownstreamSoftwarePatches()
828 ALOGE("Stale patch handle in the cache: %d", patchHandle); in getDownstreamSoftwarePatches()
DEffects.h710 status_t onCreatePatch(audio_patch_handle_t patchHandle, const PatchPanel::Patch& patch);
711 void onReleasePatch(audio_patch_handle_t patchHandle);
DEffects.cpp3263 audio_patch_handle_t patchHandle, const AudioFlinger::PatchPanel::Patch& patch) { in onCreatePatch() argument
3275 mEffectHandles.emplace(patchHandle, handle); in onCreatePatch()
3278 "%s cannot attach effect %s on patch %d", __func__, mDescriptor.name, patchHandle); in onCreatePatch()
3356 void AudioFlinger::DeviceEffectProxy::onReleasePatch(audio_patch_handle_t patchHandle) { in onReleasePatch() argument
3360 if (mEffectHandles.find(patchHandle) != mEffectHandles.end()) { in onReleasePatch()
3361 effect = mEffectHandles.at(patchHandle); in onReleasePatch()
3362 mEffectHandles.erase(patchHandle); in onReleasePatch()
/frameworks/av/services/audiopolicy/service/
DAudioPolicyClientImpl.cpp262 audio_patch_handle_t patchHandle, in onRecordingConfigurationUpdate() argument
266 clientConfig, clientEffects, deviceConfig, effects, patchHandle, source); in onRecordingConfigurationUpdate()
DAudioPolicyService.h329 audio_patch_handle_t patchHandle,
337 audio_patch_handle_t patchHandle,
578 audio_patch_handle_t patchHandle,
804 audio_patch_handle_t patchHandle,
849 audio_patch_handle_t patchHandle,
DAudioPolicyService.cpp460 audio_patch_handle_t patchHandle, in onRecordingConfigurationUpdate() argument
464 clientConfig, clientEffects, deviceConfig, effects, patchHandle, source); in onRecordingConfigurationUpdate()
474 audio_patch_handle_t patchHandle, in doOnRecordingConfigurationUpdate() argument
480 clientConfig, clientEffects, deviceConfig, effects, patchHandle, source); in doOnRecordingConfigurationUpdate()
682 audio_patch_handle_t patchHandle, in onRecordingConfigurationUpdate() argument
705 legacy2aidl_audio_patch_handle_t_int32_t(patchHandle)); in onRecordingConfigurationUpdate()
2480 audio_patch_handle_t patchHandle, in recordingConfigurationUpdateCommand() argument
2492 data->mPatchHandle = patchHandle; in recordingConfigurationUpdateCommand()
/frameworks/av/services/audiopolicy/tests/
DAudioPolicyTestClient.h85 audio_patch_handle_t patchHandle __unused, in onRecordingConfigurationUpdate()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DClientDescriptor.h229 void connect(audio_patch_handle_t patchHandle, const sp<DeviceDescriptor>& sinkDevice) { in connect() argument
230 mPatchHandle = patchHandle; in connect()
/frameworks/base/services/core/java/com/android/server/audio/
DRecordingActivityMonitor.java409 final int patchHandle = recordingInfo[6]; in createRecordingConfiguration() local
418 clientFormat, deviceFormat, patchHandle, packageName, in createRecordingConfiguration()
/frameworks/av/media/libaudioclient/include/media/
DAudioSystem.h77 audio_patch_handle_t patchHandle,
773 int32_t patchHandle,
/frameworks/av/services/audiopolicy/
DAudioPolicyInterface.h531 audio_patch_handle_t patchHandle,
/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp521 audio_patch_handle_t patchHandle, in android_media_AudioSystem_recording_callback() argument
550 recParamData[6] = (jint) patchHandle; in android_media_AudioSystem_recording_callback()
1869 jobject patchHandle = env->NewObject(gAudioHandleClass, gAudioHandleCstor, in android_media_AudioSystem_listAudioPatches() local
1871 if (patchHandle == NULL) { in android_media_AudioSystem_listAudioPatches()
1878 env->SetIntField(patchHandle, gAudioHandleFields.mId, nPatches[i].id); in android_media_AudioSystem_listAudioPatches()
1931 patchHandle, jSources, jSinks); in android_media_AudioSystem_listAudioPatches()
/frameworks/av/media/libaudioclient/
DAudioSystem.cpp2630 int32_t patchHandle, in onRecordingConfigurationUpdate() argument
2655 aidl2legacy_int32_t_audio_patch_handle_t(patchHandle)); in onRecordingConfigurationUpdate()