Home | History | Annotate | Download | only in libmediadrm

Lines Matching refs:Counter

64 void ExportCounterMetric(const android::CounterMetric<T> &counter,
70 std::string success_count_name = counter.metric_name() + ".ok.count";
71 std::string error_count_name = counter.metric_name() + ".error.count";
73 counter.ExportValues(
88 std::string error_list_name = counter.metric_name() + ".error.list";
96 const android::CounterMetric<T> &counter, PersistableBundle *metrics) {
101 counter.ExportValues([&](const T &attribute, const int64_t value) {
102 std::string name = counter.metric_name() + "." +
268 DrmFrameworkMetrics::Counter *counter =
270 counter->set_count(value);
271 counter->mutable_attributes()->set_error_code(status);
276 DrmFrameworkMetrics::Counter *counter =
278 counter->set_count(value);
279 counter->mutable_attributes()->set_error_code(status);
284 DrmFrameworkMetrics::Counter *counter =
286 counter->set_count(value);
287 counter->mutable_attributes()->set_error_code(status);
292 DrmFrameworkMetrics::Counter *counter =
294 counter->set_count(value);
295 counter->mutable_attributes()->set_error_code(status);
300 DrmFrameworkMetrics::Counter *counter =
302 counter->set_count(value);
303 counter->mutable_attributes()->set_key_status_type(
309 DrmFrameworkMetrics::Counter *counter =
311 counter->set_count(value);
312 counter->mutable_attributes()->set_event_type((uint32_t)event_type);
317 DrmFrameworkMetrics::Counter *counter =
319 counter->set_count(value);
320 counter->mutable_attributes()->set_error_code(status);