summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorKweku Adams <kwekua@google.com>2020-12-07 13:06:13 -0800
committerKweku Adams <kwekua@google.com>2020-12-07 21:51:42 +0000
commitea7fea2296b59ad60a5b317d5a68b8eb647c17cf (patch)
treeebd1e60b2dafbd891a5f7a6d2724b7279d54dca0 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent4103bfdf2ee62984f0a4a67d420f725f774caee0 (diff)
Reduce unnecessary Handler processing.
MSG_CHECK_JOB, MSG_CHECK_JOB_GREEDY, and MSG_JOB_EXPIRED all force queuing ready jobs in at least one code path. There can be situations where all and/or multiple messages are in the handler queue, which become unnecessary and redundant when we enqueue ready jobs. Remove all extraneous messages so we don't do unnecessary repetitive processing. Bug: 166701460 Test: atest CtsJobSchedulerTestCases Test: atest FrameworksMockingServicesTests:ConnectivityControllerTest Test: atest FrameworksMockingServicesTests:JobSchedulerServiceTest Test: atest FrameworksMockingServicesTests:JobStatusTest Test: atest FrameworksMockingServicesTests:QuotaControllerTest Test: atest FrameworksServicesTests:JobStoreTest Change-Id: I49738e44899ed4ceb37398b8875b6dabe387b205
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions