Commit graph

536 commits

Author SHA1 Message Date
Treehugger Robot
74dc4cc5d7 Merge "[DON'T BLOCK] Test ownership migration rules" into main am: 27e97308c4
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2950589

Change-Id: Ie4f36b193820490e606e7f5100ca29200f832fa2
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-07 01:45:21 +00:00
Aditya Choudhary
ad2ba1b851 [DON'T BLOCK] Test ownership migration rules
This CL is created as a best effort to migrate test targets
to the new android ownership model. If you find incorrect or unnecessary
attribution in this CL, please create a separate CL to fix that.

For more details please refer to the link below,
go/new-android-ownership-model

Bug: 304529413
Test: N/A
Change-Id: Ic8c4bd6ac246e7efa98bbdaf822d12ae8e1230a5
2024-02-05 15:45:22 +00:00
Xin Li
763c473c3d Merge Android 24Q1 Release (ab/11220357)
Bug: 319669529
Merged-In: I976f80006aeb88bde2ae34ca4f9be72cea727d9e
Change-Id: Id94b25af52bd2e2847b6858697ab21cc6ce27aa3
2024-01-30 10:36:50 -08:00
Treehugger Robot
af43cd8a9d Merge "Remove error check for REQUEST_NOT_SUPPRTED" into android14-tests-dev am: 990cb24694
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2887386

Change-Id: Ibcfde1103eb403225815d9670a1c8cad28b667c5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-17 18:50:56 +00:00
Aditi
bc2a0d5747 Remove error check for REQUEST_NOT_SUPPRTED
Some devices may not support LCE functionality, so remove the condition that cause failures on such devices

Bug : 316570471

Change-Id: I758c82d14da4fec89b2e56f4aeda2a31438718fe
Signed-off-by: Aditi <aditi.parikh@samsung.corp-partner.google.com>
2024-01-17 00:47:04 +00:00
liuxiangjun
8877018da4 Remove the SIM card status condition check and add accepted possible errors
For devices not in LTE service, the vts test returns MODEM_ERR is an expected result

Bug:317314512

Test:
VtsHalRadioTargetTest
PerInstance/RadioNetworkTest#setNetworkSelectionModeManual/0_android_hardware_radio_network_IRadioNetwork_slot1
PerInstance/RadioNetworkTest#setNetworkSelectionModeManual/1_android_hardware_radio_network_IRadioNetwork_slot2

Change-Id: I75414ba18be93707310cace21b52508edfc33a20
Signed-off-by: liuxiangjun <liuxiangjun3@xiaomi.com>
2024-01-12 08:09:31 +00:00
Gil Cukierman
dfb05536eb Merge "Specify that isCellularIdentifierTransparencyEnabled is false by default" into main 2023-12-14 14:47:56 +00:00
Arun Voddu
213def27a4 Merge "Enhanced AIDLs to fetch the Carrier lock information." into main 2023-12-13 03:47:07 +00:00
Gil Cukierman
33343fd548 Specify that isCellularIdentifierTransparencyEnabled is false by default
The VTS test and setCellularIdentifierTransparencyEnabled were specified as false in previous commits. This comment was missed.

Bug: 315974744
Change-Id: I20c3198e7e787478732ea4084780af32837b6059
Test: atest VtsHalRadioTargetTest
2023-12-12 17:02:00 +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
d89a37bc1a Merge "Clarify that NAS stands for Non-Access Stratum" into main 2023-12-11 18:39:57 +00:00
Nagendra Prasad Nagarle Basavaraju
307691384f VTS setGetAllowedNetworkTypesBitmap handle "LTE + LTE_CA" response
Handle RIL reporting response for getAllowedNetworkTypesBitmap() with
"LTE + LTE_CA" until Android T.

Bug: 308538353
Test: atest VtsHalRadioTargetTest
Change-Id: I32242dff1ab7f2f1923674e7880b547f6e55de93
2023-12-08 13:59:46 +00:00
Gil Cukierman
5e09362f75 Merge "Fix 2g and 3g ConnectionEvent" into main 2023-12-07 16:08:43 +00:00
Gil Cukierman
3374a838c3 Clarify that NAS stands for Non-Access Stratum
Change-Id: I509919905c89ac0ef80f7c1972b06623b6c71fd5

Bug: 315159207
Test: m
Change-Id: I509919905c89ac0ef80f7c1972b06623b6c71fd5
2023-12-06 18:31:55 +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
yomna
d906b67038 Update null cipher VTS to handle AIDL version 2 and 3 separately
In AIDL version 2, APIs were optional. In 3 and newer, they are
required.

Bug: b/311536993
Test: atest VtsHalRadioTargetTest
Change-Id: I5325aa6d3505afa5df3d6b295a4ffd62a075da16
2023-12-01 12:43:49 -05:00
Yomna Nasser
5803e9666d Merge "No longer require default enablement of securityAlgorithmsUpdated()" into main 2023-11-28 02:46:12 +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
yomna
d5fb11d285 No longer require default enablement of securityAlgorithmsUpdated()
No longer require default enablement of IRadioNetworkIndication.securityAlgorithmsUpdated()
by removing "default true" requirement to
IRadioNetwork.setSecurityAlgorithmsUpdatedEnabled()

Bug: 312484760
Test: m
Change-Id: Ia18fcb3d350341e03216df4b3c1fa27a85fcacc7
2023-11-21 20:27:25 +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
Joonhun Shin
30945ccbb5 Merge changes from topic "hal_telephony_feature_mapping" into main
* changes:
  update vts to enforce telephony feature mapping
  Add comment for HAL radio APIs and telephony feature mapping
2023-11-15 01:19:03 +00:00
joonhunshin
d519aead5b update vts to enforce telephony feature mapping
Bug: 297989574
Test: build pass
Change-Id: I74da66f0f066a9da3a97901b992ea02adf3fece2
2023-11-10 08:06:43 +00:00
joonhunshin
b98ad6e840 Add comment for HAL radio APIs and telephony feature mapping
Bug: 297989574
Test: build pass
Change-Id: I5f143de9688823f3a2c2b241f4984a22d523470f
2023-11-10 07:44:34 +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
Yomna Nasser
40238a5ed2 Merge "setNullCipherAndIntegrityEnabled VTS to no longer return REQUEST_NOT_SUPPORTED" into main 2023-10-18 21:01:47 +00: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
Xin Li
11ee4fea87 Merge android14-tests-dev
Bug: 263910020
Merged-In: I770dc5620648df2eab608e030c5e76cf190f315d
Change-Id: If4fe726d538386d70061e8051299d8fb393ef5df
2023-10-10 16:17:14 -07:00
yomna
efc2c9ab56 Clarify IRadioNetwork also applies to satellite-based cellular connections.
Clarify the functionality specified in IRadioNetwork applies to both
terrestrial (earth-based) and extraterrestrial (satellite-based)
cellular networks.

Bug: 301483855
Test: m
Change-Id: Id8d1508c68cbca868fc3471f0840883eeca163c7
2023-10-05 20:17:33 +00:00
yomna
fd98b87223 setNullCipherAndIntegrityEnabled VTS to no longer return REQUEST_NOT_SUPPORTED
Mark setNullCipherAndIntegrityEnabled are required-to-support.

Bug: 303307414
Test: m & atest VtsHalRadioTargetTest
Change-Id: I05a4a0791f4cad2f3044778657ae2a13795433a7
2023-10-05 17:13:56 +00:00
Sarah Kim
80000b39d6 Merge "Update VTS tests with EUTRAN instead of GERAN" into main am: 481316f2d6
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2745917

Change-Id: I47915bf6d59afe8c799d4fdeac3deaa238935b7e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-15 22:45:06 +00:00
Sarah Kim
481316f2d6 Merge "Update VTS tests with EUTRAN instead of GERAN" into main 2023-09-15 21:59:58 +00:00
Sarah Chin
947f486737 Update VTS tests with EUTRAN instead of GERAN
These tests were created for IRadio 1.2 when all devices supported GSM,
and REQUEST_NOT_SUPPORTED was valid for devices that didn't support GSM. Change the VTS logic to test EUTRAN instead of GERAN.
Remove REQUEST_NOT_SUPPORTED for tests now without GERAN and add REQUEST_NOT_SUPPORTED for all GERAN-specific tests.

Test: atest VtsHalRadioTargetTest
Bug: 294965245
Change-Id: Ib36b171e33451bf0c9adc0b065a4c74df357e77e
Merged-In: Ib36b171e33451bf0c9adc0b065a4c74df357e77e
2023-09-15 21:10:01 +00:00
Sarah Chin
0779ca2f23 Update VTS tests with EUTRAN instead of GERAN am: 88aa5f6bcd am: 1b01cb5caf am: 28559ee74b
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/24702788

Change-Id: I92c498e1fcbea0d6d0c8127d1f0e3d9c00544c0c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-15 21:00:33 +00:00
Sarah Chin
88aa5f6bcd Update VTS tests with EUTRAN instead of GERAN
These tests were created for IRadio 1.2 when all devices supported GSM,
and REQUEST_NOT_SUPPORTED was valid for devices that didn't support GSM. Change the VTS logic to test EUTRAN instead of GERAN.
Remove REQUEST_NOT_SUPPORTED for tests now without GERAN and add REQUEST_NOT_SUPPORTED for all GERAN-specific tests.

Test: atest VtsHalRadioTargetTest
Bug: 294965245
Change-Id: Ib36b171e33451bf0c9adc0b065a4c74df357e77e
2023-09-15 18:40:27 +00:00
Sarah Kim
9f7b41ae08 Merge "Add null check for osAppId" into stage-aosp-udc-ts-dev am: 848650fd00 am: b668cff7ff am: 98843a2b8b
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/24698008

Change-Id: Ie974d9a85fa633142080a318ecddf4a69fb84626
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-12 22:56:21 +00:00
Treehugger Robot
e2f2569e5a Merge "Merge OWNERS files for radio" into main am: 62431377b5 am: 73794557cf am: 54a26c13fc am: c16f79b27d am: e62e8f72d7
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2747193

Change-Id: Ifda51e6d9c5e4baa42f2861356223eae31e27b28
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-11 19:52:53 +00:00
Treehugger Robot
54a26c13fc Merge "Merge OWNERS files for radio" into main am: 62431377b5 am: 73794557cf
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2747193

Change-Id: I08a7fbdca8f6c6c9f09de0a8a9af5fde3f37a9e0
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-11 17:22:35 +00:00
Treehugger Robot
73794557cf Merge "Merge OWNERS files for radio" into main am: 62431377b5
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2747193

Change-Id: Ie4457ad03041d85f9c9746dbc01b86dbb8ca5003
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-09-11 17:18:36 +00:00
Devin Moore
4d8a6562e6 Merge OWNERS files for radio
Test: none
Bug: 296950573
Change-Id: I2bb2bc894d7631e41f3651076b1a8d64400d65c1
2023-09-08 23:13:57 +00:00
Sarah Chin
35bf8e1b50 Add null check for osAppId
Test: atest VtsHalRadioTargetTest
Bug: 297467393
Change-Id: Ib94d118765bf527ba51d5e7e29942cec6bff61c4
2023-09-07 23:19:41 +00:00
Xin Li
879960bdce Merge Android U (ab/10368041)
Bug: 291102124
Merged-In: I7b6fffac2ada0e039f79bad8cc9b4d954e9c3460
Change-Id: I9466127d8d0fa38df36ca99f704853b2db871e67
2023-08-25 13:29:30 -07:00
Hakjun Choi
6c346c13ff Merge "Revert "Add setSatellitePlmn() related HAL apis"" into main 2023-08-10 14:37:33 +00:00
Sarah Chin
a2d989f0ff VTS setGetAllowedNetworkTypesBitmap allow reset am: ba1c37e79b am: 80e0490502 am: f553053bb0
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/24304951

Change-Id: Ia4bcf96ca16c915d5fc4dcdae22c351587918bae
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-08-08 21:34:59 +00:00