Searched refs:suspendService (Results 1 – 2 of 2) sorted by relevance
39 const auto suspendService = mSuspend.promote(); in enableAutosuspend() local40 return retOk(suspendService != nullptr && suspendService->enableAutosuspend(), _aidl_return); in enableAutosuspend()66 const auto suspendService = mSuspend.promote(); in forceSuspend() local67 return retOk(suspendService != nullptr && suspendService->forceSuspend(), _aidl_return); in forceSuspend()
119 sp<ISystemSuspend> suspendService = ISystemSuspend::getService(kServiceName); in SetUp() local120 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::SystemSuspendTest322 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 …]