Home
last modified time | relevance | path

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

/frameworks/base/media/jni/soundpool/
DSoundManager.cpp42 std::lock_guard lock(mSoundManagerLock); in ~SoundManager()
52 std::lock_guard lock(mSoundManagerLock); in load()
73 std::lock_guard lock(mSoundManagerLock); in unload()
79 std::lock_guard lock(mSoundManagerLock); in findSound()
DSoundManager.h102 std::shared_ptr<Sound> findSound_l(int32_t soundID) const REQUIRES(mSoundManagerLock);
108 mutable std::mutex mSoundManagerLock; variable
109 std::unordered_map<int, std::shared_ptr<Sound>> mSounds GUARDED_BY(mSoundManagerLock);
110 int32_t mNextSoundID GUARDED_BY(mSoundManagerLock) = 0;