Searched refs:gWakeLockMap (Results 1 – 1 of 1) sorted by relevance
38 static std::unordered_map<std::string, sp<IWakeLock>> gWakeLockMap; variable54 if (!gWakeLockMap[id]) { in acquire_wake_lock()62 gWakeLockMap[id] = ret; in acquire_wake_lock()71 if (gWakeLockMap[id]) { in release_wake_lock()74 auto ret = gWakeLockMap[id]->release(); in release_wake_lock()78 gWakeLockMap[id].clear(); in release_wake_lock()