Add ImsServiceEntitlement Configs

Add aes_url config.

Bug: 176127289
Test: presubmit
Change-Id: I33c3894785b14b7d9e36d0c1b9cf5dfe4ceb74cf
This commit is contained in:
danielwbhuang
2021-01-08 14:49:18 +08:00
parent 34487c2d69
commit e600a8e4e8
2 changed files with 28 additions and 0 deletions

View File

@@ -40001,6 +40001,11 @@ package android.telephony {
field public static final String KEY_WIFI_OFF_DEFERRING_TIME_MILLIS_INT = "ims.wifi_off_deferring_time_millis_int";
}
public static final class CarrierConfigManager.ImsServiceEntitlement {
field public static final String KEY_AES_URL_STRING = "imsserviceentitlement.aes_url_string";
field public static final String KEY_PREFIX = "imsserviceentitlement.";
}
public static final class CarrierConfigManager.Iwlan {
field public static final int AUTHENTICATION_METHOD_CERT = 1; // 0x1
field public static final int AUTHENTICATION_METHOD_EAP_ONLY = 0; // 0x0

View File

@@ -3557,6 +3557,28 @@ public class CarrierConfigManager {
*/
public static final String ENABLE_EAP_METHOD_PREFIX_BOOL = "enable_eap_method_prefix_bool";
/**
* Configs used by ImsServiceEntitlement.
*/
public static final class ImsServiceEntitlement {
private ImsServiceEntitlement() {}
/** Prefix of all ImsServiceEntitlement.KEY_* constants. */
public static final String KEY_PREFIX = "imsserviceentitlement.";
/** The address of the entitlement configuration server. */
public static final String KEY_AES_URL_STRING = KEY_PREFIX + "aes_url_string";
private static PersistableBundle getDefaults() {
PersistableBundle defaults = new PersistableBundle();
defaults.putString(KEY_AES_URL_STRING, "");
return defaults;
}
}
/**
* GPS configs. See the GNSS HAL documentation for more details.
*/
@@ -5083,6 +5105,7 @@ public class CarrierConfigManager {
sDefaults.putLong(KEY_OPPORTUNISTIC_NETWORK_BACKOFF_TIME_LONG, 10000);
/* Default value is 60 seconds. */
sDefaults.putLong(KEY_OPPORTUNISTIC_NETWORK_MAX_BACKOFF_TIME_LONG, 60000);
sDefaults.putAll(ImsServiceEntitlement.getDefaults());
sDefaults.putAll(Gps.getDefaults());
sDefaults.putIntArray(KEY_CDMA_ENHANCED_ROAMING_INDICATOR_FOR_HOME_NETWORK_INT_ARRAY,
new int[] {