summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorJunyu Lai <junyulai@google.com>2020-04-29 12:25:33 +0000
committerJunyu Lai <junyulai@google.com>2020-04-30 04:58:21 +0000
commita0ac6bca2e58de9505eff0abc287896bc6f436c3 (patch)
tree286f6fa9dd0614f8a30eb3c0b697274467317484 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent9f804f7593684221a5c421b327335ececf7544e3 (diff)
[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 43f3b153fb0dcc5a5f81845f3df6a44a4e619123)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions