Searched refs:FieldValue (Results 1 - 22 of 22) sorted by relevance

/frameworks/base/cmds/statsd/tests/
H A DLogEvent_test.cpp51 const FieldValue& item0 = event1.getValues()[0];
56 const FieldValue& item1 = event1.getValues()[1];
61 const FieldValue& item2 = event1.getValues()[2];
66 const FieldValue& item3 = event1.getValues()[3];
71 const FieldValue& item4 = event1.getValues()[4];
76 const FieldValue& item5 = event1.getValues()[5];
81 const FieldValue& item6 = event1.getValues()[6];
86 const FieldValue& item7 = event1.getValues()[7];
120 const FieldValue& item = event1.getValues()[0];
125 const FieldValue
[all...]
H A DFieldValue_test.cpp152 dim.addValue(FieldValue(field1, value1));
153 dim.addValue(FieldValue(field2, value2));
156 subDim1.addValue(FieldValue(field1, value1));
159 subDim1.addValue(FieldValue(field2, value2));
166 subDim3.addValue(FieldValue(field1, value11));
309 dim.addValue(FieldValue(field1, value1));
310 dim.addValue(FieldValue(field2, value2));
311 dim.addValue(FieldValue(field3, value3));
312 dim.addValue(FieldValue(field4, value4));
334 dim.addValue(FieldValue(field
[all...]
/frameworks/base/cmds/statsd/src/
H A DHashableDimensionKey.h21 #include "FieldValue.h"
39 explicit HashableDimensionKey(const std::vector<FieldValue>& values) {
47 inline void addValue(const FieldValue& value) {
51 inline const std::vector<FieldValue>& getValues() const {
55 inline std::vector<FieldValue>* mutableValues() {
59 inline FieldValue* mutableValue(size_t i) {
75 std::vector<FieldValue> mValues;
132 bool filterValues(const std::vector<Matcher>& matcherFields, const std::vector<FieldValue>& values,
141 void filterGaugeValues(const std::vector<Matcher>& matchers, const std::vector<FieldValue>& values,
142 std::vector<FieldValue>* outpu
[all...]
H A DFieldValue.h27 struct FieldValue;
70 * The above wakelock event is translated into FieldValue pairs.
327 struct FieldValue { struct in namespace:android::os::statsd
328 FieldValue() {} function in struct:android::os::statsd::FieldValue
329 FieldValue(const Field& field, const Value& value) : mField(field), mValue(value) { function in struct:android::os::statsd::FieldValue
331 bool operator==(const FieldValue& that) const {
334 bool operator!=(const FieldValue& that) const {
337 bool operator<(const FieldValue& that) const {
356 bool isAttributionUidField(const FieldValue& value);
H A DHashableDimensionKey.cpp22 #include "FieldValue.h"
62 bool filterValues(const vector<Matcher>& matcherFields, const vector<FieldValue>& values,
83 const std::vector<FieldValue>& values, std::vector<FieldValue>* output) {
93 void getDimensionForCondition(const std::vector<FieldValue>& eventValues,
113 bool LessThan(const vector<FieldValue>& s1, const vector<FieldValue>& s2) {
H A Dstats_log_util.h20 #include "FieldValue.h"
29 void writeFieldValueTreeToStream(int tagId, const std::vector<FieldValue>& values,
H A Dstats_log_util.cpp64 void writeDimensionToProtoHelper(const std::vector<FieldValue>& dims, size_t* index, int depth,
131 void writeDimensionLeafToProtoHelper(const std::vector<FieldValue>& dims,
297 void writeFieldValueTreeToStreamHelper(const std::vector<FieldValue>& dims, size_t* index,
352 void writeFieldValueTreeToStream(int tagId, const std::vector<FieldValue>& values,
H A DFieldValue.cpp19 #include "FieldValue.h"
116 bool isAttributionUidField(const FieldValue& value) {
/frameworks/base/cmds/statsd/tests/metrics/
H A Dmetrics_test_helper.cpp24 dimension.addValue(FieldValue(Field(tagId, pos, 0), Value(value)));
/frameworks/base/cmds/statsd/src/logd/
H A DLogEvent.h19 #include "FieldValue.h"
148 const std::vector<FieldValue>& getValues() const {
152 std::vector<FieldValue>* getMutableValues() {
170 std::vector<FieldValue> mValues;
H A DLogEvent.cpp194 FieldValue(Field(mTagId, pos, depth), Value((int32_t)elem.data.int32)));
205 mValues.push_back(FieldValue(Field(mTagId, pos, depth), Value(elem.data.float32)));
216 mValues.push_back(FieldValue(Field(mTagId, pos, depth),
231 FieldValue(Field(mTagId, pos, depth), Value((int64_t)elem.data.int64)));
/frameworks/base/cmds/statsd/src/metrics/
H A DGaugeMetricProducer.h36 GaugeAtom(std::shared_ptr<vector<FieldValue>> fields, int64_t elapsedTimeNs, int wallClockNs)
39 std::shared_ptr<vector<FieldValue>> mFields;
156 std::shared_ptr<vector<FieldValue>> getGaugeFields(const LogEvent& event);
H A DGaugeMetricProducer.cpp373 std::shared_ptr<vector<FieldValue>> GaugeMetricProducer::getGaugeFields(const LogEvent& event) {
375 std::shared_ptr<vector<FieldValue>> gaugeFields = std::make_shared<vector<FieldValue>>();
379 return std::make_shared<vector<FieldValue>>(event.getValues());
552 totalSize += atom.mFields->size() * sizeof(FieldValue);
/frameworks/base/cmds/statsd/tests/e2e/
H A DConfigTtl_e2e_test.cpp77 FieldValue fieldValue1(Field(android::util::WAKELOCK_STATE_CHANGED, (int32_t)0x02010101),
82 FieldValue fieldValue2(Field(android::util::WAKELOCK_STATE_CHANGED, (int32_t)0x02010101),
H A DAnomaly_count_e2e_test.cpp86 FieldValue fieldValue1(Field(android::util::WAKELOCK_STATE_CHANGED, (int32_t)0x02010101),
91 FieldValue fieldValue2(Field(android::util::WAKELOCK_STATE_CHANGED, (int32_t)0x02010101),
189 FieldValue fieldValue1(Field(android::util::WAKELOCK_STATE_CHANGED, (int32_t)0x02010101),
194 FieldValue fieldValue2(Field(android::util::WAKELOCK_STATE_CHANGED, (int32_t)0x02010101),
H A DAnomaly_duration_sum_e2e_test.cpp83 HashableDimensionKey({FieldValue(Field(android::util::WAKELOCK_STATE_CHANGED,
88 HashableDimensionKey({FieldValue(Field(android::util::WAKELOCK_STATE_CHANGED,
/frameworks/base/cmds/statsd/src/external/
H A Dpuller_util.cpp53 vector<FieldValue>* host_values = lhs->getMutableValues();
133 vector<FieldValue>* valueList = data[i]->getMutableValues();
/frameworks/base/cmds/statsd/src/subscriber/
H A DSubscriberReporter.cpp120 void getStatsDimensionsValueHelper(const vector<FieldValue>& dims, size_t* index, int depth,
/frameworks/base/cmds/statsd/src/matchers/
H A Dmatcher_util.cpp102 const vector<FieldValue>& values, int start, int end, int depth) {
/frameworks/base/cmds/statsd/
H A DAndroid.mk21 src/FieldValue.cpp \
/frameworks/base/cmds/statsd/tests/anomaly/
H A DAnomalyTracker_test.cpp40 dim.addValue(FieldValue(Field(1, pos, 0), Value(value)));
/frameworks/base/cmds/statsd/tests/condition/
H A DSimpleConditionTracker_test.cpp106 dim.addValue(FieldValue(field, value));

Completed in 140 milliseconds