Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 81f50685 authored by Weilin Xu's avatar Weilin Xu
Browse files

Update RadioTuner APIs for AIDL HAL migration

APIs in RadioTuner were updated to adopt broadcast radio HAL
migration to AIDL:
- New APIs seek and onConfigFlagUpdated were added since corresponding
  new interface methods were introduced in broadcast radio AIDL HAL.
- APIs only used in HIDL 1.x broadcast radio HAL were deprecated.
- The use of deprecated onError callback was replaced by onTuneFailed
  in tune, seek, scan and step APIs. Corresponding result types were
  also defined in RadioTuner.
- Multi-user behaviors for RadioTuner APIs were specified.
Meanwhile, a new DAB radio primary identifier was added, which was
extended to 44 bits to support Digital Multimedia Broadcasting (DMB)
radio.
The integer annotations in radio APIs were also improved.

Bug: 257337458
Test: atest com.android.server.broadcastradio
Test: atest android.hardware.radio.tests.unittests
Test: atest android.broadcastradio.cts
Change-Id: I46f0bdfae238de072e46f6561fa3f17c73dd45c8
parent a13d8ed4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment