Commit Graph

21 Commits

Author SHA1 Message Date
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
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
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
Dominik Maier
2dec001d16 Add isNullCipherAndIntegrityEnabled HAL API
Bug: b/237529943
Test: m
Change-Id: Ie4d4f7be78e748f4166ffd371e8acf2c38de8f99
2022-12-13 01:43:47 +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
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
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
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
Sarah Chin
479ec9e172 VTS setSystemSelectionChannels maintain current state
Test: atest VtsHalRadioTargetTest
Bug: 231271472
Change-Id: If261f548da102963130b8cd669eb6392c9270f9a
2022-05-18 16:38:29 -07:00
Sarah Chin
912bdf343c Add all prior VTS tests
Test: atest VtsHalRadioTargetTest
Bug: 210712359
Change-Id: Ib7ace442ee2bf8d203df9899d8e8331b26af74ad
2022-01-28 01:02:46 -08:00
Sarah Chin
c83bce4cc9 Finish IRadio 1.6/IRadioConfig 1.3 AIDL VTS
Implement IRadioConfig VTS and helper methods
Verify that VtsHalRadioTargetTest passes

Bug: 210712359
Test: atest VtsHalRadioTargetTest
Change-Id: Ic82ffd2feacc107e9b291ef3aab861d0c1496489
2022-01-04 21:06:30 +00:00
Sarah Chin
6d8e49a05e Convert hidl_bitfield and bitfield to int
The previous API surface replaced bitfields of enums with the enum,
which only allows one value at a time. Instead of using the enum,
replace with int instead.

Test: build
Bug: 210712359
Change-Id: I2963200311494718ae89af8deade0b1dd41354f8
2022-01-04 11:32:36 -08:00
Nathan Harold
244423c76b VTS for UsageSetting
Add tests to check that usage setting can be
retrived and set as well as ensuring that invalid
values cannot be set.

Bug: 205595503
Test: make VtsHalRadioTargetTest
Change-Id: I26a68d4b6be4810fab9302b58a3be7f65fc82c83
2021-12-22 14:40:34 -08:00
Sarah Chin
fc5603b7ec VTS for IRadio AIDL
Test: build
Bug: 210712359
Change-Id: I4ee665519bfd2fc818fb68beee1f158b10e46176
2021-12-22 14:29:42 -08:00