Home
last modified time | relevance | path

Searched refs:getHdmiCecNetwork (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/hdmi/
DNewDeviceAction.java78 localDevice().mService.getHdmiCecNetwork().getCecDeviceInfo(mDeviceLogicalAddress); in start()
104 localDevice().mService.getHdmiCecNetwork().removeCecDevice( in start()
107 localDevice().mService.getHdmiCecNetwork().addCecDevice(deviceInfo); in start()
201 if (!localDevice().mService.getHdmiCecNetwork().isInDeviceList(mDeviceLogicalAddress, in addDeviceInfo()
234 localDevice().mService.getHdmiCecNetwork().addCecDevice(deviceInfo); in addDeviceInfo()
DHdmiCecLocalDeviceTv.java192 mService.getHdmiCecNetwork().addCecSwitch( in onAddressAllocated()
193 mService.getHdmiCecNetwork().getPhysicalAddress()); // TV is a CEC switch too. in onAddressAllocated()
274 HdmiDeviceInfo targetDevice = mService.getHdmiCecNetwork().getDeviceInfo(id); in deviceSelect()
338 if (mService.getHdmiCecNetwork().getCecDeviceInfo(logicalAddress) != null in updateActiveSource()
378 HdmiDeviceInfo info = mService.getHdmiCecNetwork().getCecDeviceInfo( in updateActiveInput()
448 HdmiDeviceInfo info = mService.getHdmiCecNetwork().getDeviceInfoByPath(getActivePath()); in findKeyReceiverAddress()
467 HdmiDeviceInfo info = mService.getHdmiCecNetwork().getCecDeviceInfo(logicalAddress); in handleActiveSource()
475 mService.getHdmiCecNetwork().updateDevicePowerStatus(logicalAddress, in handleActiveSource()
520 HdmiDeviceInfo inactiveSource = mService.getHdmiCecNetwork().getCecDeviceInfo( in handleInactiveSource()
588 if (!mService.getHdmiCecNetwork().isInDeviceList(address, path)) { in handleReportPhysicalAddress()
[all …]
DPowerStatusMonitorAction.java121 localDevice().mService.getHdmiCecNetwork().getDeviceInfoList(false); in queryPowerStatus()
150 localDevice().mService.getHdmiCecNetwork().updateDevicePowerStatus(logicalAddress, in updatePowerStatus()
DHotplugDetectionAction.java167 localDevice().mService.getHdmiCecNetwork().getDeviceInfoList(false); in checkHotplug()
248 localDevice().mService.getHdmiCecNetwork().removeCecDevice(localDevice(), removedAddress); in removeDevice()
252 HdmiDeviceInfo info = localDevice().mService.getHdmiCecNetwork().getCecDeviceInfo(address); in mayChangeRoutingPath()
DOneTouchPlayAction.java232 HdmiDeviceInfo targetDevice = localDevice.mService.getHdmiCecNetwork().getCecDeviceInfo( in getTargetCecVersion()
242 HdmiDeviceInfo targetDevice = localDevice.mService.getHdmiCecNetwork().getCecDeviceInfo( in getTargetDevicePowerStatus()
DHdmiCecLocalDevicePlayback.java158 mService.getHdmiCecNetwork().addCecDevice(info); in launchDeviceDiscovery()
165 mService.getHdmiCecNetwork().addCecDevice(device.getDeviceInfo()); in launchDeviceDiscovery()
208 HdmiDeviceInfo targetDevice = mService.getHdmiCecNetwork().getDeviceInfo(id); in deviceSelect()
237 mService.getHdmiCecNetwork().removeDevicesConnectedToPort(portId); in onHotplug()
592 HdmiDeviceInfo sourceDevice = mService.getHdmiCecNetwork() in handleRoutingInformation()
DSetAudioVolumeLevelDiscoveryAction.java109 HdmiCecNetwork network = localDevice().mService.getHdmiCecNetwork(); in updateSetAudioVolumeLevelSupport()
DDevicePowerStatusAction.java66 HdmiDeviceInfo deviceInfo = service.getHdmiCecNetwork().getCecDeviceInfo( in start()
DDeviceSelectActionFromTv.java108 HdmiDeviceInfo targetDevice = localDevice().mService.getHdmiCecNetwork() in start()
DDeviceSelectActionFromPlayback.java122 HdmiDeviceInfo targetDevice = localDevice().mService.getHdmiCecNetwork() in start()
DHdmiCecLocalDeviceAudioSystem.java224 mService.getHdmiCecNetwork().removeCecDevice(this, info.getLogicalAddress()); in onHotplug()
301 mService.getHdmiCecNetwork().clearDeviceList(); in onAddressAllocated()
365 HdmiDeviceInfo info = mService.getHdmiCecNetwork().getCecDeviceInfo(logicalAddress); in handleActiveSource()
847 mService.getHdmiCecNetwork().getSafeDeviceInfoByPath(sourcePhysicalAddress); in handleSystemAudioModeRequest()
1379 mService.getHdmiCecNetwork().addCecDevice(info); in launchDeviceDiscovery()
DDeviceDiscoveryAction.java355 localDevice().mService.getHdmiCecNetwork().updateCecSwitchInfo(current.mLogicalAddress, in handleReportPhysicalAddress()
DHdmiCecController.java129 return !mService.getHdmiCecNetwork().isAllocatedLocalDeviceAddress(address);
675 return mService.getHdmiCecNetwork().isAllocatedLocalDeviceAddress(address); in isAcceptableAddress()
827 for (HdmiCecLocalDevice localDevice : mService.getHdmiCecNetwork().getLocalDeviceList()) { in incomingMessageDirection()
DHdmiCecLocalDevice.java298 mService.getHdmiCecNetwork().clearDeviceList(); in clearDeviceInfoList()
567 HdmiDeviceInfo cecDeviceInfo = mService.getHdmiCecNetwork().getCecDeviceInfo(address); in handleReportPhysicalAddress()
/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
DHdmiCecLocalDeviceTvTest.java320 mHdmiControlService.getHdmiCecNetwork().clearLocalDevices(); in onAddressAllocated_invokesDeviceDiscovery()
352 mHdmiControlService.getHdmiCecNetwork().addCecDevice(externalDevice); in getActiveSource_deviceInNetworkIsActiveSource()
840 mHdmiControlService.getHdmiCecNetwork().clearDeviceList(); in hotplugDetectionActionClearsDevices()
841 assertThat(mHdmiControlService.getHdmiCecNetwork().getDeviceInfoList(false)) in hotplugDetectionActionClearsDevices()
853 mHdmiControlService.getHdmiCecNetwork().addCecDevice(infoPlayback); in hotplugDetectionActionClearsDevices()
855 assertThat(mHdmiControlService.getHdmiCecNetwork().getDeviceInfoList(false)) in hotplugDetectionActionClearsDevices()
862 assertThat(mHdmiControlService.getHdmiCecNetwork().getDeviceInfoList(false)) in hotplugDetectionActionClearsDevices()
874 assertThat(mHdmiControlService.getHdmiCecNetwork().getDeviceInfoList(false)) in hotplugDetectionActionClearsDevices()
888 mHdmiControlService.getHdmiCecNetwork().clearDeviceList(); in hotplugDetectionActionClearsDevices_AudioSystem()
889 assertThat(mHdmiControlService.getHdmiCecNetwork().getDeviceInfoList(false)) in hotplugDetectionActionClearsDevices_AudioSystem()
[all …]
DDeviceSelectActionFromPlaybackTest.java218 mHdmiControlService.getHdmiCecNetwork().addCecDevice(infoPlayback1); in setUp()
219 mHdmiControlService.getHdmiCecNetwork().addCecDevice(infoPlayback2); in setUp()
220 mHdmiControlService.getHdmiCecNetwork().addCecDevice(infoPlayback3); in setUp()
260 mHdmiControlService.getHdmiCecNetwork().getCecDeviceInfo(mPlaybackLogicalAddress2); in createDeviceSelectActionFromPlayback()
401 mHdmiControlService.getHdmiCecNetwork().updateDevicePowerStatus(mPlaybackLogicalAddress2, in testDeviceSelect_ReachmSetStreamPathDeviceInPowerOnStatus_Cec20()
424 mHdmiControlService.getHdmiCecNetwork().updateDevicePowerStatus(mPlaybackLogicalAddress2, in testDeviceSelect_DeviceInPowerOnStatus_Cec20()
441 mHdmiControlService.getHdmiCecNetwork().updateDevicePowerStatus(mPlaybackLogicalAddress2, in testDeviceSelect_DeviceInPowerUnknownStatus_Cec20()
463 mHdmiControlService.getHdmiCecNetwork().updateDevicePowerStatus(mPlaybackLogicalAddress2, in testDeviceSelect_DeviceInStandbyStatus_Cec20()
DOneTouchPlayActionTest.java196 mHdmiControlService.getHdmiCecNetwork().addCecDevice(INFO_TV); in succeedAfterGettingPowerStatusOn_Cec14b()
245 mHdmiControlService.getHdmiCecNetwork().addCecDevice(INFO_TV); in succeedAfterGettingTransientPowerStatus_Cec14b()
307 mHdmiControlService.getHdmiCecNetwork().addCecDevice(INFO_TV); in timeOut_Cec14b()
352 mHdmiControlService.getHdmiCecNetwork().addCecDevice(INFO_TV); in succeedIfPowerStatusOn_Cec20()
353 mHdmiControlService.getHdmiCecNetwork().updateDevicePowerStatus(ADDR_TV, in succeedIfPowerStatusOn_Cec20()
389 mHdmiControlService.getHdmiCecNetwork().addCecDevice(INFO_TV); in succeedIfPowerStatusUnknown_Cec20()
390 mHdmiControlService.getHdmiCecNetwork().updateDevicePowerStatus(ADDR_TV, in succeedIfPowerStatusUnknown_Cec20()
439 mHdmiControlService.getHdmiCecNetwork().addCecDevice(INFO_TV); in succeedIfPowerStatusStandby_Cec20()
440 mHdmiControlService.getHdmiCecNetwork().updateDevicePowerStatus(ADDR_TV, in succeedIfPowerStatusStandby_Cec20()
569 mHdmiControlService.getHdmiCecNetwork().addCecDevice(INFO_TV); in pendingActionDoesNotBlockSendingStandby_Cec14b()
[all …]
DDeviceSelectActionFromTvTest.java174 mHdmiControlService.getHdmiCecNetwork().addCecDevice(INFO_PLAYBACK_1); in setUp()
175 mHdmiControlService.getHdmiCecNetwork().addCecDevice(INFO_PLAYBACK_2); in setUp()
214 mHdmiControlService.getHdmiCecNetwork().getCecDeviceInfo(ADDR_PLAYBACK_1); in createDeviceSelectAction()
325 mHdmiControlService.getHdmiCecNetwork().updateDevicePowerStatus(ADDR_PLAYBACK_1, in testDeviceSelect_DeviceInPowerOnStatus_Cec20()
341 mHdmiControlService.getHdmiCecNetwork().updateDevicePowerStatus(ADDR_PLAYBACK_1, in testDeviceSelect_DeviceInPowerUnknownStatus_Cec20()
362 mHdmiControlService.getHdmiCecNetwork().updateDevicePowerStatus(ADDR_PLAYBACK_1, in testDeviceSelect_DeviceInStandbyStatus_Cec20()
DSetAudioVolumeLevelDiscoveryActionTest.java162 mHdmiControlServiceSpy.getHdmiCecNetwork().getCecDeviceInfo(Constants.ADDR_TV) in noMatchingFeatureAbortReceived_actionSucceedsAndSetsFeatureSupported()
182 mHdmiControlServiceSpy.getHdmiCecNetwork().getCecDeviceInfo(Constants.ADDR_TV) in matchingFeatureAbortReceived_actionSucceedsAndSetsFeatureNotSupported()
199 mHdmiControlServiceSpy.getHdmiCecNetwork().getCecDeviceInfo(Constants.ADDR_TV) in messageFailedToSend_actionFailsAndDoesNotUpdateFeatureSupport()
DRoutingControlActionTest.java212 mHdmiControlService.getHdmiCecNetwork().addCecDevice(DEVICE_INFO_AVR); in setUp()
222 mHdmiControlService.getHdmiCecNetwork().addCecDevice(DEVICE_INFO_AVR); in testRoutingControl_succeedForDirectlyConnectedDevice()
242 mHdmiControlService.getHdmiCecNetwork().addCecDevice(DEVICE_INFO_PLAYER); in testRoutingControl_succeedForDeviceBehindSwitch()
DBaseTvToAudioSystemAvbTest.java312 mHdmiControlService.getHdmiCecNetwork().getDeviceInfo(Constants.ADDR_AUDIO_SYSTEM) in adjustOnlyAvbEnabled_savlSupportBecomesUnknown_keepUsingAdjustOnlyAvb()
316 mHdmiControlService.getHdmiCecNetwork().addCecDevice(updatedAudioSystemDeviceInfo); in adjustOnlyAvbEnabled_savlSupportBecomesUnknown_keepUsingAdjustOnlyAvb()
DHdmiCecLocalDevicePlaybackTest.java188 mHdmiControlService.getHdmiCecNetwork().addCecDevice(INFO_TV); in setUp()
740 mHdmiControlService.getHdmiCecNetwork().addCecDevice(infoPlayback); in handleRoutingInformation_physicalAddressOfSender_notTv_noActiveSourceChange()
1932 mHdmiControlService.getHdmiCecNetwork().clearDeviceList(); in hotplugDetectionAction_removeDevice()
1943 mHdmiControlService.getHdmiCecNetwork().addCecDevice(infoPlayback); in hotplugDetectionAction_removeDevice()
1950 assertThat(mHdmiControlService.getHdmiCecNetwork().getDeviceInfoList(false)).isEmpty(); in hotplugDetectionAction_removeDevice()
1983 mHdmiControlService.getHdmiCecNetwork().addCecDevice(externalDevice); in getActiveSource_deviceInNetworkIsActiveSource()
2273 mHdmiControlService.getHdmiCecNetwork().clearDeviceList(); in onHotplugClearsDevices()
2274 assertThat(mHdmiControlService.getHdmiCecNetwork().getDeviceInfoList(false)) in onHotplugClearsDevices()
2286 mHdmiControlService.getHdmiCecNetwork().addCecDevice(infoPlayback); in onHotplugClearsDevices()
2288 assertThat(mHdmiControlService.getHdmiCecNetwork().getDeviceInfoList(false)) in onHotplugClearsDevices()
[all …]
DHdmiCecPowerStatusControllerTest.java123 mHdmiControlService.getHdmiCecNetwork().initPortInfo(); in setUp()
DPowerStatusMonitorActionTest.java151 HdmiDeviceInfo deviceInfo = mHdmiControlService.getHdmiCecNetwork().getCecDeviceInfo( in assertPowerStatus()
DHdmiCecNetworkTest.java130 mHdmiCecNetwork = mHdmiControlService.getHdmiCecNetwork(); in setUp()

12