Searched refs:isWithinRange (Results 1 – 1 of 1) sorted by relevance
/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | HdmiCecMessageValidator.java | 422 private static boolean isWithinRange(int value, int min, int max) { in isWithinRange() method in HdmiCecMessageValidator 451 if (!isWithinRange(params[i], 0x20, 0x7E)) { in isValidAsciiString() 466 return isWithinRange(value, 1, 31); in isValidDayOfMonth() 477 return isWithinRange(value, 1, 12); in isValidMonthOfYear() 488 return isWithinRange(value, 0, 23); in isValidHour() 499 return isWithinRange(value, 0, 59); in isValidMinute() 510 return isWithinRange(value, 0, 99); in isValidDurationHours() 539 return isWithinRange(value, 0x00, 0x02); in isValidAnalogueBroadcastType() 563 return isWithinRange(value, 0, 31); in isValidBroadcastSystem() 574 return (value == 0x00 || isWithinRange(value, 0x08, 0x0A)); in isAribDbs() [all …]
|