Home
last modified time | relevance | path

Searched refs:ImsException (Results 1 – 25 of 50) sorted by relevance

12

/frameworks/base/telephony/java/android/telephony/ims/aidl/
DRcsSubscribeResponseAidlWrapper.java22 import android.telephony.ims.ImsException;
45 public void onCommandError(int code) throws ImsException { in onCommandError()
49 throw new ImsException(e.getMessage(), ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in onCommandError()
55 public void onNetworkResponse(int code, String reasonPhrase) throws ImsException { in onNetworkResponse()
62 throw new ImsException(e.getMessage(), ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in onNetworkResponse()
69 String reasonHeaderText) throws ImsException { in onNetworkResponse()
77 throw new ImsException(e.getMessage(), ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in onNetworkResponse()
82 public void onNetworkResponse(@NonNull SipDetails details) throws ImsException { in onNetworkResponse()
86 throw new ImsException(e.getMessage(), ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in onNetworkResponse()
91 public void onNotifyCapabilitiesUpdate(List<String> pidfXmls) throws ImsException { in onNotifyCapabilitiesUpdate()
[all …]
DRcsPublishResponseAidlWrapper.java21 import android.telephony.ims.ImsException;
39 public void onCommandError(int code) throws ImsException { in onCommandError()
43 throw new ImsException(e.getMessage(), ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in onCommandError()
49 public void onNetworkResponse(int code, String reasonPhrase) throws ImsException { in onNetworkResponse()
56 throw new ImsException(e.getMessage(), ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in onNetworkResponse()
63 String reasonHeaderText) throws ImsException { in onNetworkResponse()
71 throw new ImsException(e.getMessage(), ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in onNetworkResponse()
77 throws ImsException { in onNetworkResponse()
81 throw new ImsException(e.getMessage(), ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in onNetworkResponse()
DCapabilityExchangeAidlWrapper.java24 import android.telephony.ims.ImsException;
53 public void onRequestPublishCapabilities(int publishTriggerType) throws ImsException { in onRequestPublishCapabilities()
62 throw new ImsException("Remote is not available", in onRequestPublishCapabilities()
63 ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in onRequestPublishCapabilities()
70 public void onUnpublish() throws ImsException { in onUnpublish()
79 throw new ImsException("Remote is not available", in onUnpublish()
80 ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in onUnpublish()
93 int reasonHeaderCause, @NonNull String reasonHeaderText) throws ImsException { in onPublishUpdated()
106 throw new ImsException("Remote is not available", in onPublishUpdated()
107 ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in onPublishUpdated()
[all …]
DRcsOptionsResponseAidlWrapper.java20 import android.telephony.ims.ImsException;
48 throws ImsException { in onNetworkResponse()
/frameworks/base/telephony/java/android/telephony/ims/
DRcsUceAdapter.java600 @NonNull CapabilitiesCallback c) throws ImsException { in requestCapabilities()
614 throw new ImsException("Can not find remote IMS service", in requestCapabilities()
615 ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in requestCapabilities()
653 throw new ImsException(e.toString(), e.errorCode); in requestCapabilities()
656 throw new ImsException("Remote IMS Service is not available", in requestCapabilities()
657 ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in requestCapabilities()
699 @NonNull CapabilitiesCallback c) throws ImsException { in requestAvailability()
713 throw new ImsException("Cannot find remote IMS service", in requestAvailability()
714 ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in requestAvailability()
752 throw new ImsException(e.toString(), e.errorCode); in requestAvailability()
[all …]
DSipDelegateManager.java322 public boolean isSupported() throws ImsException { in isSupported()
326 throw new ImsException("Telephony server is down", in isSupported()
327 ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in isSupported()
331 throw new ImsException(e.getMessage(), e.errorCode); in isSupported()
333 throw new ImsException(e.getMessage(), in isSupported()
334 ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in isSupported()
366 @NonNull DelegateConnectionMessageCallback mc) throws ImsException { in createSipDelegate()
377 throw new ImsException("Telephony server is down", in createSipDelegate()
378 ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in createSipDelegate()
383 throw new ImsException(e.getMessage(), e.errorCode); in createSipDelegate()
[all …]
DImsMmTelManager.java317 @NonNull RegistrationCallback c) throws ImsException { in registerImsRegistrationCallback()
328 throw new ImsException("Could not find Telephony Service.", in registerImsRegistrationCallback()
329 ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in registerImsRegistrationCallback()
335 if (e.errorCode == ImsException.CODE_ERROR_INVALID_SUBSCRIPTION) { in registerImsRegistrationCallback()
339 throw new ImsException(e.getMessage(), e.errorCode); in registerImsRegistrationCallback()
342 throw new ImsException(e.getMessage(), ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in registerImsRegistrationCallback()
361 @NonNull RegistrationManager.RegistrationCallback c) throws ImsException { in registerImsRegistrationCallback()
372 throw new ImsException("Could not find Telephony Service.", in registerImsRegistrationCallback()
373 ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in registerImsRegistrationCallback()
379 throw new ImsException(e.getMessage(), e.errorCode); in registerImsRegistrationCallback()
[all …]
DImsRcsManager.java260 throws ImsException { in registerImsRegistrationCallback()
271 throw new ImsException("Cannot find remote IMS service", in registerImsRegistrationCallback()
272 ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in registerImsRegistrationCallback()
279 throw new ImsException(e.toString(), e.errorCode); in registerImsRegistrationCallback()
281 throw new ImsException(e.getMessage(), ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in registerImsRegistrationCallback()
453 @NonNull OnAvailabilityChangedListener listener) throws ImsException { in addOnAvailabilityChangedListener()
465 throw new ImsException("Cannot find remote IMS service", in addOnAvailabilityChangedListener()
466 ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in addOnAvailabilityChangedListener()
474 throw new ImsException(e.toString(), e.errorCode); in addOnAvailabilityChangedListener()
477 throw new ImsException("Remote IMS Service is not available", in addOnAvailabilityChangedListener()
[all …]
DProvisioningManager.java1247 @NonNull Callback callback) throws ImsException { in registerProvisioningChangedCallback()
1252 throw new ImsException(e.getMessage(), e.errorCode); in registerProvisioningChangedCallback()
1254 throw new ImsException(e.getMessage(), ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in registerProvisioningChangedCallback()
1311 @NonNull FeatureProvisioningCallback callback) throws ImsException { in registerFeatureProvisioningChangedCallback()
1317 throw new ImsException(e.getMessage(), e.errorCode); in registerFeatureProvisioningChangedCallback()
1319 throw new ImsException(e.getMessage(), ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in registerFeatureProvisioningChangedCallback()
1838 @NonNull RcsClientConfiguration rcc) throws ImsException { in setRcsClientConfiguration()
1842 throw new ImsException(e.getMessage(), e.errorCode); in setRcsClientConfiguration()
1844 throw new ImsException(e.getMessage(), ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in setRcsClientConfiguration()
1873 public boolean isRcsVolteSingleRegistrationCapable() throws ImsException { in isRcsVolteSingleRegistrationCapable()
[all …]
DImsException.java33 public final class ImsException extends Exception { class
85 public ImsException(@Nullable String message) { in ImsException() method in ImsException
95 public ImsException(@Nullable String message, @ImsErrorCode int code) { in ImsException() method in ImsException
108 public ImsException(@Nullable String message, @ImsErrorCode int code, in ImsException() method in ImsException
/frameworks/base/telephony/java/android/telephony/ims/stub/
DRcsCapabilityExchangeImplBase.java25 import android.telephony.ims.ImsException;
140 void onCommandError(@CommandCode int code) throws ImsException; in onCommandError()
166 @NonNull String reason) throws ImsException; in onNetworkResponse()
195 @NonNull String reasonHeaderText) throws ImsException; in onNetworkResponse()
208 default void onNetworkResponse(@NonNull SipDetails details) throws ImsException { in onNetworkResponse()
232 void onCommandError(@CommandCode int code) throws ImsException; in onCommandError()
250 @NonNull List<String> theirCaps) throws ImsException; in onNetworkResponse()
272 void onCommandError(@CommandCode int code) throws ImsException; in onCommandError()
301 @NonNull String reason) throws ImsException; in onNetworkResponse()
330 @NonNull String reasonHeaderText) throws ImsException; in onNetworkResponse()
[all …]
DCapabilityExchangeEventListener.java23 import android.telephony.ims.ImsException;
79 @RcsUceAdapter.StackPublishTriggerType int publishTriggerType) throws ImsException; in onRequestPublishCapabilities()
91 void onUnpublish() throws ImsException; in onUnpublish()
117 int reasonHeaderCause, @NonNull String reasonHeaderText) throws ImsException { in onPublishUpdated()
138 throws ImsException { in onPublishUpdated()
160 @NonNull OptionsRequestCallback callback) throws ImsException; in onRemoteCapabilityRequest()
/frameworks/opt/net/ims/src/java/com/android/ims/
DRcsFeatureManager.java31 import android.telephony.ims.ImsException;
185 public void openConnection() throws android.telephony.ims.ImsException { in openConnection()
189 throw new android.telephony.ims.ImsException("Service is not available.", in openConnection()
190 android.telephony.ims.ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in openConnection()
226 public void updateCapabilities(int newSubId) throws android.telephony.ims.ImsException { in updateCapabilities()
252 throws android.telephony.ims.ImsException { in registerImsRegistrationCallback()
257 throw new android.telephony.ims.ImsException("Can not register callback", in registerImsRegistrationCallback()
258 android.telephony.ims.ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in registerImsRegistrationCallback()
267 throws android.telephony.ims.ImsException { in registerImsRegistrationCallback()
272 throw new android.telephony.ims.ImsException("Can not register callback", in registerImsRegistrationCallback()
[all …]
DImsManager.java664 } catch (ImsException e) { in setEnhanced4gLteModeSetting()
1079 } catch (ImsException e) { in setVtSetting()
1182 } catch (ImsException e) { in setWfcSetting()
1246 } catch (ImsException e) { in setCrossSimCallingEnabled()
1278 } catch (ImsException e) { in setWfcNonPersistent()
1465 } catch (ImsException e) { in setWfcModeInternal()
1534 } catch (ImsException e) { in setWfcRoamingSettingInternal()
1698 } catch (ImsException e) { in updateImsServiceConfig()
1707 private void reevaluateCapabilities() throws ImsException { in reevaluateCapabilities()
2154 ImsExternalCallStateListener multiEndpointListener) throws ImsException { in open()
[all …]
DImsCall.java791 public ImsCallProfile getLocalCallProfile() throws ImsException { in getLocalCallProfile()
794 throw new ImsException("No call session", in getLocalCallProfile()
802 throw new ImsException("getLocalCallProfile()", t, 0); in getLocalCallProfile()
812 public ImsCallProfile getRemoteCallProfile() throws ImsException { in getRemoteCallProfile()
815 throw new ImsException("No call session", in getRemoteCallProfile()
823 throw new ImsException("getRemoteCallProfile()", t, 0); in getRemoteCallProfile()
924 public String getCallExtra(String name) throws ImsException { in getCallExtra()
930 throw new ImsException("No call session", in getCallExtra()
938 throw new ImsException("getCallExtra()", t, 0); in getCallExtra()
1127 public void setMute(boolean muted) throws ImsException { in setMute()
[all …]
DFeatureConnector.java107 void connectionReady(U manager, int subId) throws ImsException; in connectionReady()
180 } catch (ImsException e) {
285 private void notifyReady(U manager, int subId) throws ImsException { in notifyReady()
290 catch (ImsException e) { in notifyReady()
DImsEcbm.java63 public void exitEmergencyCallbackMode() throws ImsException { in exitEmergencyCallbackMode()
67 throw new ImsException("exitEmergencyCallbackMode()", e, in exitEmergencyCallbackMode()
/frameworks/base/telephony/java/com/android/ims/
DImsConfig.java795 public int getProvisionedValue(int item) throws ImsException { in getProvisionedValue()
806 public int getConfigInt(int item) throws ImsException { in getConfigInt()
811 throw new ImsException("getInt()", e, in getConfigInt()
822 public String getProvisionedStringValue(int item) throws ImsException { in getProvisionedStringValue()
834 public String getConfigString(int item) throws ImsException { in getConfigString()
839 throw new ImsException("getConfigString()", e, in getConfigString()
850 public int setProvisionedValue(int item, int value) throws ImsException { in setProvisionedValue()
857 public int setProvisionedStringValue(int item, String value) throws ImsException { in setProvisionedStringValue()
870 public int setConfig(int item, int value) throws ImsException { in setConfig()
879 throw new ImsException("setConfig()", e, in setConfig()
[all …]
DImsException.java28 public class ImsException extends Exception { class
35 public ImsException() { in ImsException() method in ImsException
38 public ImsException(String message, int code) { in ImsException() method in ImsException
43 public ImsException(String message, Throwable cause, int code) { in ImsException() method in ImsException
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DImsSmsDispatcher.java38 import com.android.ims.ImsException;
288 } catch (ImsException e) {
338 } catch (ImsException e) {
371 public void connectionReady(ImsManager manager, int subId) throws ImsException { in ImsSmsDispatcher()
403 private void setListeners() throws ImsException { in setListeners()
475 } catch (ImsException e) { in getFormat()
608 } catch (ImsException e) { in onMemoryAvailable()
656 } catch (ImsException e) { in sendSms()
686 private ImsManager getImsManager() throws ImsException { in getImsManager()
689 throw new ImsException("ImsManager not up", in getImsManager()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneMmiCode.java57 import com.android.ims.ImsException;
1014 } catch (ImsException e) { in processCode()
1026 } catch (ImsException e) { in processCode()
1033 } catch (ImsException e) { in processCode()
1045 } catch (ImsException e) { in processCode()
1052 } catch (ImsException e) { in processCode()
1059 } catch (ImsException e) { in processCode()
1075 } catch (ImsException e) { in processCode()
1098 } catch (ImsException e) { in processCode()
1341 } catch (ImsException e) { in processIcbMmiCodeForUpdate()
[all …]
DImsPhoneCallTracker.java123 import com.android.ims.ImsException;
381 } catch (ImsException | RemoteException e) { in processIncomingCall()
1324 public void connectionReady(ImsManager manager, int subId) throws ImsException { in ImsPhoneCallTracker()
1375 public void startListeningForCalls(int subId) throws ImsException { in startListeningForCalls()
1448 } catch (ImsException e) { in maybeConfigureRtpHeaderExtensions()
1473 } catch (ImsException e) { in stopListeningForCalls()
1799 } catch (ImsException e) { in dial()
1842 } catch (ImsException e) { in shouldNumberBePlacedOnIms()
2053 } catch (ImsException e) { in updateMediaThreshold()
2186 } catch (ImsException e) { in dialInternal()
[all …]
DImsPhone.java104 import com.android.ims.ImsException;
1204 } catch (ImsException e) { in getOutgoingCallerIdDisplay()
1221 } catch (ImsException e) { in setOutgoingCallerIdDisplay()
1236 } catch (ImsException e) { in queryCLIP()
1262 } catch (ImsException e) { in getCallForwardingOption()
1307 } catch (ImsException e) { in setCallForwardingOption()
1326 } catch (ImsException e) { in getCallWaiting()
1354 } catch (ImsException e) { in setCallWaiting()
1403 } catch (ImsException e) { in getCallBarring()
1437 } catch (ImsException e) { in setCallBarring()
[all …]
DImsPhoneCall.java28 import com.android.ims.ImsException;
286 } catch (ImsException e) { in setMute()
/frameworks/opt/net/ims/tests/src/com/android/ims/rcs/uce/eab/
DEabBulkCapabilityUpdaterTest.java35 import android.telephony.ims.ImsException;
214 private void mockUceUserSettings(boolean isEnabled) throws ImsException { in mockUceUserSettings()

12