summaryrefslogtreecommitdiff
path: root/rs/java/android/renderscript/ProgramVertexFixedFunction.java
diff options
context:
space:
mode:
authorVarun Shah <varunshah@google.com>2019-08-27 17:11:25 -0700
committerVarun Shah <varunshah@google.com>2019-10-08 21:22:13 -0700
commite1ba9cde53546caca0befe65611bac10f7f67622 (patch)
treea98dd2e492f9fa3454851bdf96d669c4f5945c7d /rs/java/android/renderscript/ProgramVertexFixedFunction.java
parent76e56e40393ad3b14a33dbbba029e521c3850bb2 (diff)
Obfuscate usage stats data stored on disk.
All of the usage stats data stored on disk will now be obfuscated. There will be a package to tokens mappings file stored on disk which has a hierarchy of mappings for each string in each package's usage stats data. A UsageStatsProtoV2 was added to keep the logic clean and separate from the original usage stats proto parser. Initial observations show a memory gain of over 60% w.r.t. the usage stats data size on disk. There is also no performance hit because of this change - in fact, even with the obfuscation overhead, reads are now over 65% faster and writes are up to 50% faster. Bug: 135484470 Test: atest UsageStatsTest Test: atest UsageStatsDatabaseTest Test: atest UsageStatsDatabasePerfTest Change-Id: I55ce729033d8b6e4051271802d57c72684053c32
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions