Commit Graph

3 Commits

Author SHA1 Message Date
Devin Moore
bc279868ec Freeze android.hardware.tetheroffload
Removed the "owner" field in the aidl_interface module so it is frozen
with the rest of the interfaces in the future.

Test: m android.hardware.tetheroffload-freeze-api
Bug: 279471180
Change-Id: I15bbeb74a58211cc7037ba60c1a38c02bd742984
2023-04-25 16:45:28 +00:00
KH Shi
8196cbad1f Fix tethering build after ag/21363239
This commit fixes tethering apex build errors after ag/21363239:
- Remove unsupported field in Android.bp: "frozen: false"
- Add owner field to Android.bp to bypass compilation check of using
  unfrozen AIDL interfaces: owner: "google"

Bug: b/205762647
Test: build and install tethering apex:
      banchan com.google.android.tethering module_x86_64
      UNBUNDLED_BUILD_SDKS_FROM_SOURCE=true m apps_only dist
      adb install out/dist/com.google.android.tethering.apex
Change-Id: Iea77f2117834c1317b3ab16f71881a6b2e299474
2023-02-10 12:07:40 +00:00
KH Shi
7c4ed9ded3 Convert Tetheroffload HIDL to AIDL.
This patch converts Tetheroffload HIDL to AIDL and adds an empty
example implementation.
There are some changes in AIDL HAL:
1. Combine IOffloadConfig and IOffloadControl into IOffload
2. Use AIDL builtin errors exception code with message as return

Bug: b/205762647
Test: m android.hardware.tetheroffload-update-api
      m android.hardware.tetheroffload-V1-ndk
      m android.hardware.tetheroffload-service.example
      atest VtsHalTetheroffloadTargetTest
Change-Id: I9859ff3df608c058786b4e2b91cb6cd5f38e653a
(cherry picked from commit d97a308637)
Merged-In: I9859ff3df608c058786b4e2b91cb6cd5f38e653a
2023-02-10 10:04:31 +00:00