Lines Matching refs:disconnectCause
778 public void onDisconnected(Connection c, DisconnectCause disconnectCause) {}
1670 private DisconnectCause mDisconnectCause;
1871 * @return The {@link DisconnectCause} for this connection.
1873 public final DisconnectCause getDisconnectCause() {
2084 * @param disconnectCause The reason for the disconnection, as specified by
2085 * {@link DisconnectCause}.
2087 public final void setDisconnected(DisconnectCause disconnectCause) {
2089 mDisconnectCause = disconnectCause;
2091 Log.d(this, "Disconnected with cause %s", disconnectCause);
2093 l.onDisconnected(this, disconnectCause);
2839 public FailureSignalingConnection(DisconnectCause disconnectCause) {
2840 setDisconnected(disconnectCause);
2853 * {@code Connection} will have a {@link android.telecom.DisconnectCause} and as specified,
2859 * @param disconnectCause The disconnect cause, ({@see android.telecomm.DisconnectCause}).
2862 public static Connection createFailedConnection(DisconnectCause disconnectCause) {
2863 return new FailureSignalingConnection(disconnectCause);
2887 return new FailureSignalingConnection(new DisconnectCause(DisconnectCause.CANCELED));