Add carrier configuration for list of opportunistic carrier-ids

associated with CBRS pSIM

Bug: 209555162
Test: build

Change-Id: I4429a0bada9632dff0935fabafdd23785837f184
This commit is contained in:
Avinash Malipatil 2021-12-07 08:01:03 +00:00
parent 629810015f
commit f63c1fddb3

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 */