Commit graph

1973 commits

Author SHA1 Message Date
Xin Li
64e598ce2b Merge Android 24Q2 Release (ab/11526283) to aosp-main-future
Bug: 337098550
Merged-In: I53a278f1317f5307441103dc42dc5be6f20d7075
Change-Id: I3a53ebf7339cdb886d3c1b733b8eee1847f8832a
2024-05-24 08:28:04 -07:00
Yomna Nasser
a95aa0fe46 Merge "Mark cellular security transparency APIs optional" into main 2024-05-13 20:48:34 +00:00
yomna
7b55d44afe Mark cellular security transparency APIs optional
Bug: b/300159864 b/276752426
Test: m
Flag: exempt
Change-Id: I814d8162ade48559ea35c55ac54f55eaee279e11
2024-05-13 18:03:52 +00:00
Gautam Raychaudhury
53295c021d Fix failures in VtsHalRadioV1_5TargetTest
Update below VTS tests with EUTRAN instead of GERAN.
setNetworkSelectionModeManual_1_5 and setSystemSelectionChannels_1_5
because some devices do not support GSM.

Test:
run vts -m VtsHalRadioV1_5TargetTest -t PerInstance/RadioHidlTest_v1_5#setNetworkSelectionModeManual_1_5/0_slot1
run vts -m VtsHalRadioV1_5TargetTest -t PerInstance/RadioHidlTest_v1_5#setNetworkSelectionModeManual_1_5/1_slot2
run vts -m VtsHalRadioV1_5TargetTest -t PerInstance/RadioHidlTest_v1_5#setSystemSelectionChannels_1_5/0_slot1
run vts -m VtsHalRadioV1_5TargetTest -t PerInstance/RadioHidlTest_v1_5#setSystemSelectionChannels_1_5/1_slot2

Bug: 335796413
Change-Id: Ia79460a168515d93883a0056c80f5915f016273d
2024-05-09 18:58:02 -07:00
Hunsuk Choi
04dbd06bb5 Fix test of triggerEmergencyNetworkScan am: 2b4c6387d3
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/3080044

Change-Id: I3422587ee52737abc2932caa102ceb24a68f5a24
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-05-09 06:00:33 +00:00
Hunsuk Choi
2b4c6387d3 Fix test of triggerEmergencyNetworkScan
triggerEmergencyNetworkScan needs to be triggered after
setEmergencyMode.

Bug: 336706719
Test: atest VtsHalRadioTargetTest:PerInstance/RadioNetworkTest#triggerEmergencyNetworkScan/0_android_hardware_radio_network_IRadioNetwork_slot1 -- --abi arm64-v8a
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:df7692133547c051389a7eda5a134f8e82dfa163)
Merged-In: If32d594525bea3a4a4562e2b1070ef646744513f
Change-Id: If32d594525bea3a4a4562e2b1070ef646744513f
2024-05-08 23:26:49 +00:00
Treehugger Robot
756b1b3d88 Merge "Keep only the errors received at SIM present condition" into main 2024-05-03 07:29:13 +00:00
liuxiangjun
4b7f0175f1 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

Merged-In: I75414ba18be93707310cace21b52508edfc33a20
Change-Id: I75414ba18be93707310cace21b52508edfc33a20
Signed-off-by: liuxiangjun <liuxiangjun3@xiaomi.com>
2024-03-07 02:41:51 +00:00
Devin Moore
a8efdb127e Vendor API level 202404 is now frozen
Ignore-AOSP-First: VINTF 202404 Finalization
Bug: 279809333
Test: build
Change-Id: Ie6d38d27a287e258c30516e0030ad8c931d06432
2024-02-20 21:05:23 +00:00
liuxiangjun
4e7c9e6a78 Keep only the errors received at SIM present condition
Remove SIM Absent specific errors, such as ILLEGAL_SIM_OR_ME

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: I1edcb265bd5a718c7d0d2be812fe3a435e39f55e
Signed-off-by: liuxiangjun <liuxiangjun3@xiaomi.com>
2024-02-18 02:39:00 +00:00
Nathan Harold
25ef569174 Merge "Only check result if getUsageSetting Succeeds" into main 2024-02-08 19:24:10 +00:00
Nathan Harold
dce4f358f7 Only check result if getUsageSetting Succeeds
Skip checking the result of getUsageSetting if the
call to the method returns an error.

Bug: 319369513
Test: atest VtsHalRadioTargetTest
Change-Id: Ice887a54d029037fa164bb548662dc5b385b3f8d
2024-02-07 14:55:05 -08:00
Treehugger Robot
c78f9f21f6 Merge "[DON'T BLOCK] Test ownership migration rules" into main am: 27e97308c4 am: 74dc4cc5d7
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2950589

Change-Id: I9a26bb26763d77e109f1d911d0ea7c95f632703f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-02-07 02:26:27 +00:00
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
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
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
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