15745 Commits

Author SHA1 Message Date
Treehugger Robot
d54fb9484d Merge "Carrier config for opportunistic eSIM download only over WiFi" 2022-02-12 06:18:55 +00:00
Treehugger Robot
74dd849791 Merge "Handle setAllowedCarriers() with empty list of carriers" 2022-02-11 18:20:43 +00:00
Avinash Malipatil
c179ec3e86 Carrier config for opportunistic eSIM download only over WiFi
Carrier configuration KEY_OPPORTUNISTIC_ESIM_DOWNLOAD_VIA_WIFI_ONLY
added to control if eSIM should be downloaded via only WiFi or use
both WiFi/Data. True will download esim only via WiFi and false will
use both WiFi and Data connection.

Bug: 217378657
Test: make
Change-Id: I01c0c16293f4e490a1c4c7f521fd454cc045296f
2022-02-11 16:55:46 +00:00
Hakjun Choi
6f55afd4e7 Correct Typo in CarrierConfigManager introduced in b/197992603
1) Keyname should not be including key_
2) This is bundle type not to be used as int array

Bug: b/216365058
Test: atest
Change-Id: Ia2db386e7394fd09194477e529fc6e8c752623c2
Merged-In: Ia2db386e7394fd09194477e529fc6e8c752623c2
2022-02-10 07:39:03 +00:00
Michele Berionne
47ceccd912 Handle setAllowedCarriers() with empty list of carriers
Bug: 204136145
Test: unit testing
Merged-In: I9779180ff1c3e926f97e010ca6026c5fb950046d
Change-Id: I9779180ff1c3e926f97e010ca6026c5fb950046d
(cherry picked from commit 898e2b53a7d095ed5b0fd5a17f4557021ed56e31)
2022-02-10 00:12:38 +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
ab1fbb18fe Merge "Unhide API setAllowedNetworkTypesForReason and getSupportedRadioAccessFamily" 2022-02-09 00:29:38 +00:00
Meng Wang
61ca1475a4 Merge "Carrier config KEY_CARRIER_SUPPORTS_TETHERING_BOOL" 2022-02-08 21:24:06 +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
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
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
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
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
35ac7e34ce Merge "Create EVENT_TRAFFIC_DESCRIPTORS_UPDATED" 2022-01-27 01:49:59 +00:00
Nathan Harold
5887444f2d Merge "Expose Constructor for ModemActivityInfoException" 2022-01-26 22:00:07 +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
55d337b11b Merge "Add carrier config for EAP-AKA fast reauth feature" 2022-01-22 03:09:42 +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
e02ea9b779 Merge "Modify KEY_IMS_REASONINFO_MAPPING_STRING_ARRAY's description" 2022-01-18 23:21:56 +00:00
Meng Wang
7332dedcd1 Fix default value type : should be long instead of int ..
.. for KEY_TIME_TO_SWITCH_BACK_TO_PRIMARY_IF_OPPORTUNISTIC_OOS_LONG
and KEY_OPPORTUNISTIC_TIME_TO_SCAN_AFTER_CAPABILITY_SWITCH_TO_PRIMARY_LONG

Bug: 215048287
Test: make
Change-Id: Ic5505236dd10fad6f9a46e9cf24493d8b4cf8404
2022-01-18 04:57:29 +00:00
Ian Chang
71704ae7a5 Modify KEY_IMS_REASONINFO_MAPPING_STRING_ARRAY's description
Describe the wildcard for the MESSAGE part in the "ORIGINAL_CODE|MESSAGE|NEW_CODE" format.

Bug: 208172486
Change-Id: Ide6741fa41e4b054aef3eec8548e361012faca7b
2022-01-17 08:20:54 +08:00
Sooraj Sasindran
2dd968d7ef Add ril constant for slicing config change
Add ril constant for slicing config change

Test: build
Bug: 194332512
Change-Id: I5e81a3ba9118537e3dba1c45a2db253ff5bbdc8b
2022-01-13 17:00:34 +00:00
Eden Su
2bc805e26d Merge "Add carrier config for Visited Country FQDN" 2022-01-13 08:07:46 +00:00
Jack Yu
fb2ac71bd6 Fixed NPE when local or remote port range does not exist
Added null check for local and remote port range.

