forked from donjohanliebert/hardware_xiaomi
hidl: biometrics: fingerprint: Add support for extCmd
* Xiaomi extends fingerprint_device_t by adding a new method called extCmd used to send vendor specific commands Change-Id: Ic94f7b3fd28f7db81695e47f54ce6fa89248bde9
This commit is contained in:
parent
39bd52cad5
commit
cd3f74f3d0
@ -1,5 +1,6 @@
|
||||
/*
|
||||
* Copyright (C) 2014 The Android Open Source Project
|
||||
* 2022 The LineageOS Project
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
@ -249,6 +250,11 @@ typedef struct fingerprint_device {
|
||||
*/
|
||||
int (*authenticate)(struct fingerprint_device *dev, uint64_t operation_id, uint32_t gid);
|
||||
|
||||
/*
|
||||
* Xiaomi fingerprint extension command.
|
||||
*/
|
||||
int (*extCmd)(struct fingerprint_device* dev, int32_t cmd, int32_t param);
|
||||
|
||||
/* Reserved for backward binary compatibility */
|
||||
void *reserved[4];
|
||||
} fingerprint_device_t;
|
||||
|
Loading…
Reference in New Issue
Block a user