interfaces: Add vendor.oplus.hardware.esim V1

Change-Id: I7cbbdc8910073261b3f07603b3dc012de3fdbfc0
This commit is contained in:
Bruno Martins
2025-05-17 11:31:48 +01:00
parent a2bf842855
commit 9315077c67
5 changed files with 102 additions and 0 deletions

View File

@@ -27,6 +27,30 @@ aidl_interface {
],
}
aidl_interface {
name: "vendor.oplus.hardware.esim",
odm_available: true,
local_include_dir: "aidl",
srcs: ["aidl/vendor/oplus/hardware/esim/*.aidl"],
stability: "vintf",
owner: "oplus",
backend: {
cpp: {
enabled: true,
},
java: {
sdk_version: "module_current",
},
},
versions_with_info: [
{
version: "1",
imports: [],
},
],
}
aidl_interface {
name: "vendor.oplus.hardware.osense.client",
vendor_available: true,

View File

@@ -0,0 +1,15 @@
/*
* SPDX-FileCopyrightText: 2025 The LineageOS Project
* SPDX-License-Identifier: Apache-2.0
*/
package vendor.oplus.hardware.esim;
@VintfStability
interface IOplusEsim {
int getEsimGpio();
void initEsimGpio();
int setEsimGpio(int operation);
int setHotswap();
int setUimPower(int operation);
}

View File

@@ -0,0 +1 @@
746351b7cfae299fbc8cbcd2740aae8f5c0d7071

View File

@@ -0,0 +1,31 @@
/*
* SPDX-FileCopyrightText: 2025 The LineageOS Project
* SPDX-License-Identifier: Apache-2.0
*/
///////////////////////////////////////////////////////////////////////////////
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
///////////////////////////////////////////////////////////////////////////////
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
// two cases:
// 1). this is a frozen version file - do not edit this in any case.
// 2). this is a 'current' file. If you make a backwards compatible change to
// the interface (from the latest frozen version), the build system will
// prompt you to update this file with `m <name>-update-api`.
//
// You must not make a backward incompatible change to any AIDL file built
// with the aidl_interface module type with versions property set. The module
// type is used to build AIDL files in a way that they can be used across
// independently updatable components of the system. If a device is shipped
// with such a backward incompatible change, it has a high risk of breaking
// later when a module using the interface is updated, e.g., Mainline modules.
package vendor.oplus.hardware.esim;
@VintfStability
interface IOplusEsim {
int getEsimGpio();
void initEsimGpio();
int setEsimGpio(int operation);
int setHotswap();
int setUimPower(int operation);
}

View File

@@ -0,0 +1,31 @@
/*
* SPDX-FileCopyrightText: 2025 The LineageOS Project
* SPDX-License-Identifier: Apache-2.0
*/
///////////////////////////////////////////////////////////////////////////////
// THIS FILE IS IMMUTABLE. DO NOT EDIT IN ANY CASE. //
///////////////////////////////////////////////////////////////////////////////
// This file is a snapshot of an AIDL file. Do not edit it manually. There are
// two cases:
// 1). this is a frozen version file - do not edit this in any case.
// 2). this is a 'current' file. If you make a backwards compatible change to
// the interface (from the latest frozen version), the build system will
// prompt you to update this file with `m <name>-update-api`.
//
// You must not make a backward incompatible change to any AIDL file built
// with the aidl_interface module type with versions property set. The module
// type is used to build AIDL files in a way that they can be used across
// independently updatable components of the system. If a device is shipped
// with such a backward incompatible change, it has a high risk of breaking
// later when a module using the interface is updated, e.g., Mainline modules.
package vendor.oplus.hardware.esim;
@VintfStability
interface IOplusEsim {
int getEsimGpio();
void initEsimGpio();
int setEsimGpio(int operation);
int setHotswap();
int setUimPower(int operation);
}