Home
last modified time | relevance | path

Searched refs:pathToPortId (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
DHdmiControlServiceTest.java209 assertThat(mHdmiControlService.pathToPortId(0x2120)).isEqualTo(1); in pathToPort_pathExists_weAreNonTv()
210 assertThat(mHdmiControlService.pathToPortId(0x2234)).isEqualTo(2); in pathToPort_pathExists_weAreNonTv()
217 assertThat(mHdmiControlService.pathToPortId(0x2120)).isEqualTo(3); in pathToPort_pathExists_weAreTv()
218 assertThat(mHdmiControlService.pathToPortId(0x3234)).isEqualTo(4); in pathToPort_pathExists_weAreTv()
225 assertThat(mHdmiControlService.pathToPortId(0x1000)).isEqualTo(Constants.INVALID_PORT_ID); in pathToPort_pathInvalid()
DSystemAudioInitiationActionFromAvrTest.java156 int pathToPortId(int path) { in SetUp()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecLocalDevice.java919 mService.setActivePortId(pathToPortId(path)); in setActivePath()
928 return mService.pathToPortId(mActiveRoutingPath); in getActivePortId()
945 return mService.pathToPortId(physicalAddress); in getPortId()
955 int pathToPortId(int newPath) { in pathToPortId() method in HdmiCecLocalDevice
957 return mService.pathToPortId(newPath); in pathToPortId()
DHdmiCecLocalDeviceAudioSystem.java494 address, path, mService.pathToPortId(path), type, in handleReportPhysicalAddress()
987 int port = mService.pathToPortId(targetPhysicalAddress); in setSystemAudioMode()
1170 if (mService.pathToPortId(getActiveSource().physicalAddress) in handleSystemAudioModeOnFromNonTvDevice()
1216 int port = mService.pathToPortId(physicalAddress); in switchInputOnReceivingNewActivePath()
1301 int port = mService.pathToPortId(physicalAddress); in handleRoutingChangeAndInformation()
DHdmiControlService.java994 int pathToPortId(int path) { in pathToPortId() method in HdmiControlService
1088 int portId = pathToPortId(physicalAddress); in isConnectedToArcPort()
1331 getPhysicalAddress(), pathToPortId(getPhysicalAddress()), deviceType, in createDeviceInfo()
1631 pathToPortId(activeSource.physicalAddress), in getActiveSource()
1636 pathToPortId(activeSource.physicalAddress)); in getActiveSource()
1992 if (pathToPortId(physicalAddress) != Constants.INVALID_PORT_ID) { in askRemoteDeviceToBecomeActiveSource()
DHdmiCecMessageValidator.java270 int portId = mService.pathToPortId(path); in isValidPhysicalAddress()
DHdmiCecLocalDeviceTv.java335 if (mService.pathToPortId(newActive.physicalAddress) == getActivePortId()) { in updateActiveSource()
493 if (mService.pathToPortId(inactiveSource.getPhysicalAddress()) == portId) { in handleInactiveSource()
1590 if (pathToPortId(path) == portId) { in removeCecSwitches()