Commit Graph

210 Commits

Author SHA1 Message Date
Arun Voddu
213def27a4 Merge "Enhanced AIDLs to fetch the Carrier lock information." into main 2023-12-13 03:47:07 +00:00
arunvoddu
aa48e63881 Enhanced AIDLs to fetch the Carrier lock information.
Bug: 314835886
Test: Built Successfully
Change-Id: I746d202d46bef6366525448706316b61ea6907b1
2023-12-12 16:53:40 +00:00
Gil Cukierman
5e09362f75 Merge "Fix 2g and 3g ConnectionEvent" into main 2023-12-07 16:08:43 +00:00
Gil Cukierman
05f785aff0 Remove EEA4_ZUC
EEA4_ZUC is not a known algorithm.

Bug:283336425
Change-Id: I57d12b2ed4c3ce30c81f1c8db687354175636d0d
Test: atest VtsHalRadioTargetTest
2023-12-06 15:42:43 +00:00
Gil Cukierman
c4cd70fb5e Fix 2g and 3g ConnectionEvent
In 2g and 3g there is no separate ciphering and integrity algorithms on the non-access stratum vs. the access stratum. Instead, there is potentially a different ciphering algorithm on circuit switched vs. packet services.

Bug: 283336425

Change-Id: I06dbeec1b01dbfdb6b6f541a3c8544fe6bc26fe4
Test: atest VtsHalRadioTargetTest
2023-12-06 15:08:17 +00:00
Gil Cukierman
ebc3246118 Cellular Identifier Disclosure Transparency HAL Updates
1. Remove the requirement that the default for cellular transparency shall be enabled.

2. Add call management (CM) NAS Messages

3. Add IMSI_DETACH_INDICATION NAS Message, which is the circuit-switched version of DETACH_REQUEST

Change-Id: Ic4e4f32762bfe06da4d57cdfa92bbf03e36d924c
Test: atest VtsHalRadioTargetTest
Bug: 312201926
2023-11-27 14:49:09 +00:00
Sukhwan Mun
0d035d1df5 Add RAT related suggested actions to IMS registration
RAT_BLOCK and CLEAR_RAT_BLOCK are added to suggested action.

Bug: 290573256
Test: atest FrameworksTelephonyTests:ImsPhoneCallTrackerTest#testUpdateImsRegistrationInfo
Change-Id: I02203a9c060c037a6cdbd58b026b2254a4f0833c
2023-11-17 09:11:28 +00:00
Treehugger Robot
49ce98e159 Merge "Add implementation of the API for Audio time delay synchronization in Video Call" into main 2023-11-16 17:01:16 +00:00
bodamnam
5b7654cef1 Add implementation of the API for Audio time delay synchronization in Video Call
This API provides a way to synchronize the audio and video streams in a video call. It allows you to request the RTP reception statistics for the audio stream at a given interval. These statistics include the jitter and delay of the audio stream. The API also allows you to set the delay adjustment for the audio session. The delay adjustment is calculated using the jitter and delay statistics from the requested session. By setting the delay adjustment, you can ensure that the audio and video streams are in sync.

Bug: 307446080
Test: mm
Change-Id: I39e211e308e913f0a2fd320dd4b8fd08491f227e
2023-11-16 03:52:39 +00:00
yomna
407a19111f Add cellular cryptography transparency HALs
Adds cellular cryptography transparency HALs:
- IRadioNetwork.setSecurityAlgorithmsUpdatedEnabled enables reporting
  of security algorithm updates from the modem via the new indication
  API IRadioNetworkIndication.securityAlgorithmsUpdated (default
  enabled)
- IRadioNetwork.isSecurityAlgorithmsUpdatedEnabled queries if the
  updates are enabled.
- Indication API: IRadioNetworkIndication.securityAlgorithmsUpdated
- Additionally, we introduce ConnectionEvent, SecurityAlgorithm, and
  SecurityAlgorithmUpdate to encapsulate relevant data from the modem.

Bug: b/283336425
Test: m
Change-Id: Icc3acd84edb210f8d885eea6e0f40aedbc586b1b
2023-11-16 00:34:20 +00:00
Gil Cukierman
ffcae23519 Add Cellular Identifier Disclosure Transparency HAL APIs
Exposes new hardware APIs that allow the modem to inform
the OS when personal cellular identifiers are sent in
the clear before NAS security contexts are established. New APIs are:

