Home
last modified time | relevance | path

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

/hardware/libhardware_legacy/
Dpower.cpp41 static sp<ISystemSuspend> suspendService = ISystemSuspend::getService(); in getSystemSuspendServiceOnce() local
42 return suspendService; in getSystemSuspendServiceOnce()
47 const auto& suspendService = getSystemSuspendServiceOnce(); in acquire_wake_lock() local
48 if (!suspendService) { in acquire_wake_lock()
55 auto ret = suspendService->acquireWakeLock(WakeLockType::PARTIAL, id); in acquire_wake_lock()
101 static sp<ISystemSuspend> suspendService = ISystemSuspend::getService(); in WakeLockImpl() local
102 mWakeLock = suspendService->acquireWakeLock(WakeLockType::PARTIAL, name); in WakeLockImpl()