commit | f62817e86e390e2416ce65fd301ce05138169a3c | [log] [tgz] |
---|---|---|
author | Patrick Baumann <patb@google.com> | Fri May 31 10:46:53 2019 -0700 |
committer | Bill Lin <lbill@google.com> | Sat Nov 16 22:38:26 2019 +0800 |
tree | b3f6f59906ccfcfb31708b24bd443f194057cdbe | |
parent | 337df70e17223213a685ec3fe431417840c72bf3 [diff] |
Adds scan unit tests This change adds much needed unit tests to the scanPackageOnlyLI method in PackageManagerService. As part of the change, the abi-deriving / parsing code that is heavily device state dependant has been extracted into an interface that can be mocked. Test: atest ScanTests Bug: 137881067 Bug: 137961986 Exempt-From-Owner-Approval: Already approved in https://googleplex-android-review.git.corp.google.com/c/platform/frameworks/base/+/7844466 Change-Id: If99330c63658ff21c799712f99c9bb5eba35b960 Merged-In: Ib0b17bffa02570451bd2ad6a649791832c9edd65