CEC Polling动作
2023-12-04 20:31:25 0 举报
CEC Polling行为
作者其他创作
大纲/内容
ADDR_AUDIO_SYSTEM1. 0x6D 、0x662. TRD handshake
HdmiCecLocalDeviceTvTclHdmiCecLocalDeviceTv
DeviceDiscoveryAction
handleAddressAllocated();
tv().processAllDelayedMessages();
startVendorIdStage();
延迟处理消息点:1. Active Source2. Report Physical Address
pollDevices();
HdmiCecLocalDevice
onPollingFinished();
onChange(HDMI_CONTROL_ENABLED)
pollDevices();strategy:POLL_ITERATION_REVERSE_ORDER
HdmiCecFeatureAction
pollAllDevicesNow();
HdmiControService/TclHdmiControlService
allocateLogicalAddress();
initializeCec();
mService.getHdmiCecNetwork().addCecDevice(info);
mNativeWrapperImpl.nativeSendCecCommand();
launchDeviceDiscovery();
handleTimerEvent();pollDevices();
new HotplugDetectionAction()'
onAddressAllocated();
第二阶段
initializeLocalDevices();
startPhysicalAddressStage();
start();
allocateDevices(ackedAddress);;
第一个阶段
onHotplug();
onDeviceDiscoveryDone();
sendPollMessage();
重新开始
startOsdNameStage();
new PowerStatusMonitorAction();
HotplugDetectionAction
notifyAddressAllocated();
checkHotplug();1. addDevice(index);2. removeDevice(index);
pollDevices()stategy:POLL_ITERATION_IN_ORDER
runDevicePolling();
new DeviceDiscoveryAction();
HdmiCecController
wrapUpAndFinish();设备识别完成
avr != nullonNewAvrAdded()'
avr ==nullsetSystemAudioMode();
startPowerStatusStage();
收藏
0 条评论
下一页