Searched refs:isValidPhysicalAddress (Results 1 – 3 of 3) sorted by relevance
131 assertThat(HdmiUtils.isValidPhysicalAddress(0)).isTrue(); in isValidPysicalAddress_true()132 assertThat(HdmiUtils.isValidPhysicalAddress(0xFFFE)).isTrue(); in isValidPysicalAddress_true()133 assertThat(HdmiUtils.isValidPhysicalAddress(0x1200)).isTrue(); in isValidPysicalAddress_true()138 assertThat(HdmiUtils.isValidPhysicalAddress(-1)).isFalse(); in isValidPysicalAddress_outOfRange()139 assertThat(HdmiUtils.isValidPhysicalAddress(0xFFFF)).isFalse(); in isValidPysicalAddress_outOfRange()140 assertThat(HdmiUtils.isValidPhysicalAddress(0x10000)).isFalse(); in isValidPysicalAddress_outOfRange()145 assertThat(HdmiUtils.isValidPhysicalAddress(0x0001)).isFalse(); in isValidPysicalAddress_nonTrailingZeros()146 assertThat(HdmiUtils.isValidPhysicalAddress(0x0213)).isFalse(); in isValidPysicalAddress_nonTrailingZeros()
151 public static boolean isValidPhysicalAddress(int address) { in isValidPhysicalAddress() method in HdmiUtils228 if (!isValidPhysicalAddress(address1)) { in physicalAddressFirstDifferentDigitPos()231 if (!isValidPhysicalAddress(address2)) { in physicalAddressFirstDifferentDigitPos()
391 private static boolean isValidPhysicalAddress(byte[] params, int offset) { in isValidPhysicalAddress() method in HdmiCecMessageValidator697 return isValidPhysicalAddress(params, offset); in isValidExternalSource()841 return toErrorCode(isValidPhysicalAddress(params, 0)); in isValid()862 return toErrorCode(isValidPhysicalAddress(params, 0) && isValidType(params[2])); in isValid()873 isValidPhysicalAddress(params, 0) && isValidPhysicalAddress(params, 2)); in isValid()