Bug: 213523984
Bug: 213139361
Test: atest QosBearerSessionTest
Merged-In: I749f369c0daa5c840a77d37828f65e42262d85f5
Change-Id: I749f369c0daa5c840a77d37828f65e42262d85f5
(cherry picked from commit bc1ae5c28a215792b3dfd171f402c2d817978245)
2022-01-10 12:55:46 -08:00
EdenSu
2fad116e74 Add carrier config for Visited Country FQDN
Add resolution method type EPDG_ADDRESS_VISITED_COUNTRY.

Bug: 195384764
Test: Build & WFC works
      atest IwlanTests
Change-Id: I9b39775697a588bc4962ae62e734e3bb99eae95a
2022-01-11 00:01:53 +08:00
Meng Wang
886bf03a2d Merge changes from topic "phonenumber"
* changes:
  Update javadocs based on API council feedback.
  Deprecate get/setLine1Number in favor of get/setPhoneNumber
2022-01-07 00:31:23 +00:00
Grace Jia
e43f70afc7 Merge "Add new API for new feature of display name." 2022-01-06 18:59:37 +00:00
Meng Wang
72afc76a69 Update javadocs based on API council feedback.
Bug: 206743433
Bug: 193539271
Test: make
Change-Id: I24f5ebf228bf1ae28f4d7b32ddef222482114eae
Merged-In: I24f5ebf228bf1ae28f4d7b32ddef222482114eae
(cherry picked from commit bbb01fcb43764ec870cdc90d9b48930cf19ec91c)
2022-01-05 23:41:32 +00:00
Meng Wang
3e436616c6 Deprecate get/setLine1Number in favor of get/setPhoneNumber
Bug: 193539271
Test: make
Change-Id: I09bcdca9d44d6b6a6d4ca00b6d0bba4c45a39bac
Merged-In: I09bcdca9d44d6b6a6d4ca00b6d0bba4c45a39bac
(cherry picked from commit 8665b5105ecc4da80dd60296bac7f3e630edeef5)
2022-01-05 23:41:26 +00:00
Meng Wang
692533e342 Merge "Add getPhoneNumber/setPhoneNumber API" 2022-01-05 23:04:27 +00:00
Sarah Chin
569fbec7ef Merge "Add Constants for UsageSetting" 2022-01-05 20:06:20 +00:00
Chen Xu
ed021212d6 Merge "[MEP] eSIM API refactor to support MEP" 2022-01-04 18:50:09 +00:00
sandeepjs
6afa68e472 [MEP] eSIM API refactor to support MEP
Newly added UiccPortInfo and UiccSlotMapping classes and introduced
UiccPortInfo as a port list in UiccCardInfo and UiccSlotInfo,
Deprecated some constructors and updated callers.
Test: build
Bug: 159354974
Change-Id: I71e4e1ef649b7301d126dde23d53783761de940f
Merged-In: I71e4e1ef649b7301d126dde23d53783761de940f
2022-01-03 12:12:52 +00:00
Nathan Harold
cb861c0f76 Add Constants for UsageSetting
Bug: 210023167
Test: compilation
Merged-In: Ief078770b44719e105828bb61d3768ad24e277dd
Change-Id: Ief078770b44719e105828bb61d3768ad24e277dd
(cherry picked from commit 793736cced1db8e22032cf2f9932434ca8a23ef7)
2021-12-29 09:42:12 -08:00
Sarah Chin
4036f73231 Update unthrottleApn calls to take in DataProfile
Test: atest FrameworksTelephonyTests
Bug: 208651109
Change-Id: I4e77e56296d6a9a8b1010167e260f4e9c1a40202
Merged-In: I4e77e56296d6a9a8b1010167e260f4e9c1a40202
2021-12-28 23:27:21 +00:00
Sarah Chin
a28f3d2066 Merge "Add new fields to ApnSetting/DataProfileInfo" 2021-12-28 23:06:10 +00:00