Lines Matching refs:statName
254 std::string statName(de->d_name); in getSuspendStats() local
255 if ((statName == ".") || (statName == "..")) { in getSuspendStats()
260 openat(mSuspendStatsFd.get(), statName.c_str(), O_CLOEXEC | O_RDONLY))}; in getSuspendStats()
262 return Error() << "Failed to open " << statName; in getSuspendStats()
267 return Error() << "Failed to read " << statName; in getSuspendStats()
273 if (statName == "last_failed_dev") { in getSuspendStats()
275 } else if (statName == "last_failed_step") { in getSuspendStats()
279 if (statName == "success") { in getSuspendStats()
281 } else if (statName == "fail") { in getSuspendStats()
283 } else if (statName == "failed_freeze") { in getSuspendStats()
285 } else if (statName == "failed_prepare") { in getSuspendStats()
287 } else if (statName == "failed_suspend") { in getSuspendStats()
289 } else if (statName == "failed_suspend_late") { in getSuspendStats()
291 } else if (statName == "failed_suspend_noirq") { in getSuspendStats()
293 } else if (statName == "failed_resume") { in getSuspendStats()
295 } else if (statName == "failed_resume_early") { in getSuspendStats()
297 } else if (statName == "failed_resume_noirq") { in getSuspendStats()
299 } else if (statName == "last_failed_errno") { in getSuspendStats()