Home
last modified time | relevance | path

Searched refs:mPatches (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/services/audioflinger/
DPatchPanel.cpp62 const auto& iter = mPatches.find(patchHandle); in getLatencyMs_l()
63 if (iter != mPatches.end()) { in getLatencyMs_l()
140 auto iter = mPatches.find(*handle); in createAudioPatch_l()
141 if (iter != mPatches.end()) { in createAudioPatch_l()
354 for (auto& iter : mPatches) { in createAudioPatch_l()
418 for (auto& p : mPatches) { in createAudioPatch_l()
442 for (auto& iter : mPatches) { in createAudioPatch_l()
477 mPatches.insert(std::make_pair(*handle, std::move(newPatch))); in createAudioPatch_l()
781 auto iter = mPatches.find(handle); in releaseAudioPatch_l()
782 if (iter == mPatches.end()) { in releaseAudioPatch_l()
[all …]
DPatchPanel.h68 REQUIRES(audio_utils::AudioFlinger_Mutex) { return mPatches; } in patches_l()
126 std::map<audio_patch_handle_t, Patch> mPatches; variable
/frameworks/av/media/libaudiohal/impl/
DHal2AidlMapper.cpp129 auto existingPatchIt = *patchId != 0 ? mPatches.find(*patchId): mPatches.end(); in createOrUpdatePatch()
131 if (existingPatchIt != mPatches.end()) { in createOrUpdatePatch()
202 if (existingPatchIt != mPatches.end()) { in createOrUpdatePatch()
228 existingPatchIt = mPatches.find(patch.id); in createOrUpdatePatch()
311 if (patchIt == mPatches.end()) { in findOrCreatePatch()
319 patchIt = mPatches.insert(mPatches.end(), std::make_pair(appliedPatch.id, appliedPatch)); in findOrCreatePatch()
497 return std::find_if(mPatches.begin(), mPatches.end(), in findPatch()
741 std::inserter(mPatches, mPatches.end()), in initialize()
748 for (const auto& [patchId, patch] : mPatches) { in getPatchIdsByPortId()
902 mPatches.erase(it); in releaseAudioPatch()
[all …]
DHal2AidlMapper.h228 Patches mPatches; variable