commit | 31e8632d10fa1ea047557c496e0fe9329da75240 | [log] [tgz] |
---|---|---|
author | Tomasz Wasilczyk <twasilczyk@google.com> | Tue Dec 05 09:36:11 2017 -0800 |
committer | Tomasz Wasilczyk <twasilczyk@google.com> | Tue Dec 12 10:46:56 2017 -0800 |
tree | e3da506b1d06fd36be7e491441008cd0ec1a641c | |
parent | 06100b39db99dd5b7860a6e981ba9f8d511793fa [diff] [blame] |
Implement broadcast radio HAL 2.0 VTS tests. Test: VTS Bug: 69958777 Change-Id: I671c033519a6a41421b9ad73b0b897f832a1c3c0
diff --git a/broadcastradio/common/utils2x/include/broadcastradio-utils-2x/Utils.h b/broadcastradio/common/utils2x/include/broadcastradio-utils-2x/Utils.h index e9ac864..dd01852 100644 --- a/broadcastradio/common/utils2x/include/broadcastradio-utils-2x/Utils.h +++ b/broadcastradio/common/utils2x/include/broadcastradio-utils-2x/Utils.h
@@ -57,6 +57,11 @@ uint64_t getId(const V2_0::ProgramSelector& sel, const V2_0::IdentifierType type, uint64_t defval); /** + * Returns all IDs of a given type. + */ +std::vector<uint64_t> getAllIds(const V2_0::ProgramSelector& sel, const V2_0::IdentifierType type); + +/** * Checks, if a given selector is supported by the radio module. * * @param prop Module description.