mirror of
				https://github.com/oplus-giulia-dev/android_hardware_oplus
				synced 2025-11-04 05:45:34 +08:00 
			
		
		
		
	Add vendor.oplus.hardware.biometrics.fingerprintpay-V1 AIDL interface
Based on CPH2653_15.0.0.840 Change-Id: I65d6755874e96b905c4a528dcdf000d30a159314
This commit is contained in:
		
				
					committed by
					
						
						Bruno Martins
					
				
			
			
				
	
			
			
			
						parent
						
							0d8b5aa9d4
						
					
				
				
					commit
					5d5ed9cad8
				
			@@ -3,6 +3,30 @@ hidl_package_root {
 | 
			
		||||
    path: "hardware/oplus/interfaces/oplus",
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
aidl_interface {
 | 
			
		||||
    name: "vendor.oplus.hardware.biometrics.fingerprintpay",
 | 
			
		||||
    odm_available: true,
 | 
			
		||||
    local_include_dir: "aidl",
 | 
			
		||||
    srcs: ["aidl/vendor/oplus/hardware/biometrics/fingerprintpay/*.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.commondcs",
 | 
			
		||||
    vendor_available: true,
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										14
									
								
								interfaces/aidl/vendor/oplus/hardware/biometrics/fingerprintpay/FPayStatusCode.aidl
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								interfaces/aidl/vendor/oplus/hardware/biometrics/fingerprintpay/FPayStatusCode.aidl
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,14 @@
 | 
			
		||||
/*
 | 
			
		||||
 * SPDX-FileCopyrightText: 2025 The LineageOS Project
 | 
			
		||||
 * SPDX-License-Identifier: Apache-2.0
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package vendor.oplus.hardware.biometrics.fingerprintpay;
 | 
			
		||||
 | 
			
		||||
@VintfStability
 | 
			
		||||
@Backing(type="int")
 | 
			
		||||
enum FPayStatusCode {
 | 
			
		||||
    ERROR_FAILED = -2,
 | 
			
		||||
    ERROR_NOT_SUPPORTED = -1,
 | 
			
		||||
    STATUS_OK = 0
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										18
									
								
								interfaces/aidl/vendor/oplus/hardware/biometrics/fingerprintpay/IFingerprintPay.aidl
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								interfaces/aidl/vendor/oplus/hardware/biometrics/fingerprintpay/IFingerprintPay.aidl
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,18 @@
 | 
			
		||||
/*
 | 
			
		||||
 * SPDX-FileCopyrightText: 2025 The LineageOS Project
 | 
			
		||||
 * SPDX-License-Identifier: Apache-2.0
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
package vendor.oplus.hardware.biometrics.fingerprintpay;
 | 
			
		||||
 | 
			
		||||
@VintfStability
 | 
			
		||||
interface IFingerprintPay {
 | 
			
		||||
    int cancel(String str);
 | 
			
		||||
    int enable_rpmb();
 | 
			
		||||
    int get_ifaa_key_status();
 | 
			
		||||
    int get_rpmb_enable_state();
 | 
			
		||||
    int get_rpmb_state();
 | 
			
		||||
    byte[] ifaa_invoke_command(in byte[] arr);
 | 
			
		||||
    int ifaa_key_verify();
 | 
			
		||||
    int ifaa_key_write();
 | 
			
		||||
}
 | 
			
		||||
@@ -0,0 +1 @@
 | 
			
		||||
f0a7eca870de0f63fa5941b96eec77aaeba14062
 | 
			
		||||
@@ -0,0 +1,29 @@
 | 
			
		||||
/*
 | 
			
		||||
 * 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.biometrics.fingerprintpay;
 | 
			
		||||
@Backing(type="int") @VintfStability
 | 
			
		||||
enum FPayStatusCode {
 | 
			
		||||
  ERROR_FAILED = (-2) /* -2 */,
 | 
			
		||||
  ERROR_NOT_SUPPORTED = (-1) /* -1 */,
 | 
			
		||||
  STATUS_OK = 0,
 | 
			
		||||
}
 | 
			
		||||
@@ -0,0 +1,34 @@
 | 
			
		||||
/*
 | 
			
		||||
 * 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.biometrics.fingerprintpay;
 | 
			
		||||
@VintfStability
 | 
			
		||||
interface IFingerprintPay {
 | 
			
		||||
  int cancel(String str);
 | 
			
		||||
  int enable_rpmb();
 | 
			
		||||
  int get_ifaa_key_status();
 | 
			
		||||
  int get_rpmb_enable_state();
 | 
			
		||||
  int get_rpmb_state();
 | 
			
		||||
  byte[] ifaa_invoke_command(in byte[] arr);
 | 
			
		||||
  int ifaa_key_verify();
 | 
			
		||||
  int ifaa_key_write();
 | 
			
		||||
}
 | 
			
		||||
@@ -0,0 +1,29 @@
 | 
			
		||||
/*
 | 
			
		||||
 * 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.biometrics.fingerprintpay;
 | 
			
		||||
@Backing(type="int") @VintfStability
 | 
			
		||||
enum FPayStatusCode {
 | 
			
		||||
  ERROR_FAILED = (-2) /* -2 */,
 | 
			
		||||
  ERROR_NOT_SUPPORTED = (-1) /* -1 */,
 | 
			
		||||
  STATUS_OK = 0,
 | 
			
		||||
}
 | 
			
		||||
@@ -0,0 +1,34 @@
 | 
			
		||||
/*
 | 
			
		||||
 * 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.biometrics.fingerprintpay;
 | 
			
		||||
@VintfStability
 | 
			
		||||
interface IFingerprintPay {
 | 
			
		||||
  int cancel(String str);
 | 
			
		||||
  int enable_rpmb();
 | 
			
		||||
  int get_ifaa_key_status();
 | 
			
		||||
  int get_rpmb_enable_state();
 | 
			
		||||
  int get_rpmb_state();
 | 
			
		||||
  byte[] ifaa_invoke_command(in byte[] arr);
 | 
			
		||||
  int ifaa_key_verify();
 | 
			
		||||
  int ifaa_key_write();
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user