diff options
author | Amos Bianchi <amosbianchi@google.com> | 2021-01-08 21:30:45 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2021-01-08 21:30:45 +0000 |
commit | 88c14d2b1463414605b052f712fd3799017573a1 (patch) | |
tree | 571a6abcc7085709a689257c94c16e6a1f46ee3c | |
parent | e0a858b1d58729c1e802b366312b962b8d8b101b (diff) | |
parent | 5a58e9bf9b19faf9550d1622f440930b8f914a78 (diff) | |
download | platform_hardware_interfaces-88c14d2b1463414605b052f712fd3799017573a1.tar.gz platform_hardware_interfaces-88c14d2b1463414605b052f712fd3799017573a1.tar.bz2 platform_hardware_interfaces-88c14d2b1463414605b052f712fd3799017573a1.zip |
Merge "Add method for testing lazy HALs active services count callback."
-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(); +}; |