summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorjunyulai <junyulai@google.com>2020-10-06 16:04:31 +0800
committerjunyulai <junyulai@google.com>2020-11-06 19:02:44 +0800
commit6e25f4e8c11c6fd4da0ed16973ca7a246524b7f1 (patch)
tree6d1a5173561fca114bdab24af4f339e944d51aac /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentffcc7427a8881d1743c909770b5a2409a3b3926e (diff)
Remove unused getTetherStats
Before Android R, getTetherStats were used to collect tethering iface stats of all clients who extends ITetheringStatsProvider, which typically contains NetdTetheringStatsProvider and OffloadController. However, this always returns 0 since Android R, because: 1. OffloadController implemented NetworkStatsProvider and no longer reports stats through getTetherStats. 2. NetdTetheringStatsProvider always return 0 by design since non-offloaded iface tethering stats are already included in native iface stats. This change is a no-op refactoring to remove unused getTetherStats and update test which is not pratical. Fix for offloaded tethering stats will be in follow-up CLs. Test: atest FrameworksNetTests TetheringTests Bug: 162292214 Change-Id: Icd0717c5c2807ae3bd98626b897e4b148f142815
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions