Age | Commit message (Collapse) | Author |
|
Added SPDX-license-identifier-Apache-2.0 to:
Android.bp
Bug: 68860345
Bug: 151177513
Bug: 151953481
Test: m all
Exempt-From-Owner-Approval: janitorial work
Change-Id: Iaf70ec58fa73969cf9d7baeac57f56d745475e40
|
|
This CL changes Map storage to use a vector of pairs, which removes
the need to copy the contents twice to sort them and makes it easy to
support Map iteration. Support for recursive canonicalization is
added as well, and Map::get() uses a binary search when the map is
canonicalized.
Test: cppbor_test_external
Change-Id: Ie7cee5d504e205e1768a26ec5df8436805a6eefe
|
|
1. Add pretty-printing (moved from IdentityCredentialSupport)
2. Add EncodedItem to make it easy to add already-encoded CBOR.
3. Add Map canonicalization.
4. Add support for adding enums as integers.
Test: cppbor_test_external
Change-Id: I641c87567a11de4641b2fcadebe72dd832fceb51
|
|
This commit alters the binary names in the Android.bp file to avoid
conflicts with the internal copy of libcppbor in hardware/interfaces.
Once checked in, the copy will be removed and the binary names will be
reverted back to normal. This is to avoid chicken and egg build errors.
Test: tests are under tests/
Change-Id: I61355fb05d862a6809ac1e42bce714908da869b2
|
|
This reverts commit a7b145a6a5d05b89e9769ffea84d1068ef32bd4e.
Reason for revert: Need to submit with altered binary names
Change-Id: I73a6e442fdbd955bbbd9ab03a7c3096deabbc786
|
|
This commit just populates the repository with the code from the google
github repository
Test: tests/cppbor_test.cpp contains the relevant tests
Change-Id: I693c70abbec6919ed0aa477604a0dd6a16f32df2
|