/packages/apps/Dialer/java/com/android/dialer/simulator/impl/ |
SimulatorMissedCallCreator.java | 23 import android.telecom.DisconnectCause; 59 connection.setDisconnected(new DisconnectCause(DisconnectCause.MISSED));
|
SimulatorVideoCall.java | 24 import android.telecom.DisconnectCause; 148 connection.setDisconnected(new DisconnectCause(DisconnectCause.REJECTED)); 157 connection.setDisconnected(new DisconnectCause(DisconnectCause.LOCAL));
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
CreateConnectionProcessor.java | 20 import android.telecom.DisconnectCause; 94 private DisconnectCause mLastErrorDisconnectCause; 148 DisconnectCause disconnectCause) { 151 mLastErrorDisconnectCause = disconnectCause; 170 response.handleCreateConnectionFailure(new DisconnectCause(DisconnectCause.LOCAL)); 237 DisconnectCause disconnectCause = mLastErrorDisconnectCause != null ? 238 mLastErrorDisconnectCause : new DisconnectCause(DisconnectCause.ERROR) [all...] |
NewOutgoingCallIntentBroadcaster.java | 36 import android.telephony.DisconnectCause; 191 * @return {@link DisconnectCause#NOT_DISCONNECTED} if the call succeeded, and an appropriate 192 * {@link DisconnectCause} if the call did not, describing why it failed. 204 return DisconnectCause.INVALID_NUMBER; 218 return DisconnectCause.NOT_DISCONNECTED; 221 return DisconnectCause.OUTGOING_CANCELED; 250 return DisconnectCause.NO_PHONE_NUMBER_SUPPLIED; 273 return DisconnectCause.OUTGOING_CANCELED; 282 return DisconnectCause.OUTGOING_CANCELED; 287 return DisconnectCause.INVALID_NUMBER [all...] |
/cts/tests/tests/telecom/src/android/telecom/cts/ |
ConnectionTest.java | 27 import android.telecom.DisconnectCause; 79 new DisconnectCause(DisconnectCause.LOCAL, "Test call")); 97 new DisconnectCause(DisconnectCause.LOCAL, "Test call")); 199 final DisconnectCause disconnectCause = new DisconnectCause(DisconnectCause.REJECTED, 202 connection.setDisconnected(disconnectCause); [all...] |
MockConference.java | 22 import android.telecom.DisconnectCause; 56 c.setDisconnected(new DisconnectCause(DisconnectCause.REMOTE));
|
DataObjectUnitTests.java | 33 import android.telecom.DisconnectCause; 167 DisconnectCause cause = new DisconnectCause( 168 DisconnectCause.ERROR, 173 assertEquals(DisconnectCause.ERROR, cause.getCode()); 185 DisconnectCause parcelCause = DisconnectCause.CREATOR.createFromParcel(p); 186 assertEquals(DisconnectCause.ERROR, parcelCause.getCode());
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
CreateConnectionProcessorTest.java | 25 import android.telecom.DisconnectCause; 158 eq(new DisconnectCause(DisconnectCause.ERROR))); 213 new DisconnectCause(DisconnectCause.CONNECTION_MANAGER_NOT_SUPPORTED)); 252 new DisconnectCause(DisconnectCause.OTHER)); 256 new DisconnectCause(DisconnectCause.OTHER)); 308 mTestCreateConnectionProcessor.handleCreateConnectionFailure(new DisconnectCause( [all...] |
CallLogManagerTest.java | 37 import android.telecom.DisconnectCause; 176 DisconnectCause.CANCELED, 200 DisconnectCause.OTHER, // disconnectCauseCode 230 DisconnectCause.OTHER, // disconnectCauseCode 252 DisconnectCause.OTHER, // disconnectCauseCode 277 DisconnectCause.OTHER, // disconnectCauseCode 302 DisconnectCause.MISSED, // disconnectCauseCode 331 DisconnectCause.REJECTED, // disconnectCauseCode 359 DisconnectCause.OTHER, // disconnectCauseCode 385 DisconnectCause.OTHER, // disconnectCauseCod [all...] |
NewOutgoingCallIntentBroadcasterTest.java | 33 import android.telephony.DisconnectCause; 99 assertEquals(DisconnectCause.INVALID_NUMBER, result); 113 assertEquals(DisconnectCause.NOT_DISCONNECTED, result); 121 badCallActionHelper(Uri.parse("voicemail:18005551234"), DisconnectCause.OUTGOING_CANCELED); 127 badCallActionHelper(Uri.parse("tel:6505551234"), DisconnectCause.INVALID_NUMBER); 133 badCallActionHelper(Uri.parse("sip:testuser@testsite.com"), DisconnectCause.INVALID_NUMBER); 169 assertEquals(DisconnectCause.NO_PHONE_NUMBER_SUPPLIED, result); 190 assertEquals(DisconnectCause.OUTGOING_CANCELED, result); 250 assertEquals(DisconnectCause.OUTGOING_CANCELED, result); 265 assertEquals(DisconnectCause.NOT_DISCONNECTED, result) [all...] |
/packages/apps/Car/Dialer/src/com/android/car/dialer/telecom/ |
UiCall.java | 78 public void setDisconnectCause(CharSequence disconnectCause) { 79 mDisconnectCause = disconnectCause;
|
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
IncomingSelfManagedCallActivity.java | 23 import android.telephony.DisconnectCause; 58 connection.setConnectionDisconnected(DisconnectCause.INCOMING_REJECTED);
|
SelfManagedCallNotificationReceiver.java | 24 import android.telephony.DisconnectCause; 55 connection.setConnectionDisconnected(DisconnectCause.INCOMING_REJECTED);
|
TestConnectionService.java | 31 import android.telecom.DisconnectCause; 76 setDisconnected(new DisconnectCause(DisconnectCause.REMOTE)); 104 c.setDisconnected(new DisconnectCause(DisconnectCause.REMOTE)); 146 setDisconnected(new DisconnectCause(DisconnectCause.MISSED)); 255 setDisconnected(new DisconnectCause(DisconnectCause.REMOTE)); 269 setDisconnected(new DisconnectCause(DisconnectCause.REJECTED)) [all...] |
TestConnectionManager.java | 25 import android.telecom.DisconnectCause; 52 RemoteConnection connection, DisconnectCause disconnectCause) { 53 setDisconnected(disconnectCause); 271 DisconnectCause disconnectCause) { 272 setDisconnected(disconnectCause);
|
HandoverActivity.java | 24 import android.telephony.DisconnectCause; 62 connection.setConnectionDisconnected(DisconnectCause.INCOMING_REJECTED);
|
SelfManagedConnection.java | 31 import android.telecom.DisconnectCause; 167 setConnectionDisconnected(DisconnectCause.REJECTED); 172 setConnectionDisconnected(DisconnectCause.LOCAL); 196 setDisconnected(new DisconnectCause(cause));
|
/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());
|
/frameworks/base/telecomm/java/android/telecom/ |
ParcelableCall.java | 38 private final DisconnectCause mDisconnectCause; 67 DisconnectCause disconnectCause, 93 mDisconnectCause = disconnectCause; 130 * Reason for disconnection, as described by {@link android.telecomm.DisconnectCause}. Valid 133 public DisconnectCause getDisconnectCause() { 310 DisconnectCause disconnectCause = source.readParcelable(classLoader); 341 disconnectCause,
|
RemoteConference.java | 62 * @param disconnectCause The ({@see DisconnectCause}) associated with this failed 65 public void onDisconnected(RemoteConference conference, DisconnectCause disconnectCause) {} 146 private DisconnectCause mDisconnectCause; 295 void setDisconnected(final DisconnectCause disconnectCause) { 297 mDisconnectCause = disconnectCause; 305 callback.onDisconnected(conference, disconnectCause); 477 * Returns the {@link DisconnectCause} for the conference if it is in the stat [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/ |
SipPhone.java | 30 import android.telephony.DisconnectCause; 756 if (getDisconnectCause() != DisconnectCause.LOCAL) { 807 onCallEnded(DisconnectCause.LOCAL); [all...] |
/cts/hostsidetests/numberblocking/app/src/com/android/cts/numberblocking/hostside/ |
CallBlockingTest.java | 27 import android.telecom.DisconnectCause; 120 setDisconnected(new DisconnectCause(DisconnectCause.REJECTED));
|
/frameworks/base/telecomm/java/com/android/internal/telecom/ |
IConnectionServiceAdapter.aidl | 23 import android.telecom.DisconnectCause; 55 void setDisconnected(String callId, in DisconnectCause disconnectCause,
|
/packages/services/Telephony/src/com/android/services/telephony/ |
TelephonyConnectionService.java | 30 import android.telecom.DisconnectCause; 279 android.telephony.DisconnectCause.NO_PHONE_NUMBER_SUPPLIED, 293 android.telephony.DisconnectCause.OUT_OF_SERVICE, 301 android.telephony.DisconnectCause.VOICEMAIL_NUMBER_MISSING, 312 android.telephony.DisconnectCause.INVALID_NUMBER, 321 android.telephony.DisconnectCause.INVALID_NUMBER, 341 android.telephony.DisconnectCause 420 new DisconnectCause(DisconnectCause.ERROR, 492 android.telephony.DisconnectCause.OUTGOING_CANCELED [all...] |
ImsConferenceController.java | 23 import android.telecom.DisconnectCause; 68 public void onDisconnected(Connection c, DisconnectCause disconnectCause) { 387 connection.setDisconnected(new DisconnectCause(DisconnectCause.OTHER, 388 android.telephony.DisconnectCause.toString( 389 android.telephony.DisconnectCause.IMS_MERGED_SUCCESSFULLY)));
|