Searched refs:kSleepTimeConfig (Results 1 – 3 of 3) sorted by relevance
154 kSleepTimeConfig(sleepTimeConfig), in SystemSuspend()304 (suspendTime.suspendTime < kSleepTimeConfig.shortSuspendThreshold); in updateSleepTime()306 bool badSuspend = (kSleepTimeConfig.failedSuspendBackoffEnabled && !success) || in updateSleepTime()307 (kSleepTimeConfig.shortSuspendBackoffEnabled && shortSuspend); in updateSleepTime()329 mSleepTime = kSleepTimeConfig.baseSleepTime; in updateSleepTime()334 if (mNumConsecutiveBadSuspends >= kSleepTimeConfig.backoffThreshold) { in updateSleepTime()335 if (mNumConsecutiveBadSuspends == kSleepTimeConfig.backoffThreshold) { in updateSleepTime()342 mSleepTime * kSleepTimeConfig.sleepTimeScaleFactor), in updateSleepTime()343 kSleepTimeConfig.maxSleepTime); in updateSleepTime()
126 std::move(suspendTimeFd), kSleepTimeConfig, suspendControl, suspendControlInternal); in registerTestService()261 static constexpr SleepTimeConfig kSleepTimeConfig = { member in android::SystemSuspendTest385 checkSleepTime(kSleepTimeConfig.baseSleepTime); in TEST_F()391 checkSleepTime(kSleepTimeConfig.baseSleepTime); in TEST_F()395 kSleepTimeConfig.baseSleepTime * kSleepTimeConfig.sleepTimeScaleFactor); in TEST_F()396 suspendFor(10ms, kSleepTimeConfig.backoffThreshold); in TEST_F()397 checkSleepTime(kSleepTimeConfig.baseSleepTime); in TEST_F()403 checkSleepTime(kSleepTimeConfig.baseSleepTime); in TEST_F()409 checkSleepTime(kSleepTimeConfig.baseSleepTime); in TEST_F()412 suspendFor(10ms, 3 + kSleepTimeConfig.backoffThreshold); in TEST_F()[all …]
133 const SleepTimeConfig kSleepTimeConfig; variable