blob: 5bb606d5bbbbdcd7450af20c888a02f38b06eb48 [file] [log] [blame]
/*
* This file is auto-generated. DO NOT MODIFY.
*/
package android.hardware.radio.voice;
public @interface CdmaOtaProvisionStatus {
public static final int SPL_UNLOCKED = 0;
public static final int SPC_RETRIES_EXCEEDED = 1;
public static final int A_KEY_EXCHANGED = 2;
public static final int SSD_UPDATED = 3;
public static final int NAM_DOWNLOADED = 4;
public static final int MDN_DOWNLOADED = 5;
public static final int IMSI_DOWNLOADED = 6;
public static final int PRL_DOWNLOADED = 7;
public static final int COMMITTED = 8;
public static final int OTAPA_STARTED = 9;
public static final int OTAPA_STOPPED = 10;
public static final int OTAPA_ABORTED = 11;
interface $ {
static String toString(int _aidl_v) {
if (_aidl_v == SPL_UNLOCKED) return "SPL_UNLOCKED";
if (_aidl_v == SPC_RETRIES_EXCEEDED) return "SPC_RETRIES_EXCEEDED";
if (_aidl_v == A_KEY_EXCHANGED) return "A_KEY_EXCHANGED";
if (_aidl_v == SSD_UPDATED) return "SSD_UPDATED";
if (_aidl_v == NAM_DOWNLOADED) return "NAM_DOWNLOADED";
if (_aidl_v == MDN_DOWNLOADED) return "MDN_DOWNLOADED";
if (_aidl_v == IMSI_DOWNLOADED) return "IMSI_DOWNLOADED";
if (_aidl_v == PRL_DOWNLOADED) return "PRL_DOWNLOADED";
if (_aidl_v == COMMITTED) return "COMMITTED";
if (_aidl_v == OTAPA_STARTED) return "OTAPA_STARTED";
if (_aidl_v == OTAPA_STOPPED) return "OTAPA_STOPPED";
if (_aidl_v == OTAPA_ABORTED) return "OTAPA_ABORTED";
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();
}
}
}