Merge "Add carrier configuration for list of opportunistic carrier-ids associated with CBRS pSIM"

This commit is contained in:
Treehugger Robot
2021-12-15 23:54:48 +00:00
committed by Gerrit Code Review

View File

@@ -3717,6 +3717,17 @@ public class CarrierConfigManager {
public static final String KEY_ESIM_MAX_DOWNLOAD_RETRY_ATTEMPTS_INT =
"esim_max_download_retry_attempts_int";
/**
* List of opportunistic carrier-ids associated with CBRS Primary SIM. When CBRS pSIM is
* inserted, opportunistic eSIM is download and this configuration is used for grouping pSIM
* and opportunistic eSIM. Also when a new CBRS pSIM is inserted, old opportunistic eSIMs are
* deleted using the carrier-ids in this configuration.
*
* @hide
*/
public static final String KEY_OPPORTUNISTIC_CARRIER_IDS_INT_ARRAY =
"opportunistic_carrier_ids_int_array";
/**
* Controls RSRP threshold at which OpportunisticNetworkService will decide whether
* the opportunistic network is good enough for internet data.
@@ -5774,6 +5785,7 @@ public class CarrierConfigManager {
sDefaults.putString(KEY_SMDP_SERVER_ADDRESS_STRING, "");
sDefaults.putInt(KEY_ESIM_MAX_DOWNLOAD_RETRY_ATTEMPTS_INT, 5);
sDefaults.putInt(KEY_ESIM_DOWNLOAD_RETRY_BACKOFF_TIMER_SEC_INT, 60);
sDefaults.putIntArray(KEY_OPPORTUNISTIC_CARRIER_IDS_INT_ARRAY, new int[] {0});
/* Default value is minimum RSRP level needed for SIGNAL_STRENGTH_GOOD */
sDefaults.putInt(KEY_OPPORTUNISTIC_NETWORK_ENTRY_THRESHOLD_RSRP_INT, -108);
/* Default value is minimum RSRP level needed for SIGNAL_STRENGTH_MODERATE */