Add array and add/remove methods to track connected device info
ag/5258321
Add a local array mDeviceInfos to keep track of the device connected to
the current device. Also add the method to invoke deviceEventListener to
keep TIF updated on the new device info. Callback will be added in
separate CL.
We still need to decide when to add/remove the device info.
We can do add at PhysicalAddress report, OsdName report, deviceDiscovery
at bootup, power status report and Active Source.
Test: local tested
Bug: 117291910
Change-Id: I124dc27bf9da9412850e658e1e6413cf9d71e5ce
1 file changed