IRadioNetwork
- isCellularIdentifierTransparencyEnabled
- setCellularIdentifierTransparencyEnabled

IRadioNetworkIndication
- cellularIdentifierDisclosed

Bug: 276752426
Change-Id: I6b1724be4d673e8d4723689a7cb58c9621f72fef
Test: atest VtsHalRadioTargetTest
2023-11-09 19:18:41 +00:00
arunvoddu
80f07414a6 Indication API for IMEI mapping change from radio
Bug: 294127356
Test: Built successfully
Change-Id: I8c95e2132bf70ec5fcae7a4c7f447e329bf3843d
2023-11-03 07:13:01 +00:00
Jack Yu
7400ce9a6a Merge "Added Satellite messaging data support" into main 2023-10-20 15:58:42 +00:00
Jack Yu
7e31be1c00 Added Satellite messaging data support
1. Added RCS APN type which maps to RCS network capability. Note
   This APN type is not specific for satellite uses only. This
   can be used for regular single registration RCS.
2. Added a new tri-state field "infrastructure" in APN entry. The
   infrastructure type can be terrestrial only, non-terrestrial only, or
   both. This is for some APNs can be used when the device is attached
   to satellite.

Fix: 294065845
Test: atest ApnSettingTest DataNetworkControllerTest DataProfileManagerTest
      DataProfileTest TelephonyNetworkRequestTest
Test: Basic phone functionality tests
Change-Id: I15741cbefdb459155e278ef3d197d50c747405f0
2023-10-19 17:19:51 -07:00
Thomas Nguyen
3254bd793d Revert "Add Satellite HAL APIs"
Revert submission 20583557-Satellite APIs

Reason for revert: Radio HAL for satellite APIs are not needed.

Reverted changes: /q/submissionid:20583557-Satellite+APIs

Bug: 304622222
Test: SMS, MMS, call with live network.
SatelliteManagerTestOnMockService SatelliteManagerTest SatelliteControllerTest
DatagramDispatcherTest DatagramReceiverTest SatelliteSOSMessageRecommenderTest
NtnCapabilityResolverTest ServiceStateTrackerTest VtsHalRadioTargetTest

Change-Id: If75532dea8ffb3c4827871a6c1719d5f8d54c4df
2023-10-16 10:49:51 -07:00
Hakjun Choi
6c346c13ff Merge "Revert "Add setSatellitePlmn() related HAL apis"" into main 2023-08-10 14:37:33 +00:00
Hakjun Choi
a7c86be17f Revert "Add setSatellitePlmn() related HAL apis"
Revert submission 23748984-SATELLITE_ROAMING_PLMN

Reason for revert: satellite roaming plmn will be moved from radio network HAL to satellite modem interface, to reduce change revert first

Reverted changes: /q/submissionid:23748984-SATELLITE_ROAMING_PLMN

Change-Id: I292644110472dfa97a94db623d246682afdc90c8
2023-08-08 02:50:44 +00:00
Aishwarya Mallampati
ad1586dfe8 Merge "Revert "Block data call"" into main 2023-07-18 22:15:39 +00:00
Aishwarya Mallampati
7ee5f52f28 Revert "Block data call"
This reverts commit e94dd21fdc.

Reason for revert: Replace SATELLITE_ENABLED with SERVICE_OPTION_NOT_SUPPORTED

Change-Id: Icda920e607cf4bf0517fbf97547d86144c0051f1
2023-07-18 02:33:02 +00:00
Hakjun Choi
77fe4802dd Add setSatellitePlmn() related HAL apis
Provide api to let modem know which are the satellite plmn

BUG: 287538011
Test: atest VtsHalRadioTargetTest
Test: MO/MT call, SMS, MMS in live network with a phone
Change-Id: I7be865098f67a1c7c0273d7b9b6508968618a0f3
2023-07-14 03:45:06 +00:00
Aishwarya Mallamapti
e94dd21fdc Block data call
If network is a non-terrestrial network, block data requests with
NET_CAPABILITY_INTERNET.

Bug: 287114765
Test: Flashed build on raven-userdebug and performed basic functionality
tests,
atest DataNetworkControllerTest#testNonTerrestrialNetworkChanged

