Commit graph

4 commits

Author SHA1 Message Date
KH Shi
d0d4fe20c1 Merge "Follow-up commit of aosp/2329897" 2023-02-04 03:23:34 +00:00
KH Shi
562cbfeea2 Follow-up commit of aosp/2329897
This commit resolves comments addressed in aosp/2329897.
- Remove EX_UNSUPPORTED_OPERATION return from setDataWarningAndLimit()
- Update some comments
- Change some errors into assertions
- Correct the sequence of the arguments in EXPECT_EQ(), expected
  argument goes before the actual argument
- Print error or error message if API call fails

Bug: b/205762647
Test: atest VtsHalTetheroffloadTargetTest
Change-Id: Ied83dac5c33e06f6ad4ced18fbee785047b24c38
2023-02-02 20:10:13 +08:00
Devin Moore
b9b0aa4878 Add tetheroffload VTS to general-tests
Also add it to TEST_MAPPING so it's run in presubmits.

Test: na
Bug: 205762647
Change-Id: I9c43ffcff5ccf0fcabcab08101ebc454c7fe3317
2023-01-18 20:58:12 +00:00
KH Shi
d97a308637 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
2023-01-17 22:44:55 +08:00