Searched refs:long_value (Results 1 – 15 of 15) sorted by relevance
/packages/modules/StatsD/statsd/src/ |
D | FieldValue.cpp | 165 long_value = from.long_value; in Value() 189 return std::to_string(long_value) + "[L]"; in toString() 208 return long_value == 0; in isZero() 229 return long_value == that.long_value; in operator ==() 249 return long_value != that.long_value; in operator !=() 270 return long_value < that.long_value; in operator <() 291 return long_value > that.long_value; in operator >() 312 return long_value >= that.long_value; in operator >=() 347 v.setLong(long_value - that.long_value); in operator -() 369 long_value = that.long_value; in operator =() [all …]
|
D | FieldValue.h | 291 long_value = v; in Value() 321 long_value = v; in setLong() 337 int64_t long_value; member
|
D | stats_log_util.cpp | 133 (long long)dim.mValue.long_value); in writeDimensionToProtoHelper() 199 (long long)dim.mValue.long_value); in writeDimensionLeafToProtoHelper() 364 (long long)dim.mValue.long_value); in writeFieldValueTreeToStreamHelper() 421 state.mValue.long_value); in writeStateToProto()
|
D | metadata_util.cpp | 33 metadataFieldValue->set_value_long(value.long_value); in writeValueToProto()
|
D | HashableDimensionKey.cpp | 65 child.longValue = dim.mValue.long_value; in populateStatsDimensionsValueParcelChildren() 127 android::hash_type(fieldValue.mValue.long_value)); in hashDimension()
|
/packages/modules/StatsD/statsd/src/metrics/ |
D | NumericValueMetricProducer.cpp | 131 protoOutput->write(FIELD_TYPE_INT64 | FIELD_ID_VALUE_LONG, (long long)value.long_value); in writePastBucketAggregateToProto() 132 VLOG("\t\t value %d: %lld", aggIndex, (long long)value.long_value); in writePastBucketAggregateToProto() 380 ret.setLong(value.mValue.long_value); in getDoubleOrLong() 510 long wholeBucketVal = intervals[0].aggregate.long_value; in aggregateFields() 592 mCurrentFullBucket[metricDimensionKey] += interval.aggregate.long_value; in appendToFullBucket() 612 interval.aggregate.long_value, in appendToFullBucket() 626 mCurrentFullBucket[metricDimensionKey] += interval.aggregate.long_value; in appendToFullBucket() 673 finalValue.type == LONG ? (double)finalValue.long_value : finalValue.double_value; in valuePassesThreshold() 697 double sum = interval.aggregate.type == LONG ? (double)interval.aggregate.long_value in getFinalValue()
|
D | KllMetricProducer.cpp | 102 return {value.mValue.long_value}; in getInt64ValueFromEvent()
|
D | GaugeMetricProducer.cpp | 602 gaugeVal = value.long_value; in onMatchedLogEventInternalLocked() 622 gaugeVal = value.long_value; in updateCurrentSlicedBucketForAnomaly()
|
/packages/modules/StatsD/statsd/src/matchers/ |
D | matcher_util.cpp | 345 (values[i].mValue.long_value != 0) == matcher.eq_bool())) { in matchesSimple() 429 (matcher.eq_int() == values[i].mValue.long_value)) { in matchesSimple() 445 (int_value == values[i].mValue.long_value)) { in matchesSimple() 464 (int_value == values[i].mValue.long_value)) { in matchesSimple() 483 (values[i].mValue.long_value < matcher.lt_int())) { in matchesSimple() 497 (values[i].mValue.long_value > matcher.gt_int())) { in matchesSimple() 529 (values[i].mValue.long_value <= matcher.lte_int())) { in matchesSimple() 543 (values[i].mValue.long_value >= matcher.gte_int())) { in matchesSimple()
|
/packages/modules/StatsD/statsd/tests/metrics/ |
D | NumericValueMetricProducer_test.cpp | 91 EXPECT_EQ(expectedValues[i], buckets[i].aggregates[0].long_value) in assertPastBucketValuesSingleKey() 325 EXPECT_EQ(11, curBase.value().long_value); in TEST() 339 EXPECT_EQ(23, curBase.value().long_value); in TEST() 354 EXPECT_EQ(36, curBase.value().long_value); in TEST() 450 EXPECT_EQ(11, curBase.value().long_value); in TEST() 470 EXPECT_EQ(36, curBase.value().long_value); in TEST() 501 EXPECT_EQ(11, curBase.value().long_value); in TEST() 513 EXPECT_EQ(10, curBase.value().long_value); in TEST() 524 EXPECT_EQ(36, curBase.value().long_value); in TEST() 554 EXPECT_EQ(11, curBase.value().long_value); in TEST() [all …]
|
/packages/modules/StatsD/statsd/src/logd/ |
D | logevent_util.cpp | 38 result.firstLossTsNanos = logEventValues[1].mValue.long_value; in toSocketLossInfo() 46 result.lastLossTsNanos = logEventValues[2].mValue.long_value; in toSocketLossInfo()
|
D | LogEvent.cpp | 624 return value.mValue.long_value; in GetLong() 688 return value.mValue.long_value != 0; in GetBool()
|
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/fbs/ |
D | EventFields.fbs | 17 long_value:long=null;
|
/packages/modules/StatsD/statsd/tests/ |
D | LogEvent_test.cpp | 234 EXPECT_EQ(0x123456789, int64Item.mValue.long_value); in TEST_P() 574 EXPECT_EQ(1000L, int64ArrayItem1.mValue.long_value); in TEST_P() 580 EXPECT_EQ(1002L, int64ArrayItem2.mValue.long_value); in TEST_P()
|
/packages/modules/StatsD/statsd/src/utils/ |
D | DbUtils.cpp | 264 sqlite3_bind_int64(*stmt, index, fieldValue.mValue.long_value); in getInsertSqlStmt()
|