/frameworks/base/telephony/java/android/telephony/ims/aidl/ |
D | RcsSubscribeResponseAidlWrapper.java | 21 import android.telephony.ims.ImsException; 43 public void onCommandError(int code) throws ImsException { in onCommandError() 47 throw new ImsException(e.getMessage(), ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in onCommandError() 52 public void onNetworkResponse(int code, String reason) throws ImsException { in onNetworkResponse() 56 throw new ImsException(e.getMessage(), ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in onNetworkResponse() 62 String reasonHeaderText) throws ImsException { in onNetworkResponse() 67 throw new ImsException(e.getMessage(), ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in onNetworkResponse() 72 public void onNotifyCapabilitiesUpdate(List<String> pidfXmls) throws ImsException { in onNotifyCapabilitiesUpdate() 76 throw new ImsException(e.getMessage(), ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in onNotifyCapabilitiesUpdate() 82 throws ImsException { in onResourceTerminated() [all …]
|
D | RcsPublishResponseAidlWrapper.java | 20 import android.telephony.ims.ImsException; 37 public void onCommandError(int code) throws ImsException { in onCommandError() 41 throw new ImsException(e.getMessage(), ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in onCommandError() 46 public void onNetworkResponse(int code, String reason) throws ImsException { in onNetworkResponse() 50 throw new ImsException(e.getMessage(), ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in onNetworkResponse() 56 String reasonHeaderText) throws ImsException { in onNetworkResponse() 61 throw new ImsException(e.getMessage(), ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in onNetworkResponse()
|
D | CapabilityExchangeAidlWrapper.java | 24 import android.telephony.ims.ImsException; 52 public void onRequestPublishCapabilities(int publishTriggerType) throws ImsException { in onRequestPublishCapabilities() 61 throw new ImsException("Remote is not available", in onRequestPublishCapabilities() 62 ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in onRequestPublishCapabilities() 69 public void onUnpublish() throws ImsException { in onUnpublish() 78 throw new ImsException("Remote is not available", in onUnpublish() 79 ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in onUnpublish() 89 throws ImsException { in onRemoteCapabilityRequest() 122 throw new ImsException("Remote is not available", in onRemoteCapabilityRequest() 123 ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in onRemoteCapabilityRequest()
|
D | RcsOptionsResponseAidlWrapper.java | 20 import android.telephony.ims.ImsException; 48 throws ImsException { in onNetworkResponse()
|
/frameworks/base/telephony/java/android/telephony/ims/ |
D | RcsUceAdapter.java | 503 @NonNull CapabilitiesCallback c) throws ImsException { in requestCapabilities() 517 throw new ImsException("Can not find remote IMS service", in requestCapabilities() 518 ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in requestCapabilities() 555 throw new ImsException(e.toString(), e.errorCode); in requestCapabilities() 558 throw new ImsException("Remote IMS Service is not available", in requestCapabilities() 559 ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in requestCapabilities() 597 @NonNull CapabilitiesCallback c) throws ImsException { in requestAvailability() 611 throw new ImsException("Cannot find remote IMS service", in requestAvailability() 612 ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in requestAvailability() 649 throw new ImsException(e.toString(), e.errorCode); in requestAvailability() [all …]
|
D | ImsMmTelManager.java | 289 @NonNull RegistrationCallback c) throws ImsException { in registerImsRegistrationCallback() 300 throw new ImsException("Could not find Telephony Service.", in registerImsRegistrationCallback() 301 ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in registerImsRegistrationCallback() 307 if (e.errorCode == ImsException.CODE_ERROR_INVALID_SUBSCRIPTION) { in registerImsRegistrationCallback() 311 throw new ImsException(e.getMessage(), e.errorCode); in registerImsRegistrationCallback() 314 throw new ImsException(e.getMessage(), ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in registerImsRegistrationCallback() 333 @NonNull RegistrationManager.RegistrationCallback c) throws ImsException { in registerImsRegistrationCallback() 344 throw new ImsException("Could not find Telephony Service.", in registerImsRegistrationCallback() 345 ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in registerImsRegistrationCallback() 351 throw new ImsException(e.getMessage(), e.errorCode); in registerImsRegistrationCallback() [all …]
|
D | ImsRcsManager.java | 207 throws ImsException { in registerImsRegistrationCallback() 218 throw new ImsException("Cannot find remote IMS service", in registerImsRegistrationCallback() 219 ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in registerImsRegistrationCallback() 226 throw new ImsException(e.toString(), e.errorCode); in registerImsRegistrationCallback() 228 throw new ImsException(e.getMessage(), ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in registerImsRegistrationCallback() 392 @NonNull OnAvailabilityChangedListener listener) throws ImsException { in addOnAvailabilityChangedListener() 404 throw new ImsException("Cannot find remote IMS service", in addOnAvailabilityChangedListener() 405 ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in addOnAvailabilityChangedListener() 413 throw new ImsException(e.toString(), e.errorCode); in addOnAvailabilityChangedListener() 416 throw new ImsException("Remote IMS Service is not available", in addOnAvailabilityChangedListener() [all …]
|
D | SipDelegateManager.java | 316 public boolean isSupported() throws ImsException { in isSupported() 320 throw new ImsException("Telephony server is down", in isSupported() 321 ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in isSupported() 325 throw new ImsException(e.getMessage(), e.errorCode); in isSupported() 327 throw new ImsException(e.getMessage(), in isSupported() 328 ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in isSupported() 360 @NonNull DelegateConnectionMessageCallback mc) throws ImsException { in createSipDelegate() 371 throw new ImsException("Telephony server is down", in createSipDelegate() 372 ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in createSipDelegate() 377 throw new ImsException(e.getMessage(), e.errorCode); in createSipDelegate() [all …]
|
D | ProvisioningManager.java | 1130 @NonNull Callback callback) throws ImsException { in registerProvisioningChangedCallback() 1135 throw new ImsException(e.getMessage(), e.errorCode); in registerProvisioningChangedCallback() 1137 throw new ImsException(e.getMessage(), ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in registerProvisioningChangedCallback() 1425 @NonNull RcsClientConfiguration rcc) throws ImsException { in setRcsClientConfiguration() 1429 throw new ImsException(e.getMessage(), e.errorCode); in setRcsClientConfiguration() 1431 throw new ImsException(e.getMessage(), ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in setRcsClientConfiguration() 1456 public boolean isRcsVolteSingleRegistrationCapable() throws ImsException { in isRcsVolteSingleRegistrationCapable() 1460 throw new ImsException(e.getMessage(), ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in isRcsVolteSingleRegistrationCapable() 1505 @NonNull RcsProvisioningCallback callback) throws ImsException { in registerRcsProvisioningCallback() 1510 throw new ImsException(e.getMessage(), e.errorCode); in registerRcsProvisioningCallback() [all …]
|
D | ImsException.java | 33 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/ |
D | RcsCapabilityExchangeImplBase.java | 25 import android.telephony.ims.ImsException; 138 void onCommandError(@CommandCode int code) throws ImsException; in onCommandError() 160 @NonNull String reason) throws ImsException; in onNetworkResponse() 185 @NonNull String reasonHeaderText) throws ImsException; in onNetworkResponse() 202 void onCommandError(@CommandCode int code) throws ImsException; in onCommandError() 220 @NonNull List<String> theirCaps) throws ImsException; in onNetworkResponse() 242 void onCommandError(@CommandCode int code) throws ImsException; in onCommandError() 267 @NonNull String reason) throws ImsException; in onNetworkResponse() 292 @NonNull String reasonHeaderText) throws ImsException; in onNetworkResponse() 315 void onNotifyCapabilitiesUpdate(@NonNull List<String> pidfXmls) throws ImsException; in onNotifyCapabilitiesUpdate() [all …]
|
D | CapabilityExchangeEventListener.java | 23 import android.telephony.ims.ImsException; 78 @RcsUceAdapter.StackPublishTriggerType int publishTriggerType) throws ImsException; in onRequestPublishCapabilities() 90 void onUnpublish() throws ImsException; in onUnpublish() 112 @NonNull OptionsRequestCallback callback) throws ImsException; in onRemoteCapabilityRequest()
|
/frameworks/opt/net/ims/src/java/com/android/ims/ |
D | RcsFeatureManager.java | 29 import android.telephony.ims.ImsException; 168 public void openConnection() throws android.telephony.ims.ImsException { in openConnection() 172 throw new android.telephony.ims.ImsException("Service is not available.", in openConnection() 173 android.telephony.ims.ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in openConnection() 209 public void updateCapabilities(int newSubId) throws android.telephony.ims.ImsException { in updateCapabilities() 235 throws android.telephony.ims.ImsException { in registerImsRegistrationCallback() 240 throw new android.telephony.ims.ImsException("Can not register callback", in registerImsRegistrationCallback() 241 android.telephony.ims.ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in registerImsRegistrationCallback() 250 throws android.telephony.ims.ImsException { in registerImsRegistrationCallback() 255 throw new android.telephony.ims.ImsException("Can not register callback", in registerImsRegistrationCallback() [all …]
|
D | ImsManager.java | 648 } catch (ImsException e) { in setEnhanced4gLteModeSetting() 1033 } catch (ImsException e) { in setVtSetting() 1135 } catch (ImsException e) { in setWfcSetting() 1199 } catch (ImsException e) { in setCrossSimCallingEnabled() 1231 } catch (ImsException e) { in setWfcNonPersistent() 1421 } catch (ImsException e) { in setWfcModeInternal() 1490 } catch (ImsException e) { in setWfcRoamingSettingInternal() 1593 private boolean getProvisionedBool(ImsConfig config, int item) throws ImsException { in getProvisionedBool() 1596 throw new ImsException("getProvisionedBool failed with error for item: " + item, in getProvisionedBool() 1606 private void setProvisionedBool(ImsConfig config, int item, int value) throws ImsException { in setProvisionedBool() [all …]
|
D | ImsCall.java | 775 public ImsCallProfile getLocalCallProfile() throws ImsException { in getLocalCallProfile() 778 throw new ImsException("No call session", in getLocalCallProfile() 786 throw new ImsException("getLocalCallProfile()", t, 0); in getLocalCallProfile() 796 public ImsCallProfile getRemoteCallProfile() throws ImsException { in getRemoteCallProfile() 799 throw new ImsException("No call session", in getRemoteCallProfile() 807 throw new ImsException("getRemoteCallProfile()", t, 0); in getRemoteCallProfile() 894 public String getCallExtra(String name) throws ImsException { in getCallExtra() 900 throw new ImsException("No call session", in getCallExtra() 908 throw new ImsException("getCallExtra()", t, 0); in getCallExtra() 1097 public void setMute(boolean muted) throws ImsException { in setMute() [all …]
|
D | FeatureConnector.java | 107 void connectionReady(U manager) throws ImsException; in connectionReady() 180 } catch (ImsException e) { 285 private void notifyReady(U manager) throws ImsException { in notifyReady() 290 catch (ImsException e) { in notifyReady()
|
D | ImsEcbm.java | 63 public void exitEmergencyCallbackMode() throws ImsException { in exitEmergencyCallbackMode() 67 throw new ImsException("exitEmergencyCallbackMode()", e, in exitEmergencyCallbackMode()
|
/frameworks/base/telephony/java/com/android/ims/ |
D | ImsConfig.java | 795 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 …]
|
D | ImsException.java | 28 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/ |
D | ImsSmsDispatcher.java | 36 import com.android.ims.ImsException; 212 } catch (ImsException e) { 253 } catch (ImsException e) { 270 public void connectionReady(ImsManager manager) throws ImsException { in ImsSmsDispatcher() 296 private void setListeners() throws ImsException { in setListeners() 368 } catch (ImsException e) { in getFormat() 441 } catch (ImsException e) { in sendSms() 457 private ImsManager getImsManager() throws ImsException { in getImsManager() 460 throw new ImsException("ImsManager not up", in getImsManager()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsPhoneMmiCode.java | 57 import com.android.ims.ImsException; 1007 } catch (ImsException e) { in processCode() 1019 } catch (ImsException e) { in processCode() 1026 } catch (ImsException e) { in processCode() 1038 } catch (ImsException e) { in processCode() 1045 } catch (ImsException e) { in processCode() 1052 } catch (ImsException e) { in processCode() 1068 } catch (ImsException e) { in processCode() 1091 } catch (ImsException e) { in processCode() 1321 } catch (ImsException e) { in processIcbMmiCodeForUpdate() [all …]
|
D | ImsPhoneCallTracker.java | 92 import com.android.ims.ImsException; 289 } catch (ImsException e) { in onIncomingCall() 958 public void connectionReady(ImsManager manager) throws ImsException { in ImsPhoneCallTracker() 1003 public void startListeningForCalls() throws ImsException { in startListeningForCalls() 1066 } catch (ImsException e) { in maybeConfigureRtpHeaderExtensions() 1091 } catch (ImsException e) { in stopListeningForCalls() 1384 } catch (ImsException e) { in dial() 1427 } catch (ImsException e) { in shouldNumberBePlacedOnIms() 1704 } catch (ImsException e) { in dialInternal() 1750 } catch (ImsException e) { in acceptCall() [all …]
|
D | ImsPhone.java | 89 import com.android.ims.ImsException; 1138 } catch (ImsException e) { in getOutgoingCallerIdDisplay() 1155 } catch (ImsException e) { in setOutgoingCallerIdDisplay() 1170 } catch (ImsException e) { in queryCLIP() 1196 } catch (ImsException e) { in getCallForwardingOption() 1241 } catch (ImsException e) { in setCallForwardingOption() 1260 } catch (ImsException e) { in getCallWaiting() 1288 } catch (ImsException e) { in setCallWaiting() 1337 } catch (ImsException e) { in getCallBarring() 1371 } catch (ImsException e) { in setCallBarring() [all …]
|
/frameworks/opt/net/ims/tests/src/com/android/ims/rcs/uce/eab/ |
D | EabBulkCapabilityUpdaterTest.java | 35 import android.telephony.ims.ImsException; 185 private void mockUceUserSettings(boolean isEnabled) throws ImsException { in mockUceUserSettings()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/ |
D | ImsPhoneCallTrackerTest.java | 87 import com.android.ims.ImsException; 441 doThrow(new ImsException()).when(mImsCall).hold(); in testImsHoldException() 639 } catch (ImsException ie) { in testEmergencyDialSuppressClir() 776 public void testDialImsServiceUnavailable() throws ImsException { in testDialImsServiceUnavailable() 777 doThrow(new ImsException("Test Exception", ImsReasonInfo.CODE_LOCAL_IMS_SERVICE_DOWN)).when( in testDialImsServiceUnavailable() 803 public void testTTYImsServiceUnavailable() throws ImsException { in testTTYImsServiceUnavailable() 804 doThrow(new ImsException("Test Exception", ImsReasonInfo.CODE_LOCAL_IMS_SERVICE_DOWN)).when( in testTTYImsServiceUnavailable() 832 } catch (ImsException ie) { in testRewriteOutgoingNumber() 1424 } catch (ImsException ie) { in placeCallAndMakeActive()
|