Home
last modified time | relevance | path

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

/system/core/llkd/tests/
Dllkd_test.cpp124 milliseconds llkTimeoutMs = LLK_TIMEOUT_MS_DEFAULT; in llkdSleepPeriod() local
126 llkTimeoutMs * (1 + LLK_CHECKS_PER_TIMEOUT_DEFAULT) / LLK_CHECKS_PER_TIMEOUT_DEFAULT); in llkdSleepPeriod()
128 llkTimeoutMs = in llkdSleepPeriod()
130 llkTimeoutMs = GetUintProperty(LLK_TIMEOUT_MS_PROPERTY, llkTimeoutMs); in llkdSleepPeriod()
131 if (llkTimeoutMs < LLK_TIMEOUT_MS_MINIMUM) { in llkdSleepPeriod()
132 llkTimeoutMs = LLK_TIMEOUT_MS_MINIMUM; in llkdSleepPeriod()
134 milliseconds llkCheckMs = llkTimeoutMs / LLK_CHECKS_PER_TIMEOUT_DEFAULT; in llkdSleepPeriod()
138 llkTimeoutMs); in llkdSleepPeriod()
/system/core/llkd/
Dlibllkd.cpp76 milliseconds llkTimeoutMs = LLK_TIMEOUT_MS_DEFAULT; // default timeout variable
93 seconds khtTimeout = duration_cast<seconds>(llkTimeoutMs * (1 + LLK_CHECKS_PER_TIMEOUT_DEFAULT) /
399 if (llkTimeoutMs == 0ms) { in llkValidate()
400 llkTimeoutMs = LLK_TIMEOUT_MS_DEFAULT; in llkValidate()
402 llkTimeoutMs = std::max(llkTimeoutMs, LLK_TIMEOUT_MS_MINIMUM); in llkValidate()
404 llkCheckMs = llkTimeoutMs / LLK_CHECKS_PER_TIMEOUT_DEFAULT; in llkValidate()
406 llkCheckMs = std::min(llkCheckMs, llkTimeoutMs); in llkValidate()
410 llkStateTimeoutMs[state] = llkTimeoutMs; in llkValidate()
413 std::min(std::max(llkStateTimeoutMs[state], LLK_TIMEOUT_MS_MINIMUM), llkTimeoutMs); in llkValidate()
902 << LLK_TIMEOUT_MS_PROPERTY "=" << llkFormat(llkTimeoutMs) << "\n" in llkLogConfig()
[all …]