summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorMike SU <suzh1@lenovo.com>2018-11-26 15:05:13 +0800
committerZhang Wei-e7976c <e7976c@motorola.com>2019-01-10 12:16:25 -0600
commitce75675aec1d785ed819cf1e0000e3cab8e978de (patch)
treeff45e8966e6a828757501a6fb3a68de3718f7de0 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parentc0f3daa11ab5038ea6338db8822c7a7bacb07a40 (diff)
fix getIfaceStats and getTotalStats bug
root cause: getIfaceStats and getTotalStats is directly reading iface_stat_fmt or eBPF, not include tether stats. solution: add tether stats to getIfaceStats and getTotalStats. Bug: 120039819 Test case1: 1. tether offload is enabled on phone, enable MHS on phone. 2. Use test app to check getMobileRxBytes->getIfaceStats 3. Download 10M file on MHS client 4. Use test app to check getMobileRxBytes->getIfaceStats again result: getMobileRxBytes increased around 10M Test case2: 1. tether offload is disabled on phone, enable MHS on phone. repeat above step 2~4 result: getMobileRxBytes increased around 10M Following CTS cases passed run cts -m CtsNetTestCases --test android.net.cts.TrafficStatsTest run cts -m CtsUsageStatsTestCases --test android.app.usage.cts.NetworkUsageStatsTest Change-Id: I3d94acb71c142ec38b750e58822881ff383341cc
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions