Lines Matching refs:code
27 * Describes the cause of a disconnected call. This always includes a code describing the generic
80 * Reason code (returned via {@link #getReason()}) which indicates that a call could not be
88 * Reason code (returned via {@link #getReason()}), which indicates that the video telephony
103 * @param code The code for the disconnect cause.
105 public DisconnectCause(int code) {
106 this(code, null, null, null, ToneGenerator.TONE_UNKNOWN);
112 * @param code The code for the disconnect cause.
115 public DisconnectCause(int code, String reason) {
116 this(code, null, null, reason, ToneGenerator.TONE_UNKNOWN);
122 * @param code The code for the disconnect cause.
127 public DisconnectCause(int code, CharSequence label, CharSequence description, String reason) {
128 this(code, label, description, reason, ToneGenerator.TONE_UNKNOWN);
134 * @param code The code for the disconnect cause.
140 public DisconnectCause(int code, CharSequence label, CharSequence description, String reason,
142 mDisconnectCode = code;
150 * Returns the code for the reason for this disconnect.
152 * @return The disconnect code.
207 int code = source.readInt();
212 return new DisconnectCause(code, label, description, reason, tone);
259 String code = "";
262 code = "UNKNOWN";
265 code = "ERROR";
268 code = "LOCAL";
271 code = "REMOTE";
274 code = "CANCELED";
277 code = "MISSED";
280 code = "REJECTED";
283 code = "BUSY";
286 code = "RESTRICTED";
289 code = "OTHER";
292 code = "CONNECTION_MANAGER_NOT_SUPPORTED";
295 code = "CALL_PULLED";
298 code = "ANSWERED_ELSEWHERE";
301 code = "invalid code: " + mDisconnectCode;
308 return "DisconnectCause [ Code: (" + code + ")"