Home
last modified time | relevance | path

Searched refs:OptInt32 (Results 1 – 5 of 5) sorted by relevance

/hardware/interfaces/biometrics/fingerprint/aidl/default/
DFingerprintConfig.cpp40 CREATE_GETTER_SETTER_WRAPPER(enrollment_hit, OptInt32)
44 CREATE_GETTER_SETTER_WRAPPER(sensor_id, OptInt32)
46 CREATE_GETTER_SETTER_WRAPPER(sensor_strength, OptInt32)
49 CREATE_GETTER_SETTER_WRAPPER(operation_authenticate_duration, OptInt32)
50 CREATE_GETTER_SETTER_WRAPPER(operation_authenticate_error, OptInt32)
52 CREATE_GETTER_SETTER_WRAPPER(operation_enroll_error, OptInt32)
54 CREATE_GETTER_SETTER_WRAPPER(operation_detect_interaction_error, OptInt32)
56 CREATE_GETTER_SETTER_WRAPPER(operation_detect_interaction_duration, OptInt32)
65 CREATE_GETTER_SETTER_WRAPPER(lockout_timed_threshold, OptInt32)
66 CREATE_GETTER_SETTER_WRAPPER(lockout_timed_duration, OptInt32)
[all …]
/hardware/interfaces/biometrics/common/config/include/config/
DConfig.h32 using OptInt32 = std::optional<std::int32_t>; variable
37 using ConfigValue = std::variant<OptBool, OptInt32, OptInt64, OptString, OptIntVec>;
90 if (std::holds_alternative<OptInt32>(v)) { in toString()
91 OptInt32 ov = std::get<OptInt32>(v); in toString()
/hardware/interfaces/biometrics/common/config/tests/
DConfigTest.cpp36 OptInt32 val_aint32 = SP_DEFAULT_aint32;
48 OptInt32 aint32() { in aint32()
51 bool aint32(const OptInt32& v) { in aint32()
91 CREATE_GETTER_SETTER_WRAPPER(aint32, OptInt32)
94 CREATE_GETTER_SETTER_WRAPPER(avector, std::vector<OptInt32>)
134 ASSERT_EQ((std::get<OptInt32>(cfg.parseInt32(values[i].strval))).value_or(defval), in TEST_F()
224 (std::get<OptInt32>(cfg.parseInt32(AIDL_DEFAULT_aint32))).value()); in TEST_F()
/hardware/interfaces/biometrics/common/config/
DConfig.cpp48 OptInt32 res; in parseInt32()
/hardware/interfaces/biometrics/fingerprint/aidl/default/tests/
DFakeFingerprintEngineTest.cpp272 Fingerprint::cfg().setopt<OptInt32>("enrollment_hit", std::nullopt); in TEST_F()
372 Fingerprint::cfg().setopt<OptInt32>("enrollment_hit", std::nullopt); in TEST_F()