[SP14] Add HAL to set warning quota to tehtering offload hardware

With current setDataLimit API, tethering offload hardware will
stop offload and trigger callback when the given limit bytes is
reached.

However, for data usage warning to work, an API that allows
tethering offload hardware to report event without stopping
offload hardware is needed.

Test: hidl-gen -Lformat android.hardware.tetheroffload.control@1.1
Bug: 149467454
Bug: 170699770
Bug: 170179169
Change-Id: I804d15f92251ef902dd2e1ff1c31ba157fa91067
This commit is contained in:
junyulai
2020-01-20 17:39:59 +08:00
parent 08ca885240
commit 4011f47ad6
5 changed files with 160 additions and 1 deletions

View File

@@ -507,7 +507,7 @@
</hal>
<hal format="hidl" optional="true">
<name>android.hardware.tetheroffload.control</name>
<version>1.0</version>
<version>1.1</version>
<interface>
<name>IOffloadControl</name>
<instance>default</instance>