summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramFragmentFixedFunction.java
diff options
context:
space:
mode:
authorHugo Benichi <hugobenichi@google.com>2017-04-27 14:52:53 +0900
committerHugo Benichi <hugobenichi@google.com>2017-05-10 09:14:14 +0900
commit00a16e077a2285bdb1466051ad577de88faffce1 (patch)
tree79fc9a49f79174afc2ecbeade257a1b3bdf66970 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java
parente1bb3a14d1ee1aba2f92e5bccf659774699eaffe (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/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions