Lines Matching refs:thread
264 sp<ThreadBase> thread = in createAudioPatch() local
266 newPatch->mPlaybackThread = (MixerThread *)thread.get(); in createAudioPatch()
267 if (thread == 0) { in createAudioPatch()
332 sp<ThreadBase> thread = audioflinger->checkRecordThread_l( in createAudioPatch() local
334 if (thread == 0) { in createAudioPatch()
340 status = thread->sendCreateAudioPatchConfigEvent(patch, &halHandle); in createAudioPatch()
381 sp<ThreadBase> thread = in createAudioPatch() local
383 if (thread == 0) { in createAudioPatch()
389 if (thread == audioflinger->primaryPlaybackThread_l()) { in createAudioPatch()
396 status = thread->sendCreateAudioPatchConfigEvent(patch, &halHandle); in createAudioPatch()
611 sp<ThreadBase> thread = audioflinger->checkRecordThread_l( in releaseAudioPatch() local
613 if (thread == 0) { in releaseAudioPatch()
619 status = thread->sendReleaseAudioPatchConfigEvent(removedPatch->mHalHandle); in releaseAudioPatch()
638 sp<ThreadBase> thread = in releaseAudioPatch() local
640 if (thread == 0) { in releaseAudioPatch()
646 status = thread->sendReleaseAudioPatchConfigEvent(removedPatch->mHalHandle); in releaseAudioPatch()