Home
last modified time | relevance | path

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

12

/frameworks/base/telephony/java/android/telephony/ims/
DRcsUceAdapter.java304 @NonNull CapabilitiesCallback c) throws ImsException { in requestCapabilities()
318 throw new ImsException("Can not find remote IMS service", in requestCapabilities()
319 ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in requestCapabilities()
349 throw new ImsException("Remote IMS Service is not available", in requestCapabilities()
350 ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in requestCapabilities()
366 public @PublishState int getUcePublishState() throws ImsException { in getUcePublishState()
370 throw new ImsException("Can not find remote IMS service", in getUcePublishState()
371 ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in getUcePublishState()
377 throw new ImsException(e.getMessage(), e.errorCode); in getUcePublishState()
380 throw new ImsException("Remote IMS Service is not available", in getUcePublishState()
[all …]
DImsRcsManager.java182 throws ImsException { in registerImsRegistrationCallback()
193 throw new ImsException("Cannot find remote IMS service", in registerImsRegistrationCallback()
194 ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in registerImsRegistrationCallback()
201 throw new ImsException(e.getMessage(), ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in registerImsRegistrationCallback()
317 @NonNull AvailabilityCallback c) throws ImsException { in registerRcsAvailabilityCallback()
328 throw new ImsException("Cannot find remote IMS service", in registerRcsAvailabilityCallback()
329 ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in registerRcsAvailabilityCallback()
337 throw new ImsException("Remote IMS Service is not available", in registerRcsAvailabilityCallback()
338 ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in registerRcsAvailabilityCallback()
356 throws ImsException { in unregisterRcsAvailabilityCallback()
[all …]
DImsMmTelManager.java286 @NonNull RegistrationCallback c) throws ImsException { in registerImsRegistrationCallback()
297 throw new ImsException("Could not find Telephony Service.", in registerImsRegistrationCallback()
298 ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in registerImsRegistrationCallback()
304 if (e.errorCode == ImsException.CODE_ERROR_INVALID_SUBSCRIPTION) { in registerImsRegistrationCallback()
308 throw new ImsException(e.getMessage(), e.errorCode); in registerImsRegistrationCallback()
311 throw new ImsException(e.getMessage(), ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in registerImsRegistrationCallback()
330 @NonNull RegistrationManager.RegistrationCallback c) throws ImsException { in registerImsRegistrationCallback()
341 throw new ImsException("Could not find Telephony Service.", in registerImsRegistrationCallback()
342 ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in registerImsRegistrationCallback()
348 throw new ImsException(e.getMessage(), e.errorCode); in registerImsRegistrationCallback()
[all …]
DImsException.java34 public final class ImsException extends Exception { class
87 public ImsException(@Nullable String message) { in ImsException() method in ImsException
98 public ImsException(@Nullable String message, @ImsErrorCode int code) { in ImsException() method in ImsException
112 public ImsException(@Nullable String message, @ImsErrorCode int code, in ImsException() method in ImsException
DProvisioningManager.java965 @NonNull Callback callback) throws ImsException { in registerProvisioningChangedCallback()
970 throw new ImsException(e.getMessage(), e.errorCode); in registerProvisioningChangedCallback()
972 throw new ImsException(e.getMessage(), ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in registerProvisioningChangedCallback()
/frameworks/base/telephony/java/android/telephony/ims/stub/
DRcsPresenceExchangeImplBase.java23 import android.telephony.ims.ImsException;
178 int operationToken) throws ImsException { in onNetworkResponse()
182 throw new ImsException(e.getMessage(), ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in onNetworkResponse()
197 int operationToken) throws ImsException { in onCapabilityRequestResponse()
201 throw new ImsException(e.getMessage(), ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in onCapabilityRequestResponse()
221 throws ImsException { in onNotifyUpdateCapabilites()
225 throw new ImsException(e.getMessage(), ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in onNotifyUpdateCapabilites()
238 public final void onUnpublish() throws ImsException { in onUnpublish()
242 throw new ImsException(e.getMessage(), ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in onUnpublish()
267 } catch (RemoteException | ImsException e) { in requestCapabilities()
[all …]
DRcsSipOptionsImplBase.java24 import android.telephony.ims.ImsException;
107 @Nullable RcsContactUceCapability info, int operationToken) throws ImsException { in onCapabilityRequestResponse()
111 throw new ImsException(e.getMessage(), ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in onCapabilityRequestResponse()
133 @NonNull RcsContactUceCapability remoteInfo, int operationToken) throws ImsException { in onRemoteCapabilityRequest()
137 throw new ImsException(e.getMessage(), ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in onRemoteCapabilityRequest()
160 } catch (RemoteException | ImsException e) { in sendCapabilityRequest()
182 } catch (RemoteException | ImsException e) { in respondToCapabilityRequest()
204 } catch (RemoteException | ImsException e) { in respondToCapabilityRequestWithError()
DRcsCapabilityExchange.java21 import android.telephony.ims.ImsException;
89 protected final IRcsFeatureListener getListener() throws ImsException { in getListener()
92 throw new ImsException("Connection to Framework has not been established, wait for " in getListener()
93 + "onFeatureReady().", ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in getListener()
115 throws ImsException { in onCommandUpdate()
119 throw new ImsException(e.getMessage(), ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in onCommandUpdate()
/frameworks/opt/net/ims/src/java/com/android/ims/
DRcsFeatureManager.java185 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()
227 public void updateCapabilities() throws android.telephony.ims.ImsException { in updateCapabilities()
253 throws android.telephony.ims.ImsException { in registerImsRegistrationCallback()
258 throw new android.telephony.ims.ImsException("Can not register callback", in registerImsRegistrationCallback()
259 android.telephony.ims.ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in registerImsRegistrationCallback()
268 throws android.telephony.ims.ImsException { in registerImsRegistrationCallback()
273 throw new android.telephony.ims.ImsException("Can not register callback", in registerImsRegistrationCallback()
274 android.telephony.ims.ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in registerImsRegistrationCallback()
[all …]
DImsManager.java397 } catch (ImsException ie) { in setEnhanced4gLteModeSetting()
756 } catch (ImsException e) { in setVtSetting()
903 } catch (ImsException e) { in setWfcNonPersistent()
1088 } catch (ImsException e) { in setWfcModeInternal()
1157 } catch (ImsException e) { in setWfcRoamingSettingInternal()
1242 private boolean getProvisionedBool(ImsConfig config, int item) throws ImsException { in getProvisionedBool()
1245 throw new ImsException("getProvisionedBool failed with error for item: " + item, in getProvisionedBool()
1255 private void setProvisionedBool(ImsConfig config, int item, int value) throws ImsException { in setProvisionedBool()
1258 throw new ImsException("setProvisionedBool failed with error for item: " + item, in setProvisionedBool()
1271 } catch (ImsException ex) { in getProvisionedBoolNoException()
[all …]
DImsCall.java745 public ImsCallProfile getLocalCallProfile() throws ImsException { in getLocalCallProfile()
748 throw new ImsException("No call session", in getLocalCallProfile()
756 throw new ImsException("getLocalCallProfile()", t, 0); in getLocalCallProfile()
766 public ImsCallProfile getRemoteCallProfile() throws ImsException { in getRemoteCallProfile()
769 throw new ImsException("No call session", in getRemoteCallProfile()
777 throw new ImsException("getRemoteCallProfile()", t, 0); in getRemoteCallProfile()
864 public String getCallExtra(String name) throws ImsException { in getCallExtra()
870 throw new ImsException("No call session", in getCallExtra()
878 throw new ImsException("getCallExtra()", t, 0); in getCallExtra()
1067 public void setMute(boolean muted) throws ImsException { in setMute()
[all …]
DFeatureConnector.java56 void connectionReady(T manager) throws ImsException; in connectionReady()
168 } catch (android.telephony.ims.ImsException e) {
171 if (android.telephony.ims.ImsException.CODE_ERROR_UNSUPPORTED_OPERATION != errorCode) {
179 public void createImsService() throws android.telephony.ims.ImsException { in createImsService()
240 } catch (ImsException e) {
257 private void notifyReady() throws ImsException { in notifyReady()
266 catch (ImsException e) { in notifyReady()
DImsEcbm.java58 public void setEcbmStateListener(ImsEcbmStateListener ecbmListener) throws ImsException { in setEcbmStateListener()
62 throw new ImsException("setEcbmStateListener()", e, in setEcbmStateListener()
68 public void exitEmergencyCallbackMode() throws ImsException { in exitEmergencyCallbackMode()
72 throw new ImsException("exitEmergencyCallbackMode()", e, in exitEmergencyCallbackMode()
DIFeatureConnector.java20 int getImsServiceState() throws ImsException; in getImsServiceState()
22 throws android.telephony.ims.ImsException; in addNotifyStatusChangedCallbackIfAvailable()
DImsMultiEndpoint.java73 throws ImsException { in setExternalCallStateListener()
79 throw new ImsException("setExternalCallStateListener could not be set.", e, in setExternalCallStateListener()
/frameworks/base/telephony/java/com/android/ims/
DImsConfig.java794 public int getProvisionedValue(int item) throws ImsException { in getProvisionedValue()
805 public int getConfigInt(int item) throws ImsException { in getConfigInt()
810 throw new ImsException("getInt()", e, in getConfigInt()
821 public String getProvisionedStringValue(int item) throws ImsException { in getProvisionedStringValue()
833 public String getConfigString(int item) throws ImsException { in getConfigString()
838 throw new ImsException("getConfigString()", e, in getConfigString()
849 public int setProvisionedValue(int item, int value) throws ImsException { in setProvisionedValue()
856 public int setProvisionedStringValue(int item, String value) throws ImsException { in setProvisionedStringValue()
869 public int setConfig(int item, int value) throws ImsException { in setConfig()
878 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.java36 import com.android.ims.ImsException;
178 } catch (ImsException e) {
213 } catch (ImsException e) {
231 public void connectionReady(ImsManager manager) throws ImsException { in ImsSmsDispatcher()
250 private void setListeners() throws ImsException { in setListeners()
319 } catch (ImsException e) { in getFormat()
392 } catch (ImsException e) { in sendSms()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneMmiCode.java49 import com.android.ims.ImsException;
981 } catch (ImsException e) { in processCode()
993 } catch (ImsException e) { in processCode()
1000 } catch (ImsException e) { in processCode()
1012 } catch (ImsException e) { in processCode()
1019 } catch (ImsException e) { in processCode()
1026 } catch (ImsException e) { in processCode()
1042 } catch (ImsException e) { in processCode()
1065 } catch (ImsException e) { in processCode()
1272 } catch (ImsException e) { in processIcbMmiCodeForUpdate()
[all …]
DImsPhoneCallTracker.java84 import com.android.ims.ImsException;
246 } catch (ImsException e) { in onIncomingCall()
889 public void connectionReady(ImsManager manager) throws ImsException { in ImsPhoneCallTracker()
945 private void startListeningForCalls() throws ImsException { in startListeningForCalls()
996 } catch (ImsException e) { in stopListeningForCalls()
1245 } catch (ImsException e) { in dial()
1288 } catch (ImsException e) { in shouldNumberBePlacedOnIms()
1512 } catch (ImsException e) { in dialInternal()
1559 } catch (ImsException e) { in acceptCall()
1580 } catch (ImsException e) { in acceptCall()
[all …]
DImsPhone.java86 import com.android.ims.ImsException;
1112 } catch (ImsException e) { in getOutgoingCallerIdDisplay()
1129 } catch (ImsException e) { in setOutgoingCallerIdDisplay()
1144 } catch (ImsException e) { in queryCLIP()
1170 } catch (ImsException e) { in getCallForwardingOption()
1215 } catch (ImsException e) { in setCallForwardingOption()
1234 } catch (ImsException e) { in getCallWaiting()
1262 } catch (ImsException e) { in setCallWaiting()
1311 } catch (ImsException e) { in getCallBarring()
1345 } catch (ImsException e) { in setCallBarring()
[all …]
DImsPhoneConnection.java43 import com.android.ims.ImsException;
410 } catch (ImsException e) { in deflect()
426 } catch (ImsException e) { in transfer()
439 } catch (ImsException e) { in consultativeTransfer()
853 } catch (ImsException e) { in onDisconnectConferenceParticipant()
1074 } catch (ImsException e) { in updateMediaCapabilities()
DImsPhoneCall.java25 import com.android.ims.ImsException;
279 } catch (ImsException e) { in setMute()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/
DFeatureConnectorTest.java35 import com.android.ims.ImsException;
130 } catch (ImsException e) { in testNotifyStateChanged()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/
DImsPhoneCallTrackerTest.java84 import com.android.ims.ImsException;
419 doThrow(new ImsException()).when(mImsCall).hold(); in testImsHoldException()
569 } catch (ImsException ie) { in testEmergencyDialSuppressClir()
690 public void testDialImsServiceUnavailable() throws ImsException { in testDialImsServiceUnavailable()
691 doThrow(new ImsException("Test Exception", ImsReasonInfo.CODE_LOCAL_IMS_SERVICE_DOWN)).when( in testDialImsServiceUnavailable()
716 public void testTTYImsServiceUnavailable() throws ImsException { in testTTYImsServiceUnavailable()
717 doThrow(new ImsException("Test Exception", ImsReasonInfo.CODE_LOCAL_IMS_SERVICE_DOWN)).when( in testTTYImsServiceUnavailable()
748 } catch (ImsException ie) { in testRewriteOutgoingNumber()
1232 } catch (ImsException ie) { in placeCallAndMakeActive()

12