Searched refs:enumValue (Results 1 – 8 of 8) sorted by relevance
/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() 172 private static <T extends Enum<T>> int getEnumValue(T enumValue) { in getEnumValue() argument [all …]
|
/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 | 192 Integer enumValue = enumValues != null ? enumValues.get(value) : null; in getAttributeIntValue() 193 if (enumValue != null) { in getAttributeIntValue() 194 return enumValue; in getAttributeIntValue()
|
/frameworks/base/core/java/android/hardware/input/ |
D | KeyboardLayout.java | 132 public static String getLayoutNameFromValue(int enumValue) { in getLayoutNameFromValue() argument 133 return VALUE_TO_ENUM_MAP.getOrDefault(enumValue, UNDEFINED).getName(); in getLayoutNameFromValue()
|
/frameworks/base/cmds/incident_helper/src/ |
D | ih_util.h | 148 void addEnumNameToValue(const char* enumName, const int enumValue);
|
D | ih_util.cpp | 306 Table::addEnumNameToValue(const char* enumName, const int enumValue) in addEnumNameToValue() argument 308 mEnumValuesByName[enumName] = enumValue; in addEnumNameToValue()
|
/frameworks/base/services/core/java/com/android/server/input/ |
D | KeyboardMetricsCollector.java | 234 KeyboardLogEvent(int enumValue, String enumName) { in KeyboardLogEvent() argument 235 mValue = enumValue; in KeyboardLogEvent()
|
/frameworks/layoutlib/bridge/src/android/content/res/ |
D | BridgeTypedArray.java | 665 Integer enumValue = resolveEnumAttribute(index); in getResourceId() local 666 if (enumValue != null) { in getResourceId() 667 return enumValue; in getResourceId()
|