Commit Graph

83 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
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
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
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
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
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
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
Muralidhar Reddy Mule
96b7f806c6 Merge "Add cuttlefish support for iccCloseLogicalChannelWithSessionInfo HAl 2.1 API" into udc-dev am: be44d36ed7 am: 7b178e8722
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/22648201

Change-Id: I06d072da40c6899318ab21457bf8ae7f500d3519
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-18 14:19:44 +00:00
Muralidhar Reddy
b27377ceb4 Add cuttlefish support for iccCloseLogicalChannelWithSessionInfo HAl 2.1 API
Bug: 268496310
Test: atest VtsHalRadioTargetTest:PerInstance/RadioSimTest, atest CtsCarrierApiTestCases:android.carrierapi.cts.CarrierApiTest#testIccCloseLogicalChannel
Change-Id: I3ce5fcb066e10fd65a605d1700721da37d97febb
2023-04-18 02:32:50 +00:00
Steven Moreland
771b5c19f3 Re-enable radio satellite tests. radio to V3
This moves everything to radio-V3. What happened was satellite-V1 was
added with changes to the radio HAL in master. When radio-V2 was
frozen on goog/master, this showed up as radio-V2 having backwards
incompatible changes in goog/master. So I disabled the build files
there. Now that radio-V2 is frozen, we can re-enable the usage
of radio-V3 types in master (the VTS test was the only thing using
these new types).

In order to resolve this, I’ve moved all the radio libs over to V3.
Ideally, we could have moved one service over at a time, as
"satellite" support was needed. Though I’ve done this expecting other
radio libs to change in V3, this will mean we don’t expect more radio
.bp changes in Android V.

One alternative to this would have been to change the other radio libs
to import V3, but this is considered somewhat of a hack, and it would be
guaranteed to break any vendor-owned builds. With the current change,
vendor-owned build configs should still work as-is until they manually
add satellite.

Test: hal_implementation_test, vts_treble_vintf_vendor_test
Bug: 277379745

Change-Id: Iedc3097a9db58c0539e4aa61d089ee9d1986d51f
2023-04-13 17:46:23 +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
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
Helen
e4af3c6ddf VTS implementation for ImsMediaHal
Bug: 263201546
Test: atest VtsHalRadioTargetTest (using cuttlefish)

Change-Id: I38eacded9a4523b7c5121f2d759d9b118923bcc7
2023-02-03 03:24:10 +00:00
Sarah Chin
537f17a3a2 Merge "Change averagingWindowMs to int" 2023-01-19 19:09:21 +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
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
b5da622cc7 Revert "[test_suite] 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: I58545f741e5d9e4252a1292dd9eb0c26047dafee
2022-12-26 01:40:05 +00:00
Pomai Ahlo
1d10db6063 [ISap hidl2aidl] Compat Support
Add support for ISap in the compat shim.

Test: atest VtsHalRadioTargetTest:PerInstance/SapTest
Bug: 241969533
Change-Id: I9fe5fe194de877bcd2b85ccfa822bd6565e2dc72
Merged-In: I9fe5fe194de877bcd2b85ccfa822bd6565e2dc72
2022-12-21 17:40:43 +00:00
Sewook Seo
ac59d54a04 Add VTS for measurement type UTRAN ECNO
Bug: 243685647
Test: atest VtsHalRadioTargetTest
Change-Id: Iac89c8b73026d7974726cba57a390da9c04535eb
2022-12-20 04:57:35 +00:00
Pomai Ahlo
25fb3aac3a [ISap hidl2aidl] Compat Support
Add support for ISap in the compat shim.

