interfaces: mtdservice: Add mtdservice 1.3 interface

Change-Id: I24df98f5f206fb85480c57ad50a8368ede97a0a5
Signed-off-by: bengris32 <bengris32@protonmail.ch>
This commit is contained in:
bengris32 2023-12-05 19:27:38 +00:00 committed by Bruno Martins
parent fff59ed344
commit 5a88d8559b
2 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,17 @@
// This file is autogenerated by hidl-gen -Landroidbp.
hidl_interface {
name: "vendor.xiaomi.hardware.mtdservice@1.3",
root: "vendor.xiaomi",
system_ext_specific: true,
srcs: [
"IMTService.hal",
],
interfaces: [
"android.hidl.base@1.0",
"vendor.xiaomi.hardware.mtdservice@1.0",
"vendor.xiaomi.hardware.mtdservice@1.1",
"vendor.xiaomi.hardware.mtdservice@1.2",
],
gen_java: true,
}

View File

@ -0,0 +1,17 @@
/*
* Copyright (C) 2024 The LineageOS Project
*
* SPDX-License-Identifier: Apache-2.0
*/
package vendor.xiaomi.hardware.mtdservice@1.3;
import @1.2::IMTService;
interface IMTService extends @1.2::IMTService {
external_id_load(int32_t id) generates (bool result);
getTAVersion() generates (string version);
get_device_rpmb_counter() generates (int32_t counter);
get_device_secure_status() generates (vec<int32_t> status);
refreash_device_rpmb_status() generates (int32_t result);
};