Searched refs:fieldType (Results 1 – 6 of 6) sorted by relevance
/cts/hostsidetests/inputmethodservice/deviceside/lib/src/android/inputmethodservice/cts/db/ |
D | Field.java | 36 static Field newInstance(int pos, String name, int fieldType) { in newInstance() argument 37 switch (fieldType) { in newInstance() 43 throw new IllegalArgumentException("Unknown field type: " + fieldType); in newInstance() 47 private Field(int pos, String name, int fieldType) { in Field() argument 50 this.mSqLiteType = toSqLiteType(fieldType); in Field() 98 private static String toSqLiteType(int fieldType) { in toSqLiteType() argument 99 switch (fieldType) { in toSqLiteType() 111 throw new IllegalArgumentException("Unknown field type: " + fieldType); in toSqLiteType()
|
D | Entity.java | 86 public Builder<E> addField(@NonNull String name, int fieldType) { in addField() argument 87 addFieldInternal(name, fieldType); in addField() 100 private void addFieldInternal(String name, int fieldType) { in addFieldInternal() argument 105 final Field field = Field.newInstance(mPos++, name, fieldType); in addFieldInternal()
|
/cts/tests/signature/lib/common/src/android/signature/cts/ |
D | ApiComplianceChecker.java | 370 Class<?> fieldType = deviceField.getType(); in getFieldValueAsString() local 371 if (fieldType == byte.class) { in getFieldValueAsString() 373 } else if (fieldType == char.class) { in getFieldValueAsString() 375 } else if (fieldType == short.class) { in getFieldValueAsString() 377 } else if (fieldType == int.class) { in getFieldValueAsString() 379 } else if (fieldType == long.class) { in getFieldValueAsString() 381 } else if (fieldType == float.class) { in getFieldValueAsString() 384 } else if (fieldType == double.class) { in getFieldValueAsString() 387 } else if (fieldType == boolean.class) { in getFieldValueAsString() 389 } else if (fieldType == java.lang.String.class) { in getFieldValueAsString()
|
D | JDiffClassDescription.java | 207 public JDiffField(String name, String fieldType, int modifier, String value) { in JDiffField() argument 210 mFieldType = fieldType; in JDiffField()
|
/cts/tests/tests/proto/src/android/util/proto/cts/ |
D | ProtoOutputStreamTagTest.java | 83 private void checkMessageForType(long fieldType, String string) { in checkMessageForType() argument 84 final long badType = fieldType == ProtoOutputStream.FIELD_TYPE_DOUBLE in checkMessageForType() 94 ProtoOutputStream.checkFieldId(42 | goodCount | badType, goodCount | fieldType); in checkMessageForType() 105 ProtoOutputStream.checkFieldId(43 | goodCount | fieldType, goodCount | badType); in checkMessageForType()
|
/cts/tests/signature/lib/android/src/android/signature/cts/ |
D | XmlApiParser.java | 140 String fieldType = canonicalizeType(parser.getAttributeValue(null, ATTRIBUTE_TYPE)); in loadFieldInfo() local 153 switch (fieldType) { in loadFieldInfo() 222 return new JDiffField(fieldName, fieldType, modifier, value); in loadFieldInfo()
|