platform_hardware_interfaces/radio/config
Sarah Chin 322c4cc286 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
2020-01-16 18:17:53 -08:00
..
1.0 [vts-core] Fix presubmit error in RadioConfigHidlEnvironment 2019-11-21 10:55:25 +08:00
1.1 [vts-core] Fix presubmit error in RadioConfigHidlEnvironment 2019-11-21 10:55:25 +08:00
1.2 [vts-core] Fix presubmit error in RadioConfigHidlEnvironment 2019-11-21 10:55:25 +08:00
1.3 PhoneCapabilities changes for device capabilities 2020-01-16 18:17:53 -08:00