diff options
author | Erik Kline <ek@google.com> | 2017-07-12 00:15:26 +0900 |
---|---|---|
committer | Erik Kline <ek@google.com> | 2017-07-13 00:46:13 +0900 |
commit | e10cd1c66afe38424aa97d9bf842ec6716a38d75 (patch) | |
tree | 56eed8baa00e0c2a01f0b9509889357fa4cb1785 /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | b27c5e92a2a353499cbb0fd6950147758e5dae1d (diff) |
Avoid exposing OffloadCallbackEvent values
Keep the android.hardware.tetheroffload.control.V1_0.OffloadCallbackEvent
import from leaking outside of OffloadHardwareInterface by converting each
event type into a separate callback.
Add basic logging implementation in OffloadController. Seems like every
call just needs to log save for two that actually need to do work:
- onSupportAvailable()
* poll stats and notify NetworkStatsService
* (re)push all state, as the hardware now supports offload (again)
- onStoppedLimitReached()
* poll stats and notify NetworkStatsService
Test: as follows
- built
- flashed
- booted
- "runtest frameworks-net" passed
Bug: 29337859
Bug: 32163131
Merged-In: I7c7675922a561a4642120df51715a550dab7f503
Merged-In: Ie91b974fbf70a4242f8b220d5fa3d6a0de59201d
Merged-In: I46c2e5252ae72a09a1550862847c1af441ece072
(cherry picked from commit a0885000f227ebf15f0b78d1d28c7a5de4afa8ea)
Change-Id: I1981d8da79f24dd0b4d76b930a5f179682500294
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions