Home
last modified time | relevance | path

Searched refs:getField (Results 1 – 25 of 47) sorted by relevance

12

/frameworks/base/cmds/statsd/tests/
DLogEvent_test.cpp58 EXPECT_EQ(0x2010101, item0.mField.getField()); in TEST()
63 EXPECT_EQ(0x2010182, item1.mField.getField()); in TEST()
68 EXPECT_EQ(0x2018201, item2.mField.getField()); in TEST()
73 EXPECT_EQ(0x2018282, item3.mField.getField()); in TEST()
78 EXPECT_EQ(0x20000, item4.mField.getField()); in TEST()
83 EXPECT_EQ(0x30000, item5.mField.getField()); in TEST()
88 EXPECT_EQ(0x40000, item6.mField.getField()); in TEST()
93 EXPECT_EQ(0x50000, item7.mField.getField()); in TEST()
129 EXPECT_EQ(0x10000, item0.mField.getField()); in TEST()
134 EXPECT_EQ(0x2010201, item1.mField.getField()); in TEST()
[all …]
DFieldValue_test.cpp50 EXPECT_EQ((int32_t)0x02010001, matcher12.mMatcher.getField()); in TEST()
71 EXPECT_EQ((int32_t)0x02010001, matcher12.mMatcher.getField()); in TEST()
116 EXPECT_EQ((int32_t)0x02010101, output.getValues()[0].mField.getField()); in TEST()
118 EXPECT_EQ((int32_t)0x02010102, output.getValues()[1].mField.getField()); in TEST()
121 EXPECT_EQ((int32_t)0x02010201, output.getValues()[2].mField.getField()); in TEST()
123 EXPECT_EQ((int32_t)0x02010202, output.getValues()[3].mField.getField()); in TEST()
126 EXPECT_EQ((int32_t)0x02010301, output.getValues()[4].mField.getField()); in TEST()
128 EXPECT_EQ((int32_t)0x02010302, output.getValues()[5].mField.getField()); in TEST()
131 EXPECT_EQ((int32_t)0x00020000, output.getValues()[6].mField.getField()); in TEST()
221 EXPECT_EQ((int32_t)0x02010001, link.metricFields[0].mMatcher.getField()); in TEST()
[all …]
/frameworks/base/core/tests/coretests/src/android/view/
DViewRootImplTest.java100 getField(mViewRootImpl, ViewRootImpl.class.getDeclaredField("mAttachInfo"))); in getAttachInfo()
121 return (Rect) getField(mAttachInfo, mClass.getDeclaredField("mContentInsets")); in getContentInsets()
125 return (Rect) getField(mAttachInfo, mClass.getDeclaredField("mStableInsets")); in getStableInsets()
129 private static Object getField(Object o, Field field) throws Exception { in getField() method in ViewRootImplTest.ViewRootImplAccessor
/frameworks/base/cmds/statsd/src/
DFieldValue.h93 Field(const Field& from) : mTag(from.getTag()), mField(from.getField()) { in Field()
132 inline int32_t getField() const { in getField() function
165 return mTag == that.getTag() && mField == that.getField();
169 return mTag != that.getTag() || mField != that.getField();
177 if (mField != that.getField()) {
178 return mField < that.getField();
DHashableDimensionKey.cpp32 hash = android::JenkinsHashMix(hash, android::hash_type((int)fieldValue.mField.getField())); in hashDimension()
70 value.mField.getField() & matcher.mMask); in filterValues()
103 links.conditionFields[i].mMatcher.getField()); in getDimensionForCondition()
168 output += StringPrintf("(%d)%#x->%s ", value.mField.getTag(), value.mField.getField(), in toString()
DFieldValue.cpp49 if ((mField & matcher.mMask) == matcher.mMatcher.getField()) { in matches()
54 (mField & (matcher.mMask & kClearAllPositionMatcherMask)) == matcher.mMatcher.getField()) { in matches()
119 int field = value.mField.getField() & 0xff007f; in isAttributionUidField()
145 int f = field.getField() & 0xff007f; in isAttributionUidField()
/frameworks/rs/
DrsApiElement.cpp41 e->getField(i)->incUserRef(); in rsaElementGetSubElements()
42 ids[i] = (uintptr_t)e->getField(i); in rsaElementGetSubElements()
DrsElement.h89 const Element * getField(uint32_t idx) const {return mFields[idx].e.get();} in getField() function
/frameworks/hardware/interfaces/sensorservice/1.0/vts/functional/
DVtsHalSensorManagerV1_0TargetTest.cpp72 static ::testing::AssertionResult isIncreasing(I begin, I end, F getField) { in isIncreasing() argument
81 if (getField(*iter) < getField(*lastValue)) { in isIncreasing()
83 << pos << ", " << getField(*iter) << " < " << getField(*lastValue); in isIncreasing()
/frameworks/base/cmds/statsd/src/logd/
DLogEvent.cpp533 if (value.mField.getField() == field) { in GetLong()
555 if (value.mField.getField() == field) { in GetInt()
575 if (value.mField.getField() == field) { in GetString()
595 if (value.mField.getField() == field) { in GetBool()
617 if (value.mField.getField() == field) { in GetFloat()
640 StringPrintf("%#x", value.mField.getField()) + "->" + value.mValue.toString() + " "; in ToString()
/frameworks/native/cmds/lshal/
DTableEntry.cpp72 std::string TableEntry::getField(TableColumnType type) const { in getField() function in android::lshal::TableEntry
165 row.push_back(entry.getField(type)); in createTextTable()
DTableEntry.h112 std::string getField(TableColumnType type) const;
/frameworks/base/services/core/java/com/android/server/om/
DDumpState.java52 @Nullable public String getField() { in getField() method in DumpState
/frameworks/base/core/tests/coretests/src/com/android/internal/statusbar/
DNotificationVisibilityTest.java40 Field locationField = MetricsEvent.class.getField(location.name()); in testNotificationLocation_sameValuesAsMetricsProto()
/frameworks/base/core/tests/coretests/src/android/app/timezonedetector/
DParcelableTestSupport.java40 Field creatorField = parcelable.getClass().getField("CREATOR"); in roundTripParcelable()
/frameworks/libs/net/common/devicetests/com/android/testutils/
DParcelUtils.kt30 creator = source.javaClass.getField("CREATOR").get(null) as Parcelable.Creator<T> in <lambda>()
/frameworks/layoutlib/create/tests/com/android/tools/layoutlib/create/
DDelegateClassAdapterTest.java162 assertEquals(123, clazz2.getField("mId").getInt(i2)); in testConstructorAfterDelegate()
197 assertEquals(98, clazz2.getField("mInnerId").getInt(i2)); in testInnerConstructorAfterDelegate()
229 assertEquals(42, clazz2.getField("mStaticInnerId").getInt(i2)); in testStaticInnerConstructorAfterDelegate()
/frameworks/base/core/java/android/util/
DReflectiveProperty.java62 mField = propertyHolder.getField(name); in ReflectiveProperty()
/frameworks/base/tests/net/java/android/net/ipmemorystore/
DParcelableTests.java119 in.getClass().getField("CREATOR").get(null); // static object, so null receiver in parcelingRoundTrip()
/frameworks/base/core/java/android/os/storage/
DIStorageManager.aidl142 String getField(in String field) = 39;
/frameworks/base/core/java/android/os/
DStatsDimensionsValue.java103 public int getField() { in getField() method in StatsDimensionsValue
/frameworks/base/services/core/java/com/android/server/
DNativeDaemonEvent.java197 public String getField(int n) { in getField() method in NativeDaemonEvent
/frameworks/base/cmds/statsd/tools/dogfood/src/com/android/statsd/dogfood/
DDisplayProtoUtils.java77 sb.append(dimensionValue.getField()).append(":"); in displayDimension()
/frameworks/base/cmds/statsd/tools/loadtest/src/com/android/statsd/loadtest/
DDisplayProtoUtils.java88 sb.append(dimensionValue.getField()).append(":"); in displayDimension()
/frameworks/base/test-base/src/android/test/
DInstrumentationTestCase.java277 final Field keyCodeField = KeyEvent.class.getField("KEYCODE_" + key); in sendKeys()

12