Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/tests/
DAudioPolicyManagerTestClient.h78 auto iter = mActivePatches.find(*handle); in createAudioPatch()
79 if (iter != mActivePatches.end()) { in createAudioPatch()
80 mActivePatches.erase(*handle); in createAudioPatch()
83 mActivePatches.insert(std::make_pair(*handle, *patch)); in createAudioPatch()
89 if (mActivePatches.erase(handle) != 1) { in releaseAudioPatch()
106 size_t getActivePatchesCount() const { return mActivePatches.size(); } in getActivePatchesCount()
109 if (mActivePatches.empty()) { in getLastAddedPatch()
112 auto it = --mActivePatches.end(); in getLastAddedPatch()
128 std::map<audio_patch_handle_t, struct audio_patch> mActivePatches; variable