Lines Matching refs:patches
257 auto& patches = getConfig().patches; in findConnectedPortConfigIds() local
259 auto patchIt = findById<AudioPatch>(patches, it->second); in findConnectedPortConfigIds()
260 if (patchIt == patches.end()) { in findConnectedPortConfigIds()
805 *_aidl_return = getConfig().patches; in getAudioPatches()
999 auto& patches = getConfig().patches; in setAudioPatch() local
1000 auto existing = patches.end(); in setAudioPatch()
1003 existing = findById<AudioPatch>(patches, in_requested.id); in setAudioPatch()
1004 if (existing != patches.end()) { in setAudioPatch()
1040 if (existing == patches.end()) { in setAudioPatch()
1042 patches.push_back(*_aidl_return); in setAudioPatch()
1051 if (existing == patches.end()) { in setAudioPatch()
1052 patches.pop_back(); in setAudioPatch()
1236 auto& patches = getConfig().patches; in resetAudioPatch() local
1237 auto patchIt = findById<AudioPatch>(patches, in_patchId); in resetAudioPatch()
1238 if (patchIt != patches.end()) { in resetAudioPatch()
1245 patches.erase(patchIt); in resetAudioPatch()