Searched refs:deviceField (Results 1 – 1 of 1) sorted by relevance
338 private static String checkFieldValueCompliance(JDiffField apiField, Field deviceField) { in checkFieldValueCompliance() argument352 if (deviceField.getType() == char.class) { in checkFieldValueCompliance()356 String deviceFieldValue = getFieldValueAsString(deviceField); in checkFieldValueCompliance()366 private static String getFieldValueAsString(Field deviceField) { in getFieldValueAsString() argument368 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 …]