summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorMakoto Onuki <omakoto@google.com>2021-04-23 09:32:16 -0700
committerMakoto Onuki <omakoto@google.com>2021-04-23 11:05:32 -0700
commit2c7fdfcfdac38cb4c0b74ffe22921d2bcaee47bd (patch)
treeb66968da76c22c207f1ac6f096b2a6bb9117d55c /tools/aapt2/java/JavaClassGenerator_test.cpp
parentf34b066b9eeae388c0af4462df8c96b3b92d14bf (diff)
Add sampling to FGS atom
Only log the FGS atom for a certain set of packages. Each device will have a random but stable set of apps, determined by the ANDROID_ID. By default, the sampling rate is 1, so we log all packages. If the rate is 0.5, we'll long only the half of the packages. Again, each device will have a random set of the packages, so the same package will be logged only on half the devices. Fix: 184867830 Test: atest FrameworksServicesTests:ActivityManagerUtilsTest Change-Id: I4cac13ec62d9c98b95df57d47d63e725ba1fcfdd
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions