Home
last modified time | relevance | path

Searched refs:OptBool (Results 1 – 4 of 4) sorted by relevance

/hardware/interfaces/biometrics/fingerprint/aidl/default/
DFingerprintConfig.cpp47 CREATE_GETTER_SETTER_WRAPPER(operation_authenticate_fails, OptBool)
58 CREATE_GETTER_SETTER_WRAPPER(max_enrollments, OptBool)
59 CREATE_GETTER_SETTER_WRAPPER(navigation_guesture, OptBool)
60 CREATE_GETTER_SETTER_WRAPPER(detect_interaction, OptBool)
61 CREATE_GETTER_SETTER_WRAPPER(display_touch, OptBool)
62 CREATE_GETTER_SETTER_WRAPPER(control_illumination, OptBool)
63 CREATE_GETTER_SETTER_WRAPPER(lockout, OptBool)
64 CREATE_GETTER_SETTER_WRAPPER(lockout_enable, OptBool)
/hardware/interfaces/biometrics/common/config/include/config/
DConfig.h31 using OptBool = std::optional<bool>; variable
37 using ConfigValue = std::variant<OptBool, OptInt32, OptInt64, OptString, OptIntVec>;
96 } else if (std::holds_alternative<OptBool>(v)) { in toString()
97 OptBool ov = std::get<OptBool>(v); in toString()
99 os << std::get<OptBool>(v).value(); in toString()
/hardware/interfaces/biometrics/common/config/tests/
DConfigTest.cpp38 OptBool val_abool = SP_DEFAULT_abool;
62 OptBool abool() { in abool()
65 bool abool(const OptBool& v) { in abool()
93 CREATE_GETTER_SETTER_WRAPPER(abool, OptBool)
166 ASSERT_EQ((std::get<OptBool>(cfg.parseBool(values[i].strval))).value_or(defval), in TEST_F()
228 (std::get<OptBool>(cfg.parseBool(AIDL_DEFAULT_abool))).value()); in TEST_F()
/hardware/interfaces/biometrics/common/config/
DConfig.cpp31 OptBool res; in parseBool()