Commit Graph

52 Commits

Author SHA1 Message Date
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
Alex Buynytskyy
ab98b5f9e8 Merge "UpsideDownCake is now 34" into udc-dev am: 1deeb7fabf am: 2f9fca94a6
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/22462586

Change-Id: Ia0d5c1325d2848bad0052e18951ff405b6e025cf
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-04-11 01:41:53 +00:00
Alex Buynytskyy
ec1198d941 UpsideDownCake is now 34
Ignore-AOSP-First: UpsideDownCake Finalization
Bug: 275409981
Test: build
Change-Id: I832ab7a8b5445ba85e27bbcf5be64906bfa0e5be
2023-04-07 23:41:20 +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
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
Bo Hu
06c97aa87d Merge changes from topic "isap_hidl2aidl" am: 249e4eb80e am: 9456347361 am: 6f5c255dfc
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2362802

Change-Id: I505bbaace44483babbadd29b3ad445ba3be28625
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-01-06 17:20:29 +00:00
Bo Hu
249e4eb80e Merge changes from topic "isap_hidl2aidl"
* changes:
  Make Sap Interface Apex Available
  [ISap hidl2aidl] VTS Tests
  [ISap hidl2aidl] Compat Support
  Radio: hidl2aidl for ISap interface
2023-01-06 16:05:25 +00:00
Steven Moreland
e489590628 specify import version (I)
Required to automate AIDL finalization - makes errors show up
now instead of later.

Bug: 188871598
Test: build
Change-Id: I6f46a39f76a73f27a71bc36e600941249ccbe8ee
Merged-In: Ic544707bac671d8327d8cc704a9d453470141e8e
2022-12-23 03:49:06 +00:00
Pomai Ahlo
00579368f8 Make Sap Interface Apex Available
Tag: #feature
Bug: 241969533
Test: atest com.android.bluetooth.sap
Change-Id: Ia58fb9201b37cc6b4050d1662008cf681e82bc79
2022-12-21 17:41:00 +00:00
Myles Watson
26ae127557 Radio: hidl2aidl for ISap interface
Convert the ISap HIDL interface to AIDL using the script
Move ISap into android.hardware.radio.sap

Bug: 241969533
Test: new VTS Test
Change-Id: Ifee8c16e939f02ee4bbdb2fee23ce78b5e48df50
Merged-In: Ifee8c16e939f02ee4bbdb2fee23ce78b5e48df50
2022-12-21 17:40:19 +00:00
Steven Moreland
13666147e9 Mark modules frozen explicitly.
Makes it easier to see which versions are available.

Bug: 188871598
Test: N/A
Change-Id: Iec656df1d0008d95ab50f9bd8806517b95242f00
Merged-In: Ica76a8225fec8dc5267362cbfd43e06e65ad3f1e
2022-12-14 01:47:26 +00:00
Myles Watson
5b6498336d Radio: hidl2aidl for ISap interface
Convert the ISap HIDL interface to AIDL using the script
Move ISap into android.hardware.radio.sap

Bug: 241969533
Test: new VTS Test
Change-Id: Ifee8c16e939f02ee4bbdb2fee23ce78b5e48df50
2022-12-13 10:38:23 -08:00
Steven Moreland
edff13e314 Mark modules frozen explicitly.
Makes it easier to see which versions are available.

Bug: 188871598
Test: N/A
Change-Id: Ica76a8225fec8dc5267362cbfd43e06e65ad3f1e
2022-12-08 18:02:08 +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
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
Hunsuk Choi
ab99006d6a Fix broken build by android.hardware.radio.ims.media HAL
A CL following ag/20057104, changing the version of
android.hardware.radio HAL

Bug: 249129495
Test: build & flash
Change-Id: I6ea77b532b50d7cf71a05ac3bddfa55425b606cb
2022-10-12 05:48:11 +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
c488b6d7b6 Merge "Specify the version of imported android.hardware.radio" am: d57971acaa
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/20080073

Change-Id: I38958251e4afe65063cfe929752ff07af25ac534
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-09-29 18:51:31 +00:00
Hunsuk Choi
059583563d Specify the version of imported android.hardware.radio
To resolve the broken build due to the multiple versions of aidl_interface android.hardware.radio co-existed, including V1 an V2.

