[MEP] Add port index in SubscriptionInfo database

Bug: 199559346
Test: build, manual
Change-Id: Ia74d5e8714fc961f2d22c104683d3e8722deaa3d
Merged-In: Ia74d5e8714fc961f2d22c104683d3e8722deaa3d
This commit is contained in:
Muralidhar Reddy 2021-12-10 21:11:28 +00:00 committed by Sarah Chin
parent 49f7901033
commit 286db29cf7
3 changed files with 17 additions and 0 deletions

View File

@ -5309,6 +5309,13 @@ public final class Telephony {
*/
public static final String COLUMN_PROFILE_CLASS = "profile_class";
/**
* TelephonyProvider column name for the port index of the active UICC port.
* <P>Type: INTEGER (int)</P>
* @hide
*/
public static final String COLUMN_PORT_INDEX = "port_index";
/**
* A testing profile can be pre-loaded or downloaded onto
* the eUICC and provides connectivity to test equipment

View File

@ -940,6 +940,13 @@ public class SubscriptionManager {
*/
public static final String PROFILE_CLASS = SimInfo.COLUMN_PROFILE_CLASS;
/**
* TelephonyProvider column name for the port index of the active UICC port.
* <P>Type: INTEGER (int)</P>
* @hide
*/
public static final String PORT_INDEX = SimInfo.COLUMN_PORT_INDEX;
/**
* TelephonyProvider column name for VoIMS opt-in status.
*

View File

@ -327,6 +327,9 @@ public class TelephonyManager {
*/
public static final int DEFAULT_PORT_INDEX = 0;
/** @hide */
public static final int INVALID_PORT_INDEX = -1;
private final Context mContext;
private final int mSubId;
@UnsupportedAppUsage