diff options
author | 2025-03-04 01:58:54 -0800 | |
---|---|---|
committer | 2025-03-04 01:58:54 -0800 | |
commit | 3f23bc2807a07fff819bd0f234069e1101806f8c (patch) | |
tree | 3290975d3190740c29948fa525221fbd336b18a5 | |
parent | e4a0b1b8893a5043268281539838a69b8a0355f1 (diff) | |
parent | dd7e52aefab827b226dfe7b023a552af7a15defe (diff) |
Merge "[Satellite] Satellite entitlement results are saved to persistent memory." into main
-rw-r--r-- | core/java/android/provider/Telephony.java | 67 | ||||
-rw-r--r-- | telephony/java/android/telephony/SubscriptionManager.java | 55 |
2 files changed, 121 insertions, 1 deletions
diff --git a/core/java/android/provider/Telephony.java b/core/java/android/provider/Telephony.java index f7f4eeca58e2..7d7087642fad 100644 --- a/core/java/android/provider/Telephony.java +++ b/core/java/android/provider/Telephony.java @@ -4988,6 +4988,66 @@ public final class Telephony { public static final String COLUMN_IS_SATELLITE_PROVISIONED_FOR_NON_IP_DATAGRAM = "is_satellite_provisioned_for_non_ip_datagram"; + /** + * TelephonyProvider column name for satellite entitlement barred plmns list separated by + * comma [,]. The value of this column is set based on entitlement query result for + * satellite configuration. Ex : 31026,302820,40445 + * By default, it's empty. + * + * @hide + */ + public static final String COLUMN_SATELLITE_ENTITLEMENT_BARRED_PLMNS = + "satellite_entitlement_barred_plmns"; + + + /** + * TelephonyProvider column name for satellite entitlement data plan for plmns which is + * built in Json format in Key:Value pair. The value of this column is set based on + * entitlement query result for satellite configuration. + * Ex : {"302820":0,"31026":1, "40445":0} + * By default, it's empty. + * + * @hide + */ + public static final String COLUMN_SATELLITE_ENTITLEMENT_DATA_PLAN_PLMNS = + "satellite_entitlement_data_plan_plmns"; + + /** + * TelephonyProvider column name for satellite entitlement service type map which is + * built in Json format in Key:Value pair. The value of this column is set based on + * entitlement query result for satellite configuration. + * Ex : {"302820":[1,3],"31026":[2,3],"40445":[1,3]} + * By default, it's empty. + * + * @hide + */ + public static final String COLUMN_SATELLITE_ENTITLEMENT_SERVICE_TYPE_MAP = + "satellite_entitlement_service_type_map"; + + /** + * TelephonyProvider column name for satellite entitlement data service policy type map + * which is built in Json format in Key:Value pair. The value of this column is set based + * on entitlement query result for satellite configuration. + * Ex : {"302820":2, "31026":1} + * By default, it's empty. + * + * @hide + */ + public static final String COLUMN_SATELLITE_ENTITLEMENT_DATA_SERVICE_POLICY = + "satellite_entitlement_data_service_policy"; + + /** + * TelephonyProvider column name for satellite entitlement voice service policy type map + * which is built in Json format in Key:Value pair. The value of this column is set + * based on entitlement query result for satellite configuration. + * Ex : {"302820":2, "31026":1}. + * By default, it's empty. + * + * @hide + */ + public static final String COLUMN_SATELLITE_ENTITLEMENT_VOICE_SERVICE_POLICY = + "satellite_entitlement_voice_service_policy"; + /** All columns in {@link SimInfo} table. */ private static final List<String> ALL_COLUMNS = List.of( COLUMN_UNIQUE_KEY_SUBSCRIPTION_ID, @@ -5065,7 +5125,12 @@ public final class Telephony { COLUMN_SATELLITE_ENTITLEMENT_STATUS, COLUMN_SATELLITE_ENTITLEMENT_PLMNS, COLUMN_SATELLITE_ESOS_SUPPORTED, - COLUMN_IS_SATELLITE_PROVISIONED_FOR_NON_IP_DATAGRAM + COLUMN_IS_SATELLITE_PROVISIONED_FOR_NON_IP_DATAGRAM, + COLUMN_SATELLITE_ENTITLEMENT_BARRED_PLMNS, + COLUMN_SATELLITE_ENTITLEMENT_DATA_PLAN_PLMNS, + COLUMN_SATELLITE_ENTITLEMENT_SERVICE_TYPE_MAP, + COLUMN_SATELLITE_ENTITLEMENT_DATA_SERVICE_POLICY, + COLUMN_SATELLITE_ENTITLEMENT_VOICE_SERVICE_POLICY ); /** diff --git a/telephony/java/android/telephony/SubscriptionManager.java b/telephony/java/android/telephony/SubscriptionManager.java index d2741ac7ee9f..e04d285d6632 100644 --- a/telephony/java/android/telephony/SubscriptionManager.java +++ b/telephony/java/android/telephony/SubscriptionManager.java @@ -1187,6 +1187,61 @@ public class SubscriptionManager { public static final String IS_SATELLITE_PROVISIONED_FOR_NON_IP_DATAGRAM = SimInfo.COLUMN_IS_SATELLITE_PROVISIONED_FOR_NON_IP_DATAGRAM; + /** + * TelephonyProvider column name for satellite entitlement barred plmns. The value of this + * column is set based on entitlement query result for satellite configuration. + * By default, it's empty. + * <P>Type: TEXT </P> + * + * @hide + */ + public static final String SATELLITE_ENTITLEMENT_BARRED_PLMNS = + SimInfo.COLUMN_SATELLITE_ENTITLEMENT_BARRED_PLMNS; + + /** + * TelephonyProvider column name for satellite entitlement data plan for plmns. The value + * of this column is set based on entitlement query result for satellite configuration. + * By default, it's empty. + * <P>Type: TEXT </P> + * + * @hide + */ + public static final String SATELLITE_ENTITLEMENT_DATA_PLAN_PLMNS = + SimInfo.COLUMN_SATELLITE_ENTITLEMENT_DATA_PLAN_PLMNS; + + /** + * TelephonyProvider column name for satellite entitlement service type map. The value of + * this column is set based on entitlement query result for satellite configuration. + * By default, it's empty. + * <P>Type: TEXT </P> + * + * @hide + */ + public static final String SATELLITE_ENTITLEMENT_SERVICE_TYPE_MAP = + SimInfo.COLUMN_SATELLITE_ENTITLEMENT_SERVICE_TYPE_MAP; + + /** + * TelephonyProvider column name for satellite entitlement data service policy. The value + * of this column is set based on entitlement query result for satellite configuration. + * By default, it's empty. + * <P>Type: TEXT </P> + * + * @hide + */ + public static final String SATELLITE_ENTITLEMENT_DATA_SERVICE_POLICY = + SimInfo.COLUMN_SATELLITE_ENTITLEMENT_DATA_SERVICE_POLICY; + + /** + * TelephonyProvider column name for satellite entitlement voice service policy. The value + * of this column is set based on entitlement query result for satellite configuration. + * By default, it's empty. + * <P>Type: TEXT </P> + * + * @hide + */ + public static final String SATELLITE_ENTITLEMENT_VOICE_SERVICE_POLICY = + SimInfo.COLUMN_SATELLITE_ENTITLEMENT_VOICE_SERVICE_POLICY; + /** @hide */ @Retention(RetentionPolicy.SOURCE) @IntDef(prefix = {"USAGE_SETTING_"}, |