Commit Graph

15817 Commits

Author SHA1 Message Date
Eden Su
0da783cc68 Merge "Revert "Add carrier config for EAP-AKA fast reauth feature"" 2022-01-21 08:49:03 +00:00
SongFerng Wang
24672908c5 Merge "Call waiting add the error reponse for FDN_CHECK_FAILURE" 2022-01-20 16:54:35 +00:00
TreeHugger Robot
ce65b04d56 Merge "Revert "Revert "Migrate unsafe parcel APIs in framework-minus-apex""" 2022-01-20 11:33:39 +00:00
Parvathy Shanmugam
bce8d161c4 Merge "Fix for crash while merging 2 audio calls for initiating conference call" 2022-01-20 09:23:01 +00:00
Jack Yu
7ccd859e51 Merge "Moved 5G+ PCO related code to data modules" 2022-01-19 18:49:03 +00:00
Bernardo Rufino
1a5cb387d6 Revert "Revert "Migrate unsafe parcel APIs in framework-minus-apex""
This reverts commit 331be9a643.

Reintroducing ag/16366278 since it seems unrelated to b/214053959 (more details on b/214053959#comment55).

Original commit message:

Migrate unsafe parcel APIs in framework-minus-apex

Migrate the following unsafe parcel APIs in framework-minus-apex:
* Parcel.readSerializable()
* Parcel.readArrayList()
* Parcel.readList()
* Parcel.readParcelable()
* Parcel.readParcelableList()
* Parcel.readSparseArray()

This CL was generated by applying lint fixes that infer the expected
type from the caller code and provide that as the type parameter
(ag/16365240).

A few observations:
* In some classes we couldn't migrate because the class also belonged to
another build module whose min SDK wasn't current (as is the case for
framework-minus-apex), hence I suppressed the lint check
(since I'll eventually submit the lint check to the tree).
* In some cases, I needed to do the cast in
https://stackoverflow.com/a/1080525/5765705 to make the compiler happy
since there isn't another way of providing a class of type
Class<MyClassWithGenerics<T>>.
* In the readSerializable() case, the new API also requires the class
loader, that was inferred to by InferredClass.class.getClassLoader().
* Note that automatic formatting and import rely on running hooked up
to the IDE, which wasn't the case here.

Bug: 195622897
Change-Id: I272432e6e082a973f7a50492ec35d79c2b577c93
Test: TH passes
2022-01-19 11:13:18 +00:00
SongFerngWang
79eca48b7b Call waiting add the error reponse for FDN_CHECK_FAILURE
The getCallWaitingStatus and setCallWaitingStatus system api did not
have FDN_CHECK_FAILURE. Therefore, the call waiting can't get the
precise error response while FDN is enabled.
Adding the CALL_WAITING_STATUS_FDN_CHECK_FAILURE for this case.

Bug: 189402480
Test: pass cts' TelephonyManagerTest#testGetCallWaitingStatus
pass cts' TelephonyManagerTest#testSetCallWaitingStatus

Change-Id: I2ed3b71c050c3632c6f4937a764394b1d07f51cd
2022-01-19 16:48:28 +08:00
Muralidhar Reddy Mule
5ffaa0f926 Merge "[MEP] EuiccManager API modifications to support carrier apps" 2022-01-19 05:32:56 +00:00
TreeHugger Robot
3307a49abb Merge "Add a specific result code for RIL generic failures" 2022-01-19 03:50:42 +00:00
TreeHugger Robot
a895201d05 Merge "Unhide ApnType.ENTERPRISE" 2022-01-19 03:24:17 +00:00
Aman Gupta
c24d07cdf8 Merge "make UiccSlotMapping constructor a system API" 2022-01-19 00:37:41 +00:00
Treehugger Robot
fe3a9fcc55 Merge "Modify KEY_IMS_REASONINFO_MAPPING_STRING_ARRAY's description" am: e02ea9b779 am: a1a2c48887 am: 6b362f49a0 am: dcda1a5afc
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1944708

Change-Id: I1330ede4cd49055f7f7e026b807c3a06ba8decc3
2022-01-19 00:19:38 +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
Ling Ma
52895c12cb Unhide ApnType.ENTERPRISE
Test: build succeeded
Bug: 214240937
Change-Id: I3ac0ef4b7ee9640f57bfc62e639e4b6a6b89e1ef
2022-01-18 20:57:48 +00:00
Treehugger Robot
a26e957b9b Merge "Fix default value type : should be long instead of int .." am: 061654bdc3 am: ea1c39cede am: 6c7a850439 am: 47ee8d38a4
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1952576

Change-Id: I4573004b3c6e56c0157a7c937e00174cb4fcb84a
2022-01-18 18:11:55 +00:00
Treehugger Robot
47ee8d38a4 Merge "Fix default value type : should be long instead of int .." am: 061654bdc3 am: ea1c39cede am: 6c7a850439
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1952576

Change-Id: I1abed08db3ced0dd65aceb037bcc6e9a1f837dbb
2022-01-18 17:52:09 +00:00
Jonggeon Kim
45ed6b9c92 Merge "ImsService Subscription Notifications" 2022-01-18 06:20:43 +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
Jack Yu
b5d1ea7a08 Moved 5G+ PCO related code to data modules
Moved the 5G+ PCO logic from NetworkTypeController
to DataNetworkController. Also forward the PCO data to carrier
signal agent.

Fix: 214728781
Test: atest DataNetworkControllerTest DataNetworkTest
Change-Id: I45e453b0cc497d69b85a77855d8c62b52b2e5441
2022-01-15 22:53:28 -08:00
Aman Gupta
23418fe577 make UiccSlotMapping constructor a system API
UiccSlotMapping need to be constructed and passed from LPA app to telephony framework API setSimSlotMapping, thus need to be exposed.
the real API to setSimSlotMapping was already protected with the privileged permission.

Bug: 214306205
Test: atest UiccSlotMappingTest
CTS-Coverage-Bug: 214446121

Change-Id: I109575750ab16ee9b73a469633372e93f03d2199
2022-01-15 07:29:12 +00:00
Chen Xu
2ebb444581 Merge "[MEP] Updating toString() method" 2022-01-15 06:32:05 +00:00
Jonggeon Kim
235d7a46ca 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

Change-Id: I231da2f4479d4a4fb272edbf27e49f46833a082a
2022-01-14 21:18:58 +00:00
Maria Yang
95b2b8fab7 Merge "Handle setAllowedCarriers() with empty list of carriers" into sc-v2-dev am: d36f3eb795 am: 976b3f65d8
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16631291

Change-Id: I524f5fb71692bd192e082abd7e421ee880c7c688
2022-01-14 06:25:06 +00:00
Maria Yang
976b3f65d8 Merge "Handle setAllowedCarriers() with empty list of carriers" into sc-v2-dev am: d36f3eb795
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16631291

Change-Id: I8eff763b63b01f78fd36dd942dfa923d47198398
2022-01-14 06:13:41 +00:00
Muralidhar Reddy
9adebdf38d [MEP] EuiccManager API modifications to support carrier apps
Remove deprecated tag from switchToSubscription API. Partially reverts the changes to switchToSubscription API with ag/16232869

Bug: 214055002
Test: manual, atest FrameworksTelephonyTests
Change-Id: I6a802ea0c85ff749b09745f629bc1a80f30ed3b9
2022-01-14 05:33:07 +00:00
Sooraj Sasindran
47dfd08b45 Merge "Add ril constant for slicing config change" am: daa74af0eb am: a646471f5e am: 00c7c02c46 am: a490c7ebf1
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1945429

Change-Id: I70b4d40d04f1962835ca37e6b97e231fa0c4f3f8
2022-01-14 04:27:54 +00:00
Sooraj Sasindran
a490c7ebf1 Merge "Add ril constant for slicing config change" am: daa74af0eb am: a646471f5e am: 00c7c02c46
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1945429

Change-Id: I959aba7b1d9b0e87442893a6da266bea49dc3295
2022-01-14 04:15:51 +00:00
Michele Berionne
898e2b53a7 Handle setAllowedCarriers() with empty list of carriers
Bug: 204136145
Test: unit testing
Change-Id: I9779180ff1c3e926f97e010ca6026c5fb950046d
2022-01-13 22:02:39 +00:00
Chen Xu
1b78a9f431 Merge "[MEP] Modify deprecated iccLogicalChannel APIs to pass first active port index instead of DEFAULT_PORT_INDEX 0." 2022-01-13 17:31:48 +00: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
TreeHugger Robot
16e5a4a46a Merge "Used single TCP configuration for devices" 2022-01-13 16:22:22 +00:00
Eden Su
c5f263b7a3 Revert "Add carrier config for EAP-AKA fast reauth feature"
Revert submission 16486538-fast_reauth

Reason for revert: <the CLs need to be reviewed on the AOSP and let automerger sync to the internal branch>
Reverted Changes:
I14b5e69ca:[Iwlan] Support EAP-AKA fast reauth
I8ed5b89d9:Add carrier config for EAP-AKA fast reauth feature...

Change-Id: Ic756db84108e6103c0202903ade59133f2714c07
2022-01-13 09:15:02 +00:00
Eden Su
8c963cba37 Merge "Add carrier config for Visited Country FQDN" am: 2bc805e26d am: 5b300d7b7a am: 4d96babec1 am: 013d54a09c
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1943513

Change-Id: I07ac7f6b67f382bfc81bff65e9c957c8ebc424da
2022-01-13 08:56:07 +00:00
Eden Su
013d54a09c Merge "Add carrier config for Visited Country FQDN" am: 2bc805e26d am: 5b300d7b7a am: 4d96babec1
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1943513

Change-Id: I2ec109a371913c05993b68faae00712fb7714474
2022-01-13 08:44:18 +00:00
Eden Su
2bc805e26d Merge "Add carrier config for Visited Country FQDN" 2022-01-13 08:07:46 +00:00
Ashwini Oruganti
776b439703 Merge "Revert "Migrate unsafe parcel APIs in framework-minus-apex"" 2022-01-12 23:07:08 +00:00
Bernardo Rufino
331be9a643 Revert "Migrate unsafe parcel APIs in framework-minus-apex"
This reverts commit 90bb3709dc.

Reason for revert: b/214053959

Change-Id: Ic271bab1d3eaf677a5989dda9deb944ee2ad6850
2022-01-12 17:44:44 +00:00
Jack Yu
ee410d34a6 Used single TCP configuration for devices
Starting from Android 13, the TCP buffer size is fixed after boot up,
and should never be changed based on carriers or the network types.
The value should be configured appropriately based on the device's
memory and performance. It is recommended to use lower values if the
device has low memory or doesn't support high-speed network such like
LTE, NR, or Wifi.

Bug: 213596972
Test: Manual

Change-Id: I1f19e1217f7e7da37b3dd3b511d4859d77ec7bad
2022-01-12 09:05:31 -08:00
Muralidhar Reddy
aa04662b06 [MEP] Modify deprecated iccLogicalChannel APIs to pass first active port index instead of DEFAULT_PORT_INDEX 0.
Update iccOpenLogicalChannelBySlot, iccCloseLogicalChannelBySlot, iccTransmitApduBasicChannelBySlot, iccTransmitApduLogicalChannelBySlot
APIs to pass first active port index from the correpsonding physical slot index.

Bug: 213792292
Test: manual, atest FrameworksTelephonyTests
Change-Id: If6b33996d675bd311bc19e0af41af58970e7e8d1
2022-01-12 11:06:11 +00:00
sandeepjs
58df1af6d7 [MEP] Updating toString() method
Updating toString() method from UiccCardInfo and UiccSlotInfo
Bug: 202110963
Test: Build

Change-Id: If5203a79c74cbbeb52ece0d7cf780dfa52f25669
2022-01-12 05:15:30 +00:00
Parvathy Shanmugam
380f9be2ee 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
2022-01-12 04:43:58 +00:00
Chen Xu
e503303146 Merge "[MEP] Reverting temporarily bypassed exception" 2022-01-12 00:04:55 +00:00
Bernardo Rufino
c6ebb14b7d Merge "Migrate unsafer parcel APIs [2]" 2022-01-11 19:20:36 +00:00
sandeepjs
c5e8f49ea9 [MEP] Reverting temporarily bypassed exception
Reverting temporarily bypassed exceptions.
Bug: 202110963
Test: Build

Change-Id: Ib1a9d228a1d3d9864e03d3afa54cd85574ed8fe8
2022-01-11 15:38:19 +00:00
Treehugger Robot
d51fc1fb0d Merge "Fixed NPE when local or remote port range does not exist" am: 4e6d04a608 am: f4e93e2890 am: 7b25ef8e00
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1944225

Change-Id: I7aa822a2ada0a60bcae1433b4035421b94c8bd7d
2022-01-10 23:07:19 +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 bc1ae5c28a)
2022-01-10 12:55:46 -08:00
Sateshk Kumar Chinnappan
93ee38ecf1 Merge "Add IMS Common, Voice, Video, Supplementary services, emergency call, WFC call, RTT call related configs to CarrierConfigManager." 2022-01-10 19:20:14 +00:00
Brad Ebinger
cc24571677 Merge "Remove documentation restriction that SipMessage body is UTF-8 encoded, as it can have many mixed encodings depending on the content." 2022-01-10 19:07:24 +00:00