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

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

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I32ff0a5a2754ee4840a88b89c07c2c8a532a7c9d
This commit is contained in:
Amos Bianchi
2021-01-08 22:08:45 +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();
};