Home
last modified time | relevance | path

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

/system/hardware/interfaces/suspend/1.0/default/
DSuspendControlService.cpp39 const auto suspendService = mSuspend.promote(); in enableAutosuspend() local
40 return retOk(suspendService != nullptr && suspendService->enableAutosuspend(), _aidl_return); in enableAutosuspend()
66 const auto suspendService = mSuspend.promote(); in forceSuspend() local
67 return retOk(suspendService != nullptr && suspendService->forceSuspend(), _aidl_return); in forceSuspend()
DSystemSuspendUnitTest.cpp119 sp<ISystemSuspend> suspendService = ISystemSuspend::getService(kServiceName); in SetUp() local
120 ASSERT_NE(suspendService, nullptr) << "failed to get suspend service"; in SetUp()
141 suspendService = ISystemSuspend::getService(kServiceName); in SetUp()
142 ASSERT_NE(suspendService, nullptr) << "failed to get suspend service"; in SetUp()
173 return suspendService->acquireWakeLock(WakeLockType::PARTIAL, "TestLock"); in acquireWakeLock()
183 suspendService->debug(handle, {}); in getDebugDump()
211 sp<ISystemSuspend> suspendService; member in android::SystemSuspendTest
322 suspendService->acquireWakeLock(WakeLockType::PARTIAL, "foo"); in TEST_F()
323 suspendService->acquireWakeLock(WakeLockType::PARTIAL, "bar"); in TEST_F()
324 suspendService->acquireWakeLock(WakeLockType::PARTIAL, "bar"); in TEST_F()
[all …]