Home
last modified time | relevance | path

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

12

/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
DSipPhone.java37 import com.android.internal.telephony.CallStateException;
153 public void acceptCall(int videoState) throws CallStateException { in acceptCall()
166 throw new CallStateException("phone not ringing"); in acceptCall()
172 public void rejectCall() throws CallStateException { in rejectCall()
182 throw new CallStateException("phone not ringing"); in rejectCall()
189 throws CallStateException { in startConference()
190 throw new CallStateException("startConference: not supported"); in startConference()
194 public Connection dial(String dialString, DialArgs dialArgs) throws CallStateException { in dial()
201 throws CallStateException { in dialInternal()
206 throw new CallStateException("dialInternal: cannot dial in current state"); in dialInternal()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsExternalConnection.java27 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 transfer(String number, boolean isConfirmationRequired) throws CallStateException { in transfer()
138 throw new CallStateException("Transfer is not supported for external calls"); in transfer()
142 public void consultativeTransfer(Connection other) throws CallStateException { in consultativeTransfer()
144 throw new CallStateException("Transfer is not supported for external calls"); in consultativeTransfer()
148 public void separate() throws CallStateException { in separate()
DImsExternalCall.java23 import com.android.internal.telephony.CallStateException;
51 public void hangup() throws CallStateException { in hangup()
57 throws CallStateException { in hangup()
DImsPhoneConnection.java45 import com.android.internal.telephony.CallStateException;
402 public void deflect(String number) throws CallStateException { in deflect()
408 throw new CallStateException("no valid ims call to deflect"); in deflect()
411 throw new CallStateException("cannot deflect call"); in deflect()
414 throw new CallStateException("phone not ringing"); in deflect()
419 public void transfer(String number, boolean isConfirmationRequired) throws CallStateException { in transfer()
424 throw new CallStateException("no valid ims call to transfer"); in transfer()
427 throw new CallStateException("cannot transfer call"); in transfer()
432 public void consultativeTransfer(Connection other) throws CallStateException { in consultativeTransfer()
437 throw new CallStateException("no valid ims call to transfer"); in consultativeTransfer()
[all …]
DImsPhoneCallTracker.java97 import com.android.internal.telephony.CallStateException;
1076 private boolean prepareForDialing(ImsPhone.ImsDialArgs dialArgs) throws CallStateException { in prepareForDialing()
1081 throw new CallStateException("service not available"); in prepareForDialing()
1088 throw new CallStateException("cannot dial in current state"); in prepareForDialing()
1097 throw new CallStateException(CallStateException.ERROR_TOO_MANY_CALLS, in prepareForDialing()
1116 throw new CallStateException("cannot dial in current state"); in prepareForDialing()
1128 throws CallStateException { in startConference()
1168 CallStateException { in dial()
1178 throws CallStateException { in dial()
1185 throw new CallStateException(CS_FALLBACK); in dial()
[all …]
DImsPhoneCall.java29 import com.android.internal.telephony.CallStateException;
79 } catch (CallStateException ex) { in dispose()
121 hangup() throws CallStateException { in hangup()
127 throws CallStateException { in hangup()
DImsPhone.java93 import com.android.internal.telephony.CallStateException;
522 acceptCall(int videoState) throws CallStateException { in acceptCall()
528 rejectCall() throws CallStateException { in rejectCall()
534 switchHoldingAndActive() throws CallStateException { in switchHoldingAndActive()
546 } catch (CallStateException cse) { in canDial()
568 public void explicitCallTransfer() throws CallStateException { in explicitCallTransfer()
602 public void holdActiveCall() throws CallStateException { in holdActiveCall()
611 public void unholdHeldCall() throws CallStateException { in unholdHeldCall()
625 } catch (CallStateException e) { in handleCallDeflectionIncallSupplementaryService()
633 } catch (CallStateException e) { in handleCallDeflectionIncallSupplementaryService()
[all …]
DImsPhoneMmiCode.java51 import com.android.internal.telephony.CallStateException;
862 processCode () throws CallStateException { in processCode()
870 throw new CallStateException(Phone.CS_FALLBACK); in processCode()
1090 throw new CallStateException(Phone.CS_FALLBACK); in processCode()
1101 throw new CallStateException(Phone.CS_FALLBACK); in processCode()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCallStateException.java24 public class CallStateException extends Exception class
40 CallStateException() in CallStateException() method in CallStateException
46 CallStateException(String string) in CallStateException() method in CallStateException
52 CallStateException(int error, String string) in CallStateException() method in CallStateException
DGsmCdmaCallTracker.java279 throws CallStateException { in dialGsm()
319 throw new CallStateException("cannot dial in current state"); in dialGsm()
396 throws CallStateException { in dialCdma()
526 public Connection dial(String dialString, Bundle intentExtras) throws CallStateException { in dial()
536 throws CallStateException { in dialGsm()
542 throws CallStateException { in dialGsm()
546 public void acceptCall() throws CallStateException { in acceptCall()
573 throw new CallStateException("phone not ringing"); in acceptCall()
577 public void rejectCall() throws CallStateException { in rejectCall()
583 throw new CallStateException("phone not ringing"); in rejectCall()
[all …]
DPhoneInternalInterface.java308 void acceptCall(int videoState) throws CallStateException; in acceptCall()
319 void rejectCall() throws CallStateException; in rejectCall()
331 void switchHoldingAndActive() throws CallStateException; in switchHoldingAndActive()
349 void conference() throws CallStateException; in conference()
368 void explicitCallTransfer() throws CallStateException; in explicitCallTransfer()
440 Connection dial(String dialString, @NonNull DialArgs dialArgs) throws CallStateException; in dial()
455 throws CallStateException; in startConference()
473 throws CallStateException; in handleUssdRequest()
484 boolean handleInCallMmiCommands(String command) throws CallStateException; in handleInCallMmiCommands()
DGsmCdmaConnection.java369 public void hangup() throws CallStateException { in hangup()
373 throw new CallStateException ("disconnected"); in hangup()
378 public void deflect(String number) throws CallStateException { in deflect()
380 throw new CallStateException ("deflect is not supported for CS"); in deflect()
384 public void transfer(String number, boolean isConfirmationRequired) throws CallStateException { in transfer()
386 throw new CallStateException("Transfer is not supported for CS"); in transfer()
390 public void consultativeTransfer(Connection other) throws CallStateException { in consultativeTransfer()
392 throw new CallStateException("Transfer is not supported for CS"); in consultativeTransfer()
396 public void separate() throws CallStateException { in separate()
400 throw new CallStateException ("disconnected"); in separate()
[all …]
DGsmCdmaCall.java52 public void hangup() throws CallStateException { in hangup()
62 throws CallStateException { in hangup()
DCall.java136 public abstract void hangup() throws CallStateException; in hangup()
139 throws CallStateException; in hangup()
346 } catch (CallStateException ex) {
DGsmCdmaPhone.java877 public void acceptCall(int videoState) throws CallStateException { in acceptCall()
887 public void rejectCall() throws CallStateException { in rejectCall()
892 public void switchHoldingAndActive() throws CallStateException { in switchHoldingAndActive()
935 } catch (CallStateException e) { in conference()
1067 } catch (CallStateException e) { in handleCallDeflectionIncallSupplementaryService()
1109 } catch (CallStateException e) { in handleCallWaitingIncallSupplementaryService()
1141 } catch (CallStateException e) { in handleCallHoldIncallSupplementaryService()
1154 } catch (CallStateException e) { in handleCallHoldIncallSupplementaryService()
1199 public boolean handleInCallMmiCommands(String dialString) throws CallStateException { in handleInCallMmiCommands()
1268 throws CallStateException { in startConference()
[all …]
DConnection.java669 public abstract void deflect(String number) throws CallStateException; in deflect()
675 throws CallStateException; in transfer()
680 public abstract void consultativeTransfer(Connection other) throws CallStateException; in consultativeTransfer()
686 public abstract void hangup() throws CallStateException; in hangup()
693 public abstract void separate() throws CallStateException; in separate()
DMmiCode.java90 void processCode() throws CallStateException; in processCode()
DCallManager.java662 public void rejectCall(Call ringingCall) throws CallStateException { in rejectCall()
730 public void conference(Call heldCall) throws CallStateException { in conference()
745 … throw(new CallStateException("Can't conference foreground and selected background call")); in conference()
769 throws CallStateException { in dial()
789 throw new CallStateException("cannot dial in current state"); in dial()
841 throws CallStateException { in dial()
955 public void explicitCallTransfer(Call heldCall) throws CallStateException { in explicitCallTransfer()
2094 } catch (CallStateException e) { in handleMessage()
DPhone.java721 } catch (CallStateException e) { in handleMessage()
3706 throws CallStateException { in dialInternal()
4222 throws CallStateException { in checkWfcWifiOnlyModeBeforeDial()
4229 throw new CallStateException( in checkWfcWifiOnlyModeBeforeDial()
4230 CallStateException.ERROR_OUT_OF_SERVICE, in checkWfcWifiOnlyModeBeforeDial()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DConnectionTest.java70 public void deflect(String number) throws CallStateException {} in deflect()
74 throws CallStateException {} in transfer()
77 public void consultativeTransfer(Connection other) throws CallStateException {} in consultativeTransfer()
80 public void hangup() throws CallStateException {} in hangup()
83 public void separate() throws CallStateException {} in separate()
DCallStateExceptionTest.java26 private CallStateException mCallStateException;
36 mCallStateException = new CallStateException("sanity test"); in testCallStateExceptionDefault()
44 mCallStateException = new CallStateException(mCallStateException.ERROR_OUT_OF_SERVICE, in testCallStateExceptionWithErrCode()
DGsmCdmaCallTrackerTest.java453 } catch (CallStateException cse) { in testCantCallOtaspInProgress()
454 assertEquals(CallStateException.ERROR_OTASP_PROVISIONING_IN_PROCESS, cse.getError()); in testCantCallOtaspInProgress()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneCallTrackerTest.java87 import com.android.internal.telephony.CallStateException;
527 } catch (CallStateException cse) { in testDialClirMode()
566 } catch (CallStateException cse) { in testEmergencyDialSuppressClir()
964 } catch (CallStateException e) { in testCantMakeCallWhileRinging()
966 assertEquals(CallStateException.ERROR_CALL_RINGING, e.getError()); in testCantMakeCallWhileRinging()
978 } catch (CallStateException e) { in testCantMakeCallWhileDialing()
980 assertEquals(CallStateException.ERROR_ALREADY_DIALING, e.getError()); in testCantMakeCallWhileDialing()
998 } catch (CallStateException e) { in testCantMakeCallTooMany()
1000 assertEquals(CallStateException.ERROR_TOO_MANY_CALLS, e.getError()); in testCantMakeCallTooMany()
1186 } catch (CallStateException e) { in testHangupHandoverCall()
DImsPhoneTest.java72 import com.android.internal.telephony.CallStateException;
342 doThrow(CallStateException.class).when(mImsCT).checkForDialIssues(); in testGettersAndPassThroughs()
883 } catch (CallStateException e) { in testSendUssdAllowUssdOverImsInService()
900 } catch (CallStateException e) { in testSendUssdNotAllowUssdOverIms()
/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 {

12