DSDS support in TelephonyBaseTest
1. Output of dumpsys_carrier_config is reconstructed to contain configs of both phone 0 and 1 based on sub-id.
2. get_phone_capability is modified to store phone capabilities in Android object based on sub-id.
3. get_capability_for_subscription is created to get phone capabilities by sub-id.
4. Functions and classes which will get carrier configs or phone capabilities are modified for the change of telephony data structure of Android object.
5. get_call_state_by_adb is modified to return call state of default voice sub-id.
Bug: None
Test: yes locally.
Change-Id: If02d32373702379a6db7c60e52b266337740c67f
5 files changed