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;
413 public void deflect(String number) throws CallStateException { in deflect()
419 throw new CallStateException("no valid ims call to deflect"); in deflect()
422 throw new CallStateException("cannot deflect call"); in deflect()
425 throw new CallStateException("phone not ringing"); in deflect()
430 public void transfer(String number, boolean isConfirmationRequired) throws CallStateException { in transfer()
435 throw new CallStateException("no valid ims call to transfer"); in transfer()
438 throw new CallStateException("cannot transfer call"); in transfer()
443 public void consultativeTransfer(Connection other) throws CallStateException { in consultativeTransfer()
448 throw new CallStateException("no valid ims call to transfer"); in consultativeTransfer()
[all …]
DImsPhoneCallTracker.java97 import com.android.internal.telephony.CallStateException;
1099 private boolean prepareForDialing(ImsPhone.ImsDialArgs dialArgs) throws CallStateException { in prepareForDialing()
1104 throw new CallStateException("service not available"); in prepareForDialing()
1111 throw new CallStateException("cannot dial in current state"); in prepareForDialing()
1120 throw new CallStateException(CallStateException.ERROR_TOO_MANY_CALLS, in prepareForDialing()
1139 throw new CallStateException("cannot dial in current state"); in prepareForDialing()
1151 throws CallStateException { in startConference()
1191 CallStateException { in dial()
1201 throws CallStateException { in dial()
1208 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.java92 import com.android.internal.telephony.CallStateException;
429 acceptCall(int videoState) throws CallStateException { in acceptCall()
435 rejectCall() throws CallStateException { in rejectCall()
441 switchHoldingAndActive() throws CallStateException { in switchHoldingAndActive()
453 } catch (CallStateException cse) { in canDial()
475 public void explicitCallTransfer() throws CallStateException { in explicitCallTransfer()
509 public void holdActiveCall() throws CallStateException { in holdActiveCall()
518 public void unholdHeldCall() throws CallStateException { in unholdHeldCall()
532 } catch (CallStateException e) { in handleCallDeflectionIncallSupplementaryService()
540 } catch (CallStateException e) { in handleCallDeflectionIncallSupplementaryService()
[all …]
DImsPhoneMmiCode.java51 import com.android.internal.telephony.CallStateException;
842 processCode () throws CallStateException { in processCode()
850 throw new CallStateException(Phone.CS_FALLBACK); in processCode()
1072 throw new CallStateException(Phone.CS_FALLBACK); in processCode()
1083 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.java306 void acceptCall(int videoState) throws CallStateException; in acceptCall()
317 void rejectCall() throws CallStateException; in rejectCall()
329 void switchHoldingAndActive() throws CallStateException; in switchHoldingAndActive()
347 void conference() throws CallStateException; in conference()
366 void explicitCallTransfer() throws CallStateException; in explicitCallTransfer()
438 Connection dial(String dialString, @NonNull DialArgs dialArgs) throws CallStateException; in dial()
453 throws CallStateException; in startConference()
471 throws CallStateException; in handleUssdRequest()
482 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.java128 public abstract void hangup() throws CallStateException; in hangup()
131 throws CallStateException; in hangup()
338 } catch (CallStateException ex) {
DMmiCode.java90 void processCode() throws CallStateException; in processCode()
DGsmCdmaPhone.java887 public void acceptCall(int videoState) throws CallStateException { in acceptCall()
897 public void rejectCall() throws CallStateException { in rejectCall()
902 public void switchHoldingAndActive() throws CallStateException { in switchHoldingAndActive()
945 } catch (CallStateException e) { in conference()
1077 } catch (CallStateException e) { in handleCallDeflectionIncallSupplementaryService()
1119 } catch (CallStateException e) { in handleCallWaitingIncallSupplementaryService()
1151 } catch (CallStateException e) { in handleCallHoldIncallSupplementaryService()
1164 } catch (CallStateException e) { in handleCallHoldIncallSupplementaryService()
1209 public boolean handleInCallMmiCommands(String dialString) throws CallStateException { in handleInCallMmiCommands()
1278 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()
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.java717 } catch (CallStateException e) { in handleMessage()
3726 throws CallStateException { in dialInternal()
4231 throws CallStateException { in checkWfcWifiOnlyModeBeforeDial()
4238 throw new CallStateException( in checkWfcWifiOnlyModeBeforeDial()
4239 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.java88 import com.android.internal.telephony.CallStateException;
528 } catch (CallStateException cse) { in testDialClirMode()
567 } catch (CallStateException cse) { in testEmergencyDialSuppressClir()
965 } catch (CallStateException e) { in testCantMakeCallWhileRinging()
967 assertEquals(CallStateException.ERROR_CALL_RINGING, e.getError()); in testCantMakeCallWhileRinging()
979 } catch (CallStateException e) { in testCantMakeCallWhileDialing()
981 assertEquals(CallStateException.ERROR_ALREADY_DIALING, e.getError()); in testCantMakeCallWhileDialing()
999 } catch (CallStateException e) { in testCantMakeCallTooMany()
1001 assertEquals(CallStateException.ERROR_TOO_MANY_CALLS, e.getError()); in testCantMakeCallTooMany()
1144 } catch (CallStateException e) { in testHangupHandoverCall()
DImsPhoneTest.java70 import com.android.internal.telephony.CallStateException;
339 doThrow(CallStateException.class).when(mImsCT).checkForDialIssues(); in testGettersAndPassThroughs()
855 } catch (CallStateException e) { in testSendUssdAllowUssdOverImsInService()
872 } 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