/*
 * This file is auto-generated.  DO NOT MODIFY.
 * Using: out/host/linux-x86/bin/aidl --lang=java --structured --version 5 --hash d30e321bff565b6a44f81ce4113979c4844a61a3 --stability vintf --min_sdk_version current -pout/soong/.intermediates/hardware/interfaces/radio/aidl/android.hardware.radio_interface/5/preprocessed.aidl --ninja -d out/soong/.intermediates/hardware/interfaces/radio/aidl/android.hardware.radio.network-V5-java-source/gen/android/hardware/radio/network/ConnectionEvent.java.d -o out/soong/.intermediates/hardware/interfaces/radio/aidl/android.hardware.radio.network-V5-java-source/gen -Nhardware/interfaces/radio/aidl/aidl_api/android.hardware.radio.network/5 hardware/interfaces/radio/aidl/aidl_api/android.hardware.radio.network/5/android/hardware/radio/network/ConnectionEvent.aidl
 *
 * DO NOT CHECK THIS FILE INTO A CODE TREE (e.g. git, etc..).
 * ALWAYS GENERATE THIS FILE FROM UPDATED AIDL COMPILER
 * AS A BUILD INTERMEDIATE ONLY. THIS IS NOT SOURCE CODE.
 */
package android.hardware.radio.network;
/** @hide */
public @interface ConnectionEvent {
  public static final int CS_SIGNALLING_GSM = 0;
  public static final int PS_SIGNALLING_GPRS = 1;
  public static final int CS_SIGNALLING_3G = 2;
  public static final int PS_SIGNALLING_3G = 3;
  public static final int NAS_SIGNALLING_LTE = 4;
  /** @deprecated For signalling reporting, used only prior to radio hal version 5.0 */
  @Deprecated
  public static final int AS_SIGNALLING_LTE = 5;
  public static final int AS_SIGNALLING_LTE_DRB = 16;
  public static final int AS_SIGNALLING_LTE_NON_DRB = 17;
  public static final int VOLTE_SIP = 6;
  public static final int VOLTE_SIP_SOS = 7;
  public static final int VOLTE_RTP = 8;
  public static final int VOLTE_RTP_SOS = 9;
  public static final int NAS_SIGNALLING_5G = 10;
  /** @deprecated For signalling reporting, used only prior to radio hal version 5.0 */
  @Deprecated
  public static final int AS_SIGNALLING_5G = 11;
  public static final int AS_SIGNALLING_5G_DRB = 18;
  public static final int AS_SIGNALLING_5G_NON_DRB = 19;
  public static final int VONR_SIP = 12;
  public static final int VONR_SIP_SOS = 13;
  public static final int VONR_RTP = 14;
  public static final int VONR_RTP_SOS = 15;
  interface $ {
    static String toString(int _aidl_v) {
      if (_aidl_v == CS_SIGNALLING_GSM) return "CS_SIGNALLING_GSM";
      if (_aidl_v == PS_SIGNALLING_GPRS) return "PS_SIGNALLING_GPRS";
      if (_aidl_v == CS_SIGNALLING_3G) return "CS_SIGNALLING_3G";
      if (_aidl_v == PS_SIGNALLING_3G) return "PS_SIGNALLING_3G";
      if (_aidl_v == NAS_SIGNALLING_LTE) return "NAS_SIGNALLING_LTE";
      if (_aidl_v == AS_SIGNALLING_LTE) return "AS_SIGNALLING_LTE";
      if (_aidl_v == AS_SIGNALLING_LTE_DRB) return "AS_SIGNALLING_LTE_DRB";
      if (_aidl_v == AS_SIGNALLING_LTE_NON_DRB) return "AS_SIGNALLING_LTE_NON_DRB";
      if (_aidl_v == VOLTE_SIP) return "VOLTE_SIP";
      if (_aidl_v == VOLTE_SIP_SOS) return "VOLTE_SIP_SOS";
      if (_aidl_v == VOLTE_RTP) return "VOLTE_RTP";
      if (_aidl_v == VOLTE_RTP_SOS) return "VOLTE_RTP_SOS";
      if (_aidl_v == NAS_SIGNALLING_5G) return "NAS_SIGNALLING_5G";
      if (_aidl_v == AS_SIGNALLING_5G) return "AS_SIGNALLING_5G";
      if (_aidl_v == AS_SIGNALLING_5G_DRB) return "AS_SIGNALLING_5G_DRB";
      if (_aidl_v == AS_SIGNALLING_5G_NON_DRB) return "AS_SIGNALLING_5G_NON_DRB";
      if (_aidl_v == VONR_SIP) return "VONR_SIP";
      if (_aidl_v == VONR_SIP_SOS) return "VONR_SIP_SOS";
      if (_aidl_v == VONR_RTP) return "VONR_RTP";
      if (_aidl_v == VONR_RTP_SOS) return "VONR_RTP_SOS";
      return Integer.toString(_aidl_v);
    }
    static String arrayToString(Object _aidl_v) {
      if (_aidl_v == null) return "null";
      Class<?> _aidl_cls = _aidl_v.getClass();
      if (!_aidl_cls.isArray()) throw new IllegalArgumentException("not an array: " + _aidl_v);
      Class<?> comp = _aidl_cls.getComponentType();
      java.util.StringJoiner _aidl_sj = new java.util.StringJoiner(", ", "[", "]");
      if (comp.isArray()) {
        for (int _aidl_i = 0; _aidl_i < java.lang.reflect.Array.getLength(_aidl_v); _aidl_i++) {
          _aidl_sj.add(arrayToString(java.lang.reflect.Array.get(_aidl_v, _aidl_i)));
        }
      } else {
        if (_aidl_cls != int[].class) throw new IllegalArgumentException("wrong type: " + _aidl_cls);
        for (int e : (int[]) _aidl_v) {
          _aidl_sj.add(toString(e));
        }
      }
      return _aidl_sj.toString();
    }
  }
}
