Lines Matching refs:metrics

59                          PersistableBundle *metrics) {  in ExportCounterMetric()  argument
60 if (!metrics) { in ExportCounterMetric()
70 metrics->putLong(android::String16(success_count_name.c_str()), in ExportCounterMetric()
74 metrics->getLong(android::String16(error_count_name.c_str()), in ExportCounterMetric()
76 metrics->putLong(android::String16(error_count_name.c_str()), in ExportCounterMetric()
83 metrics->putLongVector(android::String16(error_list_name.c_str()), in ExportCounterMetric()
90 const android::CounterMetric<T> &counter, PersistableBundle *metrics) { in ExportCounterMetricWithAttributeNames() argument
91 if (!metrics) { in ExportCounterMetricWithAttributeNames()
98 metrics->putLong(android::String16(name.c_str()), value); in ExportCounterMetricWithAttributeNames()
104 PersistableBundle *metrics) { in ExportEventMetric() argument
105 if (!metrics) { in ExportEventMetric()
116 metrics->putLong(android::String16(success_count_name.c_str()), in ExportEventMetric()
118 metrics->putLong(android::String16(timing_name.c_str()), in ExportEventMetric()
122 metrics->getLong(android::String16(error_count_name.c_str()), in ExportEventMetric()
124 metrics->putLong(android::String16(error_count_name.c_str()), in ExportEventMetric()
131 metrics->putLongVector(android::String16(error_list_name.c_str()), in ExportEventMetric()
138 PersistableBundle *metrics) { in ExportSessionLifespans() argument
139 if (!metrics) { in ExportSessionLifespans()
156 metrics->putPersistableBundle( in ExportSessionLifespans()
159 metrics->putPersistableBundle( in ExportSessionLifespans()
192 status_t DrmMetricsConsumer::consumeFrameworkMetrics(const MediaDrmMetrics &metrics) { in consumeFrameworkMetrics() argument
193 ExportCounterMetric(metrics.mOpenSessionCounter, mBundle); in consumeFrameworkMetrics()
194 ExportCounterMetric(metrics.mCloseSessionCounter, mBundle); in consumeFrameworkMetrics()
195 ExportEventMetric(metrics.mGetKeyRequestTimeUs, mBundle); in consumeFrameworkMetrics()
196 ExportEventMetric(metrics.mProvideKeyResponseTimeUs, mBundle); in consumeFrameworkMetrics()
197 ExportCounterMetric(metrics.mGetProvisionRequestCounter, mBundle); in consumeFrameworkMetrics()
198 ExportCounterMetric(metrics.mProvideProvisionResponseCounter, mBundle); in consumeFrameworkMetrics()
199 ExportCounterMetricWithAttributeNames(metrics.mKeyStatusChangeCounter, mBundle); in consumeFrameworkMetrics()
200 ExportCounterMetricWithAttributeNames(metrics.mEventCounter, mBundle); in consumeFrameworkMetrics()
201 ExportCounterMetric(metrics.mGetDeviceUniqueIdCounter, mBundle); in consumeFrameworkMetrics()
202 ExportSessionLifespans(metrics.GetSessionLifespans(), mBundle); in consumeFrameworkMetrics()
231 for (const auto &hidlMetric : hidlMetricGroup.metrics) { in HidlMetricsToBundle()