[roll] Roll fuchsia [bt][obex] Encode headers in order

Use a BTreeMap to store headers in the HeaderSet collection. This
provides for efficient insertion and removal, and fairly efficient
lookup. The size of this collection is bounded by the number of unique
HeaderIdentifiers (26 + user defined). Prefer BTreeMap over HashMap due
to the ordering invariant that exists for the BTreeMap. By maintaining
an (arbitrary) ordering, verifying correctness in unittests is
simplified as the encoded buffer will be encoded in the same order each
time. With a HashMap, encoding ordering is not guaranteed and makes
asserting data validity difficult.

Add TODOs for future ordering constraints when the relevant features are
added.

Original-Bug: 125070
Test: fx test bt-obex-tests
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/872722
Original-Revision: 4ccfa1cb0769bd4ca19a901929153a72ab3ea8f1
GitOrigin-RevId: d21829c1275212966785eef7ed536b72933cfacd
Change-Id: I9e5852eab60665d102c84bf6526bd41c7debd7ec
1 file changed
tree: c933f0402dc2bc13857321780663e510290ed71e
  1. git-hooks/
  2. infra/
  3. third_party/
  4. cts
  5. firmware
  6. flower
  7. jiri.lock
  8. MILESTONE
  9. minimal
  10. prebuilts
  11. README.md
  12. stem
  13. test_durations
  14. toolchain
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia on Freenode.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.