Home
last modified time | relevance | path

Searched refs:fieldType (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/java/android/util/proto/
DProtoStream.java451 public static @Nullable String getFieldTypeString(@FieldType long fieldType) { in getFieldTypeString() argument
452 int index = ((int) ((fieldType & FIELD_TYPE_MASK) >>> FIELD_TYPE_SHIFT)) - 1; in getFieldTypeString()
510 final long fieldType = fieldId & FIELD_TYPE_MASK; in getFieldIdString() local
511 String typeString = getFieldTypeString(fieldType); in getFieldIdString()
513 typeString = "fieldType=" + fieldType; in getFieldIdString()
DProtoOutputStream.java2210 final long fieldType = fieldId & FIELD_TYPE_MASK; in checkFieldId() local
2217 if (fieldType != expectedType in checkFieldId()
2222 final String typeString = getFieldTypeString(fieldType); in checkFieldId()
2235 if (fieldType == FIELD_TYPE_MESSAGE) { in checkFieldId()
/frameworks/libs/net/common/device/com/android/net/module/util/
DStruct.java161 private static void checkAnnotationType(final Field annotation, final Class fieldType) { in checkAnnotationType() argument
165 if (fieldType == Short.TYPE) return; in checkAnnotationType()
170 if (fieldType == Integer.TYPE) return; in checkAnnotationType()
177 if (fieldType == Long.TYPE) return; in checkAnnotationType()
181 if (fieldType == BigInteger.class) return; in checkAnnotationType()
184 if (fieldType == Byte.TYPE) return; in checkAnnotationType()
187 if (fieldType != byte[].class) break; in checkAnnotationType()
194 if (fieldType == MacAddress.class) return; in checkAnnotationType()
197 if (fieldType == Inet4Address.class) return; in checkAnnotationType()
200 if (fieldType == Inet6Address.class) return; in checkAnnotationType()
[all …]
/frameworks/base/core/java/android/util/
DReflectiveProperty.java63 Class fieldType = mField.getType(); in ReflectiveProperty()
64 if (!typesMatch(valueType, fieldType)) { in ReflectiveProperty()
65 throw new NoSuchPropertyException("Underlying type (" + fieldType + ") " + in ReflectiveProperty()
/frameworks/base/core/java/android/bluetooth/le/
DScanRecord.java248 int fieldType = scanRecord[currentPos++] & 0xFF; in parseFromBytes() local
249 switch (fieldType) { in parseFromBytes()
292 if (fieldType == DATA_TYPE_SERVICE_DATA_32_BIT) { in parseFromBytes()
294 } else if (fieldType == DATA_TYPE_SERVICE_DATA_128_BIT) { in parseFromBytes()
/frameworks/base/tools/powermodel/src/com/android/powermodel/
DRawBatteryStats.java681 final Class<?> fieldType = field.getType(); in EnumFieldSetter() local
685 tagField = fieldType.getField("tag"); in EnumFieldSetter()
689 + " a String field called tag. Enum class: " + fieldType.getName() in EnumFieldSetter()
697 + " a String field called tag. Enum class: " + fieldType.getName() in EnumFieldSetter()
703 for (final Object enumValue: fieldType.getEnumConstants()) { in EnumFieldSetter()
1134 final Class<?> fieldType = field.getType();
1135 final Class<?> innerType = fieldType.isArray()
1136 ? fieldType.getComponentType()
1137 : fieldType;
1148 + fieldType.getName() + "' on "
/frameworks/av/media/codec2/sfplugin/
DReflectedParamUpdater.cpp408 C2FieldDescriptor::type_t fieldType = desc.fieldDesc->type(); in parseMessageAndDoWork() local
410 switch (fieldType) { in parseMessageAndDoWork()
531 C2FieldDescriptor::type_t fieldType = desc.fieldDesc->type(); in getParams() local
532 switch (fieldType) { in getParams()
566 size_t valueSize = C2Value::SizeFor((C2Value::type_t)fieldType); in getParams()
574 switch (fieldType) { in getParams()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageParserTest.java917 final Class<?> fieldType = f.getType(); in assertAllFieldsExist() local
923 if (List.class.isAssignableFrom(fieldType)) { in assertAllFieldsExist()
929 } else if (fieldType.getComponentType() != null) { in assertAllFieldsExist()
934 } else if (fieldType == String.class) { in assertAllFieldsExist()
939 } else if (fieldType == int.class) { in assertAllFieldsExist()
943 } else if (fieldType == boolean.class) { in assertAllFieldsExist()
/frameworks/compile/slang/
Dslang_backend.cpp858 for (llvm::Type *fieldType : origStructType->elements()) { in PadHelperFunctionStruct()
866 paddedFieldTypes.push_back(fieldType); in PadHelperFunctionStruct()
870 fieldPrePaddingOffset = fieldOffset + DL->getTypeAllocSize(fieldType); in PadHelperFunctionStruct()