Lines Matching defs:handle

71                                    audio_patch_handle_t *handle)
75 return mPatchPanel->createAudioPatch(patch, handle);
81 status_t AudioFlinger::releaseAudioPatch(audio_patch_handle_t handle)
85 return mPatchPanel->releaseAudioPatch(handle);
140 audio_patch_handle_t *handle)
145 if (handle == NULL || patch == NULL) {
148 ALOGV("createAudioPatch() num_sources %d num_sinks %d handle %d",
149 patch->num_sources, patch->num_sinks, *handle);
165 if (*handle != AUDIO_PATCH_HANDLE_NONE) {
166 for (size_t index = 0; *handle != 0 && index < mPatches.size(); index++) {
167 if (*handle == mPatches[index]->mHandle) {
168 ALOGV("createAudioPatch() removing patch handle %d", *handle);
265 audioflinger->checkPlaybackThread_l(patch->sources[1].ext.mix.handle);
335 patch->sinks[0].ext.mix.handle);
337 thread = audioflinger->checkMmapThread_l(patch->sinks[0].ext.mix.handle);
339 ALOGW("createAudioPatch() bad capture I/O handle %d",
340 patch->sinks[0].ext.mix.handle);
382 audioflinger->checkPlaybackThread_l(patch->sources[0].ext.mix.handle);
384 thread = audioflinger->checkMmapThread_l(patch->sources[0].ext.mix.handle);
386 ALOGW("createAudioPatch() bad playback I/O handle %d",
387 patch->sources[0].ext.mix.handle);
408 *handle = (audio_patch_handle_t) audioflinger->nextUniqueId(AUDIO_UNIQUE_ID_USE_PATCH);
409 newPatch->mHandle = *handle;
412 ALOGV("createAudioPatch() added new patch handle %d halHandle %d", *handle, halHandle);
572 status_t AudioFlinger::PatchPanel::releaseAudioPatch(audio_patch_handle_t handle)
574 ALOGV("releaseAudioPatch handle %d", handle);
584 if (handle == mPatches[index]->mHandle) {
614 patch->sinks[0].ext.mix.handle);
616 thread = audioflinger->checkMmapThread_l(patch->sinks[0].ext.mix.handle);
618 ALOGW("releaseAudioPatch() bad capture I/O handle %d",
619 patch->sinks[0].ext.mix.handle);
640 audioflinger->checkPlaybackThread_l(patch->sources[0].ext.mix.handle);
642 thread = audioflinger->checkMmapThread_l(patch->sources[0].ext.mix.handle);
644 ALOGW("releaseAudioPatch() bad playback I/O handle %d",
645 patch->sources[0].ext.mix.handle);