/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | HdmiCecLocalDeviceSource.java | 123 int physicalAddress = HdmiUtils.twoBytesToInt(message.getParams()); in handleActiveSource() local 124 ActiveSource activeSource = ActiveSource.of(logicalAddress, physicalAddress); in handleActiveSource() 128 setIsActiveSource(physicalAddress == mService.getPhysicalAddress()); in handleActiveSource() 131 switchInputOnReceivingNewActivePath(physicalAddress); in handleActiveSource() 148 int physicalAddress = HdmiUtils.twoBytesToInt(message.getParams()); in handleSetStreamPath() local 151 if (physicalAddress == mService.getPhysicalAddress() && mService.isPlaybackDevice()) { in handleSetStreamPath() 152 setAndBroadcastActiveSource(message, physicalAddress); in handleSetStreamPath() 154 switchInputOnReceivingNewActivePath(physicalAddress); in handleSetStreamPath() 185 int physicalAddress = HdmiUtils.twoBytesToInt(message.getParams()); in handleRoutingInformation() local 188 && physicalAddress == mService.getPhysicalAddress() in handleRoutingInformation() [all …]
|
D | ActiveSourceHandler.java | 77 tv.updateActiveInput(newActive.physicalAddress, notifyInputChange); in process() 86 current.logicalAddress, current.physicalAddress); in process() 91 tv.startRoutingControl(newActive.physicalAddress, current.physicalAddress, true, in process()
|
D | HdmiCecMessageBuilder.java | 317 static HdmiCecMessage buildActiveSource(int src, int physicalAddress) { in buildActiveSource() argument 319 physicalAddressToParam(physicalAddress)); in buildActiveSource() 329 static HdmiCecMessage buildInactiveSource(int src, int physicalAddress) { in buildInactiveSource() argument 331 Constants.MESSAGE_INACTIVE_SOURCE, physicalAddressToParam(physicalAddress)); in buildInactiveSource() 376 static HdmiCecMessage buildRoutingInformation(int src, int physicalAddress) { in buildRoutingInformation() argument 378 Constants.MESSAGE_ROUTING_INFORMATION, physicalAddressToParam(physicalAddress)); in buildRoutingInformation() 735 private static byte[] physicalAddressToParam(int physicalAddress) { in physicalAddressToParam() argument 737 (byte) ((physicalAddress >> 8) & 0xFF), in physicalAddressToParam() 738 (byte) (physicalAddress & 0xFF) in physicalAddressToParam()
|
D | HdmiCecLocalDevice.java | 71 int physicalAddress; field in HdmiCecLocalDevice.ActiveSource 79 physicalAddress = physical; in ActiveSource() 83 return new ActiveSource(source.logicalAddress, source.physicalAddress); in of() 96 physicalAddress = Constants.INVALID_PHYSICAL_ADDRESS; in invalidate() 100 return logicalAddress == logical && physicalAddress == physical; in equals() 108 && that.physicalAddress == physicalAddress; in equals() 115 return logicalAddress * 29 + physicalAddress; in hashCode() 127 (physicalAddress == Constants.INVALID_PHYSICAL_ADDRESS) in toString() 129 : String.format("0x%04x", physicalAddress); in toString() 364 int physicalAddress = mService.getPhysicalAddress(); in handleGivePhysicalAddress() local [all …]
|
D | SystemAudioInitiationActionFromAvr.java | 44 if (audioSystem().getActiveSource().physicalAddress == Constants.INVALID_PHYSICAL_ADDRESS) { in start() 145 private void switchToRelevantInputForDeviceAt(int physicalAddress) { in switchToRelevantInputForDeviceAt() argument
|
D | HdmiControlService.java | 888 int physicalAddress; in pathToPortId() local 890 physicalAddress = mPhysicalAddress; in pathToPortId() 892 int maskedAddress = physicalAddress; in pathToPortId() 895 maskedAddress = physicalAddress & mask; in pathToPortId() 978 boolean isConnectedToArcPort(int physicalAddress) { in isConnectedToArcPort() argument 979 int portId = pathToPortId(physicalAddress); in isConnectedToArcPort() 1461 activeSource.physicalAddress, pathToPortId(activeSource.physicalAddress), in getActiveSource() 1470 activeSource.physicalAddress, HdmiDeviceInfo.PORT_INVALID, in getActiveSource() 1768 public void askRemoteDeviceToBecomeActiveSource(int physicalAddress) { in askRemoteDeviceToBecomeActiveSource() argument 1774 getRemoteControlSourceAddress(), physicalAddress); in askRemoteDeviceToBecomeActiveSource() [all …]
|
D | HdmiCecLocalDeviceTv.java | 319 void updateActiveSource(int logicalAddress, int physicalAddress) { in updateActiveSource() argument 321 updateActiveSource(ActiveSource.of(logicalAddress, physicalAddress)); in updateActiveSource() 334 if (mService.pathToPortId(newActive.physicalAddress) == getActivePortId()) { in updateActiveSource() 452 int physicalAddress = HdmiUtils.twoBytesToInt(message.getParams()); in handleActiveSource() local 455 if (!handleNewDeviceAtTheTailOfActivePath(physicalAddress)) { in handleActiveSource() 462 ActiveSource activeSource = ActiveSource.of(logicalAddress, physicalAddress); in handleActiveSource() 620 activeSource.physicalAddress, deviceType)); in startNewDeviceAction() 981 private boolean isDirectConnectAddress(int physicalAddress) { in isDirectConnectAddress() argument 982 return (physicalAddress & Constants.ROUTING_PATH_TOP_MASK) == physicalAddress; in isDirectConnectAddress() 1539 boolean isInDeviceList(int logicalAddress, int physicalAddress) { in isInDeviceList() argument [all …]
|
D | DeviceDiscoveryAction.java | 347 private int getPortId(int physicalAddress) { 348 return mIsTvDevice ? tv().getPortId(physicalAddress) 349 : source().getPortId(physicalAddress);
|
D | ArcInitiationActionFromAvr.java | 67 if (audioSystem().getActiveSource().physicalAddress != getSourcePath() in processCommand()
|
D | HdmiCecLocalDeviceAudioSystem.java | 888 int targetPhysicalAddress = getActiveSource().physicalAddress; in setSystemAudioMode() 1064 if (mService.pathToPortId(getActiveSource().physicalAddress) in handleSystemAudioModeOnFromNonTvDevice() 1100 protected void switchInputOnReceivingNewActivePath(int physicalAddress) { in switchInputOnReceivingNewActivePath() argument 1101 int port = mService.pathToPortId(physicalAddress); in switchInputOnReceivingNewActivePath() 1180 protected void handleRoutingChangeAndInformation(int physicalAddress, HdmiCecMessage message) { in handleRoutingChangeAndInformation() argument 1181 int port = mService.pathToPortId(physicalAddress); in handleRoutingChangeAndInformation()
|
D | NewDeviceAction.java | 215 && (mDevicePhysicalAddress == activeSource.physicalAddress); in isActionOf()
|
D | SystemAudioAction.java | 117 return tv().getActiveSource().physicalAddress; in getSystemAudioModeRequestParam()
|
/frameworks/base/core/java/android/hardware/hdmi/ |
D | HdmiDeviceInfo.java | 124 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 …]
|
D | HdmiRecordSources.java | 703 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()
|
D | IHdmiControlService.aidl | 67 void askRemoteDeviceToBecomeActiveSource(int physicalAddress); in askRemoteDeviceToBecomeActiveSource() argument
|
/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/ |
D | SystemAudioInitiationActionFromAvrTest.java | 151 int sourceAddress, int physicalAddress) { in SetUp() 191 assertThat(mHdmiCecLocalDeviceAudioSystem.getActiveSource().physicalAddress) in testNoActiveSourceMessageReceived() 203 assertThat(mHdmiCecLocalDeviceAudioSystem.getActiveSource().physicalAddress) in testNoActiveSourceMessageReceived() 238 assertThat(mHdmiCecLocalDeviceAudioSystem.getActiveSource().physicalAddress) in testTvSupport() 246 mHdmiCecLocalDeviceAudioSystem.getActiveSource().physicalAddress = 1001; in testKnownActiveSource() 266 assertThat(mHdmiCecLocalDeviceAudioSystem.getActiveSource().physicalAddress) in testRetry() 284 assertThat(mHdmiCecLocalDeviceAudioSystem.getActiveSource().physicalAddress) in testIsPlaybackDevice_cannotReceiveActiveSource() 305 mHdmiCecLocalDeviceAudioSystem.getActiveSource().physicalAddress = in resetTestVariables()
|
D | FakeNativeWrapper.java | 134 protected void setPhysicalAddress(int physicalAddress) { in setPhysicalAddress() argument 135 mMyPhysicalAddress = physicalAddress; in setPhysicalAddress()
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | LocalDisplayAdapter.java | 408 final DisplayAddress.Physical physicalAddress = in getDisplayDeviceInfoLocked() local 410 mInfo.address = physicalAddress; in getDisplayDeviceInfoLocked() 467 if (isDisplayPrivate(physicalAddress)) { in getDisplayDeviceInfoLocked() 803 private boolean isDisplayPrivate(DisplayAddress.Physical physicalAddress) { in isDisplayPrivate() argument 804 if (physicalAddress == null) { in isDisplayPrivate() 811 int port = physicalAddress.getPort(); in isDisplayPrivate()
|
/frameworks/base/core/tests/hdmitests/src/android/hardware/hdmi/ |
D | HdmiAudioSystemClientTest.java | 345 public void askRemoteDeviceToBecomeActiveSource(int physicalAddress) { in askRemoteDeviceToBecomeActiveSource() argument
|
/frameworks/base/services/core/jni/ |
D | com_android_server_hdmi_HdmiCecController.cpp | 282 ports[i].physicalAddress, cecSupported, mhlSupported, arcSupported); in getPortInfos()
|