Home
last modified time | relevance | path

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

/frameworks/base/media/jni/soundpool/
DSoundPool.cpp106 auto apiLock = kUseApiLock ? std::make_unique<std::lock_guard<std::mutex>>(mApiLock) : nullptr; in load()
113 auto apiLock = kUseApiLock ? std::make_unique<std::lock_guard<std::mutex>>(mApiLock) : nullptr; in unload()
131 auto apiLock = kUseApiLock ? std::make_unique<std::lock_guard<std::mutex>>(mApiLock) : nullptr; in play()
148 auto apiLock = std::make_unique<std::lock_guard<std::mutex>>(mApiLock); in autoPause()
155 auto apiLock = std::make_unique<std::lock_guard<std::mutex>>(mApiLock); in autoResume()
162 auto apiLock = std::make_unique<std::lock_guard<std::mutex>>(mApiLock); in mute()
169 auto apiLock = kUseApiLock ? std::make_unique<std::lock_guard<std::mutex>>(mApiLock) : nullptr; in pause()
178 auto apiLock = kUseApiLock ? std::make_unique<std::lock_guard<std::mutex>>(mApiLock) : nullptr; in resume()
187 auto apiLock = kUseApiLock ? std::make_unique<std::lock_guard<std::mutex>>(mApiLock) : nullptr; in stop()
198 auto apiLock = kUseApiLock ? std::make_unique<std::lock_guard<std::mutex>>(mApiLock) : nullptr; in setVolume()
[all …]
DSoundPool.h72 mutable std::mutex mApiLock; variable