Commit Graph

15422 Commits

Author SHA1 Message Date
Hakjun Choi
37d6c3fde3 Merge changes from topics "imsservice subid notifications", "provisioning improvement", "provisioning_improvement_2" am: ff46fea55c am: 130217ec3d am: 8e0f0ea483
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1958908

Change-Id: I7b83493cfa381d9fad165816714d079ea096281c
2022-02-09 03:25:31 +00:00
Hakjun Choi
fd590dd0af Add Provisioning bundle for indicating if MMTEL/RCS provisioning is required am: 0860f1b1b9 am: f7285040d2 am: 657257a976
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1960145

Change-Id: Ie0dc92d725bc4d7f4b6db1f7b366c79b1daed7f9
2022-02-09 03:25:23 +00:00
Hakjun Choi
0764b830f4 Add public API to ProvisioningManager for IMS/RCS provisioning by am: 893cc94036 am: 14d4fd610b am: d90ecc9b95
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1959039

Change-Id: Ie0f181a69847cc3b17c6c543bee97c54724d7cd2
2022-02-09 03:25:16 +00:00
Jonggeon Kim
70a17b89d7 ImsService Subscription Notifications am: 5e08b37786 am: 995f0055f2 am: 3b6cfbd70a
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1958683

Change-Id: I889033d4f57aad91426cfeeb552574207699b250
2022-02-09 03:25:02 +00:00
Hakjun Choi
f7285040d2 Add Provisioning bundle for indicating if MMTEL/RCS provisioning is required am: 0860f1b1b9
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1960145

Change-Id: I5ad2b2f615f7bd5916605b64fc33cbbd8e770af5
2022-02-09 03:04:00 +00:00
Hakjun Choi
14d4fd610b Add public API to ProvisioningManager for IMS/RCS provisioning by am: 893cc94036
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1959039

Change-Id: I37449b3af57a6e646ded69d8fa78c2e66d6559da
2022-02-09 03:03:55 +00:00
Jonggeon Kim
995f0055f2 ImsService Subscription Notifications am: 5e08b37786
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1958683

Change-Id: I8718672fa22a85e6cea44b1936b75431c25932c2
2022-02-09 03:03:51 +00:00
Hakjun Choi
ff46fea55c Merge changes from topics "imsservice subid notifications", "provisioning improvement", "provisioning_improvement_2"
* changes:
  Fix CTS failure caused by ag/16284012
  Add Provisioning bundle for indicating if MMTEL/RCS provisioning is required
  Add public API to ProvisioningManager for IMS/RCS provisioning by updatable provisioning app
  ImsService Subscription Notifications
2022-02-09 02:39:23 +00:00
Treehugger Robot
7fd397a385 Merge "Unhide API setAllowedNetworkTypesForReason and getSupportedRadioAccessFamily" am: ab1fbb18fe am: cf775da185 am: 52f157a2ea
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1973439

Change-Id: If5d66cb46e8c5052ebca86534aa405182179a32f
2022-02-09 01:27:35 +00:00
Treehugger Robot
ab1fbb18fe Merge "Unhide API setAllowedNetworkTypesForReason and getSupportedRadioAccessFamily" 2022-02-09 00:29:38 +00:00
Meng Wang
d11b5be7c3 Merge "Carrier config KEY_CARRIER_SUPPORTS_TETHERING_BOOL" am: 61ca1475a4 am: d5097a2320 am: 96ff71d1a4
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1964629

Change-Id: I1a4301236572284b972a840b259eedc66eafcdf5
2022-02-08 22:12:15 +00:00
Meng Wang
61ca1475a4 Merge "Carrier config KEY_CARRIER_SUPPORTS_TETHERING_BOOL" 2022-02-08 21:24:06 +00:00
Virkumar Karavate
0e14c36b9d Merge "(ImsService API changes for Better IMS Threading) ImsService to execute binder calls in Executor." am: 984a31a9fb am: ad01874cbf am: 83dd0c4fff
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1958681

Change-Id: I0f5936ddd83b737cd2e9d9f121fbd87184176b0f
2022-02-08 19:21:47 +00:00
Shubham Dubey
433468ed0b Fix CTS failure caused by ag/16284012
BUG:216049141
Test: CTS ImsServiceTest#testProvisioningManagerWhen(Mmtel/Rcs)ProvisionIs(Not)Required

