/frameworks/base/cmds/statsd/tests/ |
D | LogEvent_test.cpp | 58 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 …]
|
D | FieldValue_test.cpp | 50 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/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/ |
D | TestUtil.java | 2270 ((Message)message.getField(f("optionalgroup"))).hasField(groupA)); in assertAllFieldsSetViaReflection() 2272 ((Message)message.getField(f("optional_nested_message"))) in assertAllFieldsSetViaReflection() 2275 ((Message)message.getField(f("optional_foreign_message"))) in assertAllFieldsSetViaReflection() 2278 ((Message)message.getField(f("optional_import_message"))) in assertAllFieldsSetViaReflection() 2288 Assert.assertEquals(101 , message.getField(f("optional_int32" ))); in assertAllFieldsSetViaReflection() 2289 Assert.assertEquals(102L , message.getField(f("optional_int64" ))); in assertAllFieldsSetViaReflection() 2290 Assert.assertEquals(103 , message.getField(f("optional_uint32" ))); in assertAllFieldsSetViaReflection() 2291 Assert.assertEquals(104L , message.getField(f("optional_uint64" ))); in assertAllFieldsSetViaReflection() 2292 Assert.assertEquals(105 , message.getField(f("optional_sint32" ))); in assertAllFieldsSetViaReflection() 2293 Assert.assertEquals(106L , message.getField(f("optional_sint64" ))); in assertAllFieldsSetViaReflection() [all …]
|
D | UnknownFieldSetTest.java | 59 UnknownFieldSet.Field getField(String name) { in getField() method in UnknownFieldSetTest 62 return unknownFields.getField(field.getNumber()); in getField() 102 UnknownFieldSet.Field field = getField("optional_int32"); in testVarint() 109 UnknownFieldSet.Field field = getField("optional_fixed32"); in testFixed32() 116 UnknownFieldSet.Field field = getField("optional_fixed64"); in testFixed64() 123 UnknownFieldSet.Field field = getField("optional_bytes"); in testLengthDelimited() 134 UnknownFieldSet.Field field = getField("optionalgroup"); in testGroup() 142 group.getField(nestedFieldDescriptor.getNumber()); in testGroup() 225 destination.getUnknownFields().getField(123456); in testParseKnownAndUnknown() 304 .getField(singularField.getNumber()) in testParseUnknownEnumValue() [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/ |
D | UnknownFieldSetTest.java | 62 UnknownFieldSet.Field getField(String name) { in getField() method in UnknownFieldSetTest 65 return unknownFields.getField(field.getNumber()); in getField() 105 UnknownFieldSet.Field field = getField("optional_int32"); in testVarint() 112 UnknownFieldSet.Field field = getField("optional_fixed32"); in testFixed32() 119 UnknownFieldSet.Field field = getField("optional_fixed64"); in testFixed64() 126 UnknownFieldSet.Field field = getField("optional_bytes"); in testLengthDelimited() 137 UnknownFieldSet.Field field = getField("optionalgroup"); in testGroup() 145 group.getField(nestedFieldDescriptor.getNumber()); in testGroup() 235 destination.getUnknownFields().getField(123456); in testParseKnownAndUnknown() 314 .getField(singularField.getNumber()) in testParseUnknownEnumValue() [all …]
|
D | TestUtil.java | 3036 ((Message)message.getField(f("optionalgroup"))).hasField(groupA)); in assertAllFieldsSetViaReflection() 3038 ((Message)message.getField(f("optional_nested_message"))) in assertAllFieldsSetViaReflection() 3041 ((Message)message.getField(f("optional_foreign_message"))) in assertAllFieldsSetViaReflection() 3044 ((Message)message.getField(f("optional_import_message"))) in assertAllFieldsSetViaReflection() 3054 Assert.assertEquals(101 , message.getField(f("optional_int32" ))); in assertAllFieldsSetViaReflection() 3055 Assert.assertEquals(102L , message.getField(f("optional_int64" ))); in assertAllFieldsSetViaReflection() 3056 Assert.assertEquals(103 , message.getField(f("optional_uint32" ))); in assertAllFieldsSetViaReflection() 3057 Assert.assertEquals(104L , message.getField(f("optional_uint64" ))); in assertAllFieldsSetViaReflection() 3058 Assert.assertEquals(105 , message.getField(f("optional_sint32" ))); in assertAllFieldsSetViaReflection() 3059 Assert.assertEquals(106L , message.getField(f("optional_sint64" ))); in assertAllFieldsSetViaReflection() [all …]
|
D | DynamicMessageTest.java | 260 assertEquals(123, copy2.getField(uint32Field)); in testDynamicMessageCopy() 279 derived.getUnknownFields().getField(unknownFieldNum).getVarintList()); in testToBuilder() 291 FieldDescriptor field = oneof.getField(3); in testDynamicOneofMessage() 299 FieldDescriptor mergedField = oneof.getField(0); in testDynamicOneofMessage() 324 enumDescriptor.getValues(), message.getField(repeatedEnumField)); in testSettersForRepeatedEnumField()
|
D | UnknownEnumValueTest.java | 146 (EnumValueDescriptor) message.getField(optionalNestedEnumField); in testUnknownEnumValueInReflectionApi() 173 assertTrue(unknown6543 == message.getField(optionalNestedEnumField)); in testUnknownEnumValueInReflectionApi() 196 ((EnumValueDescriptor) message.getField(optionalNestedEnumField)).getNumber()); in testUnknownEnumValueWithDynamicMessage() 209 ((EnumValueDescriptor) message.getField(optionalNestedEnumField)).getNumber()); in testUnknownEnumValueWithDynamicMessage()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/util/src/main/java/com/google/protobuf/util/ |
D | FieldMaskTree.java | 246 (Message) source.getField(field), in merge() 253 destination.setField(field, source.getField(field)); in merge() 255 for (Object element : (List) source.getField(field)) { in merge() 265 destination.setField(field, source.getField(field)); in merge() 269 destination.getFieldBuilder(field).mergeFrom((Message) source.getField(field)); in merge() 274 destination.setField(field, source.getField(field)); in merge()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | ViewRootImplTest.java | 100 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/ |
D | FieldValue.h | 93 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();
|
D | HashableDimensionKey.cpp | 34 hash = android::JenkinsHashMix(hash, android::hash_type((int)fieldValue.mField.getField())); in hashDimension() 72 value.mField.getField() & matcher.mMask); in filterValues() 105 links.conditionFields[i].mMatcher.getField()); in getDimensionForCondition() 170 output += StringPrintf("(%d)%#x->%s ", value.mField.getTag(), value.mField.getField(), in toString()
|
D | FieldValue.cpp | 49 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/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/main/java/com/google/protobuf/ |
D | GeneratedMessage.java | 145 final List<?> value = (List<?>) getField(field); in getAllFieldsMutable() 159 result.put(field, getField(field)); in getAllFieldsMutable() 178 List<Message> messageList = (List<Message>) getField(field); in isInitialized() 185 if (hasField(field) && !((Message) getField(field)).isInitialized()) { in isInitialized() 228 return internalGetFieldAccessorTable().getField(field).has(this); in hasField() 232 public Object getField(final FieldDescriptor field) { in getField() method in GeneratedMessage 233 return internalGetFieldAccessorTable().getField(field).get(this); in getField() 245 return internalGetFieldAccessorTable().getField(field).getRaw(this); in getFieldRaw() 250 return internalGetFieldAccessorTable().getField(field) in getRepeatedFieldCount() 256 return internalGetFieldAccessorTable().getField(field) in getRepeatedField() [all …]
|
D | GeneratedMessageV3.java | 146 final List<?> value = (List<?>) getField(field); in getAllFieldsMutable() 160 result.put(field, getField(field)); in getAllFieldsMutable() 179 List<Message> messageList = (List<Message>) getField(field); in isInitialized() 186 if (hasField(field) && !((Message) getField(field)).isInitialized()) { in isInitialized() 229 return internalGetFieldAccessorTable().getField(field).has(this); in hasField() 233 public Object getField(final FieldDescriptor field) { in getField() method in GeneratedMessageV3 234 return internalGetFieldAccessorTable().getField(field).get(this); in getField() 246 return internalGetFieldAccessorTable().getField(field).getRaw(this); in getFieldRaw() 251 return internalGetFieldAccessorTable().getField(field) in getRepeatedFieldCount() 257 return internalGetFieldAccessorTable().getField(field) in getRepeatedField() [all …]
|
D | MessageReflection.java | 61 fields.put(field, message.getField(field)); in writeMessageTo() 254 public Object getField(Descriptors.FieldDescriptor field); in getField() method 383 public Object getField(Descriptors.FieldDescriptor field) { in getField() method in MessageReflection.BuilderAdapter 384 return builder.getField(field); in getField() 466 Message originalMessage = (Message) getField(field); in parseGroup() 490 Message originalMessage = (Message) getField(field); in parseMessage() 514 Message originalMessage = (Message) getField(field); in parseMessageFromBytes() 569 public Object getField(Descriptors.FieldDescriptor field) { in getField() method in MessageReflection.ExtensionAdapter 570 return extensions.getField(field); in getField() 647 Message originalMessage = (Message) getField(field); in parseGroup() [all …]
|
D | AbstractMessage.java | 201 Object fieldValue = entry.getField(value); in convertMapEntryListToMap() 205 result.put(entry.getField(key), fieldValue); in convertMapEntryListToMap() 208 fieldValue = entry.getField(value); in convertMapEntryListToMap() 212 result.put(entry.getField(key), fieldValue); in convertMapEntryListToMap() 401 final Message existingValue = (Message)getField(field); in mergeFrom()
|
D | FieldSet.java | 242 public Object getField(final FieldDescriptorType descriptor) { in getField() method in FieldSet 302 final Object value = getField(descriptor); in getRepeatedFieldCount() 321 final Object value = getField(descriptor); in getRepeatedField() 343 final Object list = getField(descriptor); in setRepeatedField() 366 final Object existingValue = getField(descriptor); in addRepeatedField() 530 Object value = getField(descriptor); in mergeFromField() 539 Object value = getField(descriptor); in mergeFromField()
|
D | MapEntry.java | 191 result.put(field, getField(field)); in getAllFields() 213 public Object getField(FieldDescriptor field) { in getField() method in MapEntry 388 result.put(field, getField(field)); in getAllFields() 401 public Object getField(FieldDescriptor field) { in getField() method in MapEntry.Builder
|
D | MessageOrBuilder.java | 120 Object getField(Descriptors.FieldDescriptor field); in getField() method
|
/frameworks/rs/ |
D | rsApiElement.cpp | 41 e->getField(i)->incUserRef(); in rsaElementGetSubElements() 42 ids[i] = (uintptr_t)e->getField(i); in rsaElementGetSubElements()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/ruby/src/main/java/com/google/protobuf/jruby/ |
D | RubyMessage.java | 136 return getField(context, fieldDescriptor); in index() 191 IRubyObject thisVal = getField(context, fdef); in eq() 192 IRubyObject thatVal = message.getField(context, fdef); in eq() 262 …s.put(fieldDescriptor, wrapField(context, fieldDescriptor, this.builder.getField(fieldDescriptor))… in dup() 353 IRubyObject value = getField(context, fdef); in toHash() 409 copy.fields.put(fdef, wrapField(context, fdef, this.builder.getField(fdef))); in deepCopy() 592 …protected IRubyObject getField(ThreadContext context, Descriptors.FieldDescriptor fieldDescriptor)… in getField() method in RubyMessage 606 IRubyObject value = wrapField(context, oneofCase, builder.getField(oneofCase)); in getField() 625 …map.indexSet(context, kvMessage.getField(context, keyField), kvMessage.getField(context, valueFiel… in getField() 639 … IRubyObject value = wrapField(context, fieldDescriptor, this.builder.getField(fieldDescriptor)); in getField() [all …]
|
/frameworks/hardware/interfaces/sensorservice/1.0/vts/functional/ |
D | VtsHalSensorManagerV1_0TargetTest.cpp | 72 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/opt/gamesdk/third_party/protobuf-3.0.0/js/ |
D | message.js | 594 jspb.Message.getField = function(msg, fieldNumber) { function in jspb.Message 620 var value = jspb.Message.getField(msg, fieldNumber); 634 var values = jspb.Message.getField(msg, fieldNumber); 748 var value = jspb.Message.getField(msg, fieldNumber); 785 var arr = jspb.Message.getField(msg, fieldNumber); 856 var value = jspb.Message.getField(msg, fieldNumber); 891 var data = /** @type {Array} */ (jspb.Message.getField(msg, fieldNumber)); 914 var data = jspb.Message.getField(msg, fieldNumber);
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/ |
D | GPBUnknownFieldSet.h | 52 - (nullable GPBUnknownField *)getField:(int32_t)number;
|