Bug: 243344927
Bug: 248994335
Test: build
Change-Id: I39a6af55e3573366d4cbeaf56467c567a9b48113
2022-09-29 06:52:16 +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
4deca65f34 Merge "Remove android.hardware.radio.ims* AIDL libs from VNDK" into main-ims-dev 2022-06-15 17:59:20 +00:00
Hunsuk Choi
0ce90389dc Remove android.hardware.radio.ims* AIDL libs from VNDK
A CL following ag/18869738.

Test: m
Change-Id: Ic9fae923285cbc7ebb73792fed0db219254483de
2022-06-15 03:11:32 +00:00
TreeHugger Robot
6159633cbe Merge "Remove AIDL-libs from VNDK" am: 20a62be9c1
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/18706375

Change-Id: I895275f56e31e4a22b183624fff4c289b723fa5e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-06-14 19:59:50 +00:00
Jooyung Han
c0b24f4f13 Remove AIDL-libs from VNDK
Some are still in VNDK because they are used in other VNDK libs.

Ignore-AOSP-First: some libs are still in internal master only.

Bug: 234181591
Test: m
Merged-In: If999df9c78a20df931177da11742b1c5de19bc08
Change-Id: If999df9c78a20df931177da11742b1c5de19bc08
(cherry picked from commit 5527adfd7f)
2022-06-14 14:08:59 +09:00
Jooyung Han
5527adfd7f Remove AIDL-libs from VNDK
Some are still in VNDK because they are used in other VNDK libs.

Ignore-AOSP-First: some libs are still in internal master only.

Bug: 234181591
Test: m
Change-Id: If999df9c78a20df931177da11742b1c5de19bc08
2022-06-02 17:43:19 +09:00
Aaron Tsai
1d782bd6a2 Support IRadioNetwork V2
Bug: 227110409
Bug: 232704878
Test: build pass
Change-Id: I703715db367ac660ef8c326b5171275a08ae06aa
2022-05-19 05:03:19 +00:00
Hunsuk Choi
5cab46158f Specify the version of android.hardware.radio interface
To fix the broken build:
error: hardware/interfaces/radio/aidl/Android.bp:269:1: ... VNDK-core must only depend on VND-core or VNDK-SP

Test: build

Change-Id: I8a9ac3840d81c3627ad3ad54c6299d6c3ec914f4
2022-04-20 23:36:26 +00:00
Jiyong Park
6044a3fc23 Freeze AIDL APIs for TM am: 70f5837e1f am: 9f7c8a1e57 am: 8065d19402
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/17753326

Change-Id: I4a69ea7a569222688a6ab7cd5d215bddd8522907
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-20 16:54:04 +00:00
Jiyong Park
8065d19402 Freeze AIDL APIs for TM am: 70f5837e1f am: 9f7c8a1e57
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/17753326

Change-Id: Ic29d57a4d099e472e2c88ba9cac77d7657aa958a
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-20 16:47:16 +00:00
Jiyong Park
70f5837e1f Freeze AIDL APIs for TM
Bug: 225941299
Test: m
Change-Id: I61eb51c0334eb99489c6f1570110d7e18c350c99
2022-04-16 07:03:24 +09:00
TreeHugger Robot
705c210445 Merge "[TCU Host] Enable telephony on Seahawk" am: 94d3d26d5f
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/17605140

Change-Id: Icbd6ea7b0a6c35a269b6658aa739e1ee36899d4c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-13 00:50:56 +00:00
TreeHugger Robot
94d3d26d5f Merge "[TCU Host] Enable telephony on Seahawk" 2022-04-13 00:12:00 +00:00
Treehugger Robot
5e59646bd6 Merge "Enable host support for IRadio AIDL" am: d9c19eda92 am: fc1b5d8c73 am: b349f550fa am: 1f31b6e68b am: eedda8c60b am: f053c80327
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2056267

Change-Id: Icc013a44bcf970b9e7bd0e56ee01e1cb4766bb83
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-06 00:35:02 +00:00
Serik Beketayev
a429c26008 [TCU Host] Enable telephony on Seahawk
Enabling telephony on Seahawk. Creating rilproxy
service that binds to radiocompat service and publishes
its APIs over RPC. radiocompat service is a translator
service from HIDL to AIDL.

