/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; 109 android.telephony.DisconnectCause.NO_PHONE_NUMBER_SUPPLIED, 123 android.telephony.DisconnectCause.OUT_OF_SERVICE, 131 android.telephony.DisconnectCause.VOICEMAIL_NUMBER_MISSING, 142 android.telephony.DisconnectCause.INVALID_NUMBER, 151 android.telephony.DisconnectCause.INVALID_NUMBER, 171 android.telephony.DisconnectCause 210 android.telephony.DisconnectCause.OUT_OF_SERVICE, 218 android.telephony.DisconnectCause.OUT_OF_SERVICE, "Phone is null")); 245 android.telephony.DisconnectCause.CDMA_NOT_EMERGENCY [all...] |
/frameworks/base/telephony/java/android/telephony/ |
PreciseCallState.java | 21 import android.telephony.DisconnectCause; 66 private int mDisconnectCause = DisconnectCause.NOT_VALID; 75 int disconnectCause, int preciseDisconnectCause) { 79 mDisconnectCause = disconnectCause; 159 * @see DisconnectCause#NOT_VALID 160 * @see DisconnectCause#NOT_DISCONNECTED 161 * @see DisconnectCause#INCOMING_MISSED 162 * @see DisconnectCause#NORMAL 163 * @see DisconnectCause#LOCAL 164 * @see DisconnectCause#BUS [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));
|
/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; 140 DisconnectCause disconnectCause) { 143 mLastErrorDisconnectCause = disconnectCause; 162 response.handleCreateConnectionFailure(new DisconnectCause(DisconnectCause.LOCAL)); 212 DisconnectCause disconnectCause = mLastErrorDisconnectCause != null ? 213 mLastErrorDisconnectCause : new DisconnectCause(DisconnectCause.ERROR) [all...] |
Analytics.java | 21 import android.telecom.DisconnectCause; 48 void setCallDisconnectCause(DisconnectCause disconnectCause) { 82 public DisconnectCause callTerminationReason; 108 this.callTerminationReason = new DisconnectCause( 150 public void setCallDisconnectCause(DisconnectCause disconnectCause) { 151 Log.d(TAG, "setting disconnectCause for call " + callId + " to " + disconnectCause); 152 this.callTerminationReason = disconnectCause; [all...] |
/frameworks/base/telecomm/java/android/telecom/ |
DisconnectCause.java | 33 public final class DisconnectCause implements Parcelable { 87 * Creates a new DisconnectCause. 91 public DisconnectCause(int code) { 96 * Creates a new DisconnectCause. 101 public DisconnectCause(int code, String reason) { 106 * Creates a new DisconnectCause. 113 public DisconnectCause(int code, CharSequence label, CharSequence description, String reason) { 118 * Creates a new DisconnectCause. 126 public DisconnectCause(int code, CharSequence label, CharSequence description, String reason, 190 public static final Creator<DisconnectCause> CREATOR = new Creator<DisconnectCause>() [all...] |
DisconnectCause.aidl | 22 parcelable DisconnectCause;
|
ParcelableConnection.java | 50 private final DisconnectCause mDisconnectCause; 70 DisconnectCause disconnectCause, 87 mDisconnectCause = disconnectCause; 160 public final DisconnectCause getDisconnectCause() { 208 DisconnectCause disconnectCause = source.readParcelable(classLoader); 229 disconnectCause,
|
ParcelableCall.java | 38 private final DisconnectCause mDisconnectCause; 63 DisconnectCause disconnectCause, 85 mDisconnectCause = disconnectCause; 118 * Reason for disconnection, as described by {@link android.telecomm.DisconnectCause}. Valid 121 public DisconnectCause getDisconnectCause() { 271 DisconnectCause disconnectCause = source.readParcelable(classLoader); 298 disconnectCause,
|
/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));
|
ConnectionTest.java | 25 import android.telecom.DisconnectCause; 73 new DisconnectCause(DisconnectCause.LOCAL, "Test call")); 91 new DisconnectCause(DisconnectCause.LOCAL, "Test call")); 177 final DisconnectCause disconnectCause = new DisconnectCause(DisconnectCause.REJECTED, 180 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...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
GsmCdmaConnection.java | 28 import android.telephony.DisconnectCause; 405 mCause = DisconnectCause.LOCAL; 411 * Maps RIL call disconnect code to {@link DisconnectCause}. 413 * @return the corresponding value from {@link DisconnectCause} 423 return DisconnectCause.BUSY; 431 return DisconnectCause.CONGESTION; 434 return DisconnectCause.LIMIT_EXCEEDED; 437 return DisconnectCause.CALL_BARRED; 440 return DisconnectCause.FDN_BLOCKED; 443 return DisconnectCause.UNOBTAINABLE_NUMBER [all...] |
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
TestConnectionManager.java | 25 import android.telecom.DisconnectCause; 52 RemoteConnection connection, DisconnectCause disconnectCause) { 53 setDisconnected(disconnectCause); 226 DisconnectCause disconnectCause) { 227 setDisconnected(disconnectCause);
|
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)); 219 setDisconnected(new DisconnectCause(DisconnectCause.REMOTE)); 233 setDisconnected(new DisconnectCause(DisconnectCause.REJECTED)) [all...] |
/frameworks/base/telecomm/java/com/android/internal/telecom/ |
IConnectionServiceAdapter.aidl | 23 import android.telecom.DisconnectCause; 50 void setDisconnected(String callId, in DisconnectCause disconnectCause);
|
/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 | 35 import android.telecom.DisconnectCause; 154 DisconnectCause.CANCELED, 177 DisconnectCause.OTHER, // disconnectCauseCode 201 DisconnectCause.OTHER, // disconnectCauseCode 222 DisconnectCause.OTHER, // disconnectCauseCode 246 DisconnectCause.OTHER, // disconnectCauseCode 270 DisconnectCause.MISSED, // disconnectCauseCode 298 DisconnectCause.OTHER, // disconnectCauseCode 323 DisconnectCause.OTHER, // disconnectCauseCode 346 DisconnectCause.OTHER, // disconnectCauseCod [all...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
GsmCdmaConnectionTest.java | 24 import android.telephony.DisconnectCause; 79 assertEquals(DisconnectCause.NOT_DISCONNECTED, DisconnectCause.NOT_DISCONNECTED); 96 assertEquals(DisconnectCause.NOT_DISCONNECTED, DisconnectCause.NOT_DISCONNECTED); 180 connection.onDisconnect(DisconnectCause.LOCAL); 182 assertEquals(DisconnectCause.LOCAL, connection.getDisconnectCause());
|
/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...] |