/aosp12/packages/services/Telephony/src/com/android/services/telephony/rcs/ |
H A D | UceControllerManager.java | 23 import android.telephony.ims.ImsException; 161 throws ImsException { in requestCapabilities() 174 throw (ImsException) cause; in requestCapabilities() 186 throws ImsException { in requestNetworkAvailability() 199 throw (ImsException) cause; in requestNetworkAvailability() 221 throw (ImsException) cause; in getUcePublishState() 243 throw (ImsException) cause; in addUceRegistrationOverride() 265 throw (ImsException) cause; in removeUceRegistrationOverride() 286 throw (ImsException) cause; in clearUceRegistrationOverride() 307 throw (ImsException) cause; in getLatestRcsContactUceCapability() [all …]
|
H A D | RcsFeatureController.java | 22 import android.telephony.ims.ImsException; 131 throws com.android.ims.ImsException { 142 } catch (ImsException e) { 314 throws ImsException { in registerImsRegistrationCallback() 317 throw new ImsException("Service is not available", in registerImsRegistrationCallback() 339 throws ImsException { in registerRcsAvailabilityCallback() 342 throw new ImsException("Service is not available", in registerRcsAvailabilityCallback() 362 throws android.telephony.ims.ImsException { in isCapable() 365 throw new ImsException("Service is not available", in isCapable() 375 throws android.telephony.ims.ImsException { in isAvailable() [all …]
|
H A D | SipTransportController.java | 29 import android.telephony.ims.ImsException; 382 ImsException e = result.get(); in createSipDelegate() 417 public boolean isSupported(int subId) throws ImsException { in isSupported() 429 Consumer<ImsException> startedErrorConsumer) { in createSipDelegateInternal() 441 ImsException.CODE_ERROR_UNSUPPORTED_OPERATION)); in createSipDelegateInternal() 447 } catch (ImsException e) { in createSipDelegateInternal() 589 private boolean isSupportedInternal(int subId) throws ImsException { in isSupportedInternal() 950 if (cause instanceof ImsException) { 952 throw (ImsException) cause; 970 ImsException.CODE_ERROR_INVALID_SUBSCRIPTION); [all …]
|
/aosp12/frameworks/base/telephony/java/android/telephony/ims/aidl/ |
H A 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() 76 throw new ImsException(e.getMessage(), ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in onNotifyCapabilitiesUpdate() 82 throws ImsException { in onResourceTerminated() 86 throw new ImsException(e.getMessage(), ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in onResourceTerminated() [all …]
|
H A 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()
|
H A 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()
|
/aosp12/frameworks/base/telephony/java/android/telephony/ims/ |
H A D | RcsUceAdapter.java | 518 ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in requestCapabilities() 555 throw new ImsException(e.toString(), e.errorCode); in requestCapabilities() 559 ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in requestCapabilities() 612 ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in requestAvailability() 649 throw new ImsException(e.toString(), e.errorCode); in requestAvailability() 653 ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in requestAvailability() 675 ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in getUcePublishState() 681 throw new ImsException(e.getMessage(), e.errorCode); in getUcePublishState() 731 throw new ImsException(e.getMessage(), e.errorCode); in addOnPublishStateChangedListener() 776 throw new ImsException(e.getMessage(), e.errorCode); in removeOnPublishStateChangedListener() [all …]
|
H A D | ImsMmTelManager.java | 289 @NonNull RegistrationCallback c) throws ImsException { in registerImsRegistrationCallback() 301 ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in registerImsRegistrationCallback() 314 throw new ImsException(e.getMessage(), ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in registerImsRegistrationCallback() 345 ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in registerImsRegistrationCallback() 351 throw new ImsException(e.getMessage(), e.errorCode); in registerImsRegistrationCallback() 353 throw new ImsException(e.getMessage(), ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in registerImsRegistrationCallback() 548 @NonNull CapabilityCallback c) throws ImsException { in registerMmTelCapabilityCallback() 560 ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in registerMmTelCapabilityCallback() 566 throw new ImsException(e.getMessage(), e.errorCode); in registerMmTelCapabilityCallback() 570 throw new ImsException(e.getMessage(), ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in registerMmTelCapabilityCallback() [all …]
|
H A D | ImsRcsManager.java | 207 throws ImsException { 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() 405 ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in addOnAvailabilityChangedListener() 413 throw new ImsException(e.toString(), e.errorCode); in addOnAvailabilityChangedListener() 417 ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in addOnAvailabilityChangedListener() 487 ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in isCapable() 495 ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in isCapable() 519 throws ImsException { in isAvailable() [all …]
|
H A 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() 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() 379 throw new ImsException(e.getMessage(), in createSipDelegate() [all …]
|
H A 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 …]
|
H A 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
|
/aosp12/frameworks/base/telephony/java/android/telephony/ims/stub/ |
H A 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() 267 @NonNull String reason) throws ImsException; in onNetworkResponse() 292 @NonNull String reasonHeaderText) throws ImsException; in onNetworkResponse() 394 } catch (ImsException e) { in subscribeForCapabilities() 415 } catch (ImsException e) { in publishCapabilities() [all …]
|
H A 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()
|
/aosp12/packages/services/Telephony/src/com/android/phone/ |
H A D | ImsRcsController.java | 110 } catch (ImsException e) { in registerImsRegistrationCallback() 196 } catch (ImsException e) { in registerRcsAvailabilityCallback() 239 } catch (ImsException e) { in isCapable() 265 } catch (ImsException e) { in isAvailable() 288 } catch (ImsException e) { in requestCapabilities() 309 } catch (ImsException e) { in requestAvailability() 328 } catch (ImsException e) { in getUcePublishState() 378 throws ImsException { in clearUceRegistrationOverrideShell() 397 throws ImsException { in getLatestRcsContactUceCapabilityShell() 478 } catch (ImsException e) { in registerUcePublishStateCallback() [all …]
|
/aosp12/frameworks/opt/net/ims/src/java/com/android/ims/ |
H A D | RcsFeatureManager.java | 29 import android.telephony.ims.ImsException; 235 throws android.telephony.ims.ImsException { in registerImsRegistrationCallback() 250 throws android.telephony.ims.ImsException { in registerImsRegistrationCallback() 295 throws android.telephony.ims.ImsException { in registerRcsAvailabilityCallback() 313 throws ImsException { in isImsServiceCapable() 317 throw new ImsException(e.getMessage(), ImsException.CODE_ERROR_SERVICE_UNAVAILABLE); in isImsServiceCapable() 325 public ISipTransport getSipTransport() throws ImsException { in getSipTransport() 342 throws android.telephony.ims.ImsException { in isCapable() 395 throws android.telephony.ims.ImsException { in isAvailable() 456 throws android.telephony.ims.ImsException { in sendCapabilityChangeRequest() [all …]
|
H A 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() 2039 throws ImsException { in addRegistrationListener() 2078 throws ImsException { in addRegistrationCallback() 2218 throws ImsException { in removeRegistrationListener() 2354 throws ImsException { in setOfferedRtpHeaderExtensionTypes() 2406 throws ImsException { in takeCall() 2643 throws ImsException { in setUiTTYMode() [all …]
|
H A D | ImsCall.java | 778 throw new ImsException("No call session", in getLocalCallProfile() 1143 throws ImsException { in start() 1168 throws ImsException { in start() 1276 public void reject(int reason) throws ImsException { in reject() 1401 public void hold() throws ImsException { in hold() 1438 public void resume() throws ImsException { in resume() 1484 private void merge() throws ImsException { in merge() 1557 throw new ImsException("No background call", in merge() 1891 } catch (ImsException e) { in createNewCall() 3769 if (t instanceof ImsException) { in throwImsException() [all …]
|
/aosp12/frameworks/base/telephony/java/com/android/ims/ |
H A 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() 834 public String getConfigString(int item) throws ImsException { in getConfigString() 839 throw new ImsException("getConfigString()", e, in getConfigString() 870 public int setConfig(int item, int value) throws ImsException { in setConfig() 879 throw new ImsException("setConfig()", e, in setConfig() 900 public int setConfig(int item, String value) throws ImsException { in setConfig() 909 throw new ImsException("setConfig()", e, in setConfig() 944 throw new ImsException("addConfigCallback()", e, in addConfigCallback() [all …]
|
H A 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
|
/aosp12/packages/services/Telephony/tests/src/com/android/services/telephony/rcs/ |
H A D | UceControllerManagerTest.java | 27 import android.telephony.ims.ImsException; 139 } catch (ImsException e) { in testRequestCapabilitiesWithRcsUnavailable() 140 assertEquals(ImsException.CODE_ERROR_SERVICE_UNAVAILABLE, e.getCode()); in testRequestCapabilitiesWithRcsUnavailable() 159 } catch (ImsException e) { in testRequestCapabilitiesWithRcsConnected() 189 } catch (ImsException e) { in testRequestNetworkAvailabilityWithRcsUnavailable() 190 assertEquals(ImsException.CODE_ERROR_SERVICE_UNAVAILABLE, e.getCode()); in testRequestNetworkAvailabilityWithRcsUnavailable() 216 } catch (ImsException e) { in testGetPublishStateWithRcsUnavailable() 217 assertEquals(ImsException.CODE_ERROR_SERVICE_UNAVAILABLE, e.getCode()); in testGetPublishStateWithRcsUnavailable() 243 } catch (ImsException e) { in testRegisterPublishStateCallbackWithRcsUnavailable() 244 assertEquals(ImsException.CODE_ERROR_SERVICE_UNAVAILABLE, e.getCode()); in testRegisterPublishStateCallbackWithRcsUnavailable()
|
H A D | SipTransportControllerTest.java | 164 } catch (ImsException e) { in isSupportedRcsNotConnected() 176 } catch (ImsException e) { in isSupportedInvalidSubId() 189 } catch (ImsException e) { in isSupportedSubIdChanged() 202 } catch (ImsException e) { in isSupportedSipTransportAvailableRcsConnected() 217 } catch (ImsException e) { in isSupportedSipTransportNotAvailableRcsDisconnected() 230 } catch (ImsException e) { in isSupportedSipTransportNotAvailableRcsConnected() 239 doThrow(new ImsException("", ImsException.CODE_ERROR_SERVICE_UNAVAILABLE)) in isSupportedImsServiceNotAvailableRcsConnected() 245 } catch (ImsException e) { in isSupportedImsServiceNotAvailableRcsConnected() 262 } catch (ImsException e) { in createImsServiceAvailableSubIdIncorrect() 279 } catch (ImsException e) { in createImsServiceDoesntSupportTransport() [all …]
|
/aosp12/packages/services/Telephony/testapps/TestRcsApp/aosp_test_rcsclient/src/com/android/libraries/rcs/simpleclient/provisioning/ |
H A D | ProvisioningController.java | 19 import android.telephony.ims.ImsException; 35 void triggerProvisioning() throws ImsException; in triggerProvisioning() 38 boolean isRcsVolteSingleRegistrationCapable() throws ImsException; in isRcsVolteSingleRegistrationCapable()
|
H A D | StaticConfigProvisioningController.java | 23 import android.telephony.ims.ImsException; 83 public void triggerProvisioning() throws ImsException { in triggerProvisioning() 102 public void register() throws ImsException { in register() 109 public void register(@NonNull RcsClientConfiguration clientConfiguration) throws ImsException { in register() 165 public boolean isRcsVolteSingleRegistrationCapable() throws ImsException { in isRcsVolteSingleRegistrationCapable()
|
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/network/ims/ |
H A D | MockVtQueryImsState.java | 20 import android.telephony.ims.ImsException; 60 boolean isEnabledByPlatform(int subId) throws InterruptedException, ImsException, in isEnabledByPlatform() 85 boolean isServiceStateReady(int subId) throws InterruptedException, ImsException, in isServiceStateReady()
|