Commit Graph

12538 Commits

Author SHA1 Message Date
Treehugger Robot
ca97311326 Merge "Carrier config for opportunistic eSIM download only over WiFi" am: d54fb9484d am: badc5c5ef4 am: 07fd16cd7d
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1971299

Change-Id: I0363840734d671b0d68823109211d31035d8ba4f
2022-02-12 07:00:53 +00:00
Treehugger Robot
07fd16cd7d Merge "Carrier config for opportunistic eSIM download only over WiFi" am: d54fb9484d am: badc5c5ef4
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1971299

Change-Id: I13d9a513a437151a6a369fa124811ae9ba721f75
2022-02-12 06:49:07 +00:00
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
Chen Xu
6583413a0d Merge "A overloaded API for downloadSubscription with portIndex for LPA" 2022-02-11 05:57:01 +00:00
Joonhun Shin
98083abcdf Merge "Correct Typo in CarrierConfigManager introduced in b/197992603" am: 88f4093982 am: 608c0d8e90 am: dbc2717bd4
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1978094

Change-Id: Icc56e7de6931585b421ae3b3d4629b0b01377d20
2022-02-10 23:30:31 +00:00
Chen Xu
3c22236cda A overloaded API for downloadSubscription with portIndex for LPA
Most of cases, download opperation is port agnostic we don't need
to specify the portIndex. However if this is triggered from carier
apps and apps specify download followed with esim activation, then
platform need to resolve a portIndex(maybe through UX) and need to
pass this portIndex to LPA app. thus we need to add an overloaded
version of download API for LPA.

Bug: 214055002
Test: Build & atest EuiccServiceTest
Change-Id: If127224ca7ca696c8eb512dc80c27f54e4f25b38
2022-02-10 11:22:17 -08:00
TreeHugger Robot
e717ddd444 Merge "Updating iccCloseLogicalChannel API" 2022-02-10 08:56:00 +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
Joonhun Shin
5c393c4ac8 Merge "Correct Typo in CarrierConfigManager introduced in b/197992603" 2022-02-10 07:37:05 +00:00
TreeHugger Robot
d57b1c184f Merge "return null for requestEnabledProfileForPort if no profile enabled" 2022-02-10 06:48:29 +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 898e2b53a7)
2022-02-10 00:12:38 +00:00
Chen Xu
44d67194c2 return null for requestEnabledProfileForPort if no profile enabled
Previously we return an error code if there is no profile enabled on the
port. we shouldn't really treat this as an "error" as no profile enabled
is a valid scenario.

Bug: 218481513
Test: Build & Manual
Change-Id: I31c57826c35eeb50759d170d13b8222c55622760
2022-02-09 11:00:21 -08:00
TreeHugger Robot
e428e5f97e Merge "Add TelephonyManager#rebootModem API to substitute TelephonyManager#rebootRadio." 2022-02-09 16:25:30 +00:00
Hyunho Shin
f27990d7a9 Merge "Add entity uri field to Eab provider" 2022-02-09 10:53:50 +00:00
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
Hyunho
b32f2e76a5 Add entity uri field to Eab provider
- 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: Iade00e57e0b18be89afb4808b901455a412c687a
2022-02-09 00:13:25 +00:00
Meng Wang
e23410748d Merge "Carrier config KEY_CARRIER_SUPPORTS_TETHERING_BOOL" am: 61ca1475a4 am: d5097a2320 am: 96ff71d1a4 am: d11b5be7c3
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1964629

Change-Id: I82d4fb9953a5c0ef025000bfbb5287b1f249c3e2
2022-02-08 22:28:49 +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
Jack Yu
e429730809 Merge "Support data profile merging" 2022-02-08 06:59:38 +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
Sateshk Kumar Chinnappan
b1101d1a20 Merge "API Review: API review 213573673" 2022-02-07 23:26:05 +00:00
Grace Jia
def88888a7 Add TelephonyManager#rebootModem API to substitute
TelephonyManager#rebootRadio.

Deprecated TelephonyManager#rebootRadio.
Bug: 213524056
Test: CtsTelephonyTestCases:TelephonyManagerTest
Change-Id: I00bdaf6cbcf2f5e364744c2a7a9b7c03d4554b8b

Change-Id: Ida0b830667440d4a387b277007246c19c42f9094
2022-02-07 13:50:21 -08:00
Jack Yu
014dcb623b Support data profile merging
Added merging two data profiles that have same APN name,
but APN types are mutually exlusive and other fields are
minor different.

Fix: 216203549
Test: atest DataProfileManagerTest

Change-Id: I6f398321cc972be0b5fb4c550f7a110049d896f6
2022-02-06 21:40:46 -08:00
Chen Xu
c85a75b26f Merge "[MEP] Add subscriptionId as intent extra to a resolution intent." 2022-02-05 05:17:10 +00:00
Hakjun Choi
5f886ed433 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
2022-02-05 05:06:27 +00:00
TreeHugger Robot
72d07fb822 Merge "Ensure SubscriptionPlans can be removed" 2022-02-05 02:56:21 +00:00
Sarah Chin
e6f17feb77 Ensure SubscriptionPlans can be removed
Add a duration that the plans last and don't read to/write from disk
for plans. Make non-duration setSubscriptionPlans API deprecated.

Test: atest SubscriptionManagerTest, NetworkPolicyManagerServiceTest
Bug: 210696427
Change-Id: I93aece78eda324c333fbf9f1adbedcf46e4864f0
2022-02-04 15:49:10 -08:00
Muralidhar Reddy
2f0319eddb [MEP] Add subscriptionId as intent extra to a resolution intent.
With the introduction of Multiple Enabled Profiles, a 3-way user confirmation dialog is required to handle use cases related to multiple esim ports in DSDS mode. LPA app uses the subscriptionId(from resolution intent) to query the subscription info related information.

Bug: 214055002
Test: atest android.telephony.euicc.cts.EuiccManagerTest
Change-Id: Ic89fce3fa5249b917e743cfbaed4ff2978cadcd8
2022-02-04 21:09:32 +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
Jayachandran C
5cc537a1e3 Merge "Added carrier_id support to the carrier_key table in CarrierInformation DB" 2022-02-04 19:14:19 +00:00
Ling Ma
cfe28cb9b5 Merge "Unhide API setAllowedNetworkTypesForReason and getSupportedRadioAccessFamily" 2022-02-04 19:00:50 +00:00