Change-Id: Ie21183b093d006f2d9b0bb00845d06965a52f812
2023-07-11 21:44:50 +00:00
Sarah Chin
dc67668dcb Add @hide and @JavaDerive(toString) for IRadio AIDL
Add @hide for all classes
Add @JavaDerive(toString=true) for classes that are missing it
Fix AIDL formatting issues

Bug: 280900995
Test: build
Change-Id: I812fbadd9da272b604ff3dcd6828952bc55239e9
2023-05-06 10:16:16 +00:00
Alex Buynytskyy
ab98b5f9e8 Merge "UpsideDownCake is now 34" into udc-dev am: 1deeb7fabf am: 2f9fca94a6
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/22462586

Change-Id: Ia0d5c1325d2848bad0052e18951ff405b6e025cf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-11 01:41:53 +00:00
Alex Buynytskyy
ec1198d941 UpsideDownCake is now 34
Ignore-AOSP-First: UpsideDownCake Finalization
Bug: 275409981
Test: build
Change-Id: I832ab7a8b5445ba85e27bbcf5be64906bfa0e5be
2023-04-07 23:41:20 +00:00
Thomas Nguyen
82d90d086f Merge "DO NOT MERGE Revert "Add Satellite HAL APIs"" into udc-dev 2023-03-11 01:37:02 +00:00
Thomas Nguyen
89e5fc4f5d DO NOT MERGE Revert "Add Satellite HAL APIs"
Revert submission 20583557-Satellite APIs

Reason for revert: We need to revert these changes for U

Reverted changes: /q/submissionid:20583557-Satellite+APIs

Bug: 271297374
Test: Call and SMS/MMS with live network.
atest TelephonyManagerTestOnMockModem
atest VtsHalRadioTargetTest
atest com.android.cellbroadcastreceiver.compliancetests.CellBroadcastConfigTest
atest android.telephony.cts.TelephonyManagerTest
atest android.telephony.cts.SatelliteManagerTest

Change-Id: I7ada8e72d77543f1ac03b267d61e8fd037ec3708
2023-03-05 14:48:08 -08:00
Avinash Malipatil
cc072f6859 Modified MediaDirection to provide more granular control over RTP and RTCP flow.
Bug: 270657968
Test: Build
Change-Id: Ic0a75dce6aaf7f9a25216d01243c69bbb44f1407
2023-03-03 02:42:18 +00:00
Sarah Chin
f9a4d9f7e5 Add backwards compatible default value for NR timing advance
Test: atest SignalStrengthTest
Bug: 141097448
Bug: 266825334
Change-Id: I97413b651fa99d4a0e119d4af670fb7216fca704
2023-02-18 02:49:39 -08:00
Muralidhar Reddy Mule
0dd7277c36 Merge "Add new API for iccCloseLogicalChannel to pass isEs10 information." 2023-02-10 04:06:47 +00:00
Muralidhar Reddy
c13d0d61e1 Add new API for iccCloseLogicalChannel to pass isEs10 information.
When a common logical channel ID is opened over 2 or more LSIs(including command port LSI), there is an ambiguity in closing the logical channel.
To resolve the ambiguity, pass isEs10 information about whether the logical channel was opened to send ES10 commands or not.

Test: Build
Bug: 268496310
Change-Id: I3e4f386b2a4f88d6e8bcc552d5ef1f404a8f9127
2023-02-09 17:35:22 +00:00
Rakesh Raghava
93410d8dc5 Merge "[ImsMedia] Add notifyMediaQualityStatus api as per updated imsmedia design" 2023-01-31 21:08:25 +00:00
Rakesh Raghava
93bb36fe79 [ImsMedia] Add notifyMediaQualityStatus api as per updated imsmedia design
- removed notifyMediaInactivity(), notifyPacketLoss()
  notifyJitter() apis
- updated MediaQualityThreshold

