diff options
author | Hugo Benichi <hugobenichi@google.com> | 2017-04-27 14:52:53 +0900 |
---|---|---|
committer | Hugo Benichi <hugobenichi@google.com> | 2017-05-10 09:14:14 +0900 |
commit | 00a16e077a2285bdb1466051ad577de88faffce1 (patch) | |
tree | 79fc9a49f79174afc2ecbeade257a1b3bdf66970 /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | e1bb3a14d1ee1aba2f92e5bccf659774699eaffe (diff) |
NetworkStatsFactory: no double looping on stats + stacked interfaces
This patch uses the associative structure of the stacked/base interface
collection to avoid the two nested for loops over stacked/base
interfaces and all stats entries when correcting 464xlat traffic stats.
Consequently the list of stats entries is iterated only once.
Test: runtest -x frameworks/base/../NetworkStatsFactoryTest.java
Bug: 33681750
Change-Id: I84ae997fb693b909f431764697627b9957131732
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions