platform_hardware_interfaces/tests/lazy_cb/1.0/ILazyCb.hal
Amos Bianchi 25cbf26078 Add test service for HIDL active services callback.
Bug: 191781736
Test: atest hidl_lazy_test
Change-Id: Ie743d9d8635165f820977bfcb1548a83b56ccc1b
2021-07-21 12:24:33 -07:00

25 lines
894 B
Text

/*
* Copyright (C) 2021 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package android.hardware.tests.lazy_cb@1.0;
interface ILazyCb {
/**
* Set the eventfd used to notify that the active services
* callback is being executed and is about to terminate the process.
*/
setEventFd(handle fds) generates (bool success);
};