Home
last modified time | relevance | path

Searched refs:physicalAddress (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/core/java/android/hardware/hdmi/
DHdmiDeviceInfo.java124 int physicalAddress = source.readInt();
134 return new HdmiDeviceInfo(logicalAddress, physicalAddress, portId,
139 return new HdmiDeviceInfo(physicalAddress, portId, adopterId, deviceId);
141 return new HdmiDeviceInfo(physicalAddress, portId);
167 public HdmiDeviceInfo(int logicalAddress, int physicalAddress, int portId, int deviceType, in HdmiDeviceInfo() argument
170 mPhysicalAddress = physicalAddress; in HdmiDeviceInfo()
195 public HdmiDeviceInfo(int logicalAddress, int physicalAddress, int portId, int deviceType, in HdmiDeviceInfo() argument
197 this(logicalAddress, physicalAddress, portId, deviceType, in HdmiDeviceInfo()
208 public HdmiDeviceInfo(int physicalAddress, int portId) { in HdmiDeviceInfo() argument
210 mPhysicalAddress = physicalAddress; in HdmiDeviceInfo()
[all …]
DHdmiRecordSources.java703 public static ExternalPhysicalAddress ofExternalPhysicalAddress(int physicalAddress) { in ofExternalPhysicalAddress() argument
704 if ((physicalAddress & ~0xFFFF) != 0) { in ofExternalPhysicalAddress()
705 Log.w(TAG, "Invalid physical address:" + physicalAddress); in ofExternalPhysicalAddress()
706 throw new IllegalArgumentException("Invalid physical address:" + physicalAddress); in ofExternalPhysicalAddress()
709 return new ExternalPhysicalAddress(physicalAddress); in ofExternalPhysicalAddress()
726 private ExternalPhysicalAddress(int physicalAddress) { in ExternalPhysicalAddress() argument
728 mPhysicalAddress = physicalAddress; in ExternalPhysicalAddress()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecLocalDevicePlayback.java234 int physicalAddress = HdmiUtils.twoBytesToInt(message.getParams()); in handleActiveSource() local
235 mayResetActiveSource(physicalAddress); in handleActiveSource()
239 private void mayResetActiveSource(int physicalAddress) { in mayResetActiveSource() argument
240 if (physicalAddress != mService.getPhysicalAddress()) { in mayResetActiveSource()
256 int physicalAddress = HdmiUtils.twoBytesToInt(message.getParams()); in handleSetStreamPath() local
257 maySetActiveSource(physicalAddress); in handleSetStreamPath()
279 int physicalAddress = HdmiUtils.twoBytesToInt(message.getParams()); in handleRoutingInformation() local
280 maySetActiveSource(physicalAddress); in handleRoutingInformation()
284 private void maySetActiveSource(int physicalAddress) { in maySetActiveSource() argument
285 setActiveSource(physicalAddress == mService.getPhysicalAddress()); in maySetActiveSource()
DHdmiCecLocalDevice.java65 int physicalAddress; field in HdmiCecLocalDevice.ActiveSource
72 physicalAddress = physical; in ActiveSource()
75 return new ActiveSource(source.logicalAddress, source.physicalAddress); in of()
85 physicalAddress = Constants.INVALID_PHYSICAL_ADDRESS; in invalidate()
88 return logicalAddress == logical && physicalAddress == physical; in equals()
95 that.physicalAddress == physicalAddress; in equals()
101 return logicalAddress * 29 + physicalAddress; in hashCode()
109 String physicalAddressString = (physicalAddress == Constants.INVALID_PHYSICAL_ADDRESS) in toString()
110 ? "invalid" : String.format("0x%04x", physicalAddress); in toString()
331 int physicalAddress = mService.getPhysicalAddress(); in handleGivePhysicalAddress() local
[all …]
DActiveSourceHandler.java77 tv.updateActiveInput(newActive.physicalAddress, notifyInputChange); in process()
86 current.logicalAddress, current.physicalAddress); in process()
91 tv.startRoutingControl(newActive.physicalAddress, current.physicalAddress, true, in process()
DHdmiCecMessageBuilder.java264 static HdmiCecMessage buildActiveSource(int src, int physicalAddress) { in buildActiveSource() argument
266 physicalAddressToParam(physicalAddress)); in buildActiveSource()
276 static HdmiCecMessage buildInactiveSource(int src, int physicalAddress) { in buildInactiveSource() argument
278 Constants.MESSAGE_INACTIVE_SOURCE, physicalAddressToParam(physicalAddress)); in buildInactiveSource()
595 private static byte[] physicalAddressToParam(int physicalAddress) { in physicalAddressToParam() argument
597 (byte) ((physicalAddress >> 8) & 0xFF), in physicalAddressToParam()
598 (byte) (physicalAddress & 0xFF) in physicalAddressToParam()
DHdmiCecLocalDeviceTv.java315 void updateActiveSource(int logicalAddress, int physicalAddress) { in updateActiveSource() argument
317 updateActiveSource(ActiveSource.of(logicalAddress, physicalAddress)); in updateActiveSource()
330 if (mService.pathToPortId(newActive.physicalAddress) == getActivePortId()) { in updateActiveSource()
340 int getPortId(int physicalAddress) { in getPortId() argument
341 return mService.pathToPortId(physicalAddress); in getPortId()
495 int physicalAddress = HdmiUtils.twoBytesToInt(message.getParams()); in handleActiveSource() local
498 if (!handleNewDeviceAtTheTailOfActivePath(physicalAddress)) { in handleActiveSource()
505 ActiveSource activeSource = ActiveSource.of(logicalAddress, physicalAddress); in handleActiveSource()
663 activeSource.physicalAddress, deviceType)); in startNewDeviceAction()
1037 private boolean isDirectConnectAddress(int physicalAddress) { in isDirectConnectAddress() argument
[all …]
DDeviceDiscoveryAction.java268 private int getPortId(int physicalAddress) {
269 return tv().getPortId(physicalAddress);
DSystemAudioAction.java117 return tv().getActiveSource().physicalAddress; in getSystemAudioModeRequestParam()
DNewDeviceAction.java215 && (mDevicePhysicalAddress == activeSource.physicalAddress); in isActionOf()
DHdmiControlService.java803 boolean isConnectedToArcPort(int physicalAddress) { in isConnectedToArcPort() argument
804 int portId = pathToPortId(physicalAddress); in isConnectedToArcPort()
1230 activeSource.physicalAddress, HdmiDeviceInfo.PORT_INVALID, in getActiveSource()