Change-Id: I5265485feac8c5d718288702025c6276f20bb1f0
Merged-In: I5265485feac8c5d718288702025c6276f20bb1f0
2022-02-08 02:10:12 +00:00
Hakjun Choi
0860f1b1b9 Add Provisioning bundle for indicating if MMTEL/RCS provisioning is required
Bug: 214885306
Test: CTS ImsServiceTest#testProvisioningManagerWhen(Mmtel/Rcs)ProvisionIs(Not)Required

Change-Id: I9e0eff60dde4a9f4ea254fa5f8efedd9f5881632
Merged-In: I9e0eff60dde4a9f4ea254fa5f8efedd9f5881632
2022-02-08 02:08:47 +00:00
Hakjun Choi
893cc94036 Add public API to ProvisioningManager for IMS/RCS provisioning by
updatable provisioning app

Bug: 197992603
Test: CTS ImsServiceTest#testProvisioningManagerWhen(Mmtel/Rcs)ProvisionIs(Not)Required
Change-Id: I4fc0759111d15cec01a49a78cda5065bfb7e6c65
Merged-In: I4fc0759111d15cec01a49a78cda5065bfb7e6c65
2022-02-08 02:08:17 +00:00
Jonggeon Kim
5e08b37786 ImsService Subscription Notifications
Provide a new API in ImsService that creates a new version of each ImsFeature and dependencies when a new subId is loaded.
The ImsService handles ImsFeature setup and teardown procedures to happen on a per-subscription basis instead of on a per-slot basis.
Provide the compatibility behavior for older devices that are not upgrading to using the new API.

Bug: 197991451
Test: atest FrameworksTelephonyTests:ImsServiceTest, atest CtsTelephonyTestCases:ImsServiceTest
Merged-In: I231da2f4479d4a4fb272edbf27e49f46833a082a
Change-Id: I231da2f4479d4a4fb272edbf27e49f46833a082a
2022-02-08 02:07:53 +00:00
virkumar
e5c38399ec (ImsService API changes for Better IMS Threading) ImsService to execute binder calls in Executor.
In order to avoid undefined behavior when the framework calls a method through IPC, the ImsService
will now be able to define an Executor that the ImsService can be used to execute the methods

By default all ImsService level method calls will use this Executor.
Sub-classes will also use this Executor unless specified via constuctor which takes executor as an argument.

Test: atest CtsTelephonyTestCases:ImsCallingTest
Bug: 171037053
Merged-In: I10621f9a767ba5bc55373f49caf426e66adbec77
Change-Id: I10621f9a767ba5bc55373f49caf426e66adbec77
2022-02-08 02:07:26 +00:00
Joonhun Shin
bdb0b2ca24 Merge "Add RCS UP 2.4 profile string" am: bbe3fe79ee am: 2a4fdc0efd am: 6ddefa3fde
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1969900

Change-Id: Ibbff2e7fd7ad545592556f7718a6f5599262f120
2022-02-08 01:02:08 +00:00
Joonhun Shin
bbe3fe79ee Merge "Add RCS UP 2.4 profile string" 2022-02-08 00:03:51 +00:00
Ling Ma
5a175d8a4a Unhide API setAllowedNetworkTypesForReason and getSupportedRadioAccessFamily
Make Carrier APIs public for not-preinstalled carrier app to determine whether UE is 5G-capable and set 5G capability

Test: atest cts/tests/tests/telephony/current/src/android/telephony/cts/TelephonyManagerTest.java
Bug: 213937426

Change-Id: I758cad74296e59618122853f479ad4f0c261d726
Merged-In: I758cad74296e59618122853f479ad4f0c261d726
2022-02-04 19:41:32 +00:00
Parvathy Shanmugam
783c1b7c3e Merge changes from topic "IMS Threading Refactoring" am: a28bba3ebe am: 0cf0002495 am: 64bc536b8f
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1964910

Change-Id: I724f53e81675a63960925f18f7a253487021f0c3
2022-02-04 11:41:27 +00:00
Parvathy Shanmugam
e1d1318617 (IMS Threading refactoring) Telephony IMS classes to schedule IMS callback on the main thread am: add3b8d76e am: 62a61e86a2 am: b5ccb150d6
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1964909

