Home
last modified time | relevance | path

Searched refs:isValidPhysicalAddress (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/tests/hdmitests/src/android/hardware/hdmi/
DHdmiUtilsTest.java128 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()
/frameworks/base/core/java/android/hardware/hdmi/
DHdmiUtils.java153 public static boolean isValidPhysicalAddress(int address) { in isValidPhysicalAddress() method in HdmiUtils
230 if (!isValidPhysicalAddress(address1)) { in physicalAddressFirstDifferentDigitPos()
233 if (!isValidPhysicalAddress(address2)) { in physicalAddressFirstDifferentDigitPos()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecMessageValidator.java259 private boolean isValidPhysicalAddress(byte[] params, int offset) { in isValidPhysicalAddress() method in HdmiCecMessageValidator
302 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()