/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | HdmiCecNetwork.java | 206 deviceInfo.getLogicalAddress(), deviceInfo.getPhysicalAddress()); in addDeviceInfo() 266 if (info.getPhysicalAddress() == HdmiDeviceInfo.PATH_INVALID) { in addCecDevice() 269 } else if (old == null || old.getPhysicalAddress() == HdmiDeviceInfo.PATH_INVALID) { in addCecDevice() 296 if (info.getPhysicalAddress() == HdmiDeviceInfo.PATH_INVALID) { in updateCecDevice() 299 } else if (old == null || old.getPhysicalAddress() == HdmiDeviceInfo.PATH_INVALID) { in updateCecDevice() 377 && !isConnectedToCecSwitch(info.getPhysicalAddress(), getCecSwitches()) in hideDevicesBehindLegacySwitch() 378 && info.getPhysicalAddress() != HdmiDeviceInfo.PATH_INVALID; in hideDevicesBehindLegacySwitch() 392 if (info.getPhysicalAddress() == HdmiDeviceInfo.PATH_INVALID) { in removeCecDevice() 510 return device.getPhysicalAddress() == physicalAddress; in isInDeviceList() 774 int physicalAddress = mDeviceInfos.get(key).getPhysicalAddress(); in removeDevicesConnectedToPort() [all …]
|
D | HdmiCecLocalDevicePlayback.java | 106 mService.setAndBroadcastActiveSource(mService.getPhysicalAddress(), in onAddressAllocated() 113 mService.getPhysicalAddress(), in onAddressAllocated() 269 mService.setAndBroadcastActiveSource(mService.getPhysicalAddress(), in run() 309 getDeviceInfo().getLogicalAddress(), mService.getPhysicalAddress()), in onStandby() 345 mService.getPhysicalAddress()), sendMessageCallback); in onStandby() 599 && sourceDevice.getPhysicalAddress() == physicalAddress) { in handleRoutingInformation() 619 if (HdmiUtils.isInActiveRoutingPath(mService.getPhysicalAddress(), physicalAddress) in handleRoutingChangeAndInformation() 624 if (physicalAddress != mService.getPhysicalAddress()) { in handleRoutingChangeAndInformation()
|
D | HdmiCecLocalDeviceTv.java | 187 mService.getPhysicalAddress(), in onAddressAllocated() 193 mService.getHdmiCecNetwork().getPhysicalAddress()); // TV is a CEC switch too. in onAddressAllocated() 220 getDeviceInfo().getPhysicalAddress())); in onAddressAllocated() 222 getDeviceInfo().getPhysicalAddress(), in onAddressAllocated() 287 setActiveSource(targetAddress, mService.getPhysicalAddress(), in deviceSelect() 289 setActivePath(mService.getPhysicalAddress()); in deviceSelect() 310 mService.getPhysicalAddress(), in handleSelectInternalSource() 318 getDeviceInfo().getLogicalAddress(), mService.getPhysicalAddress()); in handleSelectInternalSource() 412 ? mService.portIdToPath(getActivePortId()) : getDeviceInfo().getPhysicalAddress(); in doManualPortSwitching() 525 if (mService.pathToPortId(inactiveSource.getPhysicalAddress()) == portId) { in handleInactiveSource() [all …]
|
D | HdmiCecLocalDeviceSource.java | 246 if (physicalAddress == mService.getPhysicalAddress() && mService.isPlaybackDevice()) { in handleSetStreamPath() 249 } else if (physicalAddress != mService.getPhysicalAddress() || !isActiveSource()) { in handleSetStreamPath() 264 if (physicalAddress != mService.getPhysicalAddress() || !isActiveSource()) { in handleRoutingChange() 282 if (physicalAddress != mService.getPhysicalAddress() || !isActiveSource()) { in handleRoutingInformation() 378 getDeviceInfo().getPhysicalAddress()); in isActiveSource()
|
D | DeviceSelectActionFromTv.java | 236 tv().setActivePath(mTarget.getPhysicalAddress()); in sendSetStreamPath() 238 getSourceAddress(), mTarget.getPhysicalAddress())); in sendSetStreamPath()
|
D | NewDeviceAction.java | 82 && mOldDeviceInfo.getPhysicalAddress() == mDevicePhysicalAddress) { in start() 223 && mOldDeviceInfo.getPhysicalAddress() == mDevicePhysicalAddress in addDeviceInfo()
|
D | HotplugDetectionAction.java | 211 || (info.getPhysicalAddress() != HdmiDeviceInfo.PATH_INVALID); in infoListToBitSet() 254 tv().handleRemoveActiveRoutingPath(info.getPhysicalAddress()); in mayChangeRoutingPath()
|
D | HdmiCecLocalDeviceAudioSystem.java | 270 mService.setAndBroadcastActiveSource(mService.getPhysicalAddress(), in onAddressAllocated() 277 mService.getPhysicalAddress(), in onAddressAllocated() 358 physicalAddress, mService.getPhysicalAddress()) in handleActiveSource() 842 sourcePhysicalAddress, getDeviceInfo().getPhysicalAddress()) in handleSystemAudioModeRequest() 1027 int myPhysicalAddress = mService.getPhysicalAddress(); in isDirectConnectToTv() 1082 : getDeviceInfo().getPhysicalAddress(); in doManualPortSwitching() 1343 message.getSource(), mService.getPhysicalAddress(), in handleRoutingChangeAndInformationForSwitch() 1350 if (routingInformationPath == mService.getPhysicalAddress()) { in handleRoutingChangeAndInformationForSwitch()
|
D | DeviceSelectActionFromPlayback.java | 110 return mTarget.getPhysicalAddress(); in getTargetPath()
|
D | HdmiCecFeatureAction.java | 299 return mSource.getDeviceInfo().getPhysicalAddress(); in getSourcePath()
|
D | HdmiCecController.java | 356 int getPhysicalAddress() { in getPhysicalAddress() method in HdmiCecController 1045 return mHdmiCec.getPhysicalAddress(); in nativeGetPhysicalAddress() 1279 mHdmiCec.getPhysicalAddress(this); in nativeGetPhysicalAddress() 1476 mHdmiCec.getPhysicalAddress(this); in nativeGetPhysicalAddress()
|
D | HdmiControlService.java | 1573 int getPhysicalAddress() { in getPhysicalAddress() method in HdmiControlService 1574 return mHdmiCecNetwork.getPhysicalAddress(); in getPhysicalAddress() 1764 if (path != Constants.INVALID_PHYSICAL_ADDRESS && path == getPhysicalAddress()) { in verifyPhysicalAddress() 1949 if (physicalAddress == getPhysicalAddress()) { in checkLogicalAddressConflictAndReallocate() 2010 .setPhysicalAddress(getPhysicalAddress()) in createDeviceInfo() 2011 .setPortId(pathToPortId(getPhysicalAddress())) in createDeviceInfo() 2544 public int getPhysicalAddress() { in getPhysicalAddress() method in HdmiControlService.BinderService 2547 return mHdmiCecNetwork.getPhysicalAddress(); in getPhysicalAddress() 4266 HdmiUtils.pathRelationship(getPhysicalAddress(), physicalAddress)); in setActiveSource() 4273 && physicalAddress == getPhysicalAddress(); in setActiveSource()
|
D | HdmiCecLocalDevice.java | 428 int physicalAddress = mService.getPhysicalAddress(); in handleGivePhysicalAddress() 1226 setActiveSource(info.getLogicalAddress(), info.getPhysicalAddress(), caller); in setActiveSource() 1512 int myPhysicalAddress = mService.getPhysicalAddress(); in getActivePathOnSwitchFromActivePortId()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/ |
D | HdmiCecNetworkTest.java | 222 assertThat(cecDeviceInfo.getPhysicalAddress()).isEqualTo( in cecDevices_tracking_logicalAddressOnly() 259 assertThat(cecDeviceInfo.getPhysicalAddress()).isEqualTo( in cecDevices_tracking_reportPhysicalAddress() 305 assertThat(cecDeviceInfo.getPhysicalAddress()).isEqualTo( in cecDevices_tracking_reportPowerStatus() 328 assertThat(cecDeviceInfo.getPhysicalAddress()).isEqualTo( in cecDevices_tracking_reportOsdName() 350 assertThat(cecDeviceInfo.getPhysicalAddress()).isEqualTo( in cecDevices_tracking_reportVendorId() 390 assertThat(cecDeviceInfo.getPhysicalAddress()).isEqualTo(physicalAddress); in cecDevices_tracking_updatesDeviceInfo() 415 assertThat(cecDeviceInfo.getPhysicalAddress()).isEqualTo(updatedPhysicalAddress); in cecDevices_tracking_updatesPhysicalAddress() 481 assertThat(cecDeviceInfo.getPhysicalAddress()).isEqualTo( in cecDevices_tracking_updatesVendorId() 521 assertThat(cecDeviceInfo.getPhysicalAddress()).isEqualTo( in cecDevices_tracking_reportPowerStatus_broadcast_infersCec2() 670 assertThat(mHdmiCecNetwork.getPhysicalAddress()).isEqualTo(0x0000); in portInfoInitiated_getPhysicalAddressCalled_readsFromHalOnFirstCallOnly() [all …]
|
D | BasePlaybackDeviceAvbTest.java | 43 protected int getPhysicalAddress() { in getPhysicalAddress() method in BasePlaybackDeviceAvbTest
|
D | HdmiCecLocalDeviceTvTest.java | 356 externalDevice.getPhysicalAddress(), "HdmiControlServiceTest"); in getActiveSource_deviceInNetworkIsActiveSource() 366 externalDevice.getPhysicalAddress(), "HdmiControlServiceTest"); in getActiveSource_unknownLogicalAddressInNetworkIsActiveSource() 385 externalDevice.getPhysicalAddress(), "HdmiControlServiceTest"); in getActiveSource_unknownDeviceIsActiveSource() 388 assertThat(mHdmiControlService.getActiveSource().getPhysicalAddress()).isEqualTo( in getActiveSource_unknownDeviceIsActiveSource() 389 externalDevice.getPhysicalAddress()); in getActiveSource_unknownDeviceIsActiveSource() 882 assertThat(removedDeviceInfo.getPhysicalAddress()).isEqualTo(0x1000); in hotplugDetectionActionClearsDevices() 930 assertThat(removedDeviceInfo.getPhysicalAddress()).isEqualTo(0x1000); in hotplugDetectionActionClearsDevices_AudioSystem()
|
D | BaseAbsoluteVolumeBehaviorTest.java | 115 protected abstract int getPhysicalAddress(); in getPhysicalAddress() method in BaseAbsoluteVolumeBehaviorTest 165 mNativeWrapper.setPhysicalAddress(getPhysicalAddress()); in setUp()
|
D | SystemAudioInitiationActionFromAvrTest.java | 124 int getPhysicalAddress() { in SetUp()
|
D | BaseTvToAudioSystemAvbTest.java | 56 protected int getPhysicalAddress() { in getPhysicalAddress() method in BaseTvToAudioSystemAvbTest
|
/frameworks/base/core/java/android/hardware/hdmi/ |
D | HdmiControlServiceWrapper.java | 146 public int getPhysicalAddress() { 147 return HdmiControlServiceWrapper.this.getPhysicalAddress(); 432 public int getPhysicalAddress() { in getPhysicalAddress() method in HdmiControlServiceWrapper
|
D | IHdmiControlService.aidl | 63 int getPhysicalAddress(); in getPhysicalAddress() method
|
D | HdmiControlManager.java | 1479 mService.askRemoteDeviceToBecomeActiveSource(deviceInfo.getPhysicalAddress()); in setActiveSource() 1493 mService.askRemoteDeviceToBecomeActiveSource(deviceInfo.getPhysicalAddress()); in requestRemoteDeviceToBecomeActiveSource() 1629 public int getPhysicalAddress() { in getPhysicalAddress() method in HdmiControlManager 1648 int targetPhysicalAddress = targetDevice.getPhysicalAddress(); in isDeviceConnected() 1667 int targetPhysicalAddress = targetDevice.getPhysicalAddress(); in isRemoteDeviceConnected()
|
D | HdmiDeviceInfo.java | 351 public int getPhysicalAddress() { in getPhysicalAddress() method in HdmiDeviceInfo
|
/frameworks/base/core/tests/hdmitests/src/android/hardware/hdmi/ |
D | HdmiAudioSystemClientTest.java | 353 public int getPhysicalAddress() { in getPhysicalAddress() method in HdmiAudioSystemClientTest.TestHdmiControlService
|
/frameworks/base/media/java/android/media/tv/ |
D | TvInputInfo.java | 976 hdmiDeviceInfo.getPhysicalAddress(), hdmiDeviceInfo.getId()); in generateInputId() 992 info.getPhysicalAddress(), hcm.getPhysicalAddress()); in getRelativePosition()
|