/frameworks/base/cmds/statsd/tests/ |
H A D | LogEvent_test.cpp | 51 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 D | FieldValue_test.cpp | 152 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 D | HashableDimensionKey.h | 21 #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 D | FieldValue.h | 27 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 D | HashableDimensionKey.cpp | 22 #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 D | stats_log_util.h | 20 #include "FieldValue.h" 29 void writeFieldValueTreeToStream(int tagId, const std::vector<FieldValue>& values,
|
H A D | stats_log_util.cpp | 64 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 D | FieldValue.cpp | 19 #include "FieldValue.h" 116 bool isAttributionUidField(const FieldValue& value) {
|
/frameworks/base/cmds/statsd/tests/metrics/ |
H A D | metrics_test_helper.cpp | 24 dimension.addValue(FieldValue(Field(tagId, pos, 0), Value(value)));
|
/frameworks/base/cmds/statsd/src/logd/ |
H A D | LogEvent.h | 19 #include "FieldValue.h" 148 const std::vector<FieldValue>& getValues() const { 152 std::vector<FieldValue>* getMutableValues() { 170 std::vector<FieldValue> mValues;
|
H A D | LogEvent.cpp | 194 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 D | GaugeMetricProducer.h | 36 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 D | GaugeMetricProducer.cpp | 373 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 D | ConfigTtl_e2e_test.cpp | 77 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 D | Anomaly_count_e2e_test.cpp | 86 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 D | Anomaly_duration_sum_e2e_test.cpp | 83 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 D | puller_util.cpp | 53 vector<FieldValue>* host_values = lhs->getMutableValues(); 133 vector<FieldValue>* valueList = data[i]->getMutableValues();
|
/frameworks/base/cmds/statsd/src/subscriber/ |
H A D | SubscriberReporter.cpp | 120 void getStatsDimensionsValueHelper(const vector<FieldValue>& dims, size_t* index, int depth,
|
/frameworks/base/cmds/statsd/src/matchers/ |
H A D | matcher_util.cpp | 102 const vector<FieldValue>& values, int start, int end, int depth) {
|
/frameworks/base/cmds/statsd/ |
H A D | Android.mk | 21 src/FieldValue.cpp \
|
/frameworks/base/cmds/statsd/tests/anomaly/ |
H A D | AnomalyTracker_test.cpp | 40 dim.addValue(FieldValue(Field(1, pos, 0), Value(value)));
|
/frameworks/base/cmds/statsd/tests/condition/ |
H A D | SimpleConditionTracker_test.cpp | 106 dim.addValue(FieldValue(field, value));
|