/frameworks/base/core/java/android/hardware/camera2/marshal/impl/ |
D | MarshalQueryableEnum.java | 60 int enumValue = getEnumValue(value); in marshal() local 63 buffer.putInt(enumValue); in marshal() 65 if (enumValue < UINT8_MIN || enumValue > UINT8_MAX) { in marshal() 67 "Enum value %x too large to fit into unsigned byte", enumValue)); in marshal() 69 buffer.put((byte)enumValue); in marshal() 77 int enumValue; in unmarshal() local 81 enumValue = buffer.getInt(); in unmarshal() 85 enumValue = buffer.get() & UINT8_MASK; in unmarshal() 92 return getEnumFromValue(mClass, enumValue); in unmarshal() 171 private static <T extends Enum<T>> int getEnumValue(T enumValue) { in getEnumValue() argument [all …]
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/csharp/src/Google.Protobuf/Reflection/ |
D | DescriptorPool.cs | 247 internal void AddEnumValueByNumber(EnumValueDescriptor enumValue) in AddEnumValueByNumber() argument 249 … DescriptorIntPair key = new DescriptorIntPair(enumValue.EnumDescriptor, enumValue.Number); in AddEnumValueByNumber() 252 enumValuesByNumber[key] = enumValue; in AddEnumValueByNumber()
|
/frameworks/base/tools/powermodel/src/com/android/powermodel/ |
D | RawBatteryStats.java | 703 for (final Object enumValue: fieldType.getEnumConstants()) { in EnumFieldSetter() 706 tag = (String)tagField.get(enumValue); in EnumFieldSetter() 711 mTags.put(tag, (Enum)enumValue); in EnumFieldSetter() 716 final Enum enumValue = mTags.get(value); in setField() local 717 if (enumValue == null) { in setField() 722 mField.set(object, enumValue); in setField() 736 final Enum enumValue = mTags.get(value); in setArray() local 737 if (enumValue == null) { in setArray() 741 Array.set(array, i, enumValue); in setArray()
|
/frameworks/layoutlib/bridge/src/android/util/ |
D | BridgeXmlPullAttributes.java | 193 Integer enumValue = enumValues != null ? enumValues.get(value) : null; in getAttributeIntValue() 194 if (enumValue != null) { in getAttributeIntValue() 195 return enumValue; in getAttributeIntValue()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/javanano/src/main/java/com/google/protobuf/nano/ |
D | Extension.java | 436 Integer enumValue = (Integer) value; in writeSingularData() local 437 output.writeEnumNoTag(enumValue); in writeSingularData() 685 Integer enumValue = (Integer) value; in computeSingularSerializedSize() local 686 return CodedOutputByteBufferNano.computeEnumSize(fieldNumber, enumValue); in computeSingularSerializedSize()
|
D | CodedOutputByteBufferNano.java | 1182 Integer enumValue = (Integer) value; in writeField() local 1183 writeEnum(number, enumValue); in writeField()
|
/frameworks/base/cmds/incident_helper/src/ |
D | ih_util.h | 147 void addEnumNameToValue(const char* enumName, const int enumValue);
|
D | ih_util.cpp | 301 Table::addEnumNameToValue(const char* enumName, const int enumValue) in addEnumNameToValue() argument 303 mEnumValuesByName[enumName] = enumValue; in addEnumNameToValue()
|
/frameworks/layoutlib/bridge/src/android/content/res/ |
D | BridgeTypedArray.java | 641 Integer enumValue = resolveEnumAttribute(index); in getResourceId() local 642 if (enumValue != null) { in getResourceId() 643 return enumValue; in getResourceId()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/Tests/ |
D | GPBMessageTests+Serialization.m | 121 fooWithExtras.enumValue = DropUnknownsFooWithExtraFields_NestedEnum_Baz; 129 XCTAssertEqual(foo.enumValue, DropUnknownsFoo_NestedEnum_Baz); 138 XCTAssertEqual(fooWithExtras.enumValue,
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/ |
D | GeneratedMessageTest.java | 1256 enumValue = OuterClassNameTest3OuterClass.TestMessage3.NestedMessage in testConflictingOuterClassName() local 1258 assertEquals(1, enumValue.getNumber()); in testConflictingOuterClassName()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/ |
D | GPBUtilities.m | 1185 int32_t enumValue = [valueObj intValue]; 1189 valueStr = [descriptor textFormatNameForValue:enumValue]; 1194 [toStr appendFormat:@"%d", enumValue];
|