Home
last modified time | relevance | path

Searched refs:ParseBool (Results 1 – 10 of 10) sorted by relevance

/system/libbase/
Dparsebool_test.cpp24 using android::base::ParseBool;
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() function
Dproperties.cpp72 switch (ParseBool(GetProperty(key, ""))) { in GetBoolProperty()
305 switch (ParseBool(value)) { in CachedBoolProperty()
/system/libbase/include/android-base/
Dparsebool.h55 ParseBoolResult ParseBool(std::string_view s);
/system/vold/
Dvdc.cpp91 auto isZoned = android::base::ParseBool(args[4]); in mountFstab()
105 auto shouldFormat = android::base::ParseBool(args[4]); in encryptFstab()
108 auto isZoned = android::base::ParseBool(args[6]); in encryptFstab()
/system/core/debuggerd/handler/
Ddebuggerd_handler.cpp55 using ::android::base::ParseBool;
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/core/fs_mgr/libsnapshot/
Dtest_helpers.cpp239 switch (android::base::ParseBool(iter->second)) { in GetBoolProperty()
/system/extras/simpleperf/
Dreport_utils.cpp352 auto result = android::base::ParseBool(s); in CallChainReportBuilder()
/system/update_engine/aosp/
Dupdate_attempter_android.cc396 const auto res = android::base::ParseBool(headers[kPayloadEnableThreading]); in ApplyPayload()
/system/incremental_delivery/incfs/
Dincfs.cpp150 auto boolVal = ab::ParseBool(property); in parseProperty()