Home
last modified time | relevance | path

Searched refs:CallStateException (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
DSipPhone.java37 import com.android.internal.telephony.CallStateException;
151 public void acceptCall(int videoState) throws CallStateException { in acceptCall()
164 throw new CallStateException("phone not ringing"); in acceptCall()
170 public void rejectCall() throws CallStateException { in rejectCall()
180 throw new CallStateException("phone not ringing"); in rejectCall()
186 public Connection dial(String dialString, DialArgs dialArgs) throws CallStateException { in dial()
193 throws CallStateException { in dialInternal()
198 throw new CallStateException("dialInternal: cannot dial in current state"); in dialInternal()
205 throw new CallStateException("cannot dial in current state"); in dialInternal()
214 throw new CallStateException("dial error: " + e); in dialInternal()
[all …]
DSipPhoneBase.java36 import com.android.internal.telephony.CallStateException;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCallStateException.java22 public class CallStateException extends Exception class
33 CallStateException() in CallStateException() method in CallStateException
38 CallStateException(String string) in CallStateException() method in CallStateException
44 CallStateException(int error, String string) in CallStateException() method in CallStateException
DGsmCdmaCallTracker.java271 throws CallStateException { in dial()
276 throw new CallStateException("cannot dial in current state"); in dial()
309 throw new CallStateException("cannot dial in current state"); in dial()
382 private Connection dial(String dialString, int clirMode) throws CallStateException { in dial()
387 throw new CallStateException("cannot dial in current state"); in dial()
498 public Connection dial(String dialString) throws CallStateException { in dial()
508 throws CallStateException { in dial()
514 throws CallStateException { in dial()
518 public void acceptCall() throws CallStateException { in acceptCall()
544 throw new CallStateException("phone not ringing"); in acceptCall()
[all …]
DPhoneInternalInterface.java325 void acceptCall(int videoState) throws CallStateException; in acceptCall()
336 void rejectCall() throws CallStateException; in rejectCall()
348 void switchHoldingAndActive() throws CallStateException; in switchHoldingAndActive()
366 void conference() throws CallStateException; in conference()
385 void explicitCallTransfer() throws CallStateException; in explicitCallTransfer()
457 Connection dial(String dialString, @NonNull DialArgs dialArgs) throws CallStateException; in dial()
475 throws CallStateException; in handleUssdRequest()
486 boolean handleInCallMmiCommands(String command) throws CallStateException; in handleInCallMmiCommands()
DGsmCdmaConnection.java351 public void hangup() throws CallStateException { in hangup()
355 throw new CallStateException ("disconnected"); in hangup()
360 public void deflect(String number) throws CallStateException { in deflect()
362 throw new CallStateException ("deflect is not supported for CS"); in deflect()
366 public void separate() throws CallStateException { in separate()
370 throw new CallStateException ("disconnected"); in separate()
727 getGsmCdmaIndex() throws CallStateException { in getGsmCdmaIndex()
731 throw new CallStateException ("GsmCdma index not yet assigned"); in getGsmCdmaIndex()
DMmiCode.java79 void processCode() throws CallStateException; in processCode()
DGsmCdmaPhone.java704 public void acceptCall(int videoState) throws CallStateException { in acceptCall()
714 public void rejectCall() throws CallStateException { in rejectCall()
719 public void switchHoldingAndActive() throws CallStateException { in switchHoldingAndActive()
762 } catch (CallStateException e) { in conference()
853 } catch (CallStateException e) { in handleCallDeflectionIncallSupplementaryService()
895 } catch (CallStateException e) { in handleCallWaitingIncallSupplementaryService()
927 } catch (CallStateException e) { in handleCallHoldIncallSupplementaryService()
940 } catch (CallStateException e) { in handleCallHoldIncallSupplementaryService()
984 public boolean handleInCallMmiCommands(String dialString) throws CallStateException { in handleInCallMmiCommands()
1044 throws CallStateException { in dial()
[all …]
DCall.java82 public abstract void hangup() throws CallStateException; in hangup()
255 } catch (CallStateException ex) {
DCallManager.java681 public void acceptCall(Call ringingCall) throws CallStateException { in acceptCall()
725 public void rejectCall(Call ringingCall) throws CallStateException { in rejectCall()
759 public void switchHoldingAndActive(Call heldCall) throws CallStateException { in switchHoldingAndActive()
798 public void hangupForegroundResumeBackground(Call heldCall) throws CallStateException { in hangupForegroundResumeBackground()
878 public void conference(Call heldCall) throws CallStateException { in conference()
893 … throw(new CallStateException("Can't conference foreground and selected background call")); in conference()
917 throws CallStateException { in dial()
937 throw new CallStateException("cannot dial in current state"); in dial()
989 throws CallStateException { in dial()
1102 public void explicitCallTransfer(Call heldCall) throws CallStateException { in explicitCallTransfer()
[all …]
DGsmCdmaCall.java58 public void hangup() throws CallStateException { in hangup()
DConnection.java499 public abstract void deflect(String number) throws CallStateException; in deflect()
504 public abstract void hangup() throws CallStateException; in hangup()
511 public abstract void separate() throws CallStateException; in separate()
DPhone.java673 } catch (CallStateException e) { in handleMessage()
3126 throws CallStateException { in dialInternal()
3560 throws CallStateException { in checkWfcWifiOnlyModeBeforeDial()
3567 throw new CallStateException( in checkWfcWifiOnlyModeBeforeDial()
3568 CallStateException.ERROR_OUT_OF_SERVICE, in checkWfcWifiOnlyModeBeforeDial()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCallStateExceptionTest.java26 private CallStateException mCallStateException;
36 mCallStateException = new CallStateException("sanity test"); in testCallStateExceptionDefault()
44 mCallStateException = new CallStateException(mCallStateException.ERROR_OUT_OF_SERVICE, in testCallStateExceptionWithErrCode()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsExternalConnection.java21 import com.android.internal.telephony.CallStateException;
125 public void hangup() throws CallStateException { in hangup()
130 public void deflect(String number) throws CallStateException { in deflect()
132 throw new CallStateException ("Deflect is not supported for external calls"); in deflect()
136 public void separate() throws CallStateException { in separate()
DImsExternalCall.java22 import com.android.internal.telephony.CallStateException;
57 public void hangup() throws CallStateException { in hangup()
DImsPhoneCallTracker.java86 import com.android.internal.telephony.CallStateException;
874 CallStateException { in dial()
884 throws CallStateException { in dial()
890 throw new CallStateException(CS_FALLBACK); in dial()
906 throw new CallStateException("service not available"); in dial()
910 throw new CallStateException("cannot dial in current state"); in dial()
933 throw new CallStateException("cannot dial in current state"); in dial()
955 throw new CallStateException("cannot dial in current state"); in dial()
983 throw new CallStateException("service not available"); in dial()
1228 public void acceptCall (int videoState) throws CallStateException { in acceptCall()
[all …]
DImsPhoneConnection.java44 import com.android.internal.telephony.CallStateException;
351 public void deflect(String number) throws CallStateException { in deflect()
357 throw new CallStateException("no valid ims call to deflect"); in deflect()
360 throw new CallStateException("cannot deflect call"); in deflect()
363 throw new CallStateException("phone not ringing"); in deflect()
368 public void hangup() throws CallStateException { in hangup()
372 throw new CallStateException ("disconnected"); in hangup()
377 public void separate() throws CallStateException { in separate()
378 throw new CallStateException ("not supported"); in separate()
DImsPhone.java83 import com.android.internal.telephony.CallStateException;
346 acceptCall(int videoState) throws CallStateException { in acceptCall()
352 rejectCall() throws CallStateException { in rejectCall()
358 switchHoldingAndActive() throws CallStateException { in switchHoldingAndActive()
424 } catch (CallStateException e) { in handleCallDeflectionIncallSupplementaryService()
432 } catch (CallStateException e) { in handleCallDeflectionIncallSupplementaryService()
451 throws CallStateException { in handleUssdRequest()
461 } catch (CallStateException cse) { in handleUssdRequest()
501 } catch (CallStateException e) { in handleCallWaitingIncallSupplementaryService()
528 } catch (CallStateException e) { in handleCallHoldIncallSupplementaryService()
[all …]
DImsPhoneCall.java26 import com.android.internal.telephony.CallStateException;
77 } catch (CallStateException ex) { in dispose()
118 hangup() throws CallStateException { in hangup()
DImsPhoneMmiCode.java48 import com.android.internal.telephony.CallStateException;
785 processCode () throws CallStateException { in processCode()
793 throw new CallStateException(Phone.CS_FALLBACK); in processCode()
1006 throw new CallStateException(Phone.CS_FALLBACK); in processCode()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
DPhoneMock.java1105 public void acceptCall(int videoState) throws CallStateException { in acceptCall()
1109 public void rejectCall() throws CallStateException { in rejectCall()
1113 public void switchHoldingAndActive() throws CallStateException { in switchHoldingAndActive()
1121 public void conference() throws CallStateException { in conference()
1129 public void explicitCallTransfer() throws CallStateException { in explicitCallTransfer()
1150 public Connection dial(String dialString, DialArgs dialArgs) throws CallStateException { in dial()
1162 public boolean handleInCallMmiCommands(String command) throws CallStateException { in handleInCallMmiCommands()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneCallTrackerTest.java67 import com.android.internal.telephony.CallStateException;
465 } catch (CallStateException cse) { in testDialClirMode()
504 } catch (CallStateException cse) { in testEmergencyDialSuppressClir()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DGSMPhoneTest.java.broken29 import com.android.internal.telephony.CallStateException;
370 } catch (CallStateException ex) {
632 } catch (CallStateException ex) {
1734 private void verifyNormal() throws CallStateException {
1753 private void verifyCancel() throws CallStateException {
1896 private void runValidMmi(String dialString, boolean cancelable) throws CallStateException {
1910 private void runValidMmiWithConnect(String dialString) throws CallStateException {
1919 private void hangup(Connection cn) throws CallStateException {
1927 private void runNotMmi(String dialString) throws CallStateException {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
DGsmMmiCode.java46 import com.android.internal.telephony.CallStateException;
878 processCode() throws CallStateException { in processCode()

12