Home
last modified time | relevance | path

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

/system/hardware/interfaces/suspend/1.0/default/
DSuspendControlService.cpp48 const auto suspendService = mSuspend.promote(); in enableAutosuspend() local
49 return retOk(suspendService != nullptr && suspendService->enableAutosuspend(), _aidl_return); in enableAutosuspend()
75 const auto suspendService = mSuspend.promote(); in forceSuspend() local
76 return retOk(suspendService != nullptr && suspendService->forceSuspend(), _aidl_return); in forceSuspend()
98 const auto suspendService = mSuspend.promote(); in getWakeLockStats() local
99 if (!suspendService) { in getWakeLockStats()
104 suspendService->updateStatsNow(); in getWakeLockStats()
105 suspendService->getStatsList().getWakeLockStats(_aidl_return); in getWakeLockStats()
123 const auto suspendService = mSuspend.promote(); in dump() local
124 if (!suspendService) { in dump()
[all …]
DSystemSuspendBenchmark.cpp31 static sp<ISystemSuspend> suspendService = ISystemSuspend::getService(); in BM_acquireWakeLock() local
34 suspendService->acquireWakeLock(WakeLockType::PARTIAL, "BenchmarkWakeLock"); in BM_acquireWakeLock()
DSystemSuspendUnitTest.cpp117 sp<ISystemSuspend> suspendService = ISystemSuspend::getService(kServiceName); in SetUpTestSuite() local
118 ASSERT_NE(suspendService, nullptr) << "failed to get suspend service"; in SetUpTestSuite()
134 suspendService = ISystemSuspend::getService(kServiceName); in SetUp()
135 ASSERT_NE(suspendService, nullptr) << "failed to get suspend service"; in SetUp()
165 return suspendService->acquireWakeLock(WakeLockType::PARTIAL, name); in acquireWakeLock()
185 sp<ISystemSuspend> suspendService; member in android::SystemSuspendTest
390 return suspendService->acquireWakeLock(WakeLockType::PARTIAL, name); in acquireWakeLock()
560 return reinterpret_cast<SystemSuspend*>(suspendService.get())->getSuspendStats(); in getSuspendStats()
579 suspendService = new SystemSuspend( in SetUp()
590 sp<ISystemSuspend> suspendService; member in android::SystemSuspendSameThreadTest