mirror of
				https://github.com/oplus-giulia-dev/android_hardware_oplus
				synced 2025-11-04 05:45:34 +08:00 
			
		
		
		
	interfaces: Add vendor.oplus.hardware.commondcs V1
Change-Id: I181fd1da49dc124ebfe631f9139149327ed4f847
This commit is contained in:
		@@ -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,
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										14
									
								
								interfaces/aidl/vendor/oplus/hardware/commondcs/ICommonDcsAidlHalService.aidl
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								interfaces/aidl/vendor/oplus/hardware/commondcs/ICommonDcsAidlHalService.aidl
									
									
									
									
										vendored
									
									
										Normal 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);
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										13
									
								
								interfaces/aidl/vendor/oplus/hardware/commondcs/StringPair.aidl
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								interfaces/aidl/vendor/oplus/hardware/commondcs/StringPair.aidl
									
									
									
									
										vendored
									
									
										Normal 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;
 | 
			
		||||
}
 | 
			
		||||
@@ -0,0 +1 @@
 | 
			
		||||
09625174a36ecef0c9ef003e2a4efbdecd0d4657
 | 
			
		||||
@@ -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);
 | 
			
		||||
}
 | 
			
		||||
@@ -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;
 | 
			
		||||
}
 | 
			
		||||
@@ -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);
 | 
			
		||||
}
 | 
			
		||||
@@ -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;
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user