Commit Graph

15905 Commits

Author SHA1 Message Date
Chen Xu
6583413a0d Merge "A overloaded API for downloadSubscription with portIndex for LPA" 2022-02-11 05:57:01 +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
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
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
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
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
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
sandeepjs
e38fd07f0a Updating iccCloseLogicalChannel API
Updating iccCloseLogicalChannel API to catch exceptions.

Test: atest android.carrierapi.cts.CarrierApiTest#testIccCloseLogicalChannel
Bug: 213898262
Change-Id: I6267518c94a111df1924c8a74dcd5c3561674e70
2022-02-04 17:57:54 +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
Roopa Sattiraju
33db6c5e8f Merge "Adding SystemApi for remaining Telephony errors" 2022-02-03 22:22:17 +00:00
Sarah Chin
5778ff69b2 Merge "Update documentation for onDataProfileUnthrottled" am: fef5a2b0d0 am: 15ce37f61d am: 9f66f1551a am: 5091c416f3
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1970679

Change-Id: Ief72aa25736261229b89686de5536bec456a37c5
2022-02-03 21:28:03 +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
Jack Yu
d64bdc9a28 Merge changes from topics "td_based_caps", "urllc_embb"
* changes:
  Supported URLLC, EMBB, and CBS slicing
  Supported traffic descriptor based network capability
2022-02-03 07:39:35 +00:00
Sarah Chin
b303bbf3fd Update documentation for onDataProfileUnthrottled
Test: build
Bug: 213174700
Change-Id: Ib3a6916fd8b16b0dca590766479e5a716b8602ea
2022-02-02 23:35:24 -08:00
Jack Yu
fc700a37cc Supported URLLC, EMBB, and CBS slicing
Supported URLLC (Ultra Reliable Low Latency Communications),
eMBB (enhanced Mobile Broadband), and carrier specific service
for 5G slicing.

Test: atest DataNetworkTest DataProfileManagerTest TelephonyNetworkRequestTest
      TrafficDescriptorTest & CTS
Fix: 215232817
Change-Id: Ia6d79d10f39f998cfc35ab56ec625c6ec7e4b990
2022-02-02 20:19:27 -08:00
Jack Yu
b17fd69f8a Supported traffic descriptor based network capability
Added traffic descriptor based network capability support.
Allowed multiple network requests having same TD based
capability, but with different differentiators.

Fix: 214399881
Test: atest FrameworksTelephonyTests
Change-Id: Ibf47aec9f99cf7437c9e03e10f9db83714aca5de
2022-02-02 20:19:01 -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
Joonhun Shin
22fa32e34f Merge "Add RCS UP 2.4 profile string" 2022-02-03 02:39:25 +00:00
joonhunshin
fc2febd554 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
2022-02-02 23:47:14 +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
Ling Ma
cc09729633 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
2022-02-02 16:28:59 +00:00
Rambo Wang
c0c8ab652e Merge "Expose grouping and opportunistic carrier config keys." am: 293c5ebb47 am: 761c8c15ad am: b0032d8231 am: dad6cc8dd0
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1317034

Change-Id: Ib3f7efeac5c38bfe88bede50a02274c86f37b84d
2022-02-01 23:27:53 +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
Roopa Sattiraju
1b5c45c7fc Adding SystemApi for remaining Telephony errors
Bug: 206121418
Test: Compile apex
Change-Id: I64b5ce44623b5f9f9ac0ac0ffccfe25bdf96ab55
2022-02-01 12:02:50 -08: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
arunvoddu
7792574ad0 Added carrier_id support to the carrier_key table in CarrierInformation DB
Bug: b/191919168
Test: aTest verification Passed
Change-Id: Ib51d6eb5231ceb65fffa8e83706c47ce17afd640
2022-02-01 15:28:33 +00:00