diff options
author | 2021-08-11 08:25:40 +0000 | |
---|---|---|
committer | 2021-08-16 08:38:52 +0000 | |
commit | 3ba3edfee2592edeea4a4cf06336577178bf2b12 (patch) | |
tree | e06356064d47310651e5f65f8449d3716aea05c4 /libnativeloader/native_loader_test.h | |
parent | 70aa29e2d93ba66e71a8ff88c9210719efae1c31 (diff) |
Add unit tests for odrefresh - step 1
- Define `class OnDeviceRefresh` in the header file and expose some
public methods.
- Changed the ordering of functions. (Function bodies are
not changed.)
- Move static functions to the anonymous namespace, outside of the
class.
- Cleanup "static" keywords inside the anonymous namespace.
- Move the `main` function and related functions about argument parsing
and usage help to a separate file `odrefresh_main.cc`.
- Move `Concatenate` and `QuotePath` to separate files
`odr_common.h`/`odr_common.cc`.
Bug: 196188549
Test: m odrefresh
Test: m odrefreshd
Test: atest odsign_e2e_tests
Change-Id: I0ae1cf34181ae2edf7fd2728ec90b842470d729e
Diffstat (limited to 'libnativeloader/native_loader_test.h')
0 files changed, 0 insertions, 0 deletions