Searched refs:isValidPhysicalAddress (Results 1 – 3 of 3) sorted by relevance
128 assertThat(HdmiUtils.isValidPhysicalAddress(0)).isTrue(); in isValidPysicalAddress_true()129 assertThat(HdmiUtils.isValidPhysicalAddress(0xFFFE)).isTrue(); in isValidPysicalAddress_true()130 assertThat(HdmiUtils.isValidPhysicalAddress(0x1200)).isTrue(); in isValidPysicalAddress_true()135 assertThat(HdmiUtils.isValidPhysicalAddress(-1)).isFalse(); in isValidPysicalAddress_outOfRange()136 assertThat(HdmiUtils.isValidPhysicalAddress(0xFFFF)).isFalse(); in isValidPysicalAddress_outOfRange()137 assertThat(HdmiUtils.isValidPhysicalAddress(0x10000)).isFalse(); in isValidPysicalAddress_outOfRange()142 assertThat(HdmiUtils.isValidPhysicalAddress(0x0001)).isFalse(); in isValidPysicalAddress_nonTrailingZeros()143 assertThat(HdmiUtils.isValidPhysicalAddress(0x0213)).isFalse(); in isValidPysicalAddress_nonTrailingZeros()
153 public static boolean isValidPhysicalAddress(int address) { in isValidPhysicalAddress() method in HdmiUtils230 if (!isValidPhysicalAddress(address1)) { in physicalAddressFirstDifferentDigitPos()233 if (!isValidPhysicalAddress(address2)) { in physicalAddressFirstDifferentDigitPos()
259 private boolean isValidPhysicalAddress(byte[] params, int offset) { in isValidPhysicalAddress() method in HdmiCecMessageValidator302 return toErrorCode(isValidPhysicalAddress(params, 0)); in isValid()323 return toErrorCode(isValidPhysicalAddress(params, 0) && isValidType(params[2])); in isValid()334 isValidPhysicalAddress(params, 0) && isValidPhysicalAddress(params, 2)); in isValid()