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
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
(cherry picked from commit 562cbfeea2)
Merged-In: Ied83dac5c33e06f6ad4ced18fbee785047b24c38
Also add it to TEST_MAPPING so it's run in presubmits.
Test: na
Bug: 205762647
Change-Id: I9c43ffcff5ccf0fcabcab08101ebc454c7fe3317
(cherry picked from commit b9b0aa4878)
Merged-In: I9c43ffcff5ccf0fcabcab08101ebc454c7fe3317
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
Otherwise gtest will inherit the one from libgtest_main which
will not start thread pool to handle binder call for callbacks
Bug: b/205762943
Test: atest VtsHalThermalTargetTest VtsHalPowerTargetTest VtsHalTetheroffloadTargetTest
Change-Id: Ib9e5d265b8f5081dd20568a98d01e9190177440a
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
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