Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e600a8e4 authored by danielwbhuang's avatar danielwbhuang
Browse files

Add ImsServiceEntitlement Configs

Add aes_url config.

Bug: 176127289
Test: presubmit
Change-Id: I33c3894785b14b7d9e36d0c1b9cf5dfe4ceb74cf
parent 34487c2d
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -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
+23 −0
Original line number Diff line number Diff line
@@ -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[] {