Home
last modified time | relevance | path

Searched refs:myPhysicalAddress (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/hardware/hdmi/
DHdmiUtilsTest.java37 int myPhysicalAddress = 0x1000; in pathToPort_isMe() local
39 targetPhysicalAddress, myPhysicalAddress)).isEqualTo( in pathToPort_isMe()
46 int myPhysicalAddress = 0x1000; in pathToPort_isDirectlyBelow() local
48 targetPhysicalAddress, myPhysicalAddress)).isEqualTo(1); in pathToPort_isDirectlyBelow()
54 int myPhysicalAddress = 0x1000; in pathToPort_isBelow() local
56 targetPhysicalAddress, myPhysicalAddress)).isEqualTo(1); in pathToPort_isBelow()
62 int myPhysicalAddress = 0x2000; in pathToPort_neitherMeNorBelow() local
64 targetPhysicalAddress, myPhysicalAddress)).isEqualTo( in pathToPort_neitherMeNorBelow()
68 myPhysicalAddress = 0x3300; in pathToPort_neitherMeNorBelow()
70 targetPhysicalAddress, myPhysicalAddress)).isEqualTo( in pathToPort_neitherMeNorBelow()
[all …]
/frameworks/base/core/java/android/hardware/hdmi/
DHdmiUtils.java57 int targetPhysicalAddress, int myPhysicalAddress) { in getLocalPortFromPhysicalAddress() argument
58 if (myPhysicalAddress == targetPhysicalAddress) { in getLocalPortFromPhysicalAddress()
64 int maskedAddress = myPhysicalAddress; in getLocalPortFromPhysicalAddress()
67 maskedAddress = myPhysicalAddress & mask; in getLocalPortFromPhysicalAddress()
73 if ((portAddress & (finalMask << 4)) != myPhysicalAddress) { in getLocalPortFromPhysicalAddress()
/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
DHdmiUtilsTest.java71 int myPhysicalAddress = 0x1000; in pathToPort_isMe() local
73 targetPhysicalAddress, myPhysicalAddress)).isEqualTo( in pathToPort_isMe()
80 int myPhysicalAddress = 0x1000; in pathToPort_isDirectlyBelow() local
82 targetPhysicalAddress, myPhysicalAddress)).isEqualTo(1); in pathToPort_isDirectlyBelow()
88 int myPhysicalAddress = 0x1000; in pathToPort_isBelow() local
90 targetPhysicalAddress, myPhysicalAddress)).isEqualTo(1); in pathToPort_isBelow()
96 int myPhysicalAddress = 0x2000; in pathToPort_neitherMeNorBelow() local
98 targetPhysicalAddress, myPhysicalAddress)).isEqualTo( in pathToPort_neitherMeNorBelow()
102 myPhysicalAddress = 0x3300; in pathToPort_neitherMeNorBelow()
104 targetPhysicalAddress, myPhysicalAddress)).isEqualTo( in pathToPort_neitherMeNorBelow()
[all …]
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiUtils.java480 int targetPhysicalAddress, int myPhysicalAddress) { in getLocalPortFromPhysicalAddress() argument
481 if (myPhysicalAddress == targetPhysicalAddress) { in getLocalPortFromPhysicalAddress()
487 int maskedAddress = myPhysicalAddress; in getLocalPortFromPhysicalAddress()
490 maskedAddress = myPhysicalAddress & mask; in getLocalPortFromPhysicalAddress()
496 if ((portAddress & (finalMask << 4)) != myPhysicalAddress) { in getLocalPortFromPhysicalAddress()
DHdmiCecLocalDeviceAudioSystem.java1027 int myPhysicalAddress = mService.getPhysicalAddress(); in isDirectConnectToTv() local
1028 return (myPhysicalAddress & Constants.ROUTING_PATH_TOP_MASK) == myPhysicalAddress; in isDirectConnectToTv()
DHdmiCecLocalDevice.java1512 int myPhysicalAddress = mService.getPhysicalAddress(); in getActivePathOnSwitchFromActivePortId() local
1516 if ((myPhysicalAddress & mask) == 0) { in getActivePathOnSwitchFromActivePortId()
1522 return finalMask | myPhysicalAddress; in getActivePathOnSwitchFromActivePortId()