Lines Matching refs:existing
1000 auto existing = patches.end(); in setAudioPatch() local
1003 existing = findById<AudioPatch>(patches, in_requested.id); in setAudioPatch()
1004 if (existing != patches.end()) { in setAudioPatch()
1006 cleanUpPatch(existing->id); in setAudioPatch()
1040 if (existing == patches.end()) { in setAudioPatch()
1044 oldPatch = *existing; in setAudioPatch()
1045 *existing = *_aidl_return; in setAudioPatch()
1051 if (existing == patches.end()) { in setAudioPatch()
1054 *existing = oldPatch; in setAudioPatch()
1080 auto existing = configs.end(); in setAudioPortConfigImpl() local
1082 if (existing = findById<AudioPortConfig>(configs, in_requested.id); in setAudioPortConfigImpl()
1083 existing == configs.end()) { in setAudioPortConfigImpl()
1090 const int portId = existing != configs.end() ? existing->portId : in_requested.portId; in setAudioPortConfigImpl()
1103 if (existing != configs.end()) { in setAudioPortConfigImpl()
1104 *out_suggested = *existing; in setAudioPortConfigImpl()
1215 if (existing == configs.end() && requestedIsValid && requestedIsFullySpecified) { in setAudioPortConfigImpl()
1221 } else if (existing != configs.end() && requestedIsValid) { in setAudioPortConfigImpl()
1222 *existing = *out_suggested; in setAudioPortConfigImpl()
1228 << (existing != configs.end()) << "; requested is valid? " << requestedIsValid in setAudioPortConfigImpl()