Home
last modified time | relevance | path

Searched refs:encoded_log (Results 1 – 3 of 3) sorted by relevance

/system/core/metricsd/uploader/
Dmetrics_log.cc33 std::string encoded_log; in LoadFromFile() local
34 if (!base::ReadFileToString(saved_log, &encoded_log)) { in LoadFromFile()
40 if (!uma_proto()->ParseFromString(encoded_log)) { in LoadFromFile()
55 std::string encoded_log; in SaveToFile() local
56 GetEncodedLog(&encoded_log); in SaveToFile()
58 if (static_cast<int>(encoded_log.size()) != in SaveToFile()
59 base::WriteFile(path, encoded_log.data(), encoded_log.size())) { in SaveToFile()
Dmetrics_log_base.cc102 void MetricsLogBase::GetEncodedLog(std::string* encoded_log) { in GetEncodedLog() argument
104 uma_proto_.SerializeToString(encoded_log); in GetEncodedLog()
Dmetrics_log_base.h83 void GetEncodedLog(std::string* encoded_log);