使用hidl2aidl 工具将Hal转成Aidl。。出现的这种问题该怎么修改?请教了

/****************************************************************************
* Copyright (c) 2020 Honda R&D Co., Ltd.
* All rights reserved. You may not copy, distribute, publicly display,
* create derivative works from or otherwise use or modify this
* software without first obtaining a license from Honda R&D Co., Ltd.
****************************************************************************/

package com.honda.hardware.automotive.appleic;

// Interface inherits from com.honda.hardware.automotive.appleic@1.0::IAppleIc but AIDL does not support interface inheritance.
@VintfStability
interface IAppleIc {
    // Adding return type to method instead of out param byte result since there is only one return value.
    byte close();

    // Adding return type to method instead of out param boolean result since there is only one return value.
    /**
     * Gets whether AppleIc HAL is supported.
     *
     * @return Must be true only if the AppleIc HAL is supported.
     */
    boolean isSupported();

    // Adding return type to method instead of out param byte result since there is only one return value.
    byte open();

    // FIXME: AIDL does not allow long to be an out parameter.
    // Move it to return, or add it to a Parcelable.
    void read(in byte addr, in long count, out long result, out byte[] buf);

    // Adding return type to method instead of out param long result since there is only one return value.
    long write(in byte addr, in byte[] buf, in long count);
}

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值