/frameworks/base/cmds/statsd/src/ |
D | FieldValue.cpp | 141 return isUid ? value.mValue.int_value : -1; in getUidIfExists() 156 int_value = from.int_value; in Value() 181 return std::to_string(int_value) + "[I]"; in toString() 200 return int_value == 0; in isZero() 221 return int_value == that.int_value; in operator ==() 241 return int_value != that.int_value; in operator !=() 262 return int_value < that.int_value; in operator <() 283 return int_value > that.int_value; in operator >() 304 return int_value >= that.int_value; in operator >=() 338 v.setInt(int_value - that.int_value); in operator -() [all …]
|
D | FieldValue.h | 272 int_value = v; in Value() 302 int_value = v; in setInt() 322 int32_t int_value; member
|
D | stats_log_util.cpp | 109 dim.mValue.int_value); in writeDimensionToProtoHelper() 176 dim.mValue.int_value); in writeDimensionLeafToProtoHelper() 338 protoOutput->write(FIELD_TYPE_INT32 | fieldNum, dim.mValue.int_value); in writeFieldValueTreeToStreamHelper()
|
D | HashableDimensionKey.cpp | 38 android::hash_type(fieldValue.mValue.int_value)); in hashDimension()
|
D | StatsLogProcessor.cpp | 132 int uid = value->int_value; in updateUid() 146 const int hostUid = mUidMap->getHostUidOrSelf(value.mValue.int_value); in mapIsolatedUidToHostUidIfNecessaryLocked() 158 const int hostUid = mUidMap->getHostUidOrSelf(value.int_value); in mapIsolatedUidToHostUidIfNecessaryLocked()
|
/frameworks/base/cmds/statsd/tests/ |
D | LogEvent_test.cpp | 60 EXPECT_EQ(1000, item0.mValue.int_value); in TEST() 70 EXPECT_EQ(2000, item2.mValue.int_value); in TEST() 85 EXPECT_EQ(10, item5.mValue.int_value); in TEST() 131 EXPECT_EQ(1000, item0.mValue.int_value); in TEST() 136 EXPECT_EQ(11, item1.mValue.int_value); in TEST() 141 EXPECT_EQ(123, item2.mValue.int_value); in TEST() 146 EXPECT_EQ(22, item3.mValue.int_value); in TEST() 151 EXPECT_EQ(345, item4.mValue.int_value); in TEST() 156 EXPECT_EQ(33, item5.mValue.int_value); in TEST() 161 EXPECT_EQ(678L, item6.mValue.int_value); in TEST() [all …]
|
D | FieldValue_test.cpp | 117 EXPECT_EQ((int32_t)1111, output.getValues()[0].mValue.int_value); in TEST() 122 EXPECT_EQ((int32_t)2222, output.getValues()[2].mValue.int_value); in TEST() 127 EXPECT_EQ((int32_t)3333, output.getValues()[4].mValue.int_value); in TEST()
|
/frameworks/base/cmds/statsd/tests/metrics/ |
D | GaugeMetricProducer_test.cpp | 144 EXPECT_EQ(10, it->mValue.int_value); in TEST() 146 EXPECT_EQ(11, it->mValue.int_value); in TEST() 149 .front().mFields->begin()->mValue.int_value); in TEST() 162 EXPECT_EQ(24, it->mValue.int_value); in TEST() 165 EXPECT_EQ(25, it->mValue.int_value); in TEST() 171 EXPECT_EQ(10L, it->mValue.int_value); in TEST() 174 EXPECT_EQ(11L, it->mValue.int_value); in TEST() 183 EXPECT_EQ(24L, it->mValue.int_value); in TEST() 186 EXPECT_EQ(25L, it->mValue.int_value); in TEST() 319 ->mValue.int_value); in TEST() [all …]
|
D | ValueMetricProducer_test.cpp | 1650 EXPECT_EQ(1, iter->first.getDimensionKeyInWhat().getValues()[0].mValue.int_value); in TEST() 1685 EXPECT_EQ(2, it->first.getDimensionKeyInWhat().getValues()[0].mValue.int_value); in TEST() 1727 EXPECT_EQ(1, iter->first.getDimensionKeyInWhat().getValues()[0].mValue.int_value); in TEST() 1762 EXPECT_EQ(2, it->first.getDimensionKeyInWhat().getValues()[0].mValue.int_value); in TEST() 1839 EXPECT_EQ(1, iter->first.getDimensionKeyInWhat().getValues()[0].mValue.int_value); in TEST() 1875 EXPECT_EQ(2, it->first.getDimensionKeyInWhat().getValues()[0].mValue.int_value); in TEST() 1893 EXPECT_EQ(2, it->first.getDimensionKeyInWhat().getValues()[0].mValue.int_value); in TEST()
|
/frameworks/base/cmds/statsd/src/matchers/ |
D | matcher_util.cpp | 87 int uid = value.int_value; in tryMatchString() 221 (values[i].mValue.int_value != 0) == matcher.eq_bool()) || in matchesSimple() 268 (matcher.eq_int() == values[i].mValue.int_value)) { in matchesSimple() 282 (values[i].mValue.int_value < matcher.lt_int())) { in matchesSimple() 296 (values[i].mValue.int_value > matcher.gt_int())) { in matchesSimple() 328 (values[i].mValue.int_value <= matcher.lte_int())) { in matchesSimple() 342 (values[i].mValue.int_value >= matcher.gte_int())) { in matchesSimple()
|
/frameworks/base/cmds/statsd/tests/external/ |
D | StatsPuller_test.cpp | 90 EXPECT_EQ(33, dataHolder[0]->getValues()[0].mValue.int_value); in TEST_F() 104 EXPECT_EQ(44, dataHolder[0]->getValues()[0].mValue.int_value); in TEST_F() 118 EXPECT_EQ(33, dataHolder[0]->getValues()[0].mValue.int_value); in TEST_F() 188 EXPECT_EQ(33, dataHolder[0]->getValues()[0].mValue.int_value); in TEST_F() 201 EXPECT_EQ(33, dataHolder[0]->getValues()[0].mValue.int_value); in TEST_F()
|
D | GpuStatsPuller_test.cpp | 127 EXPECT_EQ(VULKAN_VERSION, outData[0]->getValues()[8].mValue.int_value); in TEST_F() 128 EXPECT_EQ(CPU_VULKAN_VERSION, outData[0]->getValues()[9].mValue.int_value); in TEST_F() 129 EXPECT_EQ(GLES_VERSION, outData[0]->getValues()[10].mValue.int_value); in TEST_F() 171 EXPECT_EQ(CPU_VULKAN_IN_USE, outData[0]->getValues()[5].mValue.int_value); in TEST_F()
|
/frameworks/compile/mclinker/lib/Target/ |
D | ELFAttributeData.cpp | 41 uint64_t int_value = leb128::decode<uint64_t>(pBuf, size); in ReadValue() local 42 pValue.setIntValue(static_cast<unsigned int>(int_value)); in ReadValue()
|
/frameworks/base/libs/services/include/android/os/ |
D | StatsLogEventWrapper.h | 47 int_value = v; in StatsLogValue() 74 int32_t int_value; member
|
/frameworks/native/libs/vr/libdisplay/include/private/dvr/ |
D | display_protocol.h | 158 int int_value = 0; in GetZOrder() local 159 GetAttribute(SurfaceAttribute::ZOrder, &int_value, in GetZOrder() 161 return int_value; in GetZOrder()
|
/frameworks/base/cmds/statsd/src/external/ |
D | puller_util.cpp | 84 const int hostUid = uidMap->getHostUidOrSelf(value.mValue.int_value); in mapAndMergeIsolatedUidsToHostUid() 96 const int hostUid = uidMap->getHostUidOrSelf(value.int_value); in mapAndMergeIsolatedUidsToHostUid()
|
/frameworks/base/cmds/statsd/src/logd/ |
D | LogEvent.cpp | 83 FieldValue(field, Value(statsLogEventWrapper.getElements()[i].int_value))); in LogEvent() 537 return value.mValue.int_value; in GetLong() 557 return value.mValue.int_value; in GetInt() 597 return value.mValue.int_value != 0; in GetBool()
|
/frameworks/base/cmds/statsd/src/subscriber/ |
D | SubscriberReporter.cpp | 134 dim.mValue.int_value)); in getStatsDimensionsValueHelper()
|
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | Scheduler.cpp | 83 int int_value = atoi(value); in Scheduler() local 84 if (int_value) { in Scheduler()
|
/frameworks/base/cmds/statsd/src/metrics/ |
D | GaugeMetricProducer.cpp | 500 gaugeVal = (long)value.int_value; in onMatchedLogEventInternalLocked() 520 gaugeVal = (long)value.int_value; in updateCurrentSlicedBucketForAnomaly()
|
D | ValueMetricProducer.cpp | 644 ret.setLong(value.mValue.int_value); in getDoubleOrLong()
|
/frameworks/native/libs/vr/libpdx/ |
D | variant_tests.cpp | 652 int int_value = 0; member 657 void Visit(int value) { int_value = value; } in Visit() 670 EXPECT_EQ(10, visitor.int_value); in TEST()
|
/frameworks/native/services/surfaceflinger/ |
D | SurfaceFlinger.cpp | 382 int int_value = atoi(value); in SurfaceFlinger() local 383 if (int_value) { in SurfaceFlinger()
|