Home
last modified time | relevance | path

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

/frameworks/av/media/libmedia/include/media/
DEventMetric.h73 template<typename AttributeType>
86 void Record(double value, AttributeType attribute) { in Record()
114 std::function<void (const AttributeType&, in ExportValues() argument
126 std::map<AttributeType, std::unique_ptr<struct EventStatistics>> values_;
146 template<typename AttributeType>
149 explicit EventTimer(EventMetric<AttributeType>* metric) in EventTimer()
161 void SetAttribute(const AttributeType& attribute) { in SetAttribute()
170 EventMetric<AttributeType>* metric_;
171 AttributeType attribute_;
DCounterMetric.h52 template<typename AttributeType>
65 void Increment(AttributeType attribute) { in Increment()
77 std::function<void (const AttributeType&, in ExportValues() argument
89 std::map<AttributeType, int64_t> values_;
/frameworks/av/drm/libmediadrm/tests/
DEventMetric_test.cpp100 template<typename AttributeType>
101 class MockEventTimer : public EventTimer<AttributeType> {
104 EventMetric<AttributeType>* metric) in MockEventTimer()
105 : EventTimer<AttributeType>(metric) { in MockEventTimer()