Lines Matching defs:handle

122     // handle output devices
133 // handle output device connection
177 // handle output device disconnection
251 // handle input devices
258 // handle input device connection
292 // handle input device disconnection
560 // if leaving call state, handle special case of active streams
646 // if entering in call state, handle special case of active streams
1288 // handle special case for sonification while in call
1379 // always handle stream stop, check which stream type is stopping
1382 // handle special case for sonification while in call
1487 // handle legacy remote submix case where the address was not always specified
1505 // special case for mmap capture: if an input IO handle is specified, we reuse this input if
2846 audio_patch_handle_t *handle,
2851 if (handle == NULL || patch == NULL) {
2875 ssize_t index = mAudioPatches.indexOfKey(*handle);
2896 *handle = AUDIO_PATCH_HANDLE_NONE;
2951 setOutputDevice(outputDesc, devices.types(), true, 0, handle);
2952 index = mAudioPatches.indexOfKey(*handle);
3003 setInputDevice(inputDesc->mIoHandle, devDesc->type(), true, handle);
3004 index = mAudioPatches.indexOfKey(*handle);
3094 *handle = patchDesc->mHandle;
3111 status_t AudioPolicyManager::releaseAudioPatch(audio_patch_handle_t handle,
3114 ALOGV("releaseAudioPatch() patch %d", handle);
3116 ssize_t index = mAudioPatches.indexOfKey(handle);
3187 ALOGV("setAudioPortConfig() on port handle %d", config->id);
3355 audio_patch_handle_t *handle,
3358 ALOGV("%s source %p attributes %p handle %p", __FUNCTION__, source, attributes, handle);
3359 if (source == NULL || attributes == NULL || handle == NULL) {
3363 *handle = AUDIO_PATCH_HANDLE_NONE;
3388 *handle = sourceDesc->getHandle();
3395 ALOGV("%s handle %d", __FUNCTION__, sourceDesc->getHandle());
3475 status_t AudioPolicyManager::stopAudioSource(audio_patch_handle_t handle __unused)
3477 sp<AudioSourceDescriptor> sourceDesc = mAudioSources.valueFor(handle);
3478 ALOGV("%s handle %d", __FUNCTION__, handle);
3480 ALOGW("%s unknown source for handle %d", __FUNCTION__, handle);
3485 mAudioSources.removeItem(handle);
3510 for (const auto& handle : offloaded) {
3511 closeOutput(handle);
3821 ALOGV("%s handle %d", __FUNCTION__, sourceDesc->getHandle());
3825 ALOGW("%s source has no patch with handle %d", __FUNCTION__,
4390 NULL/*patch handle*/, address.string());
5517 // handle the case of accessibility active while a ringtone is playing: if the ringtone is much