Home
last modified time | relevance | path

Searched refs:AttributeType (Results 1 – 4 of 4) 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()
/frameworks/native/libs/vr/libdvr/tests/
Ddvr_display_manager-test.cpp715 auto AttributeType = in TEST_F() local
727 AttributeType(attributes, kInt32Key)); in TEST_F()
731 AttributeType(attributes, kInt64Key)); in TEST_F()
735 AttributeType(attributes, kBoolKey)); in TEST_F()
739 AttributeType(attributes, kFloatKey)); in TEST_F()
743 AttributeType(attributes, kFloat2Key)); in TEST_F()
747 AttributeType(attributes, kFloat3Key)); in TEST_F()
751 AttributeType(attributes, kFloat4Key)); in TEST_F()
755 AttributeType(attributes, kFloat8Key)); in TEST_F()
759 AttributeType(attributes, kFloat16Key)); in TEST_F()