Home
last modified time | relevance | path

Searched refs:fromTag (Results 1 – 5 of 5) sorted by relevance

/packages/services/Telephony/tests/src/com/android/services/telephony/rcs/
DSipDialogTest.java43 String fromTag = "abcd"; in testCreateEarlyDialog() local
48 fromTag, null /*toTag*/); in testCreateEarlyDialog()
63 String fromTag = "abcd"; in testIsResponseAssociated() local
68 fromTag, null /*toTag*/); in testIsResponseAssociated()
74 BASE_CONTACT_URI_ALICE, BASE_CONTACT_URI_BOB, branchId, callId, fromTag, in testIsResponseAssociated()
79 BASE_CONTACT_URI_ALICE, BASE_CONTACT_URI_BOB, branchId, callId, fromTag, in testIsResponseAssociated()
91 BASE_CONTACT_URI_ALICE, BASE_CONTACT_URI_BOB, branchId2, callId, fromTag, in testIsResponseAssociated()
97 BASE_CONTACT_URI_ALICE, BASE_CONTACT_URI_BOB, branchId, callId2, fromTag, in testIsResponseAssociated()
105 String fromTag = "abcd"; in testFork() local
110 fromTag, null /*toTag*/); in testFork()
[all …]
DSipMessageUtils.java37 String toContact, String toUri, String branchId, String callId, String fromTag, in generateSipRequest() argument
41 header += "From: " + addParamToHeader(fromContact, "tag", fromTag); in generateSipRequest()
55 String fromContact, String toContact, String branchId, String callId, String fromTag, in generateSipResponse() argument
59 header += "From: " + addParamToHeader(fromContact, "tag", fromTag); in generateSipResponse()
DSipSessionTrackerTest.java73 public final String fromTag; field in SipSessionTrackerTest.DialogAttributes
85 fromTag = getNextString(); in DialogAttributes()
91 String fromTag, String toUri, String toTag) { in DialogAttributes() argument
96 this.fromTag = fromTag; in DialogAttributes()
109 return new DialogAttributes(branchId, callId, mFromUri, fromTag, toUri, null); in fromExisting()
113 return new DialogAttributes(branchId, callId, toUri, fromTag, mFromUri, toTag); in invertFromTo()
613 attr.toUri, attr.branchId, attr.callId, attr.fromTag, attr.toTag); in generateSipRequest()
618 attr.toHeader, attr.branchId, attr.callId, attr.fromTag, attr.toTag); in generateSipResponse()
DTransportSipMessageValidatorTest.java540 String fromTag = "tag=1928301774"; in generateSipResponse() local
543 toHeader, branchId, callId, fromTag, toTag); in generateSipResponse()
550 String fromTag = "tag=1928301774"; in generateSipRequest() local
554 toUri, branchId, callId, fromTag, toTag); in generateSipRequest()
/packages/services/Telephony/src/com/android/services/telephony/rcs/
DSipDialog.java75 String fromTag = SipMessageParsingUtils.getFromTag(m.getHeaderSection()); in fromSipMessage()
78 return new SipDialog(m.getViaBranchParameter(), m.getCallIdParameter(), fromTag, in fromSipMessage()
90 private SipDialog(String branchId, String callId, String fromTag, Set<String> featureTags) { in SipDialog() argument
93 mFromTag = fromTag; in SipDialog()
185 String fromTag = SipMessageParsingUtils.getFromTag(m.getHeaderSection()); in isResponseAssociatedWithDialog()
186 return mFromTag.equals(fromTag); in isResponseAssociatedWithDialog()
195 String fromTag = SipMessageParsingUtils.getFromTag(m.getHeaderSection()); in isRequestAssociatedWithDialog()
199 if (fromTag == null || toTag == null || mToTag == null) return false; in isRequestAssociatedWithDialog()
202 return (mFromTag.equals(fromTag) || mFromTag.equals(toTag)) in isRequestAssociatedWithDialog()
203 && (mToTag.equals(toTag) || mToTag.equals(fromTag)); in isRequestAssociatedWithDialog()