Home
last modified time | relevance | path

Searched refs:ParseBoolResult (Results 1 – 7 of 7) sorted by relevance

/system/libbase/
Dparsebool_test.cpp25 using android::base::ParseBoolResult;
32 ASSERT_EQ(ParseBoolResult::kTrue, ParseBool(s)); in TEST()
41 ASSERT_EQ(ParseBoolResult::kFalse, ParseBool(s)); in TEST()
46 ASSERT_EQ(ParseBoolResult::kError, ParseBool("blarg")); in TEST()
47 ASSERT_EQ(ParseBoolResult::kError, ParseBool("")); in TEST()
Dparsebool.cpp23 ParseBoolResult ParseBool(std::string_view s) { in ParseBool()
25 return ParseBoolResult::kTrue; in ParseBool()
28 return ParseBoolResult::kFalse; in ParseBool()
30 return ParseBoolResult::kError; in ParseBool()
Dproperties.cpp73 case ParseBoolResult::kError: in GetBoolProperty()
75 case ParseBoolResult::kFalse: in GetBoolProperty()
77 case ParseBoolResult::kTrue: in GetBoolProperty()
/system/libbase/include/android-base/
Dparsebool.h49 enum class ParseBoolResult { enum
55 ParseBoolResult ParseBool(std::string_view s);
/system/iorap/src/common/
Dcmd_utils.h154 using ::android::base::ParseBoolResult; in GetBoolEnvOrProperty()
157 case ParseBoolResult::kError: in GetBoolEnvOrProperty()
159 case ParseBoolResult::kFalse: in GetBoolEnvOrProperty()
161 case ParseBoolResult::kTrue: in GetBoolEnvOrProperty()
/system/vold/
Dvdc.cpp113 if (shouldFormat == android::base::ParseBoolResult::kError) exit(EINVAL); in main()
115 shouldFormat == android::base::ParseBoolResult::kTrue, in main()
/system/incremental_delivery/incfs/
Dincfs.cpp142 if (boolVal == ab::ParseBoolResult::kTrue) { in parseProperty()
145 if (boolVal == ab::ParseBoolResult::kFalse) { in parseProperty()