/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
AnalyticsTests.java | 25 import android.telecom.DisconnectCause; 108 sendSetDisconnected(testCall.mConnectionId, DisconnectCause.ERROR); 114 assertEquals(DisconnectCause.ERROR, callAnalytics.callTerminationReason.getCode()); 138 sendSetDisconnected(testCall.mConnectionId, DisconnectCause.ERROR); 210 sendSetDisconnected(testCall2.mConnectionId, DisconnectCause.REMOTE); 212 sendSetDisconnected(testCall1.mConnectionId, DisconnectCause.ERROR); 221 assertEquals(DisconnectCause.ERROR, callAnalytics1.callTerminationReason.getCode()); 222 assertEquals(DisconnectCause.REMOTE, callAnalytics2.callTerminationReason.getCode()); 310 sendSetDisconnected(testCall.mConnectionId, DisconnectCause.ERROR); 413 sendSetDisconnected(testCall.mConnectionId, DisconnectCause.ERROR) [all...] |
ConnectionServiceFixture.java | 41 import android.telecom.DisconnectCause; 411 DisconnectCause disconnectCause; 489 public void sendSetDisconnected(String id, int disconnectCause) throws Exception { 491 mConnectionById.get(id).disconnectCause = new DisconnectCause(disconnectCause); 493 a.setDisconnected(id, mConnectionById.get(id).disconnectCause, null /*Session.Info*/); 692 c.disconnectCause,
|
VideoCallTests.java | 29 import android.telecom.DisconnectCause; 172 mConnectionServiceFixtureA.sendSetDisconnected(ids.mConnectionId, DisconnectCause.MISSED); 189 mConnectionServiceFixtureA.sendSetDisconnected(ids.mConnectionId, DisconnectCause.REJECTED); 208 mConnectionServiceFixtureA.sendSetDisconnected(ids.mConnectionId, DisconnectCause.LOCAL); 226 mConnectionServiceFixtureA.sendSetDisconnected(ids.mConnectionId, DisconnectCause.REMOTE);
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
DefaultPhoneNotifierTest.java | 35 import android.telephony.DisconnectCause; 160 mDefaultPhoneNotifierUT.notifyDisconnectCause(DisconnectCause.NOT_VALID, 162 verify(mTelephonyRegisteryMock).notifyDisconnectCause(DisconnectCause.NOT_VALID, 165 mDefaultPhoneNotifierUT.notifyDisconnectCause(DisconnectCause.LOCAL, 167 verify(mTelephonyRegisteryMock).notifyDisconnectCause(DisconnectCause.LOCAL,
|
GsmCdmaCallTrackerTest.java | 34 import android.telephony.DisconnectCause; 170 assertEquals(DisconnectCause.NOT_DISCONNECTED, connection.getDisconnectCause()); 183 assertEquals(DisconnectCause.LOCAL, connection.getDisconnectCause()); 282 assertEquals(DisconnectCause.NOT_DISCONNECTED, connection.getDisconnectCause()); 294 assertEquals(DisconnectCause.INCOMING_MISSED, connection.getDisconnectCause()); 435 verify(mConnection).onDisconnect(DisconnectCause.ERROR_UNSPECIFIED);
|
/packages/apps/Dialer/java/com/android/dialer/simulator/impl/ |
SimulatorVoiceCall.java | 26 import android.telecom.DisconnectCause; 228 connection.setDisconnected(new DisconnectCause(DisconnectCause.REJECTED)); 238 connection.setDisconnected(new DisconnectCause(DisconnectCause.LOCAL));
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
ConnectionServiceWrapper.java | 33 import android.telecom.DisconnectCause; 214 public void setDisconnected(String callId, DisconnectCause disconnectCause, 220 logIncoming("setDisconnected %s %s", callId, disconnectCause); 222 Log.d(this, "disconnect call %s %s", disconnectCause, call); 224 mCallsManager.markCallAsDisconnected(call, disconnectCause); 296 call, new DisconnectCause(DisconnectCause.REMOTE)); [all...] |
CallIntentProcessor.java | 18 import android.telephony.DisconnectCause; 168 final boolean success = result == DisconnectCause.NOT_DISCONNECTED; 252 case DisconnectCause.INVALID_NUMBER: 253 case DisconnectCause.NO_PHONE_NUMBER_SUPPLIED:
|
CallLogManager.java | 31 import android.telecom.DisconnectCause; 142 int disconnectCause = call.getDisconnectCause().getCode(); 145 boolean isCallCanceled = isNewlyDisconnected && disconnectCause == DisconnectCause.CANCELED; 166 } else if (disconnectCause == DisconnectCause.MISSED) { 168 } else if (disconnectCause == DisconnectCause.ANSWERED_ELSEWHERE) { 170 } else if (disconnectCause == DisconnectCause.REJECTED) [all...] |
Analytics.java | 20 import android.telecom.DisconnectCause; 166 public void setCallDisconnectCause(DisconnectCause disconnectCause) { 215 public DisconnectCause callTerminationReason; 256 this.callTerminationReason = new DisconnectCause( 298 public void setCallDisconnectCause(DisconnectCause disconnectCause) { 299 Log.d(TAG, "setting disconnectCause for call " + callId + " to " + disconnectCause); 300 this.callTerminationReason = disconnectCause; [all...] |
/packages/services/Telephony/src/com/android/services/telephony/ |
ImsConference.java | 28 import android.telecom.DisconnectCause; 126 * @param disconnectCause The host connection disconnect cause. 129 public void onDisconnected(android.telecom.Connection c, DisconnectCause disconnectCause) { 130 setDisconnected(disconnectCause); 720 participant.setDisconnected(new DisconnectCause(DisconnectCause.CANCELED)); 798 connection.setDisconnected(new DisconnectCause(DisconnectCause.CANCELED)); [all...] |
CdmaConferenceController.java | 23 import android.telecom.DisconnectCause; 58 public void onDisconnected(Connection c, DisconnectCause disconnectCause) {
|
CdmaConnection.java | 23 import android.telephony.DisconnectCause; 52 hangupCallWaiting(DisconnectCause.INCOMING_MISSED); 123 hangupCallWaiting(DisconnectCause.INCOMING_REJECTED);
|
TelephonyConferenceController.java | 33 import android.telecom.DisconnectCause; 58 public void onDisconnected(Connection c, DisconnectCause disconnectCause) {
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
RemoteConferenceTest.java | 27 import android.telecom.DisconnectCause; 241 DisconnectCause disconnectCause) { 242 super.onDisconnected(conference, disconnectCause); 243 callbackInvoker.invoke(conference, disconnectCause); 247 DisconnectCause cause = new DisconnectCause(DisconnectCause.LOCAL);
|
CtsSelfManagedConnectionService.java | 24 import android.telecom.DisconnectCause; 153 connection.setDisconnected(new DisconnectCause(DisconnectCause.LOCAL));
|
/packages/apps/Dialer/java/com/android/contacts/common/compat/telecom/ |
TelecomManagerCompat.java | 38 // This is a hidden constant in android.telecom.DisconnectCause. Telecom sets this as a disconnect 40 // TODO(wangqi): Reference it to constant in android.telecom.DisconnectCause.
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
ImsPhoneCallTracker.java | 50 import android.telephony.DisconnectCause; [all...] |
/frameworks/base/telecomm/java/android/telecom/ |
Conference.java | 50 public void onDisconnected(Conference conference, DisconnectCause disconnectCause) {} 79 private DisconnectCause mDisconnectCause; 366 * @param disconnectCause The reason for the disconnection, as described by 367 * {@link android.telecom.DisconnectCause}. 369 public final void setDisconnected(DisconnectCause disconnectCause) { 370 mDisconnectCause = disconnectCause;; 378 * @return The {@link DisconnectCause} for this connection. 380 public final DisconnectCause getDisconnectCause() [all...] |
RemoteConnection.java | 67 * @param disconnectCause The ({@see DisconnectCause}) associated with this failed 72 DisconnectCause disconnectCause) {} 643 private DisconnectCause mDisconnectCause; 715 * @param disconnectCause The reason for the failed connection. 718 RemoteConnection(DisconnectCause disconnectCause) { 722 mDisconnectCause = disconnectCause; [all...] |
RemoteConnectionService.java | 133 public void setDisconnected(String callId, DisconnectCause disconnectCause, 137 .setDisconnected(disconnectCause); 140 .setDisconnected(disconnectCause); 548 new DisconnectCause(DisconnectCause.ERROR, e.toString()));
|
/packages/apps/Dialer/java/com/android/incallui/call/ |
DialerCall.java | 39 import android.telecom.DisconnectCause; 139 private DisconnectCause disconnectCause; 846 /** Returns call disconnect cause, defined by {@link DisconnectCause}. */ 847 public DisconnectCause getDisconnectCause() { 849 return disconnectCause; 852 return new DisconnectCause(DisconnectCause.UNKNOWN); 855 public void setDisconnectCause(DisconnectCause disconnectCause) { [all...] |
/packages/apps/Dialer/java/com/android/incallui/spam/ |
SpamCallListListener.java | 34 import android.telecom.DisconnectCause; 240 int disconnectCause = call.getDisconnectCause().getCode(); 241 if (disconnectCause != DisconnectCause.LOCAL && disconnectCause != DisconnectCause.REMOTE) {
|
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
SelfManagedCallListAdapter.java | 21 import android.telecom.DisconnectCause; 46 connection.setConnectionDisconnected(DisconnectCause.LOCAL); 72 connection.setConnectionDisconnected(DisconnectCause.MISSED);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/connserv/ |
HfpClientDeviceBlock.java | 25 import android.telecom.DisconnectCause; 157 connection.close(DisconnectCause.ERROR); 310 mConference.setDisconnected(new DisconnectCause(DisconnectCause.LOCAL));
|