History log of /hardware/interfaces/broadcastradio/common/utils2x/Utils.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
cea64964dcdcaaed8dfb9f96ac1b35429e9e703c 23-May-2018 Tomasz Wasilczyk <twasilczyk@google.com> Improve current program info validation.

Bug: 74022658
Test: atest VtsHalBroadcastradioV2_0TargetTest
Change-Id: Ifee19249a9033363df863480e8a5da24334f5e59
/hardware/interfaces/broadcastradio/common/utils2x/Utils.cpp
c71624f8ed57962fe85656aac5b687d8394dfdc0 22-Dec-2017 Tomasz Wasilczyk <twasilczyk@google.com> Prepare a best-effort workaround for HD Radio station id abuse.

In theory, 32bit HD Radio station ID + subchannel index (parts of
HD_STATION_ID_EXT) is a globally unique identifier. It allows broadcast
radio framework to determine which programs are the same and allow the
application to match entries from favourite list and the program list
provided by the tuner.

However, some broadcasters don't perform equipment setup correctly and
don't set station ID. As a result, there are some stations with
conflicting IDs.

As a workaround to treat these stations separately in a given location,
FM frequency was added as a part of HD_STATION_ID_EXT. This still doesn't
solve the global uniqueness problem: user might save KCQW 105.5 (sid=0) in
California, travel to Nevada and find KNAB 105.5 (sid=0). It turns out
there is no reliable identifier that might identify the station globally.

As a workaround, shortened station name is added for double-checking.
This is a best-effort fix, so it's not required for such misbehaving
stations to get correctly identified in every corner case.

Bug: 69958777
Test: VTS
Change-Id: Id11243096f1cde7fdda5cb70a7248d1831985cdd
/hardware/interfaces/broadcastradio/common/utils2x/Utils.cpp
8b70ee43b071df7d942ff695d6b87a1de7e3cf29 21-Dec-2017 Tomasz Wasilczyk <twasilczyk@google.com> Implement regional configuration fetching.

Bug: 69958423
Test: VTS
Change-Id: I7c184191b4f4999bd03b06bd3b2283e028694918
/hardware/interfaces/broadcastradio/common/utils2x/Utils.cpp
4ce6382a45ab3111de8372aa24c27f8ad56290a6 21-Dec-2017 Tomasz Wasilczyk <twasilczyk@google.com> Implement currently tuned ID / channel indication.

Bug: 70939328
Test: it builds
Change-Id: I62011b70b3786b0d5e5ac24eb480a3c52a35f104
/hardware/interfaces/broadcastradio/common/utils2x/Utils.cpp
bceb88585dc6c89c6689956b8354b630c8425ae5 18-Dec-2017 Tomasz Wasilczyk <twasilczyk@google.com> Implement program list fetching.

Bug: 69860743
Test: VTS
Change-Id: I04eb43c1e0e1bb7bad86e123594a473454eed983
/hardware/interfaces/broadcastradio/common/utils2x/Utils.cpp
31e8632d10fa1ea047557c496e0fe9329da75240 05-Dec-2017 Tomasz Wasilczyk <twasilczyk@google.com> Implement broadcast radio HAL 2.0 VTS tests.

Test: VTS
Bug: 69958777
Change-Id: I671c033519a6a41421b9ad73b0b897f832a1c3c0
/hardware/interfaces/broadcastradio/common/utils2x/Utils.cpp
06100b39db99dd5b7860a6e981ba9f8d511793fa 04-Dec-2017 Tomasz Wasilczyk <twasilczyk@google.com> Implement broadcast radio HAL 2.0 default implementation.

Also, split internal common utils library to 1.x and 2.x.

Test: VTS
Bug: 69958777
Change-Id: I21244c74270a07cc350e8a2b974dafcdae02a0e8
/hardware/interfaces/broadcastradio/common/utils2x/Utils.cpp