Lines Matching refs:path_
131 path_(path) { in Progress()
132 if (!path_.empty()) { in Progress()
138 MYLOGD("Loading stats from %s\n", path_.c_str()); in Load()
140 if (!android::base::ReadFileToString(path_, &content)) { in Load()
141 MYLOGI("Could not read stats from %s; using max of %d\n", path_.c_str(), max_); in Load()
145 MYLOGE("No stats (empty file) on %s; using max of %d\n", path_.c_str(), max_); in Load()
151 MYLOGE("Invalid stats on file %s: not enough lines (%d). Using max of %d\n", path_.c_str(), in Load()
160 MYLOGE("Invalid stats line on file %s: %s\n", path_.c_str(), lines[0].c_str()); in Load()
175 path_.c_str()); in Save()
176 if (path_.empty()) { in Save()
181 if (!android::base::WriteStringToFile(content, path_)) { in Save()
182 MYLOGE("Could not save stats on %s\n", path_.c_str()); in Save()
218 dprintf(fd, "%spath: %s\n", pr, path_.c_str()); in Dump()