Bug: 186760449
Test: m -j tcu-host-rilproxy && aae flash
Change-Id: I71bbafb15e8e7a2d3f68666a0564a4aa5fc3f0cb
2022-04-05 16:08:17 -07:00
Treehugger Robot
1f31b6e68b Merge "Enable host support for IRadio AIDL" am: d9c19eda92 am: fc1b5d8c73 am: b349f550fa
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2056267

Change-Id: I00a9f6a21fcbf0e9ca05abe261338a23cd9636b3
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-05 22:37:48 +00:00
Sarah Chin
57556fbde4 Enable host support for IRadio AIDL
Test: build
Bug: 227504826
Change-Id: Id444cd20944de3679b27667f2419d25f5c040f65
2022-04-05 12:01:35 -07:00
Helen
67e2eaa9a6 Background:
android.hardware.radio.data was frozen in the upstream tm-dev.
Previously, the interface had only V1 (as the in-development version)
and it was in the VNDK. However, after the freeze, it will have V1 and
V2, and only V1 will remain in the VNDK, because we can't have multiple
versions of the same AIDL interface in VNDK.

Problem:
```
> error: hardware/interfaces/radio/aidl/Android.bp:225:1: module "android.hardware
.radio.ims.media-V1-ndk" variant "android_vendor.Tiramisu_x86_64_silvermont_stat
ic" (created by module "android.hardware.radio.ims.media-V1-ndk-generator" (crea
ted by module "android.hardware.radio.ims.media_interface")): (native:vendor:vnd
k) should not link to "android.hardware.radio.data-V2-ndk" (native:vendor): VNDK
-core must only depend on VNDK-core or VNDK-SP
```

Bug: 227979452
Test: Build
Change-Id: Ie3d964c09598ec6efd863c561c314bad7cc7731d
2022-04-04 05:43:47 +00:00
Jiyong Park
5ff4c41f4e Freeze AIDL APIs for TM am: 703e97920e am: 6965d70cec am: cf2bf1a1c1
Original change: https://googleplex-android-review.googlesource.com/c/platform/hardware/interfaces/+/17314883

Change-Id: I038feb06ee3dd54881bf83d56a521bd50828728c
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2022-04-02 01:14:03 +00:00
Jiyong Park
703e97920e Freeze AIDL APIs for TM
Bug: 225941299
Test: m
Change-Id: Ie41cc0797710f813f92c65c387f247c7806d8394
2022-03-31 12:01:39 +09:00
Jayachandran C
60d68f88d5 Media HAL cleanup based on vendor feedback
Bug: 203240638
Test: Build
Change-Id: I6bdf47929385a5ed65f1a2ca34500c67888f8b07
2022-03-17 01:29:08 -07:00
Hunsuk Choi
9d4f38cabe Add IRadioIms AIDL
Bug: 216387835
Test: build & flash
Change-Id: I9f5d3117265187453b53ef9dd381bb3b600f3082
2022-02-04 11:59:21 +00:00
Jayachandran C
4d2441a735 Add ImsMedia APIs for interworking with vendor RTP stacks
Bug: 203240638
Test: Make
Change-Id: Iac9ab17265e36cd15277098fb3dbab1bbf778982
2021-11-22 20:17:05 -08:00
sandeepjs
e4bee9de18 [Android T][MEP]: HAL changes for MEP feature
Test: build
Bug: 199559065
Change-Id: I533c73bed0235fe58a583f04ca66d4bc9e08ced0
2021-10-05 02:57:17 +00:00
Sarah Chin
719715821d Move IRadioConfig into IRadio
Test: build
Bug: 198331451
Change-Id: I884aab7c6d76ef9610e3d239e9fbfe9e6568bfff
2021-09-23 23:18:15 -07:00
Sarah Chin
bca4e6c104 Create IRadio modules
Test: build
Bug: 198331451
Change-Id: I6721498d5a0f535fa2fdfac7485765c740e82682
Merged-In: I6721498d5a0f535fa2fdfac7485765c740e82682
2021-09-23 03:54:28 +00:00
Bob Badour
b8995451aa [LSC] Add LOCAL_LICENSE_KINDS to hardware/interfaces
Added SPDX-license-identifier-Apache-2.0 to:
  bluetooth/1.0/default/test/fuzzer/Android.bp
  keymaster/4.0/support/fuzzer/Android.bp
  radio/aidl/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all
Change-Id: Id9c8b253a2402a07637f96281bcdaffbf3afc3c3
2021-09-13 17:50:14 -07:00