Searched refs:WakeLock (Results 1 – 7 of 7) sorted by relevance
62 WakeLock::WakeLock(SystemSuspend* systemSuspend, const string& name, int pid) in WakeLock() function in android::system::suspend::V1_0::WakeLock67 WakeLock::~WakeLock() { in ~WakeLock()71 Return<void> WakeLock::release() { in release()76 void WakeLock::releaseOnce() { in releaseOnce()145 IWakeLock* wl = new WakeLock{this, name, pid}; in acquireWakeLock()
65 class WakeLock : public IWakeLock {67 WakeLock(SystemSuspend* systemSuspend, const std::string& name, int pid);68 ~WakeLock();
148 android::wakelock::WakeLock wl{kWakeLock}; in Trim()372 android::wakelock::WakeLock wl{kWakeLock}; in RunIdleMaint()406 android::wakelock::WakeLock wl{kWakeLock}; in AbortIdleMaint()
184 android::wakelock::WakeLock wl{kWakeLock}; in Benchmark()
261 android::wakelock::WakeLock wl{kWakeLock}; in MoveStorage()
2130 std::unique_ptr<android::wakelock::WakeLock> wakeLock = nullptr; in cryptfs_enable_internal()2197 wakeLock = std::make_unique<android::wakelock::WakeLock>(lockid); in cryptfs_enable_internal()
192 // WakeLock was acquired.194 // WakeLock was released.