/frameworks/base/telecomm/java/android/telecom/ |
DisconnectCause.aidl | 22 parcelable DisconnectCause;
|
DisconnectCause.java | 33 public final class DisconnectCause implements Parcelable { 85 * Creates a new DisconnectCause. 89 public DisconnectCause(int code) { 94 * Creates a new DisconnectCause. 99 public DisconnectCause(int code, String reason) { 104 * Creates a new DisconnectCause. 111 public DisconnectCause(int code, CharSequence label, CharSequence description, String reason) { 116 * Creates a new DisconnectCause. 124 public DisconnectCause(int code, CharSequence label, CharSequence description, String reason, 188 public static final Creator<DisconnectCause> CREATOR = new Creator<DisconnectCause>() [all...] |
/packages/services/Telephony/src/com/android/services/telephony/ |
DisconnectCauseUtil.java | 21 import android.telecom.DisconnectCause; 30 * Converts from a disconnect code in {@link android.telephony.DisconnectCause} into a more generic 31 * {@link android.telecom.DisconnectCause}.object, possibly populated with a localized message 37 public static DisconnectCause toTelecomDisconnectCause(int telephonyDisconnectCause) { 42 * Converts from a disconnect code in {@link android.telephony.DisconnectCause} into a more generic 43 * {@link android.telecom.DisconnectCause}.object, possibly populated with a localized message 50 public static DisconnectCause toTelecomDisconnectCause( 53 return new DisconnectCause( 62 * Convert the {@link android.telephony.DisconnectCause} disconnect code into a 63 * {@link android.telecom.DisconnectCause} disconnect code [all...] |
TelephonyConnectionService.java | 29 import android.telecom.DisconnectCause; 127 android.telephony.DisconnectCause.NO_PHONE_NUMBER_SUPPLIED, 141 android.telephony.DisconnectCause.OUT_OF_SERVICE, 149 android.telephony.DisconnectCause.VOICEMAIL_NUMBER_MISSING, 160 android.telephony.DisconnectCause.INVALID_NUMBER, 169 android.telephony.DisconnectCause.INVALID_NUMBER, 189 android.telephony.DisconnectCause 264 android.telephony.DisconnectCause.OUTGOING_CANCELED, 275 android.telephony.DisconnectCause.POWER_OFF, 288 new DisconnectCause(DisconnectCause.ERROR [all...] |
ConferenceParticipantConnection.java | 25 import android.telecom.DisconnectCause; 113 setDisconnected(new DisconnectCause(DisconnectCause.CANCELED));
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
CreateConnectionResponse.java | 19 import android.telecom.DisconnectCause; 30 void handleCreateConnectionFailure(DisconnectCause disconnectCaused);
|
CreateConnectionProcessor.java | 21 import android.telecom.DisconnectCause; 94 private DisconnectCause mLastErrorDisconnectCause; 146 DisconnectCause disconnectCause) { 149 mLastErrorDisconnectCause = disconnectCause; 168 response.handleCreateConnectionFailure(new DisconnectCause(DisconnectCause.LOCAL)); 219 DisconnectCause disconnectCause = mLastErrorDisconnectCause != null ? 220 mLastErrorDisconnectCause : new DisconnectCause(DisconnectCause.ERROR) [all...] |
NewOutgoingCallIntentBroadcaster.java | 33 import android.telephony.DisconnectCause; 181 * @return {@link DisconnectCause#NOT_DISCONNECTED} if the call succeeded, and an appropriate 182 * {@link DisconnectCause} if the call did not, describing why it failed. 194 return DisconnectCause.INVALID_NUMBER; 214 return DisconnectCause.NOT_DISCONNECTED; 217 return DisconnectCause.OUTGOING_CANCELED; 224 return DisconnectCause.NO_PHONE_NUMBER_SUPPLIED; 248 return DisconnectCause.OUTGOING_CANCELED; 257 return DisconnectCause.OUTGOING_CANCELED; 262 return DisconnectCause.INVALID_NUMBER [all...] |
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
DummyConnectionService.java | 23 import android.telecom.DisconnectCause; 84 setDisconnected(new DisconnectCause(DisconnectCause.REJECTED)); 103 setDisconnected(new DisconnectCause(DisconnectCause.LOCAL)); 110 setDisconnected(new DisconnectCause(DisconnectCause.UNKNOWN));
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
MissedCallTest.java | 22 import android.telecom.DisconnectCause; 71 connection.setDisconnected(new DisconnectCause(DisconnectCause.MISSED));
|
MockConnection.java | 24 import android.telecom.DisconnectCause; 70 setDisconnected(new DisconnectCause(DisconnectCause.REJECTED)); 80 setDisconnected(new DisconnectCause(DisconnectCause.REJECTED, reason)); 108 setDisconnected(new DisconnectCause(DisconnectCause.LOCAL)); 118 setDisconnected(new DisconnectCause(DisconnectCause.UNKNOWN));
|
MockConference.java | 22 import android.telecom.DisconnectCause; 56 c.setDisconnected(new DisconnectCause(DisconnectCause.REMOTE));
|
ConnectionTest.java | 25 import android.telecom.DisconnectCause; 77 new DisconnectCause(DisconnectCause.LOCAL, "Test call")); 95 new DisconnectCause(DisconnectCause.LOCAL, "Test call")); 197 final DisconnectCause disconnectCause = new DisconnectCause(DisconnectCause.REJECTED, 200 connection.setDisconnected(disconnectCause); [all...] |
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/ |
SipConnectionService.java | 35 import android.telephony.DisconnectCause; 74 DisconnectCause.CALL_BARRED, "Cannot make a SIP call with a gateway number.")); 81 DisconnectCause.OUTGOING_FAILURE, "Did not match service connection")); 92 connection.setDisconnected(new android.telecom.DisconnectCause( 93 android.telecom.DisconnectCause.ERROR, null, description, 103 connection.setDisconnected(new android.telecom.DisconnectCause( 104 android.telecom.DisconnectCause.ERROR, null, description, 118 DisconnectCause.OUTGOING_FAILURE, "SIP profile not found.")); 125 DisconnectCause.OUTGOING_FAILURE, "Connection failed.")); 148 DisconnectCause.ERROR_UNSPECIFIED, "No extras on request.")) [all...] |
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
TestConnectionService.java | 31 import android.telecom.DisconnectCause; 72 setDisconnected(new DisconnectCause(DisconnectCause.REMOTE)); 100 c.setDisconnected(new DisconnectCause(DisconnectCause.REMOTE)); 140 setDisconnected(new DisconnectCause(DisconnectCause.MISSED)); 222 setDisconnected(new DisconnectCause(DisconnectCause.REMOTE)); 236 setDisconnected(new DisconnectCause(DisconnectCause.REJECTED)) [all...] |
/frameworks/base/telephony/java/android/telephony/ |
DisconnectCause.java | 23 public class DisconnectCause { 242 // 5) Update android.telecom.DisconnectCauseUtil with any mappings to a telecom.DisconnectCause. 254 private DisconnectCause() {
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
GsmCdmaConnection.java | 28 import android.telephony.DisconnectCause; 413 mCause = DisconnectCause.LOCAL; 419 * Maps RIL call disconnect code to {@link DisconnectCause}. 421 * @return the corresponding value from {@link DisconnectCause} 431 return DisconnectCause.BUSY; 439 return DisconnectCause.CONGESTION; 442 return DisconnectCause.LIMIT_EXCEEDED; 445 return DisconnectCause.CALL_BARRED; 448 return DisconnectCause.FDN_BLOCKED; 451 return DisconnectCause.UNOBTAINABLE_NUMBER [all...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
GsmCdmaConnectionTest.java | 24 import android.telephony.DisconnectCause; 81 assertEquals(DisconnectCause.NOT_DISCONNECTED, DisconnectCause.NOT_DISCONNECTED); 99 assertEquals(DisconnectCause.NOT_DISCONNECTED, DisconnectCause.NOT_DISCONNECTED); 188 connection.onDisconnect(DisconnectCause.LOCAL); 190 assertEquals(DisconnectCause.LOCAL, connection.getDisconnectCause());
|
/cts/hostsidetests/numberblocking/app/src/com/android/cts/numberblocking/hostside/ |
CallBlockingTest.java | 27 import android.telecom.DisconnectCause; 120 setDisconnected(new DisconnectCause(DisconnectCause.REJECTED));
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/connserv/ |
HfpClientConference.java | 24 import android.telecom.DisconnectCause; 53 setDisconnected(new DisconnectCause(DisconnectCause.LOCAL));
|
HfpClientConnection.java | 25 import android.telecom.DisconnectCause; 68 close(DisconnectCause.ERROR); 119 close(mLocalDisconnect ? DisconnectCause.LOCAL : DisconnectCause.REMOTE); 146 setDisconnected(new DisconnectCause(cause)); 170 close(DisconnectCause.LOCAL);
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
CreateConnectionProcessorTest.java | 24 import android.telecom.DisconnectCause; 122 eq(new DisconnectCause(DisconnectCause.ERROR))); 172 new DisconnectCause(DisconnectCause.CONNECTION_MANAGER_NOT_SUPPORTED)); 208 new DisconnectCause(DisconnectCause.OTHER)); 212 new DisconnectCause(DisconnectCause.OTHER)); 259 mTestCreateConnectionProcessor.handleCreateConnectionFailure(new DisconnectCause( [all...] |
CallLogManagerTest.java | 37 import android.telecom.DisconnectCause; 158 DisconnectCause.CANCELED, 181 DisconnectCause.OTHER, // disconnectCauseCode 210 DisconnectCause.OTHER, // disconnectCauseCode 231 DisconnectCause.OTHER, // disconnectCauseCode 255 DisconnectCause.OTHER, // disconnectCauseCode 279 DisconnectCause.MISSED, // disconnectCauseCode 307 DisconnectCause.REJECTED, // disconnectCauseCode 334 DisconnectCause.OTHER, // disconnectCauseCode 359 DisconnectCause.OTHER, // disconnectCauseCod [all...] |
/packages/apps/Dialer/InCallUI/src/com/android/incallui/ |
CallList.java | 22 import android.telecom.DisconnectCause; 435 call.setDisconnectCause(new DisconnectCause(DisconnectCause.UNKNOWN)); 529 case DisconnectCause.LOCAL: 532 case DisconnectCause.REMOTE: 533 case DisconnectCause.ERROR: 536 case DisconnectCause.REJECTED: 537 case DisconnectCause.MISSED: 538 case DisconnectCause.CANCELED:
|
/packages/apps/Dialer/InCallUI/tests/src/com/android/incallui/ |
TestTelecomCall.java | 25 import android.telecom.DisconnectCause; 53 DisconnectCause disconnectCause, 83 DisconnectCause.class, /* disconnectCause */ 95 disconnectCause, connectTimeMillis, gatewayInfo, videoState,
|