Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit ce94b75b authored by Jooyung Han's avatar Jooyung Han
Browse files

servicemanager: add tests for updatable-via-apex

This is a follow-up of 76944fee.
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
parent 21345446
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment