diff options
author | 2022-11-14 18:55:06 +0900 | |
---|---|---|
committer | 2022-11-15 06:08:39 +0900 | |
commit | ce94b75b68df3e07e9c73d42eaa59cfce0929e53 (patch) | |
tree | 837226244a1be78b19155b430f49b4dbd0484925 /libs/binder/IPCThreadState.cpp | |
parent | 213454462ca60ec8af20f69a797bbef19712b85b (diff) |
servicemanager: add tests for updatable-via-apex
This is a follow-up of 76944fee1a642cdfbabaa72ef7d29e53af1d50db.
With an example vendor apex installed on a cuttlefish device, the added
tests test two new APIs regarding updatable-via-apex.
- ServiceManager.updatableViaApex(instance)
- ServiceManager.getUpdatableNames(apexName)
This also fixes both methods
- (minor) updatableViaApex returns early when the match found
- getUpdatableNames iterates over all instances to find updatable
instances.
Bug: 254201177
Test: atest servicemanager_test
Change-Id: I165c5532b40a4f9d520bef55864708b1629e24c7
Diffstat (limited to 'libs/binder/IPCThreadState.cpp')
0 files changed, 0 insertions, 0 deletions