commit | cb0bebfe2039daa595fcde6a183fa609df999bb0 | [log] [tgz] |
---|---|---|
author | Marie Janssen <jamuraa@google.com> | Thu May 06 19:26:42 2021 +0000 |
committer | CQ Bot <commit-bot@chromium.org> | Thu May 06 19:26:42 2021 +0000 |
tree | 5aa26b337fc303e70e217ea605ce43ee07f91c92 | |
parent | 5cd66d85399dcd86a91340488b7bda86d4d4eb2e [diff] |
[bt][hfp] ServiceLevelConnection codecs_supported Add new CodecId type which represents a type identifying a codec used in HFP. The initial IDs are taken from HFP v1.8, Sec 10 / Appendix B. Add support for querying the supported codecs from the ServiceLevelConnection, including when codec negotiation is not supported. Add protection against codec IDs over the wire that are out of the allowed range. Will be used to setup codecs during audio connection setup. Includes minor cleanup / DRYing of tests. Bug: 64523 Test: added and updated unit tests Test: fx test bt-hfp-audio-gateway-tests Change-Id: Ifca50cc28fc6b62b3af940e44049fbbb0b222678 Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/519922 Fuchsia-Auto-Submit: Marie Janssen 💖 <jamuraa@google.com> Commit-Queue: Auto-Submit <auto-submit@fuchsia-infra.iam.gserviceaccount.com> Reviewed-by: Jeff Belgum <belgum@google.com>
Pink + Purple == Fuchsia (a new operating system)
Fuchsia is a modular, capability-based operating system. Fuchsia runs on modern 64-bit Intel and ARM processors.
Fuchsia is an open source project with a code of conduct that we expect everyone who interacts with the project to respect.
Read more about Fuchsia's principles.
See Getting Started.
See fuchsia.dev.