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.java338 private static String checkFieldValueCompliance(JDiffField apiField, Field deviceField) { in checkFieldValueCompliance() argument
352 if (deviceField.getType() == char.class) { in checkFieldValueCompliance()
356 String deviceFieldValue = getFieldValueAsString(deviceField); in checkFieldValueCompliance()
366 private static String getFieldValueAsString(Field deviceField) { in getFieldValueAsString() argument
368 deviceField.setAccessible(true); in getFieldValueAsString()
370 Class<?> fieldType = deviceField.getType(); in getFieldValueAsString()
372 return Byte.toString(deviceField.getByte(null)); in getFieldValueAsString()
374 return convertCharToCanonicalValue(deviceField.getChar(null)); in getFieldValueAsString()
376 return Short.toString(deviceField.getShort(null)); in getFieldValueAsString()
378 return Integer.toString(deviceField.getInt(null)); in getFieldValueAsString()
[all …]