Home
last modified time | relevance | path

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

/frameworks/base/services/core/jni/
Dcom_android_server_am_BatteryStatsService.cpp104 std::unique_lock<std::mutex> reasonsLock(mReasonsMutex, std::defer_lock); in notifyWakeup() local
105 if (reasonsLock.try_lock() && mWakeupReasons.empty()) { in notifyWakeup()
171 std::unique_lock<std::mutex> reasonsLock(mReasonsMutex, std::defer_lock); in nativeWaitWakeup() local
172 if (reasonsLock.try_lock() && !mWakeupReasons.empty()) { in nativeWaitWakeup()