Searched refs:long_value (Results 1 – 12 of 12) sorted by relevance
/packages/modules/StatsD/statsd/src/ |
D | FieldValue.cpp | 151 long_value = from.long_value; in Value() 175 return std::to_string(long_value) + "[L]"; in toString() 194 return long_value == 0; in isZero() 215 return long_value == that.long_value; in operator ==() 235 return long_value != that.long_value; in operator !=() 256 return long_value < that.long_value; in operator <() 277 return long_value > that.long_value; in operator >() 298 return long_value >= that.long_value; in operator >=() 333 v.setLong(long_value - that.long_value); in operator -() 354 long_value = that.long_value; in operator =() [all …]
|
D | FieldValue.h | 278 long_value = v; in Value() 308 long_value = v; in setLong() 324 int64_t long_value; member
|
D | stats_log_util.cpp | 132 (long long)dim.mValue.long_value); in writeDimensionToProtoHelper() 198 (long long)dim.mValue.long_value); in writeDimensionLeafToProtoHelper() 363 (long long)dim.mValue.long_value); in writeFieldValueTreeToStreamHelper() 420 state.mValue.long_value); in writeStateToProto()
|
D | HashableDimensionKey.cpp | 65 child.longValue = dim.mValue.long_value; in populateStatsDimensionsValueParcelChildren() 127 android::hash_type(fieldValue.mValue.long_value)); in hashDimension()
|
D | metadata_util.cpp | 33 metadataFieldValue->set_value_long(value.long_value); in writeValueToProto()
|
/packages/modules/StatsD/statsd/tests/metrics/ |
D | NumericValueMetricProducer_test.cpp | 91 EXPECT_EQ(expectedValues[i], buckets[i].aggregates[0].long_value) in assertPastBucketValuesSingleKey() 360 EXPECT_EQ(11, curBase.value().long_value); in TEST() 374 EXPECT_EQ(23, curBase.value().long_value); in TEST() 389 EXPECT_EQ(36, curBase.value().long_value); in TEST() 485 EXPECT_EQ(11, curBase.value().long_value); in TEST() 505 EXPECT_EQ(36, curBase.value().long_value); in TEST() 536 EXPECT_EQ(11, curBase.value().long_value); in TEST() 548 EXPECT_EQ(10, curBase.value().long_value); in TEST() 559 EXPECT_EQ(36, curBase.value().long_value); in TEST() 589 EXPECT_EQ(11, curBase.value().long_value); in TEST() [all …]
|
/packages/modules/StatsD/statsd/src/matchers/ |
D | matcher_util.cpp | 223 (values[i].mValue.long_value != 0) == matcher.eq_bool())) { in matchesSimple() 267 (matcher.eq_int() == values[i].mValue.long_value)) { in matchesSimple() 281 (values[i].mValue.long_value < matcher.lt_int())) { in matchesSimple() 295 (values[i].mValue.long_value > matcher.gt_int())) { in matchesSimple() 327 (values[i].mValue.long_value <= matcher.lte_int())) { in matchesSimple() 341 (values[i].mValue.long_value >= matcher.gte_int())) { in matchesSimple()
|
/packages/modules/StatsD/statsd/src/metrics/ |
D | NumericValueMetricProducer.cpp | 120 protoOutput->write(FIELD_TYPE_INT64 | FIELD_ID_VALUE_LONG, (long long)value.long_value); in writePastBucketAggregateToProto() 121 VLOG("\t\t value %d: %lld", aggIndex, (long long)value.long_value); in writePastBucketAggregateToProto() 363 ret.setLong(value.mValue.long_value); in getDoubleOrLong() 493 long wholeBucketVal = intervals[0].aggregate.long_value; in aggregateFields() 572 mCurrentFullBucket[metricDimensionKey] += interval.aggregate.long_value; in appendToFullBucket() 592 interval.aggregate.long_value, in appendToFullBucket() 606 mCurrentFullBucket[metricDimensionKey] += interval.aggregate.long_value; in appendToFullBucket() 630 finalValue.type == LONG ? (double)finalValue.long_value : finalValue.double_value; in valuePassesThreshold() 654 double sum = interval.aggregate.type == LONG ? (double)interval.aggregate.long_value in getFinalValue()
|
D | KllMetricProducer.cpp | 103 return {value.mValue.long_value}; in getInt64ValueFromEvent()
|
D | GaugeMetricProducer.cpp | 560 gaugeVal = value.long_value; in onMatchedLogEventInternalLocked() 580 gaugeVal = value.long_value; in updateCurrentSlicedBucketForAnomaly()
|
/packages/modules/StatsD/statsd/tests/ |
D | LogEvent_test.cpp | 178 EXPECT_EQ(0x123456789, int64Item.mValue.long_value); in TEST() 466 EXPECT_EQ(1000L, int64ArrayItem1.mValue.long_value); in TEST() 472 EXPECT_EQ(1002L, int64ArrayItem2.mValue.long_value); in TEST()
|
/packages/modules/StatsD/statsd/src/logd/ |
D | LogEvent.cpp | 495 return value.mValue.long_value; in GetLong() 559 return value.mValue.long_value != 0; in GetBool()
|