Lines Matching defs:handle

166     //  Supporting this option will require fixing HALs that can't handle large writes.
653 audio_patch_handle_t *handle)
656 sp<ConfigEvent> configEvent = (ConfigEvent *)new CreateAudioPatchConfigEvent(*patch, *handle);
661 *handle = data->mHandle;
667 const audio_patch_handle_t handle)
670 sp<ConfigEvent> configEvent = (ConfigEvent *)new ReleaseAudioPatchConfigEvent(handle);
821 dprintf(fd, " I/O handle: %d\n", mId);
1281 sp<EffectHandle> handle;
1341 // create effect handle and connect it to effect module
1342 handle = new EffectHandle(effect, client, effectClient, priority);
1343 lStatus = handle->initCheck();
1345 lStatus = effect->addHandle(handle.get());
1364 // handle must be cleared by caller to avoid deadlock.
1368 return handle;
1371 void AudioFlinger::ThreadBase::disconnectEffectHandle(EffectHandle *handle,
1379 effect = handle->effect().promote();
1383 // restore suspended effects if the disconnected handle was enabled and the last one.
1384 remove = (effect->removeHandle(handle) == 0) && (!effect->isPinned() || unpinIfLast);
1392 if (handle->enabled()) {
1525 config->ext.mix.handle = mId;
1641 // so signal it to handle state changes immediately
3495 // the app won't fill fast enough to handle the sudden draw).
3644 audio_patch_handle_t *handle)
3651 status = PlaybackThread::createAudioPatch_l(patch, handle);
3653 status = PlaybackThread::createAudioPatch_l(patch, handle);
3659 audio_patch_handle_t *handle)
3708 handle);
3723 *handle = AUDIO_PATCH_HANDLE_NONE;
3732 status_t AudioFlinger::MixerThread::releaseAudioPatch_l(const audio_patch_handle_t handle)
3739 status = PlaybackThread::releaseAudioPatch_l(handle);
3741 status = PlaybackThread::releaseAudioPatch_l(handle);
3746 status_t AudioFlinger::PlaybackThread::releaseAudioPatch_l(const audio_patch_handle_t handle)
3754 status = hwDevice->releaseAudioPatch(handle);
3779 config->ext.mix.hw_module = mOutput->audioHwDev->handle();
5796 // threadLoop_mix() will handle the case that we need to
5804 // Do not handle new data in this iteration even if track->framesReady()
6122 // TODO: Consider asynchronous sample rate conversion to handle clock disparity
6740 // loop over getNextBuffer to handle circular sink
6748 // check available frames and handle overrun conditions
7786 audio_patch_handle_t *handle)
7813 handle);
7830 *handle = AUDIO_PATCH_HANDLE_NONE;
7841 status_t AudioFlinger::RecordThread::releaseAudioPatch_l(const audio_patch_handle_t handle)
7849 status = hwDevice->releaseAudioPatch(handle);
7874 config->ext.mix.hw_module = mInput->audioHwDev->handle();
7905 audio_port_handle_t *handle)
7908 return mThread->start(client, handle);
7911 status_t AudioFlinger::MmapThreadHandle::stop(audio_port_handle_t handle)
7913 return mThread->stop(handle);
8014 audio_port_handle_t *handle)
8016 ALOGV("%s clientUid %d mStandby %d mPortId %d *handle %d", __FUNCTION__,
8017 client.clientUid, mStandby, mPortId, *handle);
8024 if (*handle == mPortId) {
8122 *handle = portId;
8125 ALOGV("%s DONE handle %d stream %p", __FUNCTION__, *handle, mHalStream.get());
8130 status_t AudioFlinger::MmapThread::stop(audio_port_handle_t handle)
8132 ALOGV("%s handle %d", __FUNCTION__, handle);
8138 if (handle == mPortId) {
8147 if (handle == t->portId()) {
8352 audio_patch_handle_t *handle)
8391 handle);
8410 *handle = AUDIO_PATCH_HANDLE_NONE;
8438 status_t AudioFlinger::MmapThread::releaseAudioPatch_l(const audio_patch_handle_t handle)
8448 status = mHalDevice->releaseAudioPatch(handle);
8462 config->ext.mix.hw_module = mAudioHwDev->handle();
8466 config->ext.mix.hw_module = mAudioHwDev->handle();