summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorKevin Chyn <kchyn@google.com>2021-07-20 14:12:40 -0700
committerKevin Chyn <kchyn@google.com>2021-07-21 13:25:59 -0700
commitfa8b98f9b7a696cb15e58ac29a71826138ec3acb (patch)
tree1773bddeb0008f91a142df4dfab1c41f044de443 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent9affacd3f8ce2d5352086fd09a166204421cd0b2 (diff)
7/n: Add mechanism to hold onto already-completed operations
The CoexCoordinator needs to hold onto successful operations in some cases, as well as prevent them from being "finished" in the scheduler (to prevent subsequent operations from starting while the coordination is not complete yet). This change: 0) Splits AuthenticationClient "state" and "callback" (e.g. client can be done with the sensor, but not notify the scheduler of completion yet). 1) Adds a list of successful operations. This list should usually be at most size 1 2) Each successful operation has an internal watchdog that removes itself from the list and finishes the AuthenticationClient's lifecycle, to prevent the scheduler from being stuck indefinitely 3) Adds support for additional coex cases. These should (I think) all be covered by newly added unit tests Test: atest com.android.server.biometrics Test: atest CoexCoordinatorTest (subset of the above) Bug: 193089985 Change-Id: I39a31a4e450001ab7db48055165c984a312b6bfa
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions