diff options
| author | Sarah Chin <sarahchin@google.com> | 2019-11-20 11:25:02 -0800 |
|---|---|---|
| committer | Sarah Chin <sarahchin@google.com> | 2020-01-25 00:39:04 -0800 |
| commit | e1d1b0b92c4f91ce6bf4259bae93eb7c48e3ae05 (patch) | |
| tree | f6f5e02ab0c2ac4032589bc3f7d8e31baa3ca6c5 /camera/common/1.0/default/CameraModule.cpp | |
| parent | 5b971bfa5022ce00afc5ed3c0dde8855f85effe9 (diff) | |
PhoneCapabilities changes for device capabilities
Change PhoneCapability structure to contain static capabilities for:
* the entire device
* each modem/radio
* each SIM slot
Created SimSlotCapability and SlotType to hold information about
device SIM slot capabilities (separate from SimSlotStatus).
Created ModemFeatures to express modem capabilities as a bitfield
of concurrently supportable modem features.
PhoneCapability has fields for UE categories, bands, access networks,
and modem switching linger time. It also contains a lists of logical
modem UUIDs, SIM slot capabilities, and all possible concurrently
supportable modem features.
TelephonyManager will have an API that returns
* the PhoneCapability for the device
* active set of ModemFeatures
Apps with CARRIER_PRIVILEGE can use these APIs to access all
capabilities of a device (eg. 5G capable, DSDS capable, etc.) and
use them to make decisions based on what the device can support.
Test: atest FrameworksTelephonyTests
Bug: 143238237
Bug: 143238191
Change-Id: I424ef176086d2308a4bf53b2c79407eabafb3178
Merged-In: I424ef176086d2308a4bf53b2c79407eabafb3178
Diffstat (limited to 'camera/common/1.0/default/CameraModule.cpp')
0 files changed, 0 insertions, 0 deletions
