Lines Matching refs:removedPatch
143 Patch &removedPatch = iter->second; in createAudioPatch_l() local
147 if (removedPatch.isSoftware()) { in createAudioPatch_l()
148 removedPatch.clearConnections_l(this); in createAudioPatch_l()
153 if (removedPatch.mHalHandle != AUDIO_PATCH_HANDLE_NONE) { in createAudioPatch_l()
155 const struct audio_patch &oldPatch = removedPatch.mAudioPatch; in createAudioPatch_l()
176 hwDevice->releaseAudioPatch(removedPatch.mHalHandle); in createAudioPatch_l()
178 halHandle = removedPatch.mHalHandle; in createAudioPatch_l()
785 Patch &removedPatch = iter->second; in releaseAudioPatch_l() local
786 const bool isSwBridge = removedPatch.isSoftware(); in releaseAudioPatch_l()
787 const struct audio_patch &patch = removedPatch.mAudioPatch; in releaseAudioPatch_l()
799 if (removedPatch.isSoftware()) { in releaseAudioPatch_l()
800 removedPatch.clearConnections_l(this); in releaseAudioPatch_l()
816 status = thread->sendReleaseAudioPatchConfigEvent(removedPatch.mHalHandle); in releaseAudioPatch_l()
819 status = hwDevice->releaseAudioPatch(removedPatch.mHalHandle); in releaseAudioPatch_l()
841 if (removedPatch.mIsEndpointPatch) { in releaseAudioPatch_l()
844 && p.second.mHalHandle == removedPatch.mHalHandle) { in releaseAudioPatch_l()
854 status = thread->sendReleaseAudioPatchConfigEvent(removedPatch.mHalHandle); in releaseAudioPatch_l()