Home
last modified time | relevance | path

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

/aosp12/system/hardware/interfaces/suspend/1.0/default/
H A DSystemSuspend.cpp143 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()
216 void SystemSuspend::incSuspendCounter(const string& name) { in incSuspendCounter()
227 void SystemSuspend::decSuspendCounter(const string& name) { in decSuspendCounter()
251 void SystemSuspend::initAutosuspend() { in initAutosuspend()
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()
[all …]
H A DSystemSuspend.h49 class SystemSuspend; variable
81 WakeLock(SystemSuspend* systemSuspend, const std::string& name, int pid);
90 SystemSuspend* mSystemSuspend;
95 class SystemSuspend : public ISystemSuspend {
97 SystemSuspend(unique_fd wakeupCountFd, unique_fd stateFd, unique_fd suspendStatsFd,
H A DSuspendControlService.h39 class SystemSuspend; variable
83 void setSuspendService(const wp<SystemSuspend>& suspend);
87 wp<SystemSuspend> mSuspend;
H A Dmain.cpp45 using android::system::suspend::V1_0::SystemSuspend;
143 sp<SystemSuspend> suspend = new SystemSuspend( in main()
H A DAndroid.bp62 "SystemSuspend.cpp",
85 "SystemSuspend.cpp",
H A DSystemSuspendUnitTest.cpp71 using android::system::suspend::V1_0::SystemSuspend;
122 sp<ISystemSuspend> suspend = new SystemSuspend( in registerTestService()
240 SystemSuspend* s = static_cast<SystemSuspend*>(suspendService.get()); in checkSleepTime()
912 return reinterpret_cast<SystemSuspend*>(suspendService.get())->getSuspendStats(); in getSuspendStats()
935 new SystemSuspend(unique_fd(-1) /* wakeupCountFd */, unique_fd(-1) /* stateFd */, in SetUp()
1210 suspend = new SystemSuspend(std::move(wakeupCountServiceFd), std::move(stateServiceFd), in SetUp()
1259 SystemSuspend* s = static_cast<SystemSuspend*>(suspend.get()); in checkSuspendInfo()
H A DSuspendControlService.cpp150 void SuspendControlServiceInternal::setSuspendService(const wp<SystemSuspend>& suspend) { in setSuspendService()
/aosp12/system/sepolicy/prebuilts/api/29.0/private/
H A Dsystem_suspend.te13 # TODO(b/128923994): remove once all debugging info moves to SystemSuspend.