Searched refs:ParseBool (Results 1 – 7 of 7) sorted by relevance
24 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()
23 ParseBoolResult ParseBool(std::string_view s) { in ParseBool() function
72 switch (ParseBool(GetProperty(key, ""))) { in GetBoolProperty()
55 ParseBoolResult ParseBool(std::string_view s);
513 bool ParseBool(const string& str) { in ParseBool() function622 out_package.is_delta = ParseBool(is_delta_payloads[i]); in ParsePackage()778 ParseBool(parser_data->updatecheck_attrs[kAttrRollback]); in ParseResponse()899 output_object->prompt = ParseBool(attrs[kAttrPrompt]); in ParseParams()903 ParseBool(attrs[kAttrDisableP2PForDownloading]); in ParseParams()905 ParseBool(attrs[kAttrDisableP2PForSharing]); in ParseParams()913 ParseBool(attrs[kAttrDisablePayloadBackoff]); in ParseParams()914 output_object->powerwash_required = ParseBool(attrs[kAttrPowerwash]); in ParseParams()
389 auto val = ParseBool(incrementalFromEnv); in calculate_install_mode()409 auto val = ParseBool(buf); in calculate_install_mode()
147 auto boolVal = android::base::ParseBool(property); in parseProperty()