Merge "Add method for testing lazy HALs active services count callback." am: 88c14d2b14 am: db670b93a3

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1538301

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I9c5c5ca5842a1d91a06c0ef8c3bc4ec9125b4ef2
This commit is contained in:
Amos Bianchi
2021-01-08 22:29:02 +00:00
committed by Automerger Merge Worker

View File

@@ -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();
};