Home
last modified time | relevance | path

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

12

/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsExternalConnection.java28 import com.android.internal.telephony.CallStateException;
126 public void hangup() throws CallStateException { in hangup()
131 public void deflect(String number) throws CallStateException { in deflect()
133 throw new CallStateException ("Deflect is not supported for external calls"); in deflect()
137 public void transfer(String number, boolean isConfirmationRequired) throws CallStateException { in transfer()
139 throw new CallStateException("Transfer is not supported for external calls"); in transfer()
143 public void consultativeTransfer(Connection other) throws CallStateException { in consultativeTransfer()
145 throw new CallStateException("Transfer is not supported for external calls"); in consultativeTransfer()
149 public void separate() throws CallStateException { in separate()
DImsExternalCall.java24 import com.android.internal.telephony.CallStateException;
52 public void hangup() throws CallStateException { in hangup()
58 throws CallStateException { in hangup()
DImsPhoneConnection.java53 import com.android.internal.telephony.CallStateException;
465 public void deflect(String number) throws CallStateException { in deflect()
471 throw new CallStateException("no valid ims call to deflect"); in deflect()
474 throw new CallStateException("cannot deflect call"); in deflect()
477 throw new CallStateException("phone not ringing"); in deflect()
482 public void transfer(String number, boolean isConfirmationRequired) throws CallStateException { in transfer()
487 throw new CallStateException("no valid ims call to transfer"); in transfer()
490 throw new CallStateException("cannot transfer call"); in transfer()
495 public void consultativeTransfer(Connection other) throws CallStateException { in consultativeTransfer()
500 throw new CallStateException("no valid ims call to transfer"); in consultativeTransfer()
[all …]
DImsPhoneCallTracker.java135 import com.android.internal.telephony.CallStateException;
1510 } catch (CallStateException e) { in hangupAllOrphanedConnections()
1536 } catch (CallStateException e) { in hangupAllConnections()
1616 private boolean prepareForDialing(ImsPhone.ImsDialArgs dialArgs) throws CallStateException { in prepareForDialing()
1621 throw new CallStateException("service not available"); in prepareForDialing()
1628 throw new CallStateException("cannot dial in current state"); in prepareForDialing()
1637 throw new CallStateException(CallStateException.ERROR_TOO_MANY_CALLS, in prepareForDialing()
1656 throw new CallStateException("cannot dial in current state"); in prepareForDialing()
1668 throws CallStateException { in startConference()
1708 CallStateException { in dial()
[all …]
DImsPhoneCall.java32 import com.android.internal.telephony.CallStateException;
82 } catch (CallStateException ex) { in dispose()
124 hangup() throws CallStateException { in hangup()
130 throws CallStateException { in hangup()
DImsPhone.java111 import com.android.internal.telephony.CallStateException;
608 acceptCall(int videoState) throws CallStateException { in acceptCall()
614 rejectCall() throws CallStateException { in rejectCall()
620 switchHoldingAndActive() throws CallStateException { in switchHoldingAndActive()
632 } catch (CallStateException cse) { in canDial()
654 public void explicitCallTransfer() throws CallStateException { in explicitCallTransfer()
693 public void holdActiveCall() throws CallStateException { in holdActiveCall()
702 public void unholdHeldCall() throws CallStateException { in unholdHeldCall()
716 } catch (CallStateException e) { in handleCallDeflectionIncallSupplementaryService()
724 } catch (CallStateException e) { in handleCallDeflectionIncallSupplementaryService()
[all …]
DImsPhoneMmiCode.java60 import com.android.internal.telephony.CallStateException;
889 processCode () throws CallStateException { in processCode()
902 throw new CallStateException(Phone.CS_FALLBACK); in processCode()
1136 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
41 CallStateException() in CallStateException() method in CallStateException
47 CallStateException(String string) in CallStateException() method in CallStateException
53 CallStateException(int error, String string) in CallStateException() method in CallStateException
DGsmCdmaCallTracker.java289 throws CallStateException { in dialGsm()
338 throw new CallStateException("cannot dial in current state"); in dialGsm()
419 throws CallStateException { in dialCdma()
571 public Connection dial(String dialString, DialArgs dialArgs) throws CallStateException { in dial()
581 throws CallStateException { in dialGsm()
591 throws CallStateException { in dialGsm()
600 throws CallStateException { in dialGsm()
608 public void acceptCall() throws CallStateException { in acceptCall()
635 throw new CallStateException("phone not ringing"); in acceptCall()
639 public void rejectCall() throws CallStateException { in rejectCall()
[all …]
DPhoneInternalInterface.java356 void acceptCall(int videoState) throws CallStateException; in acceptCall()
367 void rejectCall() throws CallStateException; in rejectCall()
379 void switchHoldingAndActive() throws CallStateException; in switchHoldingAndActive()
397 void conference() throws CallStateException; in conference()
416 void explicitCallTransfer() throws CallStateException; in explicitCallTransfer()
492 Consumer<Phone> chosenPhone) throws CallStateException; in dial()
507 throws CallStateException { in dial()
524 throws CallStateException; in startConference()
542 throws CallStateException; in handleUssdRequest()
553 boolean handleInCallMmiCommands(String command) throws CallStateException; in handleInCallMmiCommands()
DGsmCdmaCall.java55 public void hangup() throws CallStateException { in hangup()
65 throws CallStateException { in hangup()
DGsmCdmaConnection.java385 public void hangup() throws CallStateException { in hangup()
389 throw new CallStateException ("disconnected"); in hangup()
394 public void deflect(String number) throws CallStateException { in deflect()
396 throw new CallStateException ("deflect is not supported for CS"); in deflect()
400 public void transfer(String number, boolean isConfirmationRequired) throws CallStateException { in transfer()
402 throw new CallStateException("Transfer is not supported for CS"); in transfer()
406 public void consultativeTransfer(Connection other) throws CallStateException { in consultativeTransfer()
408 throw new CallStateException("Transfer is not supported for CS"); in consultativeTransfer()
412 public void separate() throws CallStateException { in separate()
416 throw new CallStateException ("disconnected"); in separate()
[all …]
DCall.java141 public abstract void hangup() throws CallStateException; in hangup()
144 throws CallStateException; in hangup()
351 } catch (CallStateException ex) {
DMmiCode.java90 void processCode() throws CallStateException; in processCode()
DGsmCdmaPhone.java1003 public void acceptCall(int videoState) throws CallStateException { in acceptCall()
1004 if (!hasCalling()) throw new CallStateException(); in acceptCall()
1014 public void rejectCall() throws CallStateException { in rejectCall()
1015 if (!hasCalling()) throw new CallStateException(); in rejectCall()
1020 public void switchHoldingAndActive() throws CallStateException { in switchHoldingAndActive()
1064 } catch (CallStateException e) { in conference()
1217 } catch (CallStateException e) { in handleCallDeflectionIncallSupplementaryService()
1259 } catch (CallStateException e) { in handleCallWaitingIncallSupplementaryService()
1291 } catch (CallStateException e) { in handleCallHoldIncallSupplementaryService()
1304 } catch (CallStateException e) { in handleCallHoldIncallSupplementaryService()
[all …]
DConnection.java827 public abstract void deflect(String number) throws CallStateException; in deflect()
833 throws CallStateException; in transfer()
838 public abstract void consultativeTransfer(Connection other) throws CallStateException; in consultativeTransfer()
844 public abstract void hangup() throws CallStateException; in hangup()
851 public abstract void separate() throws CallStateException; in separate()
DCallManager.java659 public void rejectCall(Call ringingCall) throws CallStateException { in rejectCall()
727 public void conference(Call heldCall) throws CallStateException { in conference()
740 … throw(new CallStateException("Can't conference foreground and selected background call")); in conference()
764 throws CallStateException { in dial()
784 throw new CallStateException("cannot dial in current state"); in dial()
833 throws CallStateException { in dial()
947 public void explicitCallTransfer(Call heldCall) throws CallStateException { in explicitCallTransfer()
2077 } catch (CallStateException e) { in handleMessage()
DPhone.java837 } catch (CallStateException e) { in handleMessage()
4102 throws CallStateException { in dialInternal()
4627 throws CallStateException { in checkWfcWifiOnlyModeBeforeDial()
4634 throw new CallStateException( in checkWfcWifiOnlyModeBeforeDial()
4635 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()
DConnectionTest.java83 public void deflect(String number) throws CallStateException {} in deflect()
87 throws CallStateException {} in transfer()
90 public void consultativeTransfer(Connection other) throws CallStateException {} in consultativeTransfer()
93 public void hangup() throws CallStateException {} in hangup()
96 public void separate() throws CallStateException {} in separate()
DGsmCdmaPhoneTest.java522 } catch (CallStateException e) { in testDial()
540 } catch (CallStateException e) { in testWpsDialOverCs()
581 } catch (CallStateException e) { in testWpsClirActiveDialOverCs()
600 } catch (CallStateException e) { in testWpsClirInactiveDialOverCs()
618 } catch (CallStateException e) { in testWpsDialOverIms()
636 } catch (CallStateException e) { in testWpsClirActiveDialOverIms()
655 } catch (CallStateException e) { in testWpsClirInactiveDialOverIms()
1479 CallStateException callStateException = Mockito.mock(CallStateException.class); in setupTestSendUssd()
1849 public void testEmergencyCallAnySim() throws CallStateException { in testEmergencyCallAnySim()
1870 public void testNotEmergencyNumberOnDialedSim1() throws CallStateException { in testNotEmergencyNumberOnDialedSim1()
[all …]
DGsmCdmaCallTrackerTest.java473 } catch (CallStateException cse) { in testCantCallOtaspInProgress()
474 assertEquals(CallStateException.ERROR_OTASP_PROVISIONING_IN_PROCESS, cse.getError()); in testCantCallOtaspInProgress()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneTest.java96 import com.android.internal.telephony.CallStateException;
378 doThrow(CallStateException.class).when(mImsCT).checkForDialIssues(); in testGettersAndPassThroughs()
900 } catch (CallStateException e) { in testSendUssdAllowUssdOverImsInService()
907 } catch (CallStateException e) { in testSendUssdAllowUssdOverImsInService()
924 } catch (CallStateException e) { in testSendUssdNotAllowUssdOverIms()
931 } catch (CallStateException e) { in testSendUssdNotAllowUssdOverIms()
969 } catch (CallStateException e) { in testSendUssdAllowUssdOverImsWithCsOnly()
976 } catch (CallStateException e) { in testSendUssdAllowUssdOverImsWithCsOnly()
DImsPhoneCallTrackerTest.java120 import com.android.internal.telephony.CallStateException;
797 } catch (CallStateException e) { in testImsMTActiveHoldServiceDisconnect()
818 } catch (CallStateException cse) { in testDialClirMode()
857 } catch (CallStateException cse) { in testEmergencyDialSuppressClir()
887 } catch (CallStateException e) { in testImsMoCallCrash()
1643 } catch (CallStateException e) { in testCantMakeCallWhileRinging()
1645 assertEquals(CallStateException.ERROR_CALL_RINGING, e.getError()); in testCantMakeCallWhileRinging()
1657 } catch (CallStateException e) { in testCantMakeCallWhileDialing()
1659 assertEquals(CallStateException.ERROR_ALREADY_DIALING, e.getError()); in testCantMakeCallWhileDialing()
1681 } catch (CallStateException e) { in testCantMakeCallTooMany()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/emergency/
DEmergencyStateTrackerTest.java75 import com.android.internal.telephony.CallStateException;
2706 } catch (CallStateException e) { in testRejectRingingCall()
2751 } catch (CallStateException e) { in testRejectNewIncomingCall()
2788 } catch (CallStateException e) { in testNotRejectNewIncomingCall()
2818 } catch (CallStateException e) { in testNormalRoutingEmergencyCallRejectRingingCall()
2861 } catch (CallStateException e) { in testNormalRoutingRejectNewIncomingCall()
2902 } catch (CallStateException e) { in testNormalRoutingDiscardedNotRejectNewIncomingCall()

12