android_packages_modules_Co.../Tethering
Repository files (latest commit first)
Filename Latest commit message Latest commit date
junyulai 607fa9efea [SP18] Poll network stats in OffloadController to support data warning
The OEM implemented tether offload does not support
data warning since the HAL only tells the hardware about data limit
but not warning. However, to add such interface in HAL needs OEM to
comply and implement in hardware.

Thus, as a short-term solution, polls network statistics from HAL
and notify upper layer when it reaches the alert quota set by
NetworkStatsService.

Note that when CPU is sleeping, the data warning of tethering offload
will not work since the polling is also suspended.

Test: manual
Test: atest OffloadControllerTest
Bug: 149467454
Change-Id: I2467b64779b74cd5fec73b42fb303584f52cb1cb
2020-04-28 18:27:57 +08:00
..
apex Mark updatable APEXes 2020-02-29 09:18:24 +00:00
common/TetheringLib Set attributionTag for noteOp(WRITE_SETTINGS) calls 2020-04-20 18:00:03 -07:00
jni Move offload config hidl usage from native to java 2020-02-10 15:25:19 +08:00
res Import translations. DO NOT MERGE 2020-04-22 12:03:48 -07:00
src [SP18] Poll network stats in OffloadController to support data warning 2020-04-28 18:27:57 +08:00
tests Merge "[TNU09] Adjust restricted notification" 2020-04-23 07:50:34 +00:00
Android.bp Use the lastest frozen netd_aidl_interface in framework 2020-04-07 08:35:42 +00:00
AndroidManifest.xml [TNU05] Add no upstream notification 2020-04-15 01:25:37 +08:00
AndroidManifest_InProcess.xml Change tethering file structure to respect its package name 2020-04-14 02:09:51 +00:00
AndroidManifestBase.xml Change Tethering package name 2019-12-19 13:06:50 +08:00
jarjar-rules.txt Fix some @hide usage in Tethering(Cont.) 2020-01-09 05:40:42 +00:00
proguard.flags Change tethering file structure to respect its package name 2020-04-14 02:09:51 +00:00
TEST_MAPPING Add TetheringTests to postsubmit 2020-02-19 14:43:16 +08:00