Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5a58e9bf authored by Amos Bianchi's avatar Amos Bianchi
Browse files

Add method for testing lazy HALs active services count callback.

Bug: 176240491
Test: atest hidl_lazy_test

Change-Id: I2db4fa62fac725fc4943678e0d8aa89c9f411350
parent add7761b
Loading
Loading
Loading
Loading
+9 −1
Original line number Diff line number Diff line
@@ -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();
};