Commit Graph

26 Commits

Author SHA1 Message Date
joonhunshin
d519aead5b update vts to enforce telephony feature mapping
Bug: 297989574
Test: build pass
Change-Id: I74da66f0f066a9da3a97901b992ea02adf3fece2
2023-11-10 08:06:43 +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
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
Steven Moreland
ae7e4b0ee2 Disable radio satellite tests.
This is causing conflicts with Android U finalization
because when it lands, version 3 of radio doesn't exist
in Android U yet.

The radio interface should have already been frozen. This
is a temporary change to land finalization, and we'll follow
up to improve it later.

Bug: 277379745
Test: finalization compiles, run test on cf
Change-Id: I53ba9ee1a2657d3f18913f5fcce817105bb7f357
2023-04-07 22:11:25 +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
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
Pomai Ahlo
dc1e6193eb [ISap hidl2aidl] VTS Tests
Add VTS tests for the new AIDL interface

Test: atest VtsHalRadioTargetTest:PerInstance/SapTest
Bug: 241969533
Change-Id: Ia4a6be9aa0fd61c310fb539b44cc4d6a2e6e3852
2022-12-13 11:57:07 -08: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
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
Helen
b423fafc36 [AOSP Ims] Merge Ims and ImsMedia HAL from 'main-ims-dev' to 'master' branch
Bug: 250912118, 251319296
Test: atest VtsHalRadioTargetTest

Change-Id: Idad3b444f57c3964549bd64222967fed954219cd
2022-10-26 08:55:20 +00:00
Sewook Seo
8001cc05fa [conflict] Merge "Revert "Radio HAL : Support N3IWF"" am: eab578f9ba
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/20251245

Change-Id: I09144e6b79b4f50f6b52043a0a98119e80e6f721
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-21 12:17:46 +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
TreeHugger Robot
c9394abe24 [conflict] Merge "Radio HAL : Support N3IWF" am: f71279a2ab
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/20057104

Change-Id: I13cd2d7533945f9cd702a3b708415fcb5864ce2c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-10-11 02:26:45 +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
Hunsuk Choi
5da865657d Remove @deprecated annotation temporarily
AIDL generated code causes errors with @deprecated annotation
while building NDK. See b/228499516.

Bug: 216387835
Bug: 228511128
Test: build & flash
Change-Id: Id833d0457aaf441324a1b42d0f72cdbb3c7eb608
2022-04-07 20:57:47 +00:00
Chih-hung Hsieh
b9b776a905 Merge "Add timed out test files to tidy_timeout_srcs" am: ff54f73b4f am: fa83970b3a am: 581616e658 am: 34593d4e2a am: e84ca50684
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1992232

Change-Id: I8a538e639d8ab71794ff81e22671b5f3c9568d60
2022-02-24 02:52:03 +00:00
Chih-hung Hsieh
34593d4e2a Merge "Add timed out test files to tidy_timeout_srcs" am: ff54f73b4f am: fa83970b3a am: 581616e658
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1992232

Change-Id: I2eac13fe3b5ab0b4f15d6ceadf376e5e74124a81
2022-02-24 01:32:09 +00:00
Chih-Hung Hsieh
ad1bf31b78 Add timed out test files to tidy_timeout_srcs
* Timed out runs do not show any warning messages.
* These test files cannot finish clang-tidy runs with
  the following settings:
    TIDY_TIMEOUT=90
    WITH_TIDY=1
    CLANG_ANALYZER_CHECKS=1
* When TIDY_TIMEOUT is set, in Android continuous builds,
  tidy_timeout_srcs files will not be compiled by clang-tidy.
  When developers build locally without TIDY_TIMEOUT,
  tidy_timeout_srcs files will be compiled.
* Some of these test modules may be split into smaller ones,
  or disable some time consuming checks, and then
  enable clang-tidy to run within limited time.

Bug: 201099167
Test: make droid tidy-hardware-interfaces_subset
Change-Id: I1de28f1572fff368f67eab512fffec9f2e5c2a9b
2022-02-18 17:25:41 -08:00
TreeHugger Robot
a8a1bd33a2 Merge "Enable IRadio AIDL VTS tests" am: 258ceccf20
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/16907812

Change-Id: Ib8ae5557b30c1f12f5d6fc1a89bab105ab7d5eb0
2022-02-16 23:17:46 +00:00
Sarah Chin
0623bdd5fc Enable IRadio AIDL VTS tests
Fix failing SIM tests so test suite can be enabled

Test: atest VtsHalRadioTargetTest passes
Bug: 217574863
Change-Id: Id7ac87ca6da799df4af983cd295a4234e75565d2
2022-02-16 11:11:44 -08:00
Hunsuk Choi
9d4f38cabe Add IRadioIms AIDL
Bug: 216387835
Test: build & flash
Change-Id: I9f5d3117265187453b53ef9dd381bb3b600f3082
2022-02-04 11:59:21 +00:00
Sarah Chin
91997ac089 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
Merged-In: Ic82ffd2feacc107e9b291ef3aab861d0c1496489
2022-01-05 14:29:35 -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
d2a4119e2a VTS for IRadio AIDL
Test: build
Bug: 1932997
Change-Id: Ia2fa0df840ff26b4e58d9e44567909815fb5edf5
Merged-In: I4ee665519bfd2fc818fb68beee1f158b10e46176
2021-12-23 17:33:03 -08:00
Sarah Chin
fc5603b7ec VTS for IRadio AIDL
Test: build
Bug: 210712359
Change-Id: I4ee665519bfd2fc818fb68beee1f158b10e46176
2021-12-22 14:29:42 -08:00