mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2026-06-11 02:28:05 +00:00
tests/tod-drivers: Add tests for FpDeviceFeature on 1.94.3
This commit is contained in:
@@ -283,6 +283,7 @@ test_device_public_enums (void)
|
||||
check_type_compatibility (FP_TYPE_DEVICE_ERROR, 1, 94, 0);
|
||||
check_type_compatibility (FP_TYPE_DEVICE_FEATURE, 1, 92, 0);
|
||||
check_type_compatibility (FP_TYPE_DEVICE_FEATURE, 1, 94, 0);
|
||||
check_type_compatibility (FP_TYPE_DEVICE_FEATURE, 1, 94, 3);
|
||||
check_type_compatibility (FP_TYPE_TEMPERATURE, 1, 94, 0);
|
||||
check_type_compatibility (FPI_TYPE_DEVICE_UDEV_SUBTYPE_FLAGS, 1, 92, 0);
|
||||
}
|
||||
|
||||
@@ -111,6 +111,20 @@ typedef enum /*< flags >*/ {
|
||||
FP_DEVICE_FEATURE_TODV1_94_0_ALWAYS_ON = 1 << 8,
|
||||
} FpDeviceFeatureTODV1_94_0;
|
||||
|
||||
typedef enum /*< flags >*/ {
|
||||
FP_DEVICE_FEATURE_TODV1_94_3_NONE = 0,
|
||||
FP_DEVICE_FEATURE_TODV1_94_3_CAPTURE = 1 << 0,
|
||||
FP_DEVICE_FEATURE_TODV1_94_3_IDENTIFY = 1 << 1,
|
||||
FP_DEVICE_FEATURE_TODV1_94_3_VERIFY = 1 << 2,
|
||||
FP_DEVICE_FEATURE_TODV1_94_3_STORAGE = 1 << 3,
|
||||
FP_DEVICE_FEATURE_TODV1_94_3_STORAGE_LIST = 1 << 4,
|
||||
FP_DEVICE_FEATURE_TODV1_94_3_STORAGE_DELETE = 1 << 5,
|
||||
FP_DEVICE_FEATURE_TODV1_94_3_STORAGE_CLEAR = 1 << 6,
|
||||
FP_DEVICE_FEATURE_TODV1_94_3_DUPLICATES_CHECK = 1 << 7,
|
||||
FP_DEVICE_FEATURE_TODV1_94_3_ALWAYS_ON = 1 << 8,
|
||||
FP_DEVICE_FEATURE_TODV1_94_3_UPDATE_PRINT = 1 << 9,
|
||||
} FpDeviceFeatureTODV1_94_3;
|
||||
|
||||
typedef enum {
|
||||
FP_DEVICE_ERROR_TODV1_94_0_GENERAL,
|
||||
FP_DEVICE_ERROR_TODV1_94_0_NOT_SUPPORTED,
|
||||
|
||||
Reference in New Issue
Block a user