/packages/services/Telephony/src/com/android/services/telephony/ |
DisconnectCauseUtil.java | 21 import android.telecom.DisconnectCause; 31 * Converts from a disconnect code in {@link android.telephony.DisconnectCause} into a more 32 * generic {@link android.telecom.DisconnectCause} object, possibly populated with a localized 37 public static DisconnectCause toTelecomDisconnectCause(int telephonyDisconnectCause) { 43 * Converts from a disconnect code in {@link android.telephony.DisconnectCause} into a more 44 * generic {@link android.telecom.DisconnectCause}.object, possibly populated with a localized 50 public static DisconnectCause toTelecomDisconnectCause( 56 * Converts from a disconnect code in {@link android.telephony.DisconnectCause} into a more 57 * generic {@link android.telecom.DisconnectCause}.object, possibly populated with a localized 64 public static DisconnectCause toTelecomDisconnectCause [all...] |
/packages/apps/Dialer/java/com/android/incallui/disconnectdialog/ |
DefaultErrorDialog.java | 23 import android.telecom.DisconnectCause; 32 public boolean shouldShow(DisconnectCause disconnectCause) { 33 return !TextUtils.isEmpty(disconnectCause.getDescription()) 34 && (disconnectCause.getCode() == DisconnectCause.ERROR 35 || disconnectCause.getCode() == DisconnectCause.RESTRICTED); 40 DisconnectCause disconnectCause = call.getDisconnectCause() [all...] |
VideoCallNotAvailablePrompt.java | 23 import android.telecom.DisconnectCause; 37 public boolean shouldShow(DisconnectCause disconnectCause) { 38 if (disconnectCause.getCode() == DisconnectCause.ERROR 39 && TelecomManagerCompat.REASON_IMS_ACCESS_BLOCKED.equals(disconnectCause.getReason())) { 43 disconnectCause.getReason());
|
EnableWifiCallingPrompt.java | 25 import android.telecom.DisconnectCause; 33 // This is a hidden constant in android.telecom.DisconnectCause. Telecom sets this as a disconnect 42 public boolean shouldShow(DisconnectCause disconnectCause) { 43 String reason = disconnectCause.getReason(); 57 DisconnectCause cause = call.getDisconnectCause();
|
DisconnectDialog.java | 22 import android.telecom.DisconnectCause; 29 boolean shouldShow(DisconnectCause disconnectCause);
|
DisconnectMessage.java | 21 import android.telecom.DisconnectCause; 27 * Wrapper class around @Code{android.telecom.DisconnectCause} to provide more information to user. 39 private final DisconnectCause cause;
|
/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; 87 setDisconnected(new DisconnectCause(DisconnectCause.REJECTED)); 106 setDisconnected(new DisconnectCause(DisconnectCause.LOCAL)); 113 setDisconnected(new DisconnectCause(DisconnectCause.UNKNOWN)); 121 return DisconnectCause.LOCAL; 123 return DisconnectCause.MISSED; 139 connection.setDisconnected(new DisconnectCause(cause)) [all...] |
/packages/services/Telecomm/src/com/android/server/telecom/ |
CreateConnectionResponse.java | 19 import android.telecom.DisconnectCause; 30 void handleCreateConnectionFailure(DisconnectCause disconnectCaused);
|
/packages/apps/Dialer/java/com/android/dialer/simulator/impl/ |
NonSimulatorConnectionListener.java | 21 import android.telecom.DisconnectCause; 39 connection.setDisconnected(new DisconnectCause(DisconnectCause.REJECTED)); 49 connection.setDisconnected(new DisconnectCause(DisconnectCause.LOCAL));
|
SimulatorConnectionsBankImpl.java | 23 import android.telecom.DisconnectCause; 83 connection.setDisconnected(new DisconnectCause(DisconnectCause.LOCAL)); 137 connection.setDisconnected(new DisconnectCause(DisconnectCause.LOCAL)); 139 conference.setDisconnected(new DisconnectCause(DisconnectCause.LOCAL));
|
SimulatorRttCall.java | 23 import android.telecom.DisconnectCause; 117 connection.setDisconnected(new DisconnectCause(DisconnectCause.REJECTED)); 128 connection.setDisconnected(new DisconnectCause(DisconnectCause.LOCAL));
|
SimulatorConferenceCreator.java | 23 import android.telecom.DisconnectCause; 176 connection.setDisconnected(new DisconnectCause(DisconnectCause.LOCAL)); 200 connection.setDisconnected(new DisconnectCause(DisconnectCause.LOCAL)); 202 conference.setDisconnected(new DisconnectCause(DisconnectCause.LOCAL));
|
/frameworks/base/telecomm/java/android/telecom/ |
ParcelableConnection.java | 52 private final DisconnectCause mDisconnectCause; 75 DisconnectCause disconnectCause, 82 connectElapsedTimeMillis, statusHints, disconnectCause, conferenceableConnectionIds, 105 DisconnectCause disconnectCause, 124 mDisconnectCause = disconnectCause; 206 public final DisconnectCause getDisconnectCause() { 260 DisconnectCause disconnectCause = source.readParcelable(classLoader) [all...] |
DisconnectCause.java | 33 public final class DisconnectCause implements Parcelable { 101 * Creates a new DisconnectCause. 105 public DisconnectCause(int code) { 110 * Creates a new DisconnectCause. 115 public DisconnectCause(int code, String reason) { 120 * Creates a new DisconnectCause. 127 public DisconnectCause(int code, CharSequence label, CharSequence description, String reason) { 132 * Creates a new DisconnectCause. 140 public DisconnectCause(int code, CharSequence label, CharSequence description, String reason, 204 public static final Creator<DisconnectCause> CREATOR = new Creator<DisconnectCause>() [all...] |
DisconnectCause.aidl | 22 parcelable DisconnectCause;
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/telecom/ |
CtsConnection.java | 25 import android.telecom.DisconnectCause; 78 setDisconnectedAndDestroy(new DisconnectCause(DisconnectCause.LOCAL)); 125 setDisconnectedAndDestroy(new DisconnectCause(DisconnectCause.REJECTED)); 153 private void setDisconnectedAndDestroy(DisconnectCause cause) {
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
MissedCallTest.java | 22 import android.telecom.DisconnectCause; 71 connection.setDisconnected(new DisconnectCause(DisconnectCause.MISSED));
|
SelfManagedConnection.java | 22 import android.telecom.DisconnectCause; 56 setDisconnected(new DisconnectCause(DisconnectCause.LOCAL));
|
MockConnection.java | 25 import android.telecom.DisconnectCause; 76 setDisconnected(new DisconnectCause(DisconnectCause.REJECTED)); 86 setDisconnected(new DisconnectCause(DisconnectCause.REJECTED, reason)); 114 setDisconnected(new DisconnectCause(DisconnectCause.LOCAL)); 124 setDisconnected(new DisconnectCause(DisconnectCause.UNKNOWN));
|
/packages/services/Telephony/sip/src/com/android/services/telephony/sip/ |
SipConnectionService.java | 35 import android.telephony.DisconnectCause; 75 DisconnectCause.CALL_BARRED, "Cannot make a SIP call with a gateway number.")); 82 DisconnectCause.OUTGOING_FAILURE, "Did not match service connection")); 93 connection.setDisconnected(new android.telecom.DisconnectCause( 94 android.telecom.DisconnectCause.ERROR, null, description, 104 connection.setDisconnected(new android.telecom.DisconnectCause( 105 android.telecom.DisconnectCause.ERROR, null, description, 119 DisconnectCause.OUTGOING_FAILURE, "SIP profile not found.")); 126 DisconnectCause.OUTGOING_FAILURE, "Connection failed.")); 149 DisconnectCause.ERROR_UNSPECIFIED, "No extras on request.")) [all...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/ |
ImsCallProfileTest.java | 28 import android.telecom.DisconnectCause; 87 srcParcel.mCallExtras.putParcelable("NOTJUNK", new DisconnectCause(DisconnectCause.BUSY)); 111 DisconnectCause parceledCause = unparceledProfile.mCallExtras.getParcelable("NOTJUNK"); 112 assertEquals(DisconnectCause.BUSY, parceledCause.getCode());
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
GsmCdmaConnection.java | 28 import android.telephony.DisconnectCause; 424 mCause = DisconnectCause.LOCAL; 430 * Maps RIL call disconnect code to {@link DisconnectCause}. 432 * @return the corresponding value from {@link DisconnectCause} 442 return DisconnectCause.BUSY; 450 return DisconnectCause.CONGESTION; 453 return DisconnectCause.EMERGENCY_TEMP_FAILURE; 455 return DisconnectCause.EMERGENCY_PERM_FAILURE; 458 return DisconnectCause.LIMIT_EXCEEDED; 462 return DisconnectCause.CALL_BARRED [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/connserv/ |
HfpClientConnection.java | 24 import android.telecom.DisconnectCause; 78 close(DisconnectCause.ERROR); 107 close(DisconnectCause.ERROR); 168 close(DisconnectCause.MISSED); 170 close(DisconnectCause.LOCAL); 172 close(DisconnectCause.REMOTE); 189 setDisconnected(new DisconnectCause(cause));
|
/packages/apps/Dialer/java/com/android/incallui/incall/protocol/ |
PrimaryCallState.java | 22 import android.telecom.DisconnectCause; 57 public abstract DisconnectCause disconnectCause(); 113 .setDisconnectCause(new DisconnectCause(DisconnectCause.UNKNOWN)) 140 public abstract Builder setDisconnectCause(DisconnectCause disconnectCause);
|