Commit Graph

12505 Commits

Author SHA1 Message Date
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
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
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
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
Jack Yu
2dd6cbb554 Supported the legacy allowed initial attach APN types config
Some carriers requires user-added APNs to be used for initial
attach, but IA was automatically removed by the APN editor on
purpose. So the compromised solution was supporting the old
allowed IA APN types carrier config in the new data stack.

Fix: 216867081
Test: Manual
Change-Id: If3acbe92ed25d254c61947c4535e2bdc2613d7b7
2022-01-28 17:01:58 -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
Sateshk Kumar Chinnappan
f59e275e92 API Review: API review 213573673
Bug: b/215555890

Test: Manually will be testing the configs using the following commands:
adb shell cmd phone cc get-value [KEY]
adb shell cmd phone cc set-value [KEY] [VALUE]

Change-Id: Id8d22807ea14a899131551f2615e730dda0fc7f5
2022-01-28 06:55:13 -08: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
Ling Ma
f893a72acb Consider SLICE_REJECTED as permanent failure
Sent when bring up of a slice fails via TD, AOSP will not retry and wait for sliceconfig update which will contain latest list of TD (DNN and OSappIDs only).

Test: build succeed
Bug: 214089695
Change-Id: I3d30f9ed4b9ecbcede270d586ff9c6c9c4c0c39f
2022-01-28 02:18:34 +00:00
Nathan Harold
4978feff89 Merge "Expose Constructor for ModemActivityInfoException" am: 5887444f2d am: 145cbd8f52 am: c6461bb7f7 am: ed191fe1fc
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1960939

Change-Id: I3c0bd14d69d8d32311957ed82a01ecaf187c3dc3
2022-01-26 23:09:06 +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
Hunter Knepshield
b476f8b522 Merge "APIs for SIM call manager voice status" 2022-01-26 06:37:08 +00:00
Sateshk Kumar Chinnappan
7ccdd1a0ea Add imsvoice, imsrtt, imsemergency related configs to CarrierConfigManager.
Bug: b/180150989
Test: Manually will be testing the configs using the following commands:
adb shell cmd phone cc get-value [KEY]
adb shell cmd phone cc set-value [KEY] [VALUE]

Change-Id: If92df3c2e12632f143bf4dde4ad43dc2dc9c9d31
2022-01-25 16:43:08 -08:00