summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorAlex Klyubin <klyubin@google.com>2017-12-13 14:40:13 -0800
committerAlex Klyubin <klyubin@google.com>2017-12-13 14:46:12 -0800
commit444444442b5f86dc1944d170087599e7a9f8e415 (patch)
tree74f8dc83c5092e25dea4258463eea89283461b19 /tools/aapt2/java/JavaClassGenerator.cpp
parenta22a7c2f97cd4ae98c5b24837a47a9cd8267736d (diff)
Move EntropyMixer I/O from main thread to I/O thread
This moves EntropyMixer I/O from the main thread to the I/O thread to avoid blocking the main thread. The only time EntropyMixer performs I/O on the main thread is during initialization of EntropyMixer which occurs only during startup of SystemServer. Test: manual: locally modified writeEntropy to log thread name and observed that writeEntropy is invoked only on the I/O thread ("android.io") except when invoked by EntropyMixer constructor. Test: atest com.android.server.EntropyMixerTest Bug: 70471586 Change-Id: Ic9f07f1c65583bb57d3095f9f8e7dde4ea6ae07d
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions