Home
last modified time | relevance | path

Searched refs:XmlEncodeWithDefault (Results 1 – 3 of 3) sorted by relevance

/system/update_engine/cros/
Domaha_request_builder_xml.cc81 string XmlEncodeWithDefault(const string& input, const string& default_value) { in XmlEncodeWithDefault() function
152 XmlEncodeWithDefault(params->target_version_prefix()).c_str()); in GetAppBody()
161 XmlEncodeWithDefault(params->lts_tag()).c_str()); in GetAppBody()
188 XmlEncodeWithDefault(prev_version, kNoVersion).c_str()); in GetAppBody()
278 XmlEncodeWithDefault(app_data.version, kNoVersion) + "\" "; in GetApp()
281 XmlEncodeWithDefault(app_data.version, kNoVersion) + "\" "; in GetApp()
286 "track=\"" + XmlEncodeWithDefault(download_channel) + "\" "; in GetApp()
289 XmlEncodeWithDefault(params->current_channel()) + "\" "; in GetApp()
333 XmlEncodeWithDefault(params->os_build_fingerprint()) + in GetApp()
340 XmlEncodeWithDefault(params->os_build_type()) + "\" "; in GetApp()
[all …]
Domaha_request_builder_xml_unittest.cc94 EXPECT_EQ("", XmlEncodeWithDefault("")); in TEST_F()
95 EXPECT_EQ("&lt;&amp;&gt;", XmlEncodeWithDefault("<&>", "something else")); in TEST_F()
96 EXPECT_EQ("<not escaped>", XmlEncodeWithDefault("\xc2", "<not escaped>")); in TEST_F()
Domaha_request_builder_xml.h98 std::string XmlEncodeWithDefault(const std::string& input,