summaryrefslogtreecommitdiff
path: root/libs/androidfw/ObbFile.cpp
diff options
context:
space:
mode:
author Elliott Hughes <enh@google.com> 2022-01-19 12:04:35 -0800
committer Elliott Hughes <enh@google.com> 2022-01-24 13:57:58 -0800
commitb46bf19b90d43f872cfded1229ed58813884a8c3 (patch)
tree1e941568d20286373722e0289a31b0d4ef44cd91 /libs/androidfw/ObbFile.cpp
parentf28ab362fca193b24f24ca9d3a31d5286c92c837 (diff)
usb: remove duplication in descriptor reading code.
The motivation for this is Sony needing to deal with >4KiB descriptor on a UVC device. Let's factor out the callers here and combine them with the code in libusbhost that also needs a limit. (I've separately bumped libusbhost to 16KiB, which was the largest of the three places we had a limit previously.) Also remove some inappropriate <asm/*> includes --- that's never a good idea, and they weren't needed anyway. (#include re-ordering was insisted upon by a presubmit hook.) Test: treehugger Change-Id: I552d97adc2a4ade4b89b9fe6b3262e012fdb8602
Diffstat (limited to 'libs/androidfw/ObbFile.cpp')
0 files changed, 0 insertions, 0 deletions