android_packages_modules_Co.../Tethering
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Junyu Lai bf6fa99b2a [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
Merged-In: I2467b64779b74cd5fec73b42fb303584f52cb1cb
(cherry picked from commit 93660e382c)
2020-04-30 04:58:21 +00:00
..
apex Add min_sdk_version:R to updatable apexes 2020-04-02 13:54:06 +00:00
common/TetheringLib Mark some aidl_interface modules as unstable 2020-04-13 13:00:47 +09: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-27 00:04:34 -07:00
src [SP18] Poll network stats in OffloadController to support data warning 2020-04-30 04:58:21 +00:00
tests Remove Preconditions usage to stop dependecy with non-updatble class 2020-04-27 12:38:07 +00:00
Android.bp DO NOT MERGE Remove references of telephony-stubs. 2020-04-15 17:55:52 -07:00
AndroidManifest.xml [TNU05] Add no upstream notification 2020-04-16 06:43:19 +00:00
AndroidManifest_InProcess.xml Change tethering file structure to respect its package name 2020-04-14 14:33:45 +08:00
AndroidManifestBase.xml Change Tethering package name 2019-12-19 13:06:50 +08:00
jarjar-rules.txt Remove Preconditions usage to stop dependecy with non-updatble class 2020-04-27 12:38:07 +00:00
proguard.flags Change tethering file structure to respect its package name 2020-04-14 14:33:45 +08:00
TEST_MAPPING Add TetheringTests to postsubmit 2020-02-19 14:43:16 +08:00