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.java183 assertThat(mHdmiControlService.pathToPortId(0x2120)).isEqualTo(1); in pathToPort_pathExists_weAreNonTv()
184 assertThat(mHdmiControlService.pathToPortId(0x2234)).isEqualTo(2); in pathToPort_pathExists_weAreNonTv()
191 assertThat(mHdmiControlService.pathToPortId(0x2120)).isEqualTo(3); in pathToPort_pathExists_weAreTv()
192 assertThat(mHdmiControlService.pathToPortId(0x3234)).isEqualTo(4); in pathToPort_pathExists_weAreTv()
199 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.java893 mService.setActivePortId(pathToPortId(path)); in setActivePath()
902 return mService.pathToPortId(mActiveRoutingPath); in getActivePortId()
919 return mService.pathToPortId(physicalAddress); in getPortId()
929 int pathToPortId(int newPath) { in pathToPortId() method in HdmiCecLocalDevice
931 return mService.pathToPortId(newPath); in pathToPortId()
DHdmiCecLocalDeviceAudioSystem.java422 address, path, mService.pathToPortId(path), type, in handleReportPhysicalAddress()
889 int port = mService.pathToPortId(targetPhysicalAddress); in setSystemAudioMode()
1062 if (mService.pathToPortId(getActiveSource().physicalAddress) in handleSystemAudioModeOnFromNonTvDevice()
1099 int port = mService.pathToPortId(physicalAddress); in switchInputOnReceivingNewActivePath()
1179 int port = mService.pathToPortId(physicalAddress); in handleRoutingChangeAndInformation()
DHdmiCecMessageValidator.java270 int portId = mService.pathToPortId(path); in isValidPhysicalAddress()
DHdmiControlService.java893 int pathToPortId(int path) { in pathToPortId() method in HdmiControlService
987 int portId = pathToPortId(physicalAddress); in isConnectedToArcPort()
1201 getPhysicalAddress(), pathToPortId(getPhysicalAddress()), deviceType, in createDeviceInfo()
1496 activeSource.physicalAddress, pathToPortId(activeSource.physicalAddress), in getActiveSource()
1824 if (pathToPortId(physicalAddress) != Constants.INVALID_PORT_ID) { in askRemoteDeviceToBecomeActiveSource()
DHdmiCecLocalDeviceTv.java336 if (mService.pathToPortId(newActive.physicalAddress) == getActivePortId()) { in updateActiveSource()
494 if (mService.pathToPortId(inactiveSource.getPhysicalAddress()) == portId) { in handleInactiveSource()
1577 if (pathToPortId(path) == portId) { in removeCecSwitches()