Lines Matching refs:SystemSuspend

122 WakeLock::WakeLock(SystemSuspend* systemSuspend, const string& name, int pid)  in WakeLock()
143 SystemSuspend::SystemSuspend(unique_fd wakeupCountFd, unique_fd stateFd, unique_fd suspendStatsFd, in SystemSuspend() function in android::system::suspend::V1_0::SystemSuspend
180 bool SystemSuspend::enableAutosuspend() { in enableAutosuspend()
190 bool SystemSuspend::forceSuspend() { in forceSuspend()
206 Return<sp<IWakeLock>> SystemSuspend::acquireWakeLock(WakeLockType /* type */, in acquireWakeLock()
216 void SystemSuspend::incSuspendCounter(const string& name) { in incSuspendCounter()
227 void SystemSuspend::decSuspendCounter(const string& name) { in decSuspendCounter()
240 unique_fd SystemSuspend::reopenFileUsingFd(const int fd, const int permission) { in reopenFileUsingFd()
251 void SystemSuspend::initAutosuspend() { in initAutosuspend()
315 void SystemSuspend::updateSleepTime(bool success, const struct SuspendTime& suspendTime) { in updateSleepTime()
367 void SystemSuspend::updateWakeLockStatOnRelease(const std::string& name, int pid, in updateWakeLockStatOnRelease()
373 const WakeLockEntryList& SystemSuspend::getStatsList() const { in getStatsList()
377 void SystemSuspend::updateStatsNow() { in updateStatsNow()
381 void SystemSuspend::getSuspendInfo(SuspendInfo* info) { in getSuspendInfo()
387 const WakeupList& SystemSuspend::getWakeupList() const { in getWakeupList()
394 Result<SuspendStats> SystemSuspend::getSuspendStats() { in getSuspendStats()
465 std::chrono::milliseconds SystemSuspend::getSleepTime() const { in getSleepTime()