summaryrefslogtreecommitdiff
path: root/aosp/dynamic_partition_control_android_unittest.cc
diff options
context:
space:
mode:
authorKelvin Zhang <zhangkelvin@google.com>2021-02-03 15:33:08 -0500
committerTreehugger Robot <treehugger-gerrit@google.com>2021-02-26 18:17:50 +0000
commit9b8a2bb050ff2a6beda02b9896f085798dca2d2a (patch)
tree3a234061db4ccab3dcc43d7a5ff61149af436ac3 /aosp/dynamic_partition_control_android_unittest.cc
parent51e08b90a7192ac1a9a994060ff564b49adbe694 (diff)
Allow payload_metadata to take raw pointers with size
This way, callers of payload_metadata don't have to store their data in std::vector. This makes parsing a `mmap()`ed payload file possible. While we don't need the ability to parse an mmap()ed payload on device, it is really handy for parsing payload from host-side tooling. In which case the entire payload will be available on disk anyway, and a streaming parse will complicate code a lot. Test: treehugger Change-Id: Icfbd8e849093c8f389ea802864680ab214bdd721
Diffstat (limited to 'aosp/dynamic_partition_control_android_unittest.cc')
0 files changed, 0 insertions, 0 deletions