Searched refs:metrics_file (Results 1 – 3 of 3) sorted by relevance
38 OdrMetrics::OdrMetrics(const std::string& cache_directory, const std::string& metrics_file) in OdrMetrics() argument39 : cache_directory_(cache_directory), metrics_file_(metrics_file) { in OdrMetrics()43 if (OS::FileExists(metrics_file.c_str())) { in OdrMetrics()44 if (unlink(metrics_file.c_str()) != 0) { in OdrMetrics()45 PLOG(ERROR) << "Failed to remove metrics file '" << metrics_file << "'"; in OdrMetrics()
38 bool ReadValues(const char* metrics_file, in ReadValues() argument41 const android::base::Result<void>& result = record->ReadFromFile(metrics_file); in ReadValues()44 metrics_file, in ReadValues()
92 const std::string& metrics_file = kOdrefreshMetricsFile);