Home
last modified time | relevance | path

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

/hardware/libhardware_legacy/
Dpower.cpp38 static std::unordered_map<std::string, sp<IWakeLock>> gWakeLockMap; variable
54 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()