/frameworks/base/cmds/statsd/src/logd/ |
D | LogEvent.cpp | 70 mValues.push_back(FieldValue(Field(mTagId, pos, depth), Value(wc.uids[i]))); in LogEvent() 72 mValues.push_back(FieldValue(Field(mTagId, pos, depth), Value(wc.tags[i]))); in LogEvent() 83 FieldValue(field, Value(statsLogEventWrapper.getElements()[i].int_value))); in LogEvent() 87 FieldValue(field, Value(statsLogEventWrapper.getElements()[i].long_value))); in LogEvent() 90 mValues.push_back(FieldValue( in LogEvent() 94 mValues.push_back(FieldValue( in LogEvent() 99 FieldValue(field, Value(statsLogEventWrapper.getElements()[i].str_value))); in LogEvent() 102 mValues.push_back(FieldValue( in LogEvent() 147 mValues.push_back(FieldValue(Field(mTagId, pos, 0 /* depth */), Value(uid))); in LogEvent() 151 mValues.push_back(FieldValue(Field(mTagId, pos, 2 /* depth */), Value(itr.first))); in LogEvent() [all …]
|
D | LogEvent.h | 200 const std::vector<FieldValue>& getValues() const { in getValues() 204 std::vector<FieldValue>* getMutableValues() { in getMutableValues() 225 std::vector<FieldValue> mValues;
|
/frameworks/base/cmds/statsd/tests/ |
D | LogEvent_test.cpp | 57 const FieldValue& item0 = event1.getValues()[0]; in TEST() 62 const FieldValue& item1 = event1.getValues()[1]; in TEST() 67 const FieldValue& item2 = event1.getValues()[2]; in TEST() 72 const FieldValue& item3 = event1.getValues()[3]; in TEST() 77 const FieldValue& item4 = event1.getValues()[4]; in TEST() 82 const FieldValue& item5 = event1.getValues()[5]; in TEST() 87 const FieldValue& item6 = event1.getValues()[6]; in TEST() 92 const FieldValue& item7 = event1.getValues()[7]; in TEST() 128 const FieldValue& item0 = event1.getValues()[0]; in TEST() 133 const FieldValue& item1 = event1.getValues()[1]; in TEST() [all …]
|
D | FieldValue_test.cpp | 154 dim.addValue(FieldValue(field1, value1)); in TEST() 155 dim.addValue(FieldValue(field2, value2)); in TEST() 158 subDim1.addValue(FieldValue(field1, value1)); in TEST() 161 subDim1.addValue(FieldValue(field2, value2)); in TEST() 168 subDim3.addValue(FieldValue(field1, value11)); in TEST() 311 dim.addValue(FieldValue(field1, value1)); in TEST() 312 dim.addValue(FieldValue(field2, value2)); in TEST() 313 dim.addValue(FieldValue(field3, value3)); in TEST() 314 dim.addValue(FieldValue(field4, value4)); in TEST() 337 dim.addValue(FieldValue(field1, value1)); in TEST() [all …]
|
/frameworks/base/cmds/statsd/src/ |
D | HashableDimensionKey.h | 39 explicit HashableDimensionKey(const std::vector<FieldValue>& values) { in HashableDimensionKey() 47 inline void addValue(const FieldValue& value) { in addValue() 51 inline const std::vector<FieldValue>& getValues() const { in getValues() 55 inline std::vector<FieldValue>* mutableValues() { in mutableValues() 59 inline FieldValue* mutableValue(size_t i) { in mutableValue() 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>* output); 144 void getDimensionForCondition(const std::vector<FieldValue>& eventValues,
|
D | FieldValue.h | 27 struct FieldValue; 358 struct FieldValue { struct 359 FieldValue() {} in FieldValue() function 360 FieldValue(const Field& field, const Value& value) : mField(field), mValue(value) { in FieldValue() function 362 bool operator==(const FieldValue& that) const { 365 bool operator!=(const FieldValue& that) const { 368 bool operator<(const FieldValue& that) const { 387 bool isAttributionUidField(const FieldValue& value); argument 390 int getUidIfExists(const FieldValue& value);
|
D | HashableDimensionKey.cpp | 62 bool filterValues(const vector<Matcher>& matcherFields, const vector<FieldValue>& values, in filterValues() 81 const std::vector<FieldValue>& values, std::vector<FieldValue>* output) { in filterGaugeValues() 91 void getDimensionForCondition(const std::vector<FieldValue>& eventValues, in getDimensionForCondition() 111 bool LessThan(const vector<FieldValue>& s1, const vector<FieldValue>& s2) { in LessThan()
|
D | stats_log_util.cpp | 92 void writeDimensionToProtoHelper(const std::vector<FieldValue>& dims, size_t* index, int depth, in writeDimensionToProtoHelper() 159 void writeDimensionLeafToProtoHelper(const std::vector<FieldValue>& dims, in writeDimensionLeafToProtoHelper() 325 void writeFieldValueTreeToStreamHelper(int tagId, const std::vector<FieldValue>& dims, in writeFieldValueTreeToStreamHelper() 410 void writeFieldValueTreeToStream(int tagId, const std::vector<FieldValue>& values, in writeFieldValueTreeToStream()
|
D | stats_log_util.h | 30 void writeFieldValueTreeToStream(int tagId, const std::vector<FieldValue>& values,
|
D | FieldValue.cpp | 118 bool isAttributionUidField(const FieldValue& value) { in isAttributionUidField() 126 int32_t getUidIfExists(const FieldValue& value) { in getUidIfExists()
|
/frameworks/base/cmds/statsd/src/external/ |
D | puller_util.cpp | 112 const std::vector<FieldValue>& lhsValues = lhs->getValues(); in mapAndMergeIsolatedUidsToHostUid() 113 const std::vector<FieldValue>& rhsValues = rhs->getValues(); in mapAndMergeIsolatedUidsToHostUid() 139 vector<FieldValue>* lhsValues = data[i]->getMutableValues(); in mapAndMergeIsolatedUidsToHostUid() 140 vector<FieldValue>* rhsValues = data[i + 1]->getMutableValues(); in mapAndMergeIsolatedUidsToHostUid()
|
/frameworks/base/cmds/statsd/src/metrics/ |
D | GaugeMetricProducer.h | 37 GaugeAtom(std::shared_ptr<vector<FieldValue>> fields, int64_t elapsedTimeNs) in GaugeAtom() 40 std::shared_ptr<vector<FieldValue>> mFields; 176 std::shared_ptr<vector<FieldValue>> getGaugeFields(const LogEvent& event);
|
D | GaugeMetricProducer.cpp | 405 std::shared_ptr<vector<FieldValue>> GaugeMetricProducer::getGaugeFields(const LogEvent& event) { in getGaugeFields() 406 std::shared_ptr<vector<FieldValue>> gaugeFields; in getGaugeFields() 408 gaugeFields = std::make_shared<vector<FieldValue>>(); in getGaugeFields() 411 gaugeFields = std::make_shared<vector<FieldValue>>(event.getValues()); in getGaugeFields() 609 totalSize += atom.mFields->size() * sizeof(FieldValue); in byteSizeLocked()
|
D | ValueMetricProducer.cpp | 645 for (const FieldValue& value : event.getValues()) { in getDoubleOrLong()
|
/frameworks/base/cmds/statsd/tests/e2e/ |
D | ConfigTtl_e2e_test.cpp | 77 FieldValue fieldValue1(Field(android::util::WAKELOCK_STATE_CHANGED, (int32_t)0x02010101), in TEST() 82 FieldValue fieldValue2(Field(android::util::WAKELOCK_STATE_CHANGED, (int32_t)0x02010101), in TEST()
|
D | Anomaly_count_e2e_test.cpp | 86 FieldValue fieldValue1(Field(android::util::WAKELOCK_STATE_CHANGED, (int32_t)0x02010101), in TEST() 91 FieldValue fieldValue2(Field(android::util::WAKELOCK_STATE_CHANGED, (int32_t)0x02010101), in TEST() 189 FieldValue fieldValue1(Field(android::util::WAKELOCK_STATE_CHANGED, (int32_t)0x02010101), in TEST() 194 FieldValue fieldValue2(Field(android::util::WAKELOCK_STATE_CHANGED, (int32_t)0x02010101), in TEST()
|
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/tests/metrics/ |
D | metrics_test_helper.cpp | 24 dimension.addValue(FieldValue(Field(tagId, pos, 0), Value(value))); in getMockedDimensionKey()
|
/frameworks/base/cmds/statsd/src/subscriber/ |
D | SubscriberReporter.cpp | 120 void getStatsDimensionsValueHelper(const vector<FieldValue>& dims, size_t* index, int depth, in getStatsDimensionsValueHelper()
|
/frameworks/base/cmds/statsd/src/matchers/ |
D | matcher_util.cpp | 102 const vector<FieldValue>& values, int start, int end, int depth) { in matchesSimple()
|
/frameworks/base/cmds/statsd/ |
D | Android.bp | 56 "src/FieldValue.cpp",
|
/frameworks/base/cmds/statsd/tests/anomaly/ |
D | AnomalyTracker_test.cpp | 40 dim.addValue(FieldValue(Field(1, pos, 0), Value(value))); in getMockMetricDimensionKey()
|
/frameworks/base/cmds/statsd/tests/condition/ |
D | SimpleConditionTracker_test.cpp | 106 dim.addValue(FieldValue(field, value)); in getWakeLockQueryKey()
|