Searched refs:suspendService (Results 1 – 3 of 3) sorted by relevance
48 const auto suspendService = mSuspend.promote(); in enableAutosuspend() local49 return retOk(suspendService != nullptr && suspendService->enableAutosuspend(), _aidl_return); in enableAutosuspend()75 const auto suspendService = mSuspend.promote(); in forceSuspend() local76 return retOk(suspendService != nullptr && suspendService->forceSuspend(), _aidl_return); in forceSuspend()98 const auto suspendService = mSuspend.promote(); in getWakeLockStats() local99 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() local124 if (!suspendService) { in dump()[all …]
31 static sp<ISystemSuspend> suspendService = ISystemSuspend::getService(); in BM_acquireWakeLock() local34 suspendService->acquireWakeLock(WakeLockType::PARTIAL, "BenchmarkWakeLock"); in BM_acquireWakeLock()
117 sp<ISystemSuspend> suspendService = ISystemSuspend::getService(kServiceName); in SetUpTestSuite() local118 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::SystemSuspendTest390 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