interfaces: fx.tunnel: Fixup
Change-Id: I7f8a8b1ab7fda8bf7f35bb12a2cee97f3a9f3763
This commit is contained in:
parent
cdc6694adc
commit
40728c3a73
@ -6,6 +6,7 @@ hidl_interface {
|
||||
system_ext_specific: true,
|
||||
srcs: [
|
||||
"IMiFxTunnel.hal",
|
||||
"IMiFxTunnelCallback.hal",
|
||||
],
|
||||
interfaces: [
|
||||
"android.hidl.base@1.0",
|
||||
|
@ -6,6 +6,9 @@
|
||||
|
||||
package vendor.xiaomi.hardware.fx.tunnel@1.0;
|
||||
|
||||
import @1.0::IMiFxTunnelCallback;
|
||||
|
||||
interface IMiFxTunnel {
|
||||
invokeCommand(int32_t cmdId, vec<uint8_t> params) generates (int32_t resultCode, vec<uint8_t> out_buf);
|
||||
setNotify(IMiFxTunnelCallback callback);
|
||||
invokeCommand(int32_t cmdId, vec<int8_t> params) generates (int32_t resultCode, vec<int8_t> out_buf);
|
||||
};
|
||||
|
@ -0,0 +1,11 @@
|
||||
/*
|
||||
* Copyright (C) 2024 The LineageOS Project
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
package vendor.xiaomi.hardware.fx.tunnel@1.0;
|
||||
|
||||
interface IMiFxTunnelCallback {
|
||||
onMessage(uint64_t param_1, uint32_t param_2, uint32_t param_3, vec<int8_t> param_4);
|
||||
};
|
Loading…
Reference in New Issue
Block a user