Home
last modified time | relevance | path

Searched refs:ParseBoolResult (Results 1 – 9 of 9) 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/vold/
Dvdc.cpp135 if (shouldFormat == android::base::ParseBoolResult::kError) exit(EINVAL); in main()
137 shouldFormat == android::base::ParseBoolResult::kTrue, in main()
/system/core/fs_mgr/libsnapshot/
Dtest_helpers.cpp307 case android::base::ParseBoolResult::kTrue: in GetBoolProperty()
309 case android::base::ParseBoolResult::kFalse: in GetBoolProperty()
/system/core/debuggerd/handler/
Ddebuggerd_handler.cpp56 using ::android::base::ParseBoolResult;
97 *reinterpret_cast<bool*>(cookie) = ParseBool(value) == ParseBoolResult::kTrue; in property_parse_bool()
115 (permissive_env && ParseBool(permissive_env) == ParseBoolResult::kTrue); in is_permissive_mte()
/system/extras/simpleperf/
Dreport_utils.cpp198 if (result == android::base::ParseBoolResult::kError) { in CallChainReportBuilder()
200 } else if (result == android::base::ParseBoolResult::kTrue) { in CallChainReportBuilder()
/system/incremental_delivery/incfs/
Dincfs.cpp147 if (boolVal == ab::ParseBoolResult::kTrue) { in parseProperty()
150 if (boolVal == ab::ParseBoolResult::kFalse) { in parseProperty()