Home
last modified time | relevance | path

Searched refs:int_value (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/cmds/statsd/src/
DFieldValue.cpp141 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 …]
DFieldValue.h272 int_value = v; in Value()
302 int_value = v; in setInt()
322 int32_t int_value; member
Dstats_log_util.cpp109 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()
DHashableDimensionKey.cpp38 android::hash_type(fieldValue.mValue.int_value)); in hashDimension()
DStatsLogProcessor.cpp132 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/
DLogEvent_test.cpp60 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 …]
DFieldValue_test.cpp117 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/
DGaugeMetricProducer_test.cpp144 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 …]
DValueMetricProducer_test.cpp1650 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/
Dmatcher_util.cpp87 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/
DStatsPuller_test.cpp90 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()
DGpuStatsPuller_test.cpp127 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/
DELFAttributeData.cpp41 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/
DStatsLogEventWrapper.h47 int_value = v; in StatsLogValue()
74 int32_t int_value; member
/frameworks/native/libs/vr/libdisplay/include/private/dvr/
Ddisplay_protocol.h158 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/
Dpuller_util.cpp84 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/
DLogEvent.cpp83 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/
DSubscriberReporter.cpp134 dim.mValue.int_value)); in getStatsDimensionsValueHelper()
/frameworks/native/services/surfaceflinger/Scheduler/
DScheduler.cpp83 int int_value = atoi(value); in Scheduler() local
84 if (int_value) { in Scheduler()
/frameworks/base/cmds/statsd/src/metrics/
DGaugeMetricProducer.cpp500 gaugeVal = (long)value.int_value; in onMatchedLogEventInternalLocked()
520 gaugeVal = (long)value.int_value; in updateCurrentSlicedBucketForAnomaly()
DValueMetricProducer.cpp644 ret.setLong(value.mValue.int_value); in getDoubleOrLong()
/frameworks/native/libs/vr/libpdx/
Dvariant_tests.cpp652 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/
DSurfaceFlinger.cpp382 int int_value = atoi(value); in SurfaceFlinger() local
383 if (int_value) { in SurfaceFlinger()