Lines Matching refs:code
111 public DisconnectCause(int code) { in DisconnectCause() argument
112 this(code, null, null, null, ToneGenerator.TONE_UNKNOWN); in DisconnectCause()
121 public DisconnectCause(int code, String reason) { in DisconnectCause() argument
122 this(code, null, null, reason, ToneGenerator.TONE_UNKNOWN); in DisconnectCause()
133 public DisconnectCause(int code, CharSequence label, CharSequence description, String reason) { in DisconnectCause() argument
134 this(code, label, description, reason, ToneGenerator.TONE_UNKNOWN); in DisconnectCause()
146 public DisconnectCause(int code, CharSequence label, CharSequence description, String reason, in DisconnectCause() argument
148 mDisconnectCode = code; in DisconnectCause()
213 int code = source.readInt();
218 return new DisconnectCause(code, label, description, reason, tone);
265 String code = ""; in toString() local
268 code = "UNKNOWN"; in toString()
271 code = "ERROR"; in toString()
274 code = "LOCAL"; in toString()
277 code = "REMOTE"; in toString()
280 code = "CANCELED"; in toString()
283 code = "MISSED"; in toString()
286 code = "REJECTED"; in toString()
289 code = "BUSY"; in toString()
292 code = "RESTRICTED"; in toString()
295 code = "OTHER"; in toString()
298 code = "CONNECTION_MANAGER_NOT_SUPPORTED"; in toString()
301 code = "CALL_PULLED"; in toString()
304 code = "ANSWERED_ELSEWHERE"; in toString()
307 code = "invalid code: " + mDisconnectCode; in toString()
314 return "DisconnectCause [ Code: (" + code + ")" in toString()