Home
last modified time | relevance | path

Searched refs:getPhysicalAddress (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecNetwork.java206 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 …]
DHdmiCecLocalDevicePlayback.java106 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()
DHdmiCecLocalDeviceTv.java187 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 …]
DHdmiCecLocalDeviceSource.java246 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()
DDeviceSelectActionFromTv.java236 tv().setActivePath(mTarget.getPhysicalAddress()); in sendSetStreamPath()
238 getSourceAddress(), mTarget.getPhysicalAddress())); in sendSetStreamPath()
DNewDeviceAction.java82 && mOldDeviceInfo.getPhysicalAddress() == mDevicePhysicalAddress) { in start()
223 && mOldDeviceInfo.getPhysicalAddress() == mDevicePhysicalAddress in addDeviceInfo()
DHotplugDetectionAction.java211 || (info.getPhysicalAddress() != HdmiDeviceInfo.PATH_INVALID); in infoListToBitSet()
254 tv().handleRemoveActiveRoutingPath(info.getPhysicalAddress()); in mayChangeRoutingPath()
DHdmiCecLocalDeviceAudioSystem.java270 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()
DDeviceSelectActionFromPlayback.java110 return mTarget.getPhysicalAddress(); in getTargetPath()
DHdmiCecFeatureAction.java299 return mSource.getDeviceInfo().getPhysicalAddress(); in getSourcePath()
DHdmiCecController.java356 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()
DHdmiControlService.java1573 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()
DHdmiCecLocalDevice.java428 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/
DHdmiCecNetworkTest.java222 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 …]
DBasePlaybackDeviceAvbTest.java43 protected int getPhysicalAddress() { in getPhysicalAddress() method in BasePlaybackDeviceAvbTest
DHdmiCecLocalDeviceTvTest.java356 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()
DBaseAbsoluteVolumeBehaviorTest.java115 protected abstract int getPhysicalAddress(); in getPhysicalAddress() method in BaseAbsoluteVolumeBehaviorTest
165 mNativeWrapper.setPhysicalAddress(getPhysicalAddress()); in setUp()
DSystemAudioInitiationActionFromAvrTest.java124 int getPhysicalAddress() { in SetUp()
DBaseTvToAudioSystemAvbTest.java56 protected int getPhysicalAddress() { in getPhysicalAddress() method in BaseTvToAudioSystemAvbTest
/frameworks/base/core/java/android/hardware/hdmi/
DHdmiControlServiceWrapper.java146 public int getPhysicalAddress() {
147 return HdmiControlServiceWrapper.this.getPhysicalAddress();
432 public int getPhysicalAddress() { in getPhysicalAddress() method in HdmiControlServiceWrapper
DIHdmiControlService.aidl63 int getPhysicalAddress(); in getPhysicalAddress() method
DHdmiControlManager.java1479 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()
DHdmiDeviceInfo.java351 public int getPhysicalAddress() { in getPhysicalAddress() method in HdmiDeviceInfo
/frameworks/base/core/tests/hdmitests/src/android/hardware/hdmi/
DHdmiAudioSystemClientTest.java353 public int getPhysicalAddress() { in getPhysicalAddress() method in HdmiAudioSystemClientTest.TestHdmiControlService
/frameworks/base/media/java/android/media/tv/
DTvInputInfo.java976 hdmiDeviceInfo.getPhysicalAddress(), hdmiDeviceInfo.getId()); in generateInputId()
992 info.getPhysicalAddress(), hcm.getPhysicalAddress()); in getRelativePosition()

12