interfaces: Add vendor.oplus.hardware.commondcs V1

Change-Id: I181fd1da49dc124ebfe631f9139149327ed4f847
This commit is contained in:
Bruno Martins
2025-02-09 22:28:40 +00:00
parent 2f24de9fb5
commit 9f1f2c1765
8 changed files with 166 additions and 0 deletions

View File

@@ -3,6 +3,30 @@ hidl_package_root {
path: "hardware/oplus/interfaces/oplus",
}
aidl_interface {
name: "vendor.oplus.hardware.commondcs",
vendor_available: true,
local_include_dir: "aidl",
srcs: ["aidl/vendor/oplus/hardware/commondcs/*.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,14 @@
/*
* Copyright (C) 2025 The LineageOS Project
*
* SPDX-License-Identifier: Apache-2.0
*/
package vendor.oplus.hardware.commondcs;
import vendor.oplus.hardware.commondcs.StringPair;
@VintfStability
interface ICommonDcsAidlHalService {
int notifyMsgToCommonDcs(in List<StringPair> data, String logTag, String eventId);
}

View File

@@ -0,0 +1,13 @@
/*
* Copyright (C) 2025 The LineageOS Project
*
* SPDX-License-Identifier: Apache-2.0
*/
package vendor.oplus.hardware.commondcs;
@VintfStability
parcelable StringPair {
String key;
String value;
}

View File

@@ -0,0 +1 @@
09625174a36ecef0c9ef003e2a4efbdecd0d4657

View File

@@ -0,0 +1,28 @@
/*
* Copyright (C) 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.commondcs;
@VintfStability
interface ICommonDcsAidlHalService {
int notifyMsgToCommonDcs(in List<vendor.oplus.hardware.commondcs.StringPair> data, String logTag, String eventId);
}

View File

@@ -0,0 +1,29 @@
/*
* Copyright (C) 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.commondcs;
@VintfStability
parcelable StringPair {
String key;
String value;
}

View File

@@ -0,0 +1,28 @@
/*
* Copyright (C) 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.commondcs;
@VintfStability
interface ICommonDcsAidlHalService {
int notifyMsgToCommonDcs(in List<vendor.oplus.hardware.commondcs.StringPair> data, String logTag, String eventId);
}

View File

@@ -0,0 +1,29 @@
/*
* Copyright (C) 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.commondcs;
@VintfStability
parcelable StringPair {
String key;
String value;
}