Commit graph

70 commits

Author SHA1 Message Date
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
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
Treehugger Robot
fe65055051 Merge "Don't use C-style cast." am: d08759dc42
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2178554

Change-Id: If6bda47a289661afd84d40201d9beaa56f07d245
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-08-09 06:16:31 +00:00
Tomasz Wasilczyk
b542add5c7 Don't use C-style cast.
I thought Type{valueOfOtherPrimitiveType} is a fancy way of doing static
cast. It's not. In fact, it's the same as (Type)valueOfOtherType.

Bug: 241599082
Test: make -k100 tidy-hardware-interfaces-radio
Change-Id: I85ddbe54601b9111030013be85226b90f3d2fe6f
2022-08-08 19:04:26 +00:00
Gary Jian
97347c1fa6 Merge "Fix type conversion from aidl::AccessNetworks to hidl::RadioAccessNetworks" am: b9fbe11dfe am: 96d037bf93 am: 4315111833
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2026284

Change-Id: Ic7bf25de751e9db4cc646d7411ae5c5f7478fe43
2022-03-18 04:46:47 +00:00
Gary Jian
b611de7c3a Fix type conversion from aidl::AccessNetworks to hidl::RadioAccessNetworks
aidl::AccessNetworks and hidl::RadioAccessNetworks has a different enum

Bug: 223770908
Test: manual
Change-Id: Idd20d77c0090567a4e88334061ecd44415500000
2022-03-17 10:48:30 +08:00
Tomasz Wasilczyk
896b7ab730 Expose response methods for services using compat library
Bug: 211819471
Test: it builds
Change-Id: I1fecf05fa8c5c862f18cbc6c974bb9d6a6d39892
2022-02-07 10:13:01 -08:00
Sarah Chin
f746a91d93 Final API changes for IRadio
Remove CarrierRestrictions#priority
Move USSD from messaging -> voice
Rename DataProfileInfo#TYPE_THREE_GPP/2 -> TYPE_3GPP2
Remove neighboring CID APIs

Test: atest VtsHalRadioTargetTest
Bug: 199433581
Bug: 216688606
Change-Id: I621d99b8024f92709bcb675b667bcba678eede9b
Merged-In: I621d99b8024f92709bcb675b667bcba678eede9b
2022-01-31 13:29:03 -08:00
Sarah Chin
02ab7331ac Merge "Allow null DataProfileInfo for IA APN to clear" 2022-01-29 01:46:13 +00:00
Sarah Chin
ca421a6c70 Final API changes for IRadio
Remove CarrierRestrictions#priority
Move USSD from messaging -> voice
Rename DataProfileInfo#TYPE_THREE_GPP/2 -> TYPE_3GPP2
Remove neighboring CID APIs

Test: atest VtsHalRadioTargetTest
Bug: 199433581
Bug: 216688606
Change-Id: I621d99b8024f92709bcb675b667bcba678eede9b
2022-01-28 15:56:10 -08:00
Sarah Chin
4ae4e1723f Allow null DataProfileInfo for IA APN to clear
Test: build
Bug: 216357727
Change-Id: If003316192f579a3970ac48eaf50cb714cf757e6
Merged-In: If003316192f579a3970ac48eaf50cb714cf757e6
2022-01-28 15:15:23 -08:00
Sarah Chin
fbc5d731ca Allow null DataProfileInfo for IA APN to clear
Test: build
Bug: 216357727
Change-Id: If003316192f579a3970ac48eaf50cb714cf757e6
2022-01-28 10:48:10 -08:00
Sooraj Sasindran
d561cc3391 add slicingConfigChanged api
add slicing config changed api to be sent
by modem whenever there is a slice config change

Test: build, vts tracked using bug 214043323
Bug: 194332512
Change-Id: I86e8ab8ac5aa782b099434f1a04ce314631b7f4e
2022-01-13 11:40:54 -08:00
Sarah Chin
fd593414cd Merge changes Ic82ffd2f,I29632003
* changes:
  Finish IRadio 1.6/IRadioConfig 1.3 AIDL VTS
  Convert hidl_bitfield and bitfield to int
2022-01-06 21:52:35 +00:00
Tomasz Wasilczyk
e807d37229 Port ID is always 0 for HIDL HAL.
Bug: 203699028
Test: Build and boot Cuttlefish
Change-Id: Ie948537d63a68e1c9e6c99422b4868e86dee9de9
2022-01-06 03:25:49 +00:00