Commit graph

1957 commits

Author SHA1 Message Date
Yomna Nasser
06e2f86b0d Merge "Update VtsHalRadioTargetTest: null cipher disablement APIs are optional" into main 2024-01-31 19:23:47 +00:00
yomna
046deb919b Update VtsHalRadioTargetTest: null cipher disablement APIs are optional
Mark isNullCipherAndIntegrityEnabled and setNullCipherAndIntegrityEnabled as optional.

Bug: b/307361090
Test: m & atest VtsHalRadioTargetTest
Change-Id: I74a05b068d415cefbd87cdc53e3cc099529ad04a
2024-01-31 18:30:31 +00:00
Bodam Nam
eca8be369d Merge "Modify the api definition in the ImsMedia HAL for AV sync" into main 2024-01-26 07:52:03 +00:00
bodamnam
559c20d4f4 Modify the api definition in the ImsMedia HAL for AV sync
For more accurate calculation of incoming packet latency and improved inter-media synchronization, modify the AVSync API's request to use the RTCP-SR report's NTP timestamp. This absolute timestamp facilitates cross-media comparisons.

Bug: 321878340
Test: mm
Change-Id: I9980ac832095d1caf82c42e17307c83522de4b3e
2024-01-26 06:21:32 +00:00
sangyun
3fd567437c Allows to skip old tests for new networks.
If the getDataRegistrationState interface is tested on a new RAT
(e.g. 5g) that was not supported in this version, this allows the
test to be skipped for newer networks.

Bug: 303672201
Test: atest VtsHalRadioV1_0TargetTest:PerInstance/RadioHidlTest
Change-Id: I1bbaefd1f1f41bb4b46fb515e5a1bc6b80153c74
2024-01-24 13:47:51 +09:00
Yomna Nasser
40d65fd6d4 Merge "Include SOS enums in ConnectionEvent, IPsec enums in SecurityAlgorithm" into main 2024-01-17 21:12:38 +00:00
Treehugger Robot
5b93e0b95f Merge "Remove error check for REQUEST_NOT_SUPPRTED" into android14-tests-dev am: 990cb24694 am: af43cd8a9d am: 2527610077
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2887386

Change-Id: I802187ce5d935daaec8e063918d075a3d45e6153
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-17 19:53:30 +00: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
Gil Cukierman
aa0c71e578 Add default member initializers for bool and int
Bug: 310650389
Change-Id: I1742bbc9b894b2cd379695d6b197c80f4054e395
Test: atest VtsHalRadioTargetTest
2024-01-17 17:44:30 +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
Treehugger Robot
4f2095cf74 Merge "Rename from ephlmn to ehplmn" into main 2024-01-12 20:17:11 +00:00
Aishwarya Mallampati
eba83f89f7 Merge "Fix enum number in RegistrationFailCause" into main 2024-01-12 18:27:32 +00:00
liuxiangjun
b4b41a8886 Remove the SIM card status condition check and add accepted possible errors am: 8877018da4 am: 66b8d373e4 am: 607260a10e
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2884866

Change-Id: I31de3f1ae0f74f80b4e934b5a9aa8bb4ab4a92fd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-12 11:13:52 +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
arunvoddu
cb228e122c Rename from ephlmn to ehplmn
Bug: 314835886
Test: build successfully
Change-Id: I9c335fb9628c7a9cfd38da64592c3a09d26f85a7
2024-01-12 06:28:28 +00:00
Aishwarya Mallampati
a4ab299db4 Fix enum number in RegistrationFailCause
Bug: 317689758
Test: build
Change-Id: Ie35226fae05054dfe2ec92a4e19a8a6396aa6f25
2024-01-10 22:48:28 +00:00
yomna
9e2546bda5 Include SOS enums in ConnectionEvent, IPsec enums in SecurityAlgorithm
Bug: b/319272663
Test: m
Change-Id: Ifdfc4da8a93485f4f39beb57d60910f2905eb4ad
2024-01-10 22:28:31 +00:00
Treehugger Robot
7186eb9950 Merge "Updated VTS getSimultaneousCallingSupport test." into main 2024-01-08 15:40:51 +00:00
Grant Menke
3bc635e7b7 Updated VTS getSimultaneousCallingSupport test.
This CL updates the getSimultaneousCallingSupport VTS test to ensure that REQUEST_NOT_SUPPORTED is not returned and that enabledLogicalSlots is set to an empty array by default for the default CF impl.

Test: VtsHalRadioTargetTest
Bug: 311495663
Change-Id: Ie382c14a19951bb69c7b7db4056f0e9dabc27685
2024-01-05 19:13:18 +00:00
yomna
5f21fc7462 Clarify securityAlgorithmsUpdated and add new null enums
Per vendor feedback, adds SRTP_NULL, IMS_NULL, clarifies VoWiFi are reserved
for future use, and when state for securityAlgorithmsUpdated is expected to
be cleared.

Bug: b/318426372, b/318425921, b/318426377, b/318427053
Test: m
Change-Id: I465e97a445d330088fb58d2ccc9481cfe360fc07
2024-01-04 22:11:42 +00:00
Yomna Nasser
6ee65891d6 Merge "Clarify ambiguities in securityAlgorithmsUpdated." into main 2024-01-02 17:18:22 +00:00
yomna
85108745a4 Clarify ambiguities in securityAlgorithmsUpdated.
Make it clear that the modem should send an update whenever the
ciphering or integrity algorithm changes, even if a given algorithm was
used for a particular ConnectionEvent sometime in the past.

Bug: 317205446
Test: m
Change-Id: I4864614936fa972da4ce12cbe74ad5b69941ff87
2023-12-28 18:55:01 +00:00
Treehugger Robot
9941019166 Merge "libradiocompat: Expose AIDL indications" into main 2023-12-28 18:34:34 +00:00
Gil Cukierman
51548b2a9a Clarify securityALgorithmsUpdated emergency behavior
securityAlgorithmsUpdated should be called by modems when the value of isUnprotectedEmergency changes.

Bug: 317205446
Change-Id: I5e1815458119038495c1c38089bea7db69ae183c
Test: m
2023-12-20 17:11:29 +00:00
Gil Cukierman
5c3e08bb79 libradiocompat: Expose AIDL indications
Bug: 308985785
Test: m
Change-Id: Iecf657e06a00e2beb781ac7ec849950dcb42038d
2023-12-19 17:42:38 -05:00
Gil Cukierman
d9657be6d9 Fix case on SIP HMAC enums
null -> NULL

Change-Id: I283bae1e8820db1e862f03372041796db5daa204
Test: m
Bug: 283336425
2023-12-18 14:56:18 +00:00
Grant Menke
d7de77d03c Merge "Added Telephony DSDA Support to the HAL." into main 2023-12-15 22:15:35 +00:00
Grant Menke
37cc14d025 Added Telephony DSDA Support to the HAL.
This CL updates the relevant aidl files to allow the modem to dynamically inform telephony of whether simultaneos cellular calling is supported.

Bug: 311495663
Test: VTS
Change-Id: Ie1e10a50227e8a53fc62a5822a0a115b101ef388
2023-12-15 18:12:18 +00:00
Sukhwan Mun
e6fcf24401 rename TRIGGER_CLEAR_RAT_BLOCK to _BLOCKS
Rename TRIGGER_CLEAR_RAT_BLOCK to TRIGGER_CLEAR_RAT_BLOCKS
and update comments for TRIGGER_RAT_BLOCK

Bug: 315094087
Test: FrameworksTelephonyTests:ImsPhoneCallTrackerTest#testUpdateImsRegistrationInfo
Change-Id: I5c3f60c80caae0f66c40c18c0dd80e1e01b3ec42
2023-12-15 09:14:52 +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
Jayachandran C
f8f21c07f7 Merge "Update OWNER for IRadio" into main am: 983041b502 am: e1c1ce4f8c am: 06cee40021
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2869298

Change-Id: I1c3c9b3b57a032761a758c773f3126325362ffe8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-12-13 00:30:24 +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
Jayachandran C
779268e142 Update OWNER for IRadio
Change-Id: Iaeeba97a183e9821b4c5e530cca84c461f90b10e
2023-12-12 08:03:20 +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