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
Loading
Please register or sign in to comment