diff options
author | George Lu <georgelu@google.com> | 2019-04-15 16:52:48 -0700 |
---|---|---|
committer | George Lu <georgelu@google.com> | 2019-07-25 09:28:41 -0700 |
commit | 213c9a04c25f65adaa79a51592dba98d2af2158e (patch) | |
tree | 3ce62b7273db8a8767747cbfc16921d6e0bc0b5a /cmds/bootanimation/BootAnimation.cpp | |
parent | d851c0d8c984b43bb844180e9bb0ef2de767287b (diff) |
Rewire ProgramInfo updates for 1 HAL : N AIDL fanout
This change completes the refactor to enable multi-AIDL client support on the v2
BroadcastRadioService:
- Adds incremental updating to ProgramInfoCache as requested on ag/6922213.
- TunerSession now maintains a ProgramInfoCache as a view of the state
transmitted to the AIDL client.
- RadioModule also has a ProgramInfoCache as a view of the state
received from the HAL.
- The two classes communicate with each other to propagate changes in
filters or ProgramInfos.
This change also makes the following framework changes:
- Overrides ProgramList.Filter#equals() and #hashCode().
- Addresses an oversight from ag/6922213, where RadioMetadata#hashCode() should have been overridden.
Bug: 126887436
Bug: 121305828
Test: atest com.android.server.broadcastradio.hal2.StartProgramListUpdatesFanoutTest atest com.android.server.broadcastradio.hal2.ProgramInfoCacheTest
Change-Id: I03b0b60b30c01ed03d3a86cff105f2efe830b233
Diffstat (limited to 'cmds/bootanimation/BootAnimation.cpp')
0 files changed, 0 insertions, 0 deletions