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

Skip to content
Commit cad5bb11 authored by Yifei Zhang's avatar Yifei Zhang
Browse files

contexthub: add new getHubs hidden API for V4

- Add hidden API ContextHubManager.getHubs() -> HubInfo
- HubInfo is a union type for VendorHubInfo (newly introduced) and
  ContextHubInfo
- Create HubInfoRegistry for tracking hub and endpoint info

Refactor
- Renamed getHubs to getContextHubs for some internal methods

Sample dumpsys for HubInfo: https://paste.googleplex.com/4989897428697088?raw

Test: manual
Bug: 375487784
Flag: android.chre.flags.offload_api
Change-Id: I841ff14b5378fc1d4df3a0c6b0e6fc082a189059
parent 7045c543
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