Commit graph

22 commits

Author SHA1 Message Date
Sarah Chin
f60e5afd6f Convert hidl_bitfield and bitfield to int am: c9d3b7b9d6
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1937403

Change-Id: I8199e07b4817ade02476aa72730ec932735552f9
2022-01-06 22:10:20 +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
Tomasz Wasilczyk
9c922979d2 Fix minor TODOs in HIDL-AIDL translation shim
Bug: 203699028
Bug: 210498497
Test: build and boot Cuttlefish
Change-Id: I82dd52f313b5768cfccf0d6a7705b28dfcff24fa
2022-01-06 03:25:37 +00:00
Sarah Chin
c9d3b7b9d6 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
Merged-In: I2963200311494718ae89af8deade0b1dd41354f8
2022-01-05 14:28:57 -08:00
Tomasz Wasilczyk
bf3f93bbf4 Merge changes Iac870a24,I74afe105,I7db17475,I1e0cd95f
* changes:
  Move Radio HAL compat shim logs to radio buffer
  Set HAL response functions after framework sets all of theirs.
  Use most recent available HAL methods.
  Use AIDL callbacks directly.
2022-01-05 22:22:35 +00:00
Tomasz Wasilczyk
6155d5f969 Move Radio HAL compat shim logs to radio buffer
Test: adb logcat -b radio | grep -i radiocompat
Change-Id: Iac870a24d619db8a86ce91029f25c50ef862a268
Merged-In: Iac870a24d619db8a86ce91029f25c50ef862a268
2022-01-05 12:38:46 -08:00
Tomasz Wasilczyk
963a56f74e Set HAL response functions after framework sets all of theirs.
Bug: 207695009
Test: Build with ag/16322062 and a handful of patches from b/207695009,
      try to use telephony stack
Change-Id: I74afe105a22a24efa0c38de20c75beffc58b144f
Merged-In: I74afe105a22a24efa0c38de20c75beffc58b144f
2022-01-05 12:38:39 -08:00
Tomasz Wasilczyk
571542b4be Use most recent available HAL methods.
Bug: 207695009
Test: Build with ag/16322062 and a handful of patches from b/207695009,
      try to use telephony stack
Change-Id: I7db1747550493a634290a968e3f5bbada66f322f
Merged-In: I7db1747550493a634290a968e3f5bbada66f322f
2022-01-05 12:38:30 -08:00
Tomasz Wasilczyk
60638572b2 Use AIDL callbacks directly.
Bug: 210498497
Test: build cuttlefish with ag/16322062, watch logs
Change-Id: I1e0cd95f5f9a911564d14be2d8bbb328572de8c8
Merged-In: I1e0cd95f5f9a911564d14be2d8bbb328572de8c8
2022-01-05 12:38:20 -08:00
Sarah Chin
932926691a Merge changes from topic "usage-setting-hal"
* changes:
  UsageSetting Compat Stubs
  Add UsageSetting to IRadioNetwork
2022-01-05 20:06:19 +00:00
Sarah Chin
3d7d0d2926 Merge "Add TrafficDescriptor to DataProfileInfo" 2022-01-04 17:27:40 +00:00
Nathan Harold
5dad8ffb50 UsageSetting Compat Stubs
Bug: 210023167
Test: make android.hardware.radio-library.compat
Merged-In: Iea5e016878f375608a167ad0fdc232fd2e743fa6
Change-Id: Iea5e016878f375608a167ad0fdc232fd2e743fa6
(cherry picked from commit 055c02fcfb)
2021-12-29 09:43:13 -08:00
Sarah Chin
e98dd0e943 Add TrafficDescriptor to DataProfileInfo
Test: build
Bug: 208651109
Change-Id: Ic5e5edab9be1087044e1a303735a59a4cef8ee89
Merged-In: Ic5e5edab9be1087044e1a303735a59a4cef8ee89
2021-12-23 17:30:36 -08:00
Tomasz Wasilczyk
0675bafd42 Add OWNERS file for AIDL-HIDL compat shim layer
Bug: 203699028
Test: N/A
Change-Id: I02650c8d1f0af58df7094a7316d65599bf0512f1
2021-12-20 12:33:30 -08:00
Gary Jian
2ea9241a0e Improve getModemActivityInfo API
Add optional fields to allow modem to report activity information
of different technologies

Bug: 202413770
Test: m android.hardware.radio.modem-update-api

Change-Id: I3bb76c030222868ce881487fb17692a476c5f846
2021-12-10 12:16:45 +08:00
Tomasz Wasilczyk
dcbae487dd Implement RadioModem for AIDL-HIDL Telephony HAL translator
Bug: 203699028
Test: Boot and grep logcat against radiocompat
Change-Id: I670f78af2cd7a0ce0b49dfc802fd363f47d9b6a6
2021-12-02 09:55:33 -08:00
Tomasz Wasilczyk
6e084181d1 Implement RadioVoice for AIDL-HIDL Telephony HAL translator
Bug: 203699028
Test: Boot and grep logcat against radiocompat
Change-Id: Ie2dce95ba1a468c10d92a74bfdca03d2a8d744b0
2021-12-02 09:55:23 -08:00
Tomasz Wasilczyk
70ac7bfb86 Implement RadioNetwork for AIDL-HIDL Telephony HAL translator
Bug: 203699028
Test: Boot and grep logcat against radiocompat
Change-Id: Ic44227c9e2cd38ead97d3f3dda2e028052876568
2021-12-02 09:55:14 -08:00
Tomasz Wasilczyk
0716169065 Implement RadioData for AIDL-HIDL Telephony HAL translator
Bug: 203699028
Test: Boot and grep logcat against radiocompat
Change-Id: I5770ee4125cd9e6f118200ecee889ad785e8929f
2021-12-02 09:55:06 -08:00
Tomasz Wasilczyk
7f51a9ad1e Implement RadioSim for AIDL-HIDL Telephony HAL translator
Bug: 203699028
Test: Boot and grep logcat against radiocompat
Change-Id: I82d27049858e578522b83811a787b259e67d00a4
2021-12-02 09:54:56 -08:00
Tomasz Wasilczyk
9ddc87f6af Implement RadioMessaging for AIDL-HIDL Telephony HAL translator
Bug: 203699028
Test: Boot and grep logcat against radiocompat
Change-Id: I10f0fc0b871fbaf26145c83211770a82af6adc61
2021-12-02 09:54:48 -08:00
Tomasz Wasilczyk
bff3b5b4c3 Initial implementation of HIDL-AIDL Telephony HAL translator
Bug: 203699028
Test: Boot and grep logcat against radiocompat
Change-Id: I182edf3b1fa39b30818e79a68fc586f12b677d19
2021-12-02 09:54:35 -08:00