[MEP] Add port index in SubscriptionInfo database am: 286db29cf7

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2046489

Change-Id: I4baac1debf4f50079a4c632aae989a04ffa0ee13
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Muralidhar Reddy
2022-03-28 20:11:34 +00:00
committed by Automerger Merge Worker
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"; 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 * A testing profile can be pre-loaded or downloaded onto
* the eUICC and provides connectivity to test equipment * 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; 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. * 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; public static final int DEFAULT_PORT_INDEX = 0;
/** @hide */
public static final int INVALID_PORT_INDEX = -1;
private final Context mContext; private final Context mContext;
private final int mSubId; private final int mSubId;
@UnsupportedAppUsage @UnsupportedAppUsage