Home | History | Annotate | Download | only in telecom

Lines Matching defs:code

27  * Describes the cause of a disconnected call. This always includes a code describing the generic
87 * @param code The code for the disconnect cause.
89 public DisconnectCause(int code) {
90 this(code, null, null, null, ToneGenerator.TONE_UNKNOWN);
96 * @param code The code for the disconnect cause.
99 public DisconnectCause(int code, String reason) {
100 this(code, null, null, reason, ToneGenerator.TONE_UNKNOWN);
106 * @param code The code for the disconnect cause.
111 public DisconnectCause(int code, CharSequence label, CharSequence description, String reason) {
112 this(code, label, description, reason, ToneGenerator.TONE_UNKNOWN);
118 * @param code The code for the disconnect cause.
124 public DisconnectCause(int code, CharSequence label, CharSequence description, String reason,
126 mDisconnectCode = code;
134 * Returns the code for the reason for this disconnect.
136 * @return The disconnect code.
191 int code = source.readInt();
196 return new DisconnectCause(code, label, description, reason, tone);
243 String code = "";
246 code = "UNKNOWN";
249 code = "ERROR";
252 code = "LOCAL";
255 code = "REMOTE";
258 code = "CANCELED";
261 code = "MISSED";
264 code = "REJECTED";
267 code = "BUSY";
270 code = "RESTRICTED";
273 code = "OTHER";
276 code = "CONNECTION_MANAGER_NOT_SUPPORTED";
279 code = "CALL_PULLED";
282 code = "ANSWERED_ELSEWHERE";
285 code = "invalid code: " + mDisconnectCode;
292 return "DisconnectCause [ Code: (" + code + ")"