Lines Matching refs:writeStatToFile
407 bool writeStatToFile(int statDirFd, const std::string& fileName, const std::string& stat) { in writeStatToFile() function in android::SystemSuspendSameThreadTest
423 bool writeStatToFile(int statDirFd, const std::string& fileName, int64_t stat) { in writeStatToFile() function in android::SystemSuspendSameThreadTest
424 return writeStatToFile(statDirFd, fileName, std::to_string(stat)); in writeStatToFile()
453 return writeStatToFile(fd, "name", name) && in addKernelWakelock()
454 writeStatToFile(fd, "active_count", activeCount) && in addKernelWakelock()
455 writeStatToFile(fd, "active_time_ms", activeTime) && in addKernelWakelock()
456 writeStatToFile(fd, "event_count", eventCount) && in addKernelWakelock()
457 writeStatToFile(fd, "expire_count", expireCount) && in addKernelWakelock()
458 writeStatToFile(fd, "last_change_ms", lastChange) && in addKernelWakelock()
459 writeStatToFile(fd, "max_time_ms", maxTime) && in addKernelWakelock()
460 writeStatToFile(fd, "prevent_suspend_time_ms", preventSuspendTime) && in addKernelWakelock()
461 writeStatToFile(fd, "total_time_ms", totalTime) && in addKernelWakelock()
462 writeStatToFile(fd, "wakeup_count", wakeupCount); in addKernelWakelock()
478 return writeStatToFile(fd, "success", success) && writeStatToFile(fd, "fail", fail) && in addSuspendStats()
479 writeStatToFile(fd, "failed_freeze", failedFreeze) && in addSuspendStats()
480 writeStatToFile(fd, "failed_prepare", failedPrepare) && in addSuspendStats()
481 writeStatToFile(fd, "failed_suspend", failedSuspend) && in addSuspendStats()
482 writeStatToFile(fd, "failed_suspend_late", failedSuspendLate) && in addSuspendStats()
483 writeStatToFile(fd, "failed_suspend_noirq", failedSuspendNoirq) && in addSuspendStats()
484 writeStatToFile(fd, "failed_resume", failedResume) && in addSuspendStats()
485 writeStatToFile(fd, "failed_resume_early", failedResumeEarly) && in addSuspendStats()
486 writeStatToFile(fd, "failed_resume_noirq", failedResumeNoirq) && in addSuspendStats()
487 writeStatToFile(fd, "last_failed_dev", lastFailedDev) && in addSuspendStats()
488 writeStatToFile(fd, "last_failed_errno", lastFailedErrno) && in addSuspendStats()
489 writeStatToFile(fd, "last_failed_step", lastFailedStep); in addSuspendStats()