/aosp12/packages/services/Telephony/tests/src/com/android/services/telephony/rcs/validator/ |
H A D | OutgoingTransportStateValidatorTest.java | 25 import android.telephony.ims.SipDelegateManager; 68 assertEquals(SipDelegateManager.MESSAGE_FAILURE_REASON_DELEGATE_CLOSED, in testVerifyMessageInOpenCloseState() 76 validator.close(SipDelegateManager.MESSAGE_FAILURE_REASON_DELEGATE_CLOSED); in testVerifyMessageInOpenCloseState() 79 assertEquals(SipDelegateManager.MESSAGE_FAILURE_REASON_DELEGATE_CLOSED, in testVerifyMessageInOpenCloseState() 103 SipDelegateManager.MESSAGE_FAILURE_REASON_INTERNAL_DELEGATE_STATE_TRANSITION); in testVerifyMessageRestricted() 134 assertEquals(SipDelegateManager.MESSAGE_FAILURE_REASON_DELEGATE_CLOSED, in testDeniedFeatureTag() 142 assertEquals(SipDelegateManager.MESSAGE_FAILURE_REASON_INVALID_FEATURE_TAG, in testDeniedFeatureTag() 153 assertEquals(SipDelegateManager.MESSAGE_FAILURE_REASON_DELEGATE_CLOSED, in testRestrictedFeatureTag() 161 assertEquals(SipDelegateManager.MESSAGE_FAILURE_REASON_INVALID_FEATURE_TAG, in testRestrictedFeatureTag() 172 assertEquals(SipDelegateManager.MESSAGE_FAILURE_REASON_DELEGATE_CLOSED, in testNoSupportedFeatureTag() [all …]
|
H A D | IncomingTransportStateValidatorTest.java | 23 import android.telephony.ims.SipDelegateManager; 51 assertEquals(SipDelegateManager.MESSAGE_FAILURE_REASON_DELEGATE_CLOSED, in testVerifyMessageAndUpdateState() 58 validator.close(SipDelegateManager.MESSAGE_FAILURE_REASON_DELEGATE_CLOSED); in testVerifyMessageAndUpdateState() 61 assertEquals(SipDelegateManager.MESSAGE_FAILURE_REASON_DELEGATE_CLOSED, in testVerifyMessageAndUpdateState()
|
H A D | RestrictedOutgoingSipRequestValidatorTest.java | 23 import android.telephony.ims.SipDelegateManager; 48 assertEquals(SipDelegateManager.MESSAGE_FAILURE_REASON_INVALID_START_LINE, in testRegisterNotAllowed() 66 assertEquals(SipDelegateManager.MESSAGE_FAILURE_REASON_INVALID_START_LINE, in testPublishNotAllowed() 85 assertEquals(SipDelegateManager.MESSAGE_FAILURE_REASON_INVALID_START_LINE, in testOptionsNotAllowed()
|
H A D | MalformedSipMessageValidatorTest.java | 23 import android.telephony.ims.SipDelegateManager; 69 assertEquals(SipDelegateManager.MESSAGE_FAILURE_REASON_INVALID_START_LINE, in testInvalidRequest() 90 assertEquals(SipDelegateManager.MESSAGE_FAILURE_REASON_INVALID_START_LINE, in testInvalidResponse()
|
H A D | RestrictedOutgoingSubscribeValidatorTest.java | 23 import android.telephony.ims.SipDelegateManager; 104 assertEquals(SipDelegateManager.MESSAGE_FAILURE_REASON_INVALID_HEADER_FIELDS, in testInvalidSubscribeRequest()
|
/aosp12/packages/services/Telephony/src/com/android/services/telephony/rcs/ |
H A D | SipDelegateController.java | 23 import android.telephony.ims.SipDelegateManager; 237 SipDelegateManager.MESSAGE_FAILURE_REASON_INTERNAL_DELEGATE_STATE_TRANSITION, 238 SipDelegateManager.MESSAGE_FAILURE_REASON_INTERNAL_DELEGATE_STATE_TRANSITION, 240 SipDelegateManager.SIP_DELEGATE_DESTROY_REASON_REQUESTED_BY_APP); 296 case SipDelegateManager.SIP_DELEGATE_DESTROY_REASON_SERVICE_DEAD: 297 return SipDelegateManager.MESSAGE_FAILURE_REASON_DELEGATE_DEAD; 298 case SipDelegateManager.SIP_DELEGATE_DESTROY_REASON_REQUESTED_BY_APP: 299 case SipDelegateManager.SIP_DELEGATE_DESTROY_REASON_USER_DISABLED_RCS: 300 return SipDelegateManager.MESSAGE_FAILURE_REASON_DELEGATE_CLOSED; 302 return SipDelegateManager.MESSAGE_FAILURE_REASON_UNKNOWN; [all …]
|
H A D | SipTransportController.java | 31 import android.telephony.ims.SipDelegateManager; 188 SipDelegateManager.SIP_DELEGATE_DESTROY_REASON_SERVICE_DEAD); in onCallbackDied() 354 SipDelegateManager.SIP_DELEGATE_DESTROY_REASON_SUBSCRIPTION_TORN_DOWN) in onDestroy() 768 case SipDelegateManager.SIP_DELEGATE_DESTROY_REASON_UNKNOWN: in isForcedFromReason() 771 case SipDelegateManager.SIP_DELEGATE_DESTROY_REASON_REQUESTED_BY_APP: in isForcedFromReason() 773 case SipDelegateManager.SIP_DELEGATE_DESTROY_REASON_USER_DISABLED_RCS: in isForcedFromReason() 775 case SipDelegateManager.SIP_DELEGATE_DESTROY_REASON_SERVICE_DEAD: in isForcedFromReason() 777 case SipDelegateManager.SIP_DELEGATE_DESTROY_REASON_SUBSCRIPTION_TORN_DOWN: in isForcedFromReason() 860 SipDelegateManager.DENIED_REASON_NOT_ALLOWED)); in changeSupportedFeatureTags() 922 SipDelegateManager.DENIED_REASON_NOT_ALLOWED)); [all …]
|
H A D | MessageTransportWrapper.java | 26 import android.telephony.ims.SipDelegateManager; 141 SipDelegateManager.MESSAGE_FAILURE_REASON_DELEGATE_DEAD); 148 SipDelegateManager.MESSAGE_FAILURE_REASON_DELEGATE_DEAD); 196 SipDelegateManager.MESSAGE_FAILURE_REASON_DELEGATE_DEAD); 456 return new ValidationResult(SipDelegateManager.MESSAGE_FAILURE_REASON_UNKNOWN, in maybeOverrideValidationForTesting()
|
/aosp12/packages/services/Telephony/tests/src/com/android/services/telephony/rcs/ |
H A D | SipDelegateControllerTest.java | 36 import android.telephony.ims.SipDelegateManager; 120 SipDelegateManager.DENIED_REASON_NOT_ALLOWED)); in testCreateDeniedFeatures() 134 SipDelegateManager.DENIED_REASON_NOT_ALLOWED)); in testCreateDeniedFeatures() 169 SipDelegateManager.SIP_DELEGATE_DESTROY_REASON_REQUESTED_BY_APP); in testDestroyDelegate() 181 SipDelegateManager.SIP_DELEGATE_DESTROY_REASON_REQUESTED_BY_APP); in testDestroyDelegate() 183 SipDelegateManager.SIP_DELEGATE_DESTROY_REASON_REQUESTED_BY_APP); in testDestroyDelegate() 198 SipDelegateManager.SIP_DELEGATE_DESTROY_REASON_REQUESTED_BY_APP); in testDestroyDelegateForce() 202 SipDelegateManager.MESSAGE_FAILURE_REASON_DELEGATE_CLOSED); in testDestroyDelegateForce() 209 SipDelegateManager.SIP_DELEGATE_DESTROY_REASON_REQUESTED_BY_APP); in testDestroyDelegateForce() 211 SipDelegateManager.SIP_DELEGATE_DESTROY_REASON_REQUESTED_BY_APP); in testDestroyDelegateForce() [all …]
|
H A D | SipDelegateBinderConnectionTest.java | 35 import android.telephony.ims.SipDelegateManager; 102 baseConnection.destroy(SipDelegateManager.SIP_DELEGATE_DESTROY_REASON_REQUESTED_BY_APP, in testBaseImpl() 105 SipDelegateManager.SIP_DELEGATE_DESTROY_REASON_REQUESTED_BY_APP); in testBaseImpl() 121 SipDelegateManager.DENIED_REASON_IN_USE_BY_ANOTHER_DELEGATE)); in testCreateConnection() 160 destroy(connection, SipDelegateManager.SIP_DELEGATE_DESTROY_REASON_REQUESTED_BY_APP); in testDestroyConnection() 161 cb.onDestroyed(SipDelegateManager.SIP_DELEGATE_DESTROY_REASON_REQUESTED_BY_APP); in testDestroyConnection() 163 SipDelegateManager.SIP_DELEGATE_DESTROY_REASON_REQUESTED_BY_APP); in testDestroyConnection() 181 destroy(connection, SipDelegateManager.SIP_DELEGATE_DESTROY_REASON_REQUESTED_BY_APP); in testDestroyConnectionDead() 183 SipDelegateManager.SIP_DELEGATE_DESTROY_REASON_REQUESTED_BY_APP); in testDestroyConnectionDead() 241 SipDelegateManager.DENIED_REASON_NOT_ALLOWED)); in getMmTelDeniedTag()
|
H A D | MessageTransportWrapperTest.java | 37 import android.telephony.ims.SipDelegateManager; 116 SipDelegateManager.DENIED_REASON_INVALID)); in testOpenTransport() 220 eq(SipDelegateManager.MESSAGE_FAILURE_REASON_DELEGATE_DEAD)); in testDelegateConnectionSendOutgoingMessage() 223 SipDelegateManager.MESSAGE_FAILURE_REASON_DELEGATE_CLOSED, "")) in testDelegateConnectionSendOutgoingMessage() 228 SipDelegateManager.MESSAGE_FAILURE_REASON_DELEGATE_CLOSED); in testDelegateConnectionSendOutgoingMessage() 247 SipDelegateManager.MESSAGE_FAILURE_REASON_NETWORK_NOT_AVAILABLE); in testDelegateConnectionNotifyMessageReceiveError() 249 SipDelegateManager.MESSAGE_FAILURE_REASON_NETWORK_NOT_AVAILABLE); in testDelegateConnectionNotifyMessageReceiveError() 277 SipDelegateManager.MESSAGE_FAILURE_REASON_DELEGATE_DEAD); in testDelegateOnMessageReceived() 280 SipDelegateManager.MESSAGE_FAILURE_REASON_DELEGATE_DEAD, "")) in testDelegateOnMessageReceived() 284 SipDelegateManager.MESSAGE_FAILURE_REASON_DELEGATE_DEAD); in testDelegateOnMessageReceived() [all …]
|
H A D | TransportSipMessageValidatorTest.java | 36 import android.telephony.ims.SipDelegateManager; 122 assertEquals(SipDelegateManager.MESSAGE_FAILURE_REASON_STALE_IMS_CONFIGURATION, in testTransportOpenConfigChange() 206 }, SipDelegateManager.MESSAGE_FAILURE_REASON_INTERNAL_DELEGATE_STATE_TRANSITION, in testTransportClosingGracefullyNoPendingSessions() 207 SipDelegateManager.MESSAGE_FAILURE_REASON_DELEGATE_CLOSED); in testTransportClosingGracefullyNoPendingSessions() 228 }, SipDelegateManager.MESSAGE_FAILURE_REASON_INTERNAL_DELEGATE_STATE_TRANSITION, in testTransportClosingGracefullyCloseCallIds() 229 SipDelegateManager.MESSAGE_FAILURE_REASON_DELEGATE_CLOSED); in testTransportClosingGracefullyCloseCallIds() 258 }, SipDelegateManager.MESSAGE_FAILURE_REASON_INTERNAL_DELEGATE_STATE_TRANSITION, in testTransportClosingGracefullyThenForceClose() 259 SipDelegateManager.MESSAGE_FAILURE_REASON_DELEGATE_CLOSED); in testTransportClosingGracefullyThenForceClose() 267 SipDelegateManager.MESSAGE_FAILURE_REASON_DELEGATE_CLOSED).isEmpty()); in testTransportClosingGracefullyThenForceClose() 288 SipDelegateManager.MESSAGE_FAILURE_REASON_DELEGATE_CLOSED); in testTransportClosingGracefullyTimeout() [all …]
|
H A D | SipTransportControllerTest.java | 44 import android.telephony.ims.SipDelegateManager; 327 SipDelegateManager.SIP_DELEGATE_DESTROY_REASON_REQUESTED_BY_APP); in basicCreateDestroy() 348 SipDelegateManager.SIP_DELEGATE_DESTROY_REASON_SERVICE_DEAD); in createDestroyAppDied() 353 SipDelegateManager.SIP_DELEGATE_DESTROY_REASON_SERVICE_DEAD); in createDestroyAppDied() 365 SipDelegateManager.DENIED_REASON_NOT_ALLOWED); in testCreateButNotInRole() 412 SipDelegateManager.DENIED_REASON_NOT_ALLOWED); in createTwoAndTriggerRoleChange() 422 SipDelegateManager.DENIED_REASON_NOT_ALLOWED); in createTwoAndTriggerRoleChange() 611 SipDelegateManager.SIP_DELEGATE_DESTROY_REASON_SERVICE_DEAD); in testRcsManagerGoneDestroyTriggered() 615 SipDelegateManager.SIP_DELEGATE_DESTROY_REASON_SERVICE_DEAD); in testRcsManagerGoneDestroyTriggered() 709 SipDelegateManager.DENIED_REASON_NOT_ALLOWED), 0); in testFeatureTagsDeniedByConfig() [all …]
|
H A D | DelegateStateTrackerTest.java | 31 import android.telephony.ims.SipDelegateManager; 125 SipDelegateManager.SIP_DELEGATE_DESTROY_REASON_REQUESTED_BY_APP); in testDelegateDestroyed() 127 SipDelegateManager.SIP_DELEGATE_DESTROY_REASON_REQUESTED_BY_APP); in testDelegateDestroyed() 129 eq(SipDelegateManager.SIP_DELEGATE_DESTROY_REASON_REQUESTED_BY_APP)); in testDelegateDestroyed() 234 SipDelegateManager.DENIED_REASON_NOT_ALLOWED)); in testDelegateChangingDeniedTagsChanged() 278 SipDelegateManager.SIP_DELEGATE_DESTROY_REASON_REQUESTED_BY_APP); in testDelegateChangingDeniedTagsChangingToDestroy() 303 SipDelegateManager.SIP_DELEGATE_DESTROY_REASON_REQUESTED_BY_APP); in testDelegateChangingDeniedTagsChangingToDestroy() 309 SipDelegateManager.DENIED_REASON_NOT_ALLOWED)); in getMmTelDeniedTag()
|
/aosp12/packages/services/Telephony/src/com/android/services/telephony/rcs/validator/ |
H A D | OutgoingTransportStateValidator.java | 19 import android.telephony.ims.SipDelegateManager; 66 private int mReason = SipDelegateManager.MESSAGE_FAILURE_REASON_DELEGATE_CLOSED; 147 + SipDelegateManager.MESSAGE_FAILURE_REASON_STRING_MAP.getOrDefault(mReason, in toString() 158 return new ValidationResult(SipDelegateManager.MESSAGE_FAILURE_REASON_NOT_REGISTERED, in verifyOpenMessage() 164 SipDelegateManager.MESSAGE_FAILURE_REASON_INVALID_START_LINE, in verifyOpenMessage() 199 SipDelegateManager.MESSAGE_FAILURE_REASON_INVALID_FEATURE_TAG, in validateMessageFeatureTag() 204 SipDelegateManager.MESSAGE_FAILURE_REASON_INVALID_FEATURE_TAG, in validateMessageFeatureTag() 210 SipDelegateManager.MESSAGE_FAILURE_REASON_INVALID_FEATURE_TAG, in validateMessageFeatureTag()
|
H A D | ValidationResult.java | 19 import android.telephony.ims.SipDelegateManager; 53 restrictedReason = SipDelegateManager.MESSAGE_FAILURE_REASON_UNKNOWN; in ValidationResult() 63 public ValidationResult(@SipDelegateManager.MessageFailureReason int reason, String log) { in ValidationResult()
|
H A D | RestrictedOutgoingSipRequestValidator.java | 19 import android.telephony.ims.SipDelegateManager; 46 SipDelegateManager.MESSAGE_FAILURE_REASON_INVALID_START_LINE, in validate() 52 SipDelegateManager.MESSAGE_FAILURE_REASON_INVALID_START_LINE, in validate()
|
H A D | IncomingTransportStateValidator.java | 19 import android.telephony.ims.SipDelegateManager; 46 private int mReason = SipDelegateManager.MESSAGE_FAILURE_REASON_DELEGATE_CLOSED; 78 + SipDelegateManager.MESSAGE_FAILURE_REASON_STRING_MAP.getOrDefault(mReason, in toString()
|
H A D | RestrictedOutgoingSubscribeValidator.java | 19 import android.telephony.ims.SipDelegateManager; 49 SipDelegateManager.MESSAGE_FAILURE_REASON_INVALID_START_LINE, in validate() 66 SipDelegateManager.MESSAGE_FAILURE_REASON_INVALID_HEADER_FIELDS, in validate()
|
H A D | MalformedSipMessageValidator.java | 19 import android.telephony.ims.SipDelegateManager; 37 SipDelegateManager.MESSAGE_FAILURE_REASON_INVALID_START_LINE, in validate()
|
/aosp12/frameworks/base/telephony/java/android/telephony/ims/stub/ |
H A D | DelegateConnectionMessageCallback.java | 22 import android.telephony.ims.SipDelegateManager; 55 @SipDelegateManager.MessageFailureReason int reason); in onMessageSendFailure()
|
H A D | SipDelegate.java | 26 import android.telephony.ims.SipDelegateManager; 98 @SipDelegateManager.MessageFailureReason int reason); in notifyMessageReceiveError()
|
H A D | DelegateConnectionStateCallback.java | 27 import android.telephony.ims.SipDelegateManager; 173 void onDestroyed(@SipDelegateManager.SipDelegateDestroyReason int reason); in onDestroyed()
|
H A D | SipTransportImplBase.java | 28 import android.telephony.ims.SipDelegateManager; 144 @SipDelegateManager.SipDelegateDestroyReason int reason) { in destroySipDelegate() 200 SipDelegateManager.SIP_DELEGATE_DESTROY_REASON_SERVICE_DEAD); in binderDiedInternal()
|
/aosp12/frameworks/base/telephony/java/android/telephony/ims/aidl/ |
H A D | SipDelegateConnectionAidlWrapper.java | 27 import android.telephony.ims.SipDelegateManager; 178 SipDelegateManager.MESSAGE_FAILURE_REASON_DELEGATE_CLOSED); in sendMessage() 184 SipDelegateManager.MESSAGE_FAILURE_REASON_DELEGATE_DEAD); in sendMessage() 232 SipDelegateManager.SIP_DELEGATE_DESTROY_REASON_SERVICE_DEAD)); in binderDied()
|