322c4cc286
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 |
||
---|---|---|
.. | ||
1.0 | ||
1.1 | ||
1.2 | ||
1.3 |