Bug: 266514335
Test: build (m android.hardware.radio.ims.media-update-api && m -j64)
Change-Id: I328a437018d1ddd9e3d7be353d0c2551b850747c
2023-01-31 10:08:23 +00:00
Hwayoung Helen Kim
bf2ff60264 Merge "[ImsMedia] Add the duration value for the received DTMF api as per updated imsmedia design" 2023-01-31 02:11:41 +00:00
Helen
5e873e7d68 [ImsMedia] Add the duration value for the received DTMF api as per updated imsmedia design
Bug: 265610926
Test: build (mm && m -j64)
Change-Id: I6806f5fcb5c78271b7b8a8f56b44e32272de990f
2023-01-27 18:22:48 +00:00
Sarah Chin
00b64abb04 Merge "Fix enum typo in DataCallFailCause" 2023-01-25 19:08:58 +00:00
Sarah Chin
f233448ee9 Fix enum typo in DataCallFailCause
Test: build
Change-Id: I19b96ad9c18445837a1b89e2d202235cc72416aa
2023-01-25 03:56:46 -08:00
Arun kumar Voddu
37d9a40141 Merge "HAL changes to remove the carrierId" 2023-01-25 04:32:56 +00:00
Hwayoung Helen Kim
5dbcc47e97 Merge "[AOSP IMS] Change anbrBitrate to anbrMode" 2023-01-23 16:04:20 +00:00
Helen
f69fbd9616 [AOSP IMS] Change anbrBitrate to anbrMode
Bug: 250506481
Test: Build
Change-Id: I448e601c1fa5db4b9d0e04a8419e6dd0a2a11b1e
2023-01-20 01:17:02 +00:00
Sarah Chin
537f17a3a2 Merge "Change averagingWindowMs to int" 2023-01-19 19:09:21 +00:00
Thomas Nguyen
991a89d922 Merge "Add Satellite HAL APIs" 2023-01-19 02:37:20 +00:00
Thomas Nguyen
7ea5df6eca Add Satellite HAL APIs
Bug: 260644201
Test: atest VtsHalRadioTargetTest
MO/MT SMS, MMS, voice calls with live network

Change-Id: Ia95b773c7ddd51d32ea987295d70a9a2e16ebf7a
2023-01-18 13:15:12 -08:00
Sarah Chin
4fbd80770f Change averagingWindowMs to int
Revert changes for qfi and apply them to averagingWindowMs instead
This is functionally the same change as ag/20886209

Test: build
Bug: 264261216
Change-Id: I053c3d6b8ca1464156bd5e65fe0316f27e962beb
2023-01-18 10:32:53 -08:00
arunvoddu
4ee44083bb HAL changes to remove the carrierId
Bug: 189884347
Test: Build successfully
Change-Id: I8a9ffc5f631c2ecb26e0a5f2d3ee1ccc9a0f853f
2023-01-18 07:13:28 +00:00
Sarah Chin
509d0ffbe5 Run update-api on IRadio services
Update the API surface for all IRadio services.
There is no functional change.

Test: build
Change-Id: Ie80cfc891dd88fa6eb0280ed555ac7ab7f7a2606
2023-01-17 23:24:11 +00:00
Andrew Chant
50c06a5f2b Revert "Change averagingWindowMs to int"
Revert submission 20886209-qfi

Reason for revert: Build Break.
Bug: 265823012
Reverted changes: /q/submissionid:20886209-qfi

Change-Id: I950e86978d618143ec54812ac9236e4a18fd1ca4
2023-01-17 20:08:08 +00:00
Sarah Chin
c9d15a6bc2 Change averagingWindowMs to int
Revert changes for qfi and apply them to averagingWindowMs instead

Test: build
Bug: 264261216
Change-Id: I841694283d92a6b5925aabba687e978f7ce33dc9
2023-01-13 09:42:46 -08:00
TreeHugger Robot
9630c79b5e Merge changes from topic "revert-20513346-LocationPrivacy-HAL-XBLPIWUKWY"
* changes:
  Revert "[AIDL] Add Location Privacy HAL"
  Revert "[test_suite] Add Location Privacy HAL"
2022-12-30 00:48:27 +00:00
Terry Huang
44e86c2f82 Revert "[AIDL] Add Location Privacy HAL"
Revert submission 20513346-LocationPrivacy-HAL

Reason for revert: Move feature to Android V

Reverted changes: /q/submissionid:20513346-LocationPrivacy-HAL

Change-Id: Ia92cc208cd540b57ca3c0a953f8cd80ce1f708c4
2022-12-26 01:39:39 +00:00
Pomai Ahlo
99ba55070e Merge changes from topic "isap_hidl2aidl"
* changes:
  [ISap hidl2aidl] VTS Tests
  [ISap hidl2aidl] Compat Support
  Radio: hidl2aidl for ISap interface
2022-12-16 01:21:44 +00:00