fingerprint_device 结构体参考文档
#include <
fingerprint.h
>
数据字段 |
|
| struct hw_device_t | 常见 |
| fingerprint_notify_t | notify |
| int(* | set_notify )(struct fingerprint_device *dev, fingerprint_notify_t notify ) |
| uint64_t(* | pre_enroll )(struct fingerprint_device *dev) |
| int(* | Enrollment )(struct fingerprint_device *dev, const hw_auth_token_t *hat, uint32_t gid, uint32_t timeout_sec) |
| int(* | post_enroll )(struct fingerprint_device *dev) |
| uint64_t(* | get_authenticator_id )(struct fingerprint_device *dev) |
| int(* | cancel )(struct fingerprint_device *dev) |
| int(* | enumerate )(struct fingerprint_device *dev) |
| int(* | remove )(struct fingerprint_device *dev, uint32_t gid, uint32_t fid) |
| int(* | set_active_group )(struct fingerprint_device *dev, uint32_t gid, const char *store_path) |
| int(* | authenticate )(struct fingerprint_device *dev, uint64_t operation_id, uint32_t gid) |
| void * | reserved [4] |
详细说明
定义位于文件 fingerprint.h 的 121 行。
字段文档
| int(* authenticate)(struct fingerprint_device *dev, uint64_t operation_id, uint32_t gid) |
定义位于文件 fingerprint.h 的 251 行。
| int(* cancel)(struct fingerprint_device *dev) |
定义位于文件 fingerprint.h 的 204 行。
| struct hw_device_t common |
指纹设备的常用方法。此 必须 是 fingerprint_device 的第一个成员,因为此结构的用户会在已知 hw_device_t 引用 fingerprint_device 的情况下,将 hw_device_t 转换为 fingerprint_device 指针。
定义位于文件 fingerprint.h 的 128 行。
| int(* enroll)(struct fingerprint_device *dev, const hw_auth_token_t *hat, uint32_t gid, uint32_t timeout_sec) |
定义位于文件 fingerprint.h 的 173 行。
| int(* enumerate)(struct fingerprint_device *dev) |
定义位于文件 fingerprint.h 的 218 行。
| uint64_t(* get_authenticator_id)(struct fingerprint_device *dev) |
定义位于文件 fingerprint.h 的 194 行。
| fingerprint_notify_t notify |
定义位于文件 fingerprint.h 的 134 行。
| int(* post_enroll)(struct fingerprint_device *dev) |
定义位于文件 fingerprint.h 的 184 行。
| uint64_t(* pre_enroll)(struct fingerprint_device *dev) |
定义位于文件 fingerprint.h 的 157 行。
| int(* remove)(struct fingerprint_device *dev, uint32_t gid, uint32_t fid) |
定义位于文件 fingerprint.h 的 231 行。
| void* reserved[4] |
定义位于文件 fingerprint.h 的 254 行。
| int(* set_active_group)(struct fingerprint_device *dev, uint32_t gid, const char *store_path) |
定义位于文件 fingerprint.h 的 242 行。
| int(* set_notify)(struct fingerprint_device *dev, fingerprint_notify_t notify ) |
定义位于文件 fingerprint.h 的 145 行。
此结构体的文档是根据以下文件生成的:
- hardware/libhardware/include/hardware/ fingerprint.h