/frameworks/base/cmds/statsd/src/ |
D | FieldValue.cpp | 159 long_value = from.long_value; in Value() 183 return std::to_string(long_value) + "[L]"; in toString() 202 return long_value == 0; in isZero() 223 return long_value == that.long_value; in operator ==() 243 return long_value != that.long_value; in operator !=() 264 return long_value < that.long_value; in operator <() 285 return long_value > that.long_value; in operator >() 306 return long_value >= that.long_value; in operator >=() 341 v.setLong(long_value - that.long_value); in operator -() 362 long_value = that.long_value; in operator =() [all …]
|
D | FieldValue.h | 277 long_value = v; in Value() 307 long_value = v; in setLong() 323 int64_t long_value; member
|
D | stats_log_util.cpp | 113 (long long)dim.mValue.long_value); in writeDimensionToProtoHelper() 180 (long long)dim.mValue.long_value); in writeDimensionLeafToProtoHelper() 342 (long long)dim.mValue.long_value); in writeFieldValueTreeToStreamHelper()
|
D | HashableDimensionKey.cpp | 42 android::hash_type(fieldValue.mValue.long_value)); in hashDimension()
|
/frameworks/base/cmds/statsd/tests/external/ |
D | GpuStatsPuller_test.cpp | 121 EXPECT_EQ(DRIVER_VERSION_CODE, outData[0]->getValues()[2].mValue.long_value); in TEST_F() 122 EXPECT_EQ(DRIVER_BUILD_TIME, outData[0]->getValues()[3].mValue.long_value); in TEST_F() 123 EXPECT_EQ(GL_LOADING_COUNT, outData[0]->getValues()[4].mValue.long_value); in TEST_F() 124 EXPECT_EQ(GL_LOADING_FAILURE_COUNT, outData[0]->getValues()[5].mValue.long_value); in TEST_F() 125 EXPECT_EQ(VK_LOADING_COUNT, outData[0]->getValues()[6].mValue.long_value); in TEST_F() 126 EXPECT_EQ(VK_LOADING_FAILURE_COUNT, outData[0]->getValues()[7].mValue.long_value); in TEST_F() 130 EXPECT_EQ(ANGLE_LOADING_COUNT, outData[0]->getValues()[11].mValue.long_value); in TEST_F() 131 EXPECT_EQ(ANGLE_LOADING_FAILURE_COUNT, outData[0]->getValues()[12].mValue.long_value); in TEST_F() 164 EXPECT_EQ(DRIVER_VERSION_CODE, outData[0]->getValues()[1].mValue.long_value); in TEST_F()
|
/frameworks/base/cmds/statsd/tests/metrics/ |
D | ValueMetricProducer_test.cpp | 73 EXPECT_EQ(expectedValues[i], buckets[i].values[0].long_value) in assertPastBucketValuesSingleKey() 243 EXPECT_EQ(11, curInterval.base.long_value); in TEST() 245 EXPECT_EQ(8, curInterval.value.long_value); in TEST() 247 EXPECT_EQ(8, valueProducer->mPastBuckets.begin()->second[0].values[0].long_value); in TEST() 262 EXPECT_EQ(23, curInterval.base.long_value); in TEST() 264 EXPECT_EQ(12, curInterval.value.long_value); in TEST() 267 EXPECT_EQ(8, valueProducer->mPastBuckets.begin()->second[0].values[0].long_value); in TEST() 269 EXPECT_EQ(12, valueProducer->mPastBuckets.begin()->second.back().values[0].long_value); in TEST() 283 EXPECT_EQ(36, curInterval.base.long_value); in TEST() 285 EXPECT_EQ(13, curInterval.value.long_value); in TEST() [all …]
|
/frameworks/base/cmds/statsd/src/matchers/ |
D | matcher_util.cpp | 223 (values[i].mValue.long_value != 0) == matcher.eq_bool())) { in matchesSimple() 273 (matcher.eq_int() == values[i].mValue.long_value)) { in matchesSimple() 287 (values[i].mValue.long_value < matcher.lt_int())) { in matchesSimple() 301 (values[i].mValue.long_value > matcher.gt_int())) { in matchesSimple() 333 (values[i].mValue.long_value <= matcher.lte_int())) { in matchesSimple() 347 (values[i].mValue.long_value >= matcher.gte_int())) { in matchesSimple()
|
/frameworks/base/libs/services/include/android/os/ |
D | StatsLogEventWrapper.h | 52 long_value = v; in StatsLogValue() 75 int64_t long_value; member
|
/frameworks/base/cmds/statsd/tests/ |
D | LogEvent_test.cpp | 90 EXPECT_EQ((int64_t)20, item6.mValue.long_value); in TEST() 275 EXPECT_EQ((int64_t)20, item6.mValue.long_value); in TEST() 345 EXPECT_EQ(678L, item6.mValue.long_value); in TEST() 355 EXPECT_EQ(890L, item8.mValue.long_value); in TEST() 426 EXPECT_EQ(10L, statsLogEventWrapper.getElements()[1].long_value); in TEST() 433 EXPECT_EQ(10, event.getValues()[1].mValue.long_value); in TEST() 490 EXPECT_EQ(10L, statsLogEventWrapper.getElements()[1].long_value); in TEST() 504 EXPECT_EQ(10, event.getValues()[1].mValue.long_value); in TEST() 522 EXPECT_EQ(10, event1.getValues()[5].mValue.long_value); in TEST() 537 EXPECT_EQ(10, event2.getValues()[3].mValue.long_value); in TEST() [all …]
|
/frameworks/base/cmds/statsd/src/metrics/ |
D | ValueMetricProducer.cpp | 318 (long long)value.long_value); in onDumpReportLocked() 320 (long long)bucket.mBucketEndNs, index, (long long)value.long_value); in onDumpReportLocked() 647 ret.setLong(value.mValue.long_value); in getDoubleOrLong() 809 long wholeBucketVal = multiIntervals[0].value.long_value; in onMatchedLogEventInternalLocked() 902 double sum = interval.value.type == LONG ? (double)interval.value.long_value in buildPartialBucket() 964 mCurrentFullBucket[slice.first] += interval.value.long_value; in appendToFullBucket() 983 tracker->addPastBucket(slice.first, interval.value.long_value, in appendToFullBucket() 996 mCurrentFullBucket[slice.first] += interval.value.long_value; in appendToFullBucket()
|
D | GaugeMetricProducer.cpp | 502 gaugeVal = value.long_value; in onMatchedLogEventInternalLocked() 522 gaugeVal = value.long_value; in updateCurrentSlicedBucketForAnomaly()
|
/frameworks/base/cmds/statsd/src/logd/ |
D | LogEvent.cpp | 87 FieldValue(field, Value(statsLogEventWrapper.getElements()[i].long_value))); in LogEvent() 535 return value.mValue.long_value; in GetLong() 599 return value.mValue.long_value != 0; in GetBool()
|
/frameworks/base/cmds/statsd/src/subscriber/ |
D | SubscriberReporter.cpp | 138 dim.mValue.long_value)); in getStatsDimensionsValueHelper()
|