Change-Id: I28a4d11eb44dd5b0c91b129767d9596b55698497
2022-02-04 11:41:18 +00:00
Parvathy Shanmugam
62a61e86a2 (IMS Threading refactoring) Telephony IMS classes to schedule IMS callback on the main thread am: add3b8d76e
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1964909

Change-Id: I190e6198ed622c36773226b713abc5149f7ed276
2022-02-04 11:10:58 +00:00
Parvathy Shanmugam
a28bba3ebe Merge changes from topic "IMS Threading Refactoring"
* changes:
  Fix for crash while merging 2 audio calls for initiating conference call
  (IMS Threading refactoring) Telephony IMS classes to schedule IMS callback on the main thread
2022-02-04 10:52:40 +00:00
Sarah Chin
5091c416f3 Merge "Update documentation for onDataProfileUnthrottled" am: fef5a2b0d0 am: 15ce37f61d am: 9f66f1551a
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1970679

Change-Id: I8708556236494206d50bb1c106554f4f8a7e5ff8
2022-02-03 21:10:25 +00:00
Sarah Chin
fef5a2b0d0 Merge "Update documentation for onDataProfileUnthrottled" 2022-02-03 19:54:58 +00:00
Sarah Chin
b303bbf3fd Update documentation for onDataProfileUnthrottled
Test: build
Bug: 213174700
Change-Id: Ib3a6916fd8b16b0dca590766479e5a716b8602ea
2022-02-02 23:35:24 -08:00
joonhunshin
b36f10362c Add RCS UP 2.4 profile string
Add RCS up 2.4 profile string to support new feature.

Bug: 213605777
Test: build
Change-Id: If5b3132469314af16c8cd9ec2a683a336fc6752f
Merged-In: If5b3132469314af16c8cd9ec2a683a336fc6752f
2022-02-03 02:47:30 +00:00
Meng Wang
5b6f553cb9 Carrier config KEY_CARRIER_SUPPORTS_TETHERING_BOOL
Bug: 161206517
Test: make
Change-Id: I94a8f94ed703c5fb25e36b0b24f4b42088a721ab
2022-02-02 21:27:15 +00:00
Rambo Wang
dad6cc8dd0 Merge "Expose grouping and opportunistic carrier config keys." am: 293c5ebb47 am: 761c8c15ad am: b0032d8231
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1317034

Change-Id: I726511556c42d3943213baa761248348cdae651f
2022-02-01 23:09:20 +00:00
Hunter Knepshield
73161658fe Expose grouping and opportunistic carrier config keys.
These have been fully functional since Q, but were not a part of the
public API at that time. This makes the keys public with a note that
they'll work all the way back to Q (API 29).

The security concern has been resolved in b/181053462.

Fix: 130676550
Test: m update-api && m offline-sdk-docs && m -j
Change-Id: Ie2e4370999d48543517346e933ac35f6d298a127
2022-02-01 07:42:50 -08:00
Parvathy Shanmugam
be7c8dca0d Fix for crash while merging 2 audio calls for initiating conference call
Null pointer exception occured while calling callsessionupdated on listener object.
Listener turned null at the time of executor method is on run. Null check is present before setting the call to executor.
Modified the null checks to be inside of the executor.

Test: Conference call in oriole userdebug
Bug: 210701681
Change-Id: Iffeedb669b4abb9b4f32f015aaea4ba3b99c00f5
Merged-In: Iffeedb669b4abb9b4f32f015aaea4ba3b99c00f5
2022-01-28 18:31:13 +00:00
Parvathy Shanmugam
add3b8d76e (IMS Threading refactoring) Telephony IMS classes to schedule IMS callback on the main thread
Modified to schedule callbacks on main thread or callback executor rather than on binder thread
Introducing utility api runWithCleanCallingIdentity to run the action in executor

Test: atest FrameworksTelephonyTests:ImsCallTest
Bug: 197989471
Change-Id: Icdb0750d63f242eb79351781a4b75ca745c30083
Merged-In: Icdb0750d63f242eb79351781a4b75ca745c30083
2022-01-28 08:58:24 +00:00
Treehugger Robot
39173ceda9 Merge "Create EVENT_TRAFFIC_DESCRIPTORS_UPDATED" am: 35ac7e34ce am: d47e88e58c am: c15388da45
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1917117

Change-Id: Ia1614829270826538a56e92ec1946ab73308d970
2022-01-27 02:45:22 +00:00
Treehugger Robot
35ac7e34ce Merge "Create EVENT_TRAFFIC_DESCRIPTORS_UPDATED" 2022-01-27 01:49:59 +00:00
Nathan Harold
ed191fe1fc Merge "Expose Constructor for ModemActivityInfoException" am: 5887444f2d am: 145cbd8f52 am: c6461bb7f7
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1960939

Change-Id: Ie2b01c3f591c7f5c1b92341b35b1088a5ea0a754
2022-01-26 23:02:31 +00:00
Nathan Harold
5887444f2d Merge "Expose Constructor for ModemActivityInfoException" 2022-01-26 22:00:07 +00:00
Hyunho Shin
3ae9cfec98 Merge "Add new publish trigger type" am: 8bf02e51dc am: cdb03e5cda am: 99dc6717fd
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1959005

Change-Id: I8f9fa61ab900107f3ff6849fb29927bd7feaa104
2022-01-25 23:46:24 +00:00
Hyunho Shin
8bf02e51dc Merge "Add new publish trigger type" 2022-01-25 23:00:15 +00:00
Nathan Harold
10fc628397 Expose Constructor for ModemActivityInfoException
ModemActivityInfoException is a SystemApi but the constructor
is not. There's a longstanding need to expose it for testing.

Bug: 186152174
Test: make update-api && make offline-sdk-docs
Change-Id: I609b4a893e2f4fad54d29e09234da08a45efac78
2022-01-25 12:51:11 -08:00
Hyunho
67dc9a4cd3 Add new publish trigger type
Add a new type that is registered to IMS via Internet.
Bug: b/213613736
Test: Build

Change-Id: I6d4802ff12e4b3594cc81903cd83b6f9af6b88b0
Merged-In: I6d4802ff12e4b3594cc81903cd83b6f9af6b88b0
2022-01-25 00:03:09 +00:00
Eden Su
ead674f893 Merge "Add carrier config for EAP-AKA fast reauth feature" am: 55d337b11b am: 476359da49 am: e9973e0c17
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1956048

Change-Id: I6c9f187e936a39526d81e6faf1519e873da46575
2022-01-22 03:58:04 +00:00
Eden Su
55d337b11b Merge "Add carrier config for EAP-AKA fast reauth feature" 2022-01-22 03:09:42 +00:00
Treehugger Robot
f4e42f6e34 Merge "Clarify number format expectations for get/setPhoneNumber" am: af4fc5fb39 am: c1fe8d36d0 am: c1dea0eb6f
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1949477

Change-Id: I6a8304b673ef34dcea2b34717a096032d47b6a07
2022-01-21 21:56:58 +00:00
Treehugger Robot
af4fc5fb39 Merge "Clarify number format expectations for get/setPhoneNumber" 2022-01-21 21:06:51 +00:00
EdenSu
8192e6ab08 Add carrier config for EAP-AKA fast reauth feature
Add config to enable/disable EAP-AKA fast reauth.

Bug: 195961691
Test: Fast reauth function was verified with lab testing
Change-Id: I62940050823b2306262a878a52c20895d1b552dc
2022-01-22 03:06:09 +08:00
Meng Wang
355b254c41 Clarify number format expectations for get/setPhoneNumber
.. based on API council feedback.

Bug: 206743433
Change-Id: I75db773bfb7997ab31f02ae92e66c9fb8dcb4eb8
2022-01-20 03:06:53 +00:00
Treehugger Robot
dcda1a5afc Merge "Modify KEY_IMS_REASONINFO_MAPPING_STRING_ARRAY's description" am: e02ea9b779 am: a1a2c48887 am: 6b362f49a0
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1944708

Change-Id: I186abdf115791bb8a844e165175f247355438c4f
2022-01-19 00:09:45 +00:00
Treehugger Robot
e02ea9b779 Merge "Modify KEY_IMS_REASONINFO_MAPPING_STRING_ARRAY's description" 2022-01-18 23:21:56 +00:00