Home
last modified time | relevance | path

Searched refs:long_value (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/cmds/statsd/src/
DFieldValue.cpp147 long_value = from.long_value; in Value()
171 return std::to_string(long_value) + "[L]"; in toString()
190 return long_value == 0; in isZero()
211 return long_value == that.long_value; in operator ==()
231 return long_value != that.long_value; in operator !=()
252 return long_value < that.long_value; in operator <()
273 return long_value > that.long_value; in operator >()
294 return long_value >= that.long_value; in operator >=()
329 v.setLong(long_value - that.long_value); in operator -()
350 long_value = that.long_value; in operator =()
[all …]
DFieldValue.h283 long_value = v; in Value()
313 long_value = v; in setLong()
329 int64_t long_value; member
Dstats_log_util.cpp130 (long long)dim.mValue.long_value); in writeDimensionToProtoHelper()
197 (long long)dim.mValue.long_value); in writeDimensionLeafToProtoHelper()
359 (long long)dim.mValue.long_value); in writeFieldValueTreeToStreamHelper()
419 state.mValue.long_value); in writeStateToProto()
Dmetadata_util.cpp33 metadataFieldValue->set_value_long(value.long_value); in writeValueToProto()
DHashableDimensionKey.cpp74 child.longValue = dim.mValue.long_value; in populateStatsDimensionsValueParcelChildren()
136 android::hash_type(fieldValue.mValue.long_value)); in hashDimension()
/frameworks/base/cmds/statsd/tests/metrics/
DValueMetricProducer_test.cpp85 EXPECT_EQ(expectedValues[i], buckets[i].values[0].long_value) in assertPastBucketValuesSingleKey()
320 EXPECT_EQ(11, curBaseInfo.base.long_value); in TEST()
322 EXPECT_EQ(8, curInterval.value.long_value); in TEST()
324 EXPECT_EQ(8, valueProducer->mPastBuckets.begin()->second[0].values[0].long_value); in TEST()
336 EXPECT_EQ(23, curBaseInfo.base.long_value); in TEST()
338 EXPECT_EQ(12, curInterval.value.long_value); in TEST()
341 EXPECT_EQ(8, valueProducer->mPastBuckets.begin()->second[0].values[0].long_value); in TEST()
343 EXPECT_EQ(12, valueProducer->mPastBuckets.begin()->second.back().values[0].long_value); in TEST()
354 EXPECT_EQ(36, curBaseInfo.base.long_value); in TEST()
356 EXPECT_EQ(13, curInterval.value.long_value); in TEST()
[all …]
/frameworks/base/cmds/statsd/src/matchers/
Dmatcher_util.cpp222 (values[i].mValue.long_value != 0) == matcher.eq_bool())) { in matchesSimple()
271 (matcher.eq_int() == values[i].mValue.long_value)) { in matchesSimple()
285 (values[i].mValue.long_value < matcher.lt_int())) { in matchesSimple()
299 (values[i].mValue.long_value > matcher.gt_int())) { in matchesSimple()
331 (values[i].mValue.long_value <= matcher.lte_int())) { in matchesSimple()
345 (values[i].mValue.long_value >= matcher.gte_int())) { in matchesSimple()
/frameworks/base/cmds/statsd/src/metrics/
DValueMetricProducer.cpp362 (long long)value.long_value); in onDumpReportLocked()
364 (long long)bucket.mBucketEndNs, index, (long long)value.long_value); in onDumpReportLocked()
718 ret.setLong(value.mValue.long_value); in getDoubleOrLong()
916 long wholeBucketVal = intervals[0].value.long_value; in onMatchedLogEventInternalLocked()
1044 double sum = interval.value.type == LONG ? (double)interval.value.long_value in buildPartialBucket()
1108 mCurrentFullBucket[slice.first] += interval.value.long_value; in appendToFullBucket()
1127 tracker->addPastBucket(slice.first, interval.value.long_value, in appendToFullBucket()
1140 mCurrentFullBucket[slice.first] += interval.value.long_value; in appendToFullBucket()
DGaugeMetricProducer.cpp498 gaugeVal = value.long_value; in onMatchedLogEventInternalLocked()
518 gaugeVal = value.long_value; in updateCurrentSlicedBucketForAnomaly()
/frameworks/base/cmds/statsd/src/logd/
DLogEvent.cpp430 return value.mValue.long_value; in GetLong()
494 return value.mValue.long_value != 0; in GetBool()
/frameworks/base/cmds/statsd/tests/
DLogEvent_test.cpp113 EXPECT_EQ(0x123456789, int64Item.mValue.long_value); in TEST()