Home
last modified time | relevance | path

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

/cts/tests/signature/lib/common/src/android/signature/cts/
DApiComplianceChecker.java465 JDiffClassDescription classDescription, JDiffField apiField, Field deviceField) { in checkFieldValueCompliance() argument
479 if (deviceField.getType() == char.class) { in checkFieldValueCompliance()
483 String deviceFieldValue = getFieldValueAsString(deviceField); in checkFieldValueCompliance()
501 private static String getFieldValueAsString(Field deviceField) { in getFieldValueAsString() argument
503 deviceField.setAccessible(true); in getFieldValueAsString()
505 Class<?> fieldType = deviceField.getType(); in getFieldValueAsString()
507 return Byte.toString(deviceField.getByte(null)); in getFieldValueAsString()
509 return convertCharToCanonicalValue(deviceField.getChar(null)); in getFieldValueAsString()
511 return Short.toString(deviceField.getShort(null)); in getFieldValueAsString()
513 return Integer.toString(deviceField.getInt(null)); in getFieldValueAsString()
[all …]