Age | Commit message (Collapse) | Author |
|
In VZW TC 3.18, the device did not need to send a PUBLISH when a 412 response was received for a UN PUBLISH request.
Turn on airplane mode for testing. As a result, the device sends a UN PUBLISH request. However, since airplane mode has changed, the Framework sends a PUBLISH request to the ImsService.
So this case failed.
Bug: b/243137045
Test: Turn on airplane mode > deice sends a UN PUBLISH request > Not handle airplane mode change event in the publish controller.
Test: atest DeviceCapabilityListenerTest
Change-Id: Id96bd4a233e9208865afaa9c3fe0cccb239bad93
Merged-In: Id96bd4a233e9208865afaa9c3fe0cccb239bad93
(cherry picked from commit b4a75a44ff977b0e9bfb215cdde502901ca36d6c)
|
|
Without this additional check we can end up handling
ACTION_TTY_PREFERRED_MODE_CHANGE from an unpriviledged app
Currently this intent is sent by dialer on 1P devices, so
it cannot be converted to a protected-broadcast
Bug: 236264289
Tests: atest DeviceCapabilityListenerTest
Change-Id: I221b28dd3e1f7ed51f915dc79a62f8818f8a65a2
|
|
When the IMS call is closed, in some cases, a pending RTT
initialization request could still be in the queue to be
processed. Since this depends on resources that have since been
release, it can cause an NPE.
Guard against this condition and return early if this condition
is hit.
Bug: 236279778
Test: atest FrameworksTelephonyTests:ImsCallTest
Change-Id: I1c734eebd8135655752e646c5967e65cfe140c89
|
|
There can be call attempts made before the ims service
is initialized. In this case, shouldProcessCall should
throw an exception, else it might result in subsequent call
failure in IMS.
Bug: 232514463
Test: atest ImsManagerTest
Change-Id: I81a25250a65bf6af0910c57f093ebbc71bad1dba
(cherry picked from commit 7b6fb80d5ec80d4ef996453f16403727d17ff279)
|
|
ImaManager used ImsProvisioningController. When the subId is not valid,
ImsProvisioningController throws IllegalArgumentException. Exception
handling code updated for ImsManager.
Bug: 233114326
Test: atest ImsManagerTest
Change-Id: I634ff650ce1d144bcc19952d99a57140be00056f
|
|
Bug: b/229669620
Test: atest ImsCommonTests; confirmed PUBLISH 200 OK on TMO
Change-Id: I5399b58a14e3522697d9be4a8fb92aebee6d5b5b
|
|
Add use_tel_uri_for_pidf_xml field for ATT-UCE 430
Set the added filed to false by defaut and true for ATT
If the field is true, get the first TEL URI from associated uris.
Bug: b/229669620
Test: PUBLSIH-200 OK in live network
Test: Forcibly set tel and sip uri to assocoated uri and change the field value to see if the desired URI is obtained.
Test: atest DeviceCapabilityInfoTest
Merged-In: I64537994418beb37c7a05c206cebe5bbc9fcb8f5
Change-Id: I64537994418beb37c7a05c206cebe5bbc9fcb8f5
|
|
not completed" into tm-dev
|
|
check if the EAB provisioned." into tm-dev
|
|
Delete code that access deprecated carrier config key, and hand over to
ImsProvisioningController
Bug: 230794289
Test: atest ImsManagerTest, ImsServiceTest
Test: manual with TMO, ATT SIM
1. add carrier config carrier_volte_provisioning_required_bool as true
2. device reboot
3. check IMS registration and imsprovisioningstatus_X.xml file is created by ImsProvisioningLoader
Change-Id: I289e0787ab90957a5c5eb03b4bff9b0ee35160d6
|
|
the EAB provisioned.
Replace the KEY_CARRIER_VOLTE_PROVISIONED_BOOL with bundle/tech to check if the EAB provisioned.
Bug: 229793066
Test: atest ImsService, ImsCommonTests
Test: manual test with TMO, PUBLISH OK
Change-Id: Idb70802ba524807fc298e4d47a82cbe6d44dff1c
|
|
|
|
Handle IllegalStateException for increasing logging incase such excpetion occures.
Test: atest CtsTelephonyTestCases:ImsCallingTest
Bug: 229756822
Merged-In: Iea42ae7c41eb424978bf4390aa8cea63fbd81fce
Change-Id: Iea42ae7c41eb424978bf4390aa8cea63fbd81fce
(cherry picked from commit 4bacd9b15a36491fd5727c836258de19905c6ae7)
|
|
Upon receiving 480,486,500,503,603 responses to PUBLISH, the device state set to re_try.
If the device state is retry, the PUBLISH requests should be blocked until the vendor called CapabilityExchangeEventListener#onPublishUpdated or CapabilityExchangeEventListener#onRequestPublishCapabilities.
Test: atest PublishControllerImplTest CapabilityRequestTest UceControllerTest
Bug: b/228781651
Change-Id: I0a4d41a885ff3d212f1d003602b83ccf5ed0a430
|
|
rcs_publish_source_throttle_ms
This is to prevent an accident in which an incorrect value is set.
Bug: b/229396800
Test: Build pass
Change-Id: I283bcadb6bf1e91635d4052a1e67cc0bcb8db56d
|
|
data is immediately deleted from the EAB DB." am: d9f22e0d8f am: 4f956cc5a8 am: 148dbf8421
Original change: https://android-review.googlesource.com/c/platform/frameworks/opt/net/ims/+/2058852
Change-Id: Iab71d55369cd795fef825a06a860af32abee2b2a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
fixed CapabilityCallbackManager#unregisterCallback to complete successfully." into tm-dev
|
|
am: 3263fd22ef am: 0b25267de2 am: 921b824036
Original change: https://android-review.googlesource.com/c/platform/frameworks/opt/net/ims/+/2058847
Change-Id: I78ebefcc9217ebb846bea59c264d4575bffb4eff
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
CapabilityCallbackManager#unregisterCallback to complete successfully.
Change CapabilityCallbackManager#unregisterCallback to use #isBinderAlive instead of using #checkServiceIsReady.
Bug: 225259107
Test: atest ImsCommonTests
Change-Id: Ie5fdc093701a6a1602372a80125629e96d7775bf
|
|
immediately deleted from the EAB DB.
However, if you request the information just saved in DB, EabControllerImpl can generate information based on invalid data.
Bug: b/227862302
Test: atest CtsTelephonyTestCases:EabControllerTest and EabControllerTest
Change-Id: I357cbc22821bf8847ba3ac5fb8a98da15fd4d53a
Merged-In: I357cbc22821bf8847ba3ac5fb8a98da15fd4d53a
|
|
Bug: b/202966224
Test: TMUS-TTY Call on wifi with O6(oriole) device in Kansas
Test: Volte/WFC dial and disconnect basic test
Test: ATest ImsManagerTest testTtyStats
Change-Id: If165cd18d9ed9ae75f7c8a3732948cc9f3df45fd
|
|
According to RCC.59 v5, if a device receives malformed/corrupted xml it should keep the old functionality.
However, if the presence element is malformed, that contact is set to the non-rcs user.
And if one of the tuple in xml is malformed, another valid tuple should be parsed and stored in DB.
Don't save anything if all tuples in xml are malformed.
Bug: b/225998718
Test: atest PresenceTest TupleTest
Test: cts CtsTelephonyTestCases:RcsUceAdapterTest
Change-Id: I4839a45f933092a9bd42d74564797bacfeac49c1
Merged-In: I4839a45f933092a9bd42d74564797bacfeac49c1
|
|
directly
Refactoring ImsManager to access aosp storage instead accessing ImsConfig directly. Removed not used functions.
Bug: 227405288
Test: atest ImsManagerTest
Test: cts ImsServiceTest
Test: manual with AT&T and TMUS sim
basic VoLTE MO/MT call setup
basic WFC MO/MT call setup
Change-Id: I4c1ea4ab37d78088f3faea1187258f073aef1b19
|
|
Adapt new provisioning keys KEY_MMTEL_REQUIRES_PROVISIONING_BUNDLE, KEY_RCS_REQUIRES_PROVISIONING_BUNDLE for VoLTE/VoNR, VT, VoWiFi
instead of KEY_CARRIER_RCS_PROVISIONING_REQUIRED_BOOL, KEY_CARRIER_VOLTE_PROVISIONING_REQUIRED_BOOL, KEY_CARRIER_UT_PROVISIONING_REQUIRED_BOOL.
Bug: 186798382
Test: atest ImsManagerTest
Test: cts ImsServiceTest
Test: manual with AT&T and TMUS sim
basic VoLTE MO/MT call setup
basic WFC MO/MT call setup
Change-Id: I2960015b34e75b4a356d43d862d20886827125d1
|
|
PUBLISH request am: 3195dc704d am: 5bc043b00c am: 943fc668d8
Original change: https://android-review.googlesource.com/c/platform/frameworks/opt/net/ims/+/2048563
Change-Id: I2d9015cdf5bcd5e39ff511a68a4047258e698e4c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
|
PUBLISH request
As per AT&T requirements, if a device receives a 504 response to a PUBLISH request, it is treated like a received 403 response.
However, the current AOSP framework is missing for this.
Bug: b/225094509
Test: atest CtsTelephonyTestCases:ImsServiceTest
Change-Id: I43665589e735023de9c8d3d3138e23d094910c19
Merged-In: I43665589e735023de9c8d3d3138e23d094910c19
|
|
Original change: https://android-review.googlesource.com/c/platform/frameworks/opt/net/ims/+/2011982
Change-Id: I4802449adeae1c8fcebe8bd56f135fdfc11572e5
|
|
EAB stores capabilities in two different tables (common, presence), and
stores the expiration time in the Presence table, because a contact may
have multiple tuples, and each tuple may have its own expiration time.
But if the server sends capabilities with empty tuples, EAB will not
store any data in the Presence table. It causes the EAB to treat it as
an expired capability and request a new capability every time.
[Fix] If there is no tuple ability, store the current timestamp and null
presence attributes in the presence table.
Bug: 203676348
Test: atest EabControllerTest
Merged-In: Id54a71b71d353f3d2fa5c3246ab534ad581fe245
Change-Id: Id54a71b71d353f3d2fa5c3246ab534ad581fe245
|
|
* changes:
Revert "Add a new api that does not send PUBLISH request with duplicated presence capabilities"
Revert "Set mPendingPublicCapabilities to the currently registered service description"
|
|
presence capabilities"
This reverts commit 08151870e5579a2e56eb4dcfbc48326393fbeacb.
Reason for revert: CL caused NPE in certain scenarios - b/220236505
Change-Id: I7d6843f6cbabd499a99f530409e247228e9a8f27
|
|
description"
This reverts commit 0407bd9e1876d2290526fbd1c2cc762a646f20ad.
Reason for revert: CL caused NPE in certain scenarios - b/220236505
Change-Id: I0d9947ad996fe9838fa1307eb9f4271203754525
|
|
Waiting for the subId of ImsManager to match the
remote MmTelFeature is too slow and is exposing
many race conditions with the vendor ImsServices
which expect IMS configurations to be available
when they receive CARRIER_CONFIG_CHANGED and not
once the IMS service loads the new configuration.
Bug: 217748245
Test: atest ImsCommonTests CtsTelephonyTestCases
Change-Id: I56e9f1134893940125fb381172238e177b618a5a
|
|
Revert "Enforce the subId of a request matches the active subId ..."
Revert submission 16908142-enforce_subId
Reason for revert: b/217748245
Reverted Changes:
Ie9838dde5:Expose getSubId to ensure we have correct subId st...
I4ec85c201:Enforce the subId of a request matches the active ...
Change-Id: I015e2e6dd3e7a12e282a4c8aaaa9a3e5324a8ffd
|
|
description am: 35a6054b00 am: 51cd405955 am: c92d27d0ea
Original change: https://android-review.googlesource.com/c/platform/frameworks/opt/net/ims/+/1991493
Change-Id: I58268fcd343839857da0583e5cef6873cf2acd70
|
|
description am: 35a6054b00
Original change: https://android-review.googlesource.com/c/platform/frameworks/opt/net/ims/+/1991493
Change-Id: I399946166e8c3e620e4f143e1bcd765e1b5d7908
|
|
If getDeviceCapabilities() is called when mechanism is PRESENCE, set mPendingPublicCapabilities to the currently registered service description.
Test: atest DeviceCapabilityInfoTest
Bug: b/220236505
Change-Id: Icaf0b7430879f295e9981821180d311c2e14a535
Merged-In: Icaf0b7430879f295e9981821180d311c2e14a535
|
|
capabilities am: 1035afff32
Original change: https://android-review.googlesource.com/c/platform/frameworks/opt/net/ims/+/1989826
Change-Id: Ib141818f153ce0d5653ebc4db397e3e9ac42aed2
|
|
registration"
|
|
|
|
capabilities
Add API that get RcsContactUsCapability when there are changed presence capabilities.
If there is no changed presence capabilities, do not send PUBLISH request.
Test: atest DeviceCapabilityInfoTest, PublishProcessor
Bug: b/215749573
Change-Id: Ifbf9b4f27a51acd89e3472cd8c68cd2659e3ffd6
Merged-In: Ifbf9b4f27a51acd89e3472cd8c68cd2659e3ffd6
|
|
presence capabilities"
|
|
Simulate existing behavior for when IMS is not ready by throwing an
IllegalStateException until IMS callbacks can be registered. This will
ensure there is no way that a callback can be registered and then removed
invisibly once the IMS stack catches up to the state of telephony.
Bug: 219529364
Test: atest FrameworksTelephonyTests; manual
Change-Id: Ic0e1ea2c9ab81dd9c7bb99825be317f8703a5f67
|
|
Expose getSubId in order to allow consumers of ImsManager to
know if ImsManager does not match the requested subId.
Fixes: 218893458
Bug: 219529364
Test: atest ImsCommonTests
Change-Id: Ie9838dde5ce628b13937078fa9acf878a0b71dc4
|
|
capabilities
Add API that get RcsContactUsCapability when there are changed presence capabilities.
If there is no changed presence capabilities, do not send PUBLISH request.
Test: atest DeviceCapabilityInfoTest, PublishProcessor
Bug: b/215749573
Change-Id: Ifbf9b4f27a51acd89e3472cd8c68cd2659e3ffd6
|
|
Original change: https://android-review.googlesource.com/c/platform/frameworks/opt/net/ims/+/1977696
Change-Id: I1c1632ddfaf0ba7418499fa5eb19a676e1faeb01
|
|
|
|
- Add entity uri field to Eab provider.
- If the entity uri value exists in the Eab provider, it will be used as the request uri when sending a single subscription request.
- Add new API to convert input uri to sip uri when carrier config value is set to true.
Add entity uri field to Eab provider
Test: atest EabControllerTest PidfParserTest
Bug: b/195791162
Change-Id: I52937d21b3f2f882615c74bf309b27a0144bab5a
Merged-In: I52937d21b3f2f882615c74bf309b27a0144bab5a
|
|
|
|
When an application requests the UCE capabilities of a list of
numbers, return the cached info from the EAB DB right for numbers
where the cap info hasnt expired yet instead of queueing the request
for those numbers behind other pending network requests. This
helps improve latency issues that were happening when network
requests were taking a long time (1 min+) to finish on the network.
Bug: 205878771
Test: atest ImsCommonTests CtsTelephonyTestCases:RcsUceAdapterTest
Change-Id: Id7f07cbf3107271c7b2e9b9396d2c795974f3311
Merged-In: Id7f07cbf3107271c7b2e9b9396d2c795974f3311
|
|
Bug: 214455710
Merged-In: I1e122c64450d5b504cfaa93197439182c21e0956
Change-Id: I80b403dd9a3cb5527edde81d3b04a87cd18ee040
|