diff options
author | Amos Bianchi <amosbianchi@google.com> | 2021-01-08 22:46:58 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2021-01-08 22:46:58 +0000 |
commit | 510a7854227c9f92695a49fbc3502686600733e2 (patch) | |
tree | 8fae1595757de1d42faf39c61934bfb68a1e2ca8 /tests | |
parent | 7df4eb45f0da7f32e2eab73b774a4211e7523799 (diff) | |
parent | 4bd8775175b75c65a002d3ddbe130e179ba9c776 (diff) |
Merge "Add method for testing lazy HALs active services count callback." am: 88c14d2b14 am: db670b93a3 am: 4bd8775175
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1538301
MUST ONLY BE SUBMITTED BY AUTOMERGER
Change-Id: Ib4935d13b83ebdaf2c3cbe40e9b322d7552dddc5
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lazy/1.1/ILazy.hal | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/tests/lazy/1.1/ILazy.hal b/tests/lazy/1.1/ILazy.hal index a15e0e3641..b0a6a2aa09 100644 --- a/tests/lazy/1.1/ILazy.hal +++ b/tests/lazy/1.1/ILazy.hal @@ -18,4 +18,12 @@ package android.hardware.tests.lazy@1.1; import android.hardware.tests.lazy@1.0; -interface ILazy extends @1.0::ILazy {}; +interface ILazy extends @1.0::ILazy { + /** + * Ask the process hosting the service to install a callback that notifies + * it when the number of active (i.e. with clients) services changes. + * For testing purposes, this callback exercises the code to unregister/re-register + * the services and eventually shuts down the process. + */ + setCustomActiveServicesCountCallback(); +}; |