Test: atest VtsHalRadioTargetTest:PerInstance/SapTest
Bug: 241969533
Change-Id: I9fe5fe194de877bcd2b85ccfa822bd6565e2dc72
2022-12-13 10:38:30 -08:00
Dominik Maier
2dec001d16 Add isNullCipherAndIntegrityEnabled HAL API
Bug: b/237529943
Test: m
Change-Id: Ie4d4f7be78e748f4166ffd371e8acf2c38de8f99
2022-12-13 01:43:47 +00:00
arunvoddu
d9bbd44bf3 HAL changes to PrimaryImei feature
Bug: 184001777
Test: Build successfully
Change-Id: I54c35d9bebd32180583241bfba4d2fd93f85381d
2022-12-02 05:23:11 +00:00
TreeHugger Robot
05631762b5 Merge changes from topic "LocationPrivacy-HAL"
* changes:
  [test_suite] Add Location Privacy HAL
  [AIDL] Add Location Privacy HAL
2022-11-30 18:50:06 +00:00
Terry Huang
1f79db1faa [test_suite] Add Location Privacy HAL
Bug: 244637957
Test: Build test_suite pass

Change-Id: Id874a52d7ab62ae31b2d840cc236543be903191e
2022-11-23 16:41:07 +08:00
Sarah Chin
5d404b4c52 Change NrQos qfi from byte to int
Deprecate byte qfi and replace with int qosFlowIdentifier

Test: build
Bug: 247072632
Change-Id: I38cb276c7d0f0d4fd90d393351e44e4fcf162ae6
2022-11-22 23:30:45 +00:00
Sarah Chin
ed035ca3e1 Merge "Remove LTE_CA from HAL" 2022-11-18 18:40:24 +00:00
Sarah Chin
ef437d900f Remove LTE_CA from HAL
Update IRadio imports to use V2

Test: build
Bug: 240997187
Change-Id: Ie84a98156d8d02a36c3faa654decba6c837c362a
2022-11-18 06:28:57 -08:00
Hunsuk Choi
474ad38f33 Add isN1ModeEnabled and setN1ModeEnabled to IRadioNetwork
Bug: 255450196
Test: atest VtsHalRadioTargetTest
Change-Id: If8a9e1e1d3dccfa4867c9c7d597c09936abeaa5e
2022-11-17 17:01:12 +00:00
Sarah Chin
309090c573 Merge "Remove REQUEST_NOT_SUPPORTED from IRadio" 2022-11-16 20:58:51 +00:00
Sarah Chin
1044308363 Remove REQUEST_NOT_SUPPORTED from IRadio
Existing APIs should not allow REQUEST_NOT_SUPPORTED as a valid
error. VTS will be updated next to enforce this behavior.
Deprecate unused APIs and remove REQUEST_NOT_SUPPORTED. Deprecated APIs
will not be tested through VTS.

Test: atest hal_implementation_test
Bug: 254095902
Change-Id: I75861eaf632f624afd5fbee2acffb1dd5c5dde27
2022-11-16 09:31:36 -08:00
Yomna Nasser
9140b2ca7c Revert "Revert "Add setNullCipherAndIntegrityEnabled to IRadioNetwork""
This reverts commit eee413c667.

A fix was applied in frameworks/opt/Telephony.

Bug: b/237529943
Test: m
Change-Id: I40f1c4a92d492acc3ee6724090676fcd6b9f12e7
2022-11-16 00:09:24 +00:00
Binyi Wu
eee413c667 Revert "Add setNullCipherAndIntegrityEnabled to IRadioNetwork"
Revert "Add setNullCipherAndIntegrityEnabled CTS to IRadioNetwor..."

Revert "Add constants for setNullCipherAndIntegrityEnabled"

Revert "Add RIL interface for setNullCipherAndIntegrityEnabled"

Revert submission 20283075-setNullCipherAndIntegrityEnabled

Reason for revert:
DroidMonitor: Potential culprit for Bug b/259163733 - verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.

Reverted Changes:
Idad17af0a:Add setNullCipherAndIntegrityEnabled CTS to IRadio...
Ia72f7bdd6:Add constants for setNullCipherAndIntegrityEnabled...
I5ea99cb06:Add setNullCipherAndIntegrityEnabled to IRadioNetw...
I53403d9f7:Add RIL interface for setNullCipherAndIntegrityEna...

Change-Id: I67bcd9497a5885be59543de790af522a27b75380
2022-11-15 02:19:25 +00:00
Yomna Nasser
50081b287b Add setNullCipherAndIntegrityEnabled to IRadioNetwork
Expose control of allowing/disallowing null encryption & null
integrity modes to Android.

Bug: b/237529943
Test: m
Change-Id: I5ea99cb0637e8d508d74846b3e99bf8a7f5d559a
2022-11-10 23:15:35 +00:00
Hunsuk Choi
1a5f1ccfce Update libradiocompat for IRadioIms in CF
Bug: 216387835
Bug: 250912118
Test: atest VtsHalRadioTargetTest
Change-Id: I0761c7e3111a3f5a008a9b55ef3c068f3fe0702c
2022-11-09 05:52:42 +00:00
Hunsuk Choi
b768d1b9da Revert "Update libradiocompat for IRadioIms in CF"
Revert submission 20106610-ims-hal-cf

Reason for revert: Test failure with v2/android-app-compat-engprod/g3compat/g3-app-compat-main
Reverted Changes:
I2376f08c4:Update libradiocompat for IRadioIms in CF
Ib2cc006d5:Implement IRadioIms in CF

Change-Id: Id1062e908e067dd3ec01f3ecf43021368d5dc91e
2022-11-02 02:30:55 +00:00
Hunsuk Choi
9ea1ce13a6 Update libradiocompat for IRadioIms in CF
Bug: 216387835
Bug: 250912118
Test: atest VtsHalRadioTargetTest
Change-Id: I2376f08c4272ce1d882535be92150a3e33212e04
2022-10-28 10:15:50 +00:00
Hunsuk Choi
98d695ab00 Update IRadioNetwork and VTS for emergency domain selection
1. Add resetScan parameter to cancelEmergencyNetworkScan
It indicates the way how the next triggerEmergencyNetworkScan shall work.
If true, modem will start the new scan from the beginning.
Otherwise, it will proceed as an existing search.

2. Allow RadioError:REQUEST_NOT_SUPPORTED to make requests optional

Bug: 243344927
Test: atest VtsHalRadioTargetTest
Change-Id: I0eaf905d73a7910b7bbd651add4b8a3bb6a23dc6
2022-10-26 07:49:36 +00:00
Sewook Seo
f8b2031064 Revert "Radio HAL : Support N3IWF"
Revert "Update IRadioNetworkImpl of MockModem"

Revert "N3IWF HAL support: update NetworkResponse"

Revert submission 20057104-hal_support_n3iwf

Reason for revert: <N3IWF development will be done in private branch>
Reverted Changes:
Ie7784ffa3:Update IRadioNetworkImpl of MockModem
Iad6a6cc2e:N3IWF HAL support: update NetworkResponse
I2b5506d84:Radio HAL : Support N3IWF cuttlefish work
I8b4b055be:Radio HAL : Support N3IWF

Change-Id: I767ed13a8cd63bcbb28d4804e72cf3f01cd3584b
2022-10-21 00:43:46 +00:00
Sewook Seo
0e966f3ef3 Radio HAL : Support N3IWF
Introduce a new RadioTechnologyFamily type (NON_3GPP)
Include Radio tech family in RegStateResult to differentiate NR & N3IWF.
Add getRegistrationState to differentiate response between NR &
N3IWF.
Add unthrottleDataProfile to differentiate unthrottle event between NR & N3IWF

Bug: 249129495
Test: update-api, Android build, atest VtsHalRadioTargetTest
Change-Id: I8b4b055be140afd26b453fa8d50c999ad4c19bec
2022-10-06 22:28:00 +00:00
Hunsuk Choi
60d28d2c24 Upgrade the version of IRadioNetwork to V2
Bug: 243344927
Bug: 232285403
Test: build and flash
Change-Id: I4cc204c9237f017126a52cb12da5891671f248d6
2022-09-16 08:06:09 +00:00