Home
last modified time | relevance | path

Searched refs:MetricsLogBase (Results 1 – 6 of 6) sorted by relevance

/system/core/metricsd/uploader/
Dmetrics_log_base_unittest.cc31 class TestMetricsLogBase : public MetricsLogBase {
34 : MetricsLogBase("client_id", 1, MetricsLogBase::ONGOING_LOG, "1.2.3.4") { in TestMetricsLogBase()
38 using MetricsLogBase::uma_proto;
47 MetricsLogBase log1("id", 0, MetricsLogBase::ONGOING_LOG, "1.2.3"); in TEST()
48 EXPECT_EQ(MetricsLogBase::ONGOING_LOG, log1.log_type()); in TEST()
50 MetricsLogBase log2("id", 0, MetricsLogBase::INITIAL_STABILITY_LOG, "1.2.3"); in TEST()
51 EXPECT_EQ(MetricsLogBase::INITIAL_STABILITY_LOG, log2.log_type()); in TEST()
55 MetricsLogBase log("totally bogus client ID", 137, in TEST()
56 MetricsLogBase::ONGOING_LOG, "bogus version"); in TEST()
Dmetrics_log_base.cc47 MetricsLogBase::MetricsLogBase(const std::string& client_id, in MetricsLogBase() function in metrics::MetricsLogBase
65 MetricsLogBase::~MetricsLogBase() {} in ~MetricsLogBase()
68 uint64_t MetricsLogBase::Hash(const std::string& value) { in Hash()
83 int64_t MetricsLogBase::GetBuildTime() { in GetBuildTime()
93 int64_t MetricsLogBase::GetCurrentTime() { in GetCurrentTime()
97 void MetricsLogBase::CloseLog() { in CloseLog()
102 void MetricsLogBase::GetEncodedLog(std::string* encoded_log) { in GetEncodedLog()
107 void MetricsLogBase::RecordUserAction(const std::string& key) { in RecordUserAction()
117 void MetricsLogBase::RecordHistogramDelta(const std::string& histogram_name, in RecordHistogramDelta()
Dmetrics_log_base.h37 class MetricsLogBase {
49 MetricsLogBase(const std::string& client_id,
53 virtual ~MetricsLogBase();
117 DISALLOW_COPY_AND_ASSIGN(MetricsLogBase);
Dmetrics_log.cc29 : MetricsLogBase("", 0, metrics::MetricsLogBase::ONGOING_LOG, "") { in MetricsLog()
Dmetrics_log.h32 class MetricsLog : public metrics::MetricsLogBase {
Dsystem_profile_cache.cc152 metrics::MetricsLogBase::Hash(profile_.client_id)); in Populate()