Home
last modified time | relevance | path

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

/system/update_engine/
Domaha_request_builder_xml.cc81 string XmlEncodeWithDefault(const string& input, const string& default_value) { in XmlEncodeWithDefault() function
151 XmlEncodeWithDefault(params_->target_version_prefix()).c_str()); in GetAppBody()
181 XmlEncodeWithDefault(prev_version, kNoVersion).c_str()); in GetAppBody()
259 XmlEncodeWithDefault(app_data.version, kNoVersion) + "\" "; in GetApp()
262 XmlEncodeWithDefault(app_data.version, kNoVersion) + "\" "; in GetApp()
267 "track=\"" + XmlEncodeWithDefault(download_channel) + "\" "; in GetApp()
270 XmlEncodeWithDefault(params_->current_channel()) + "\" "; in GetApp()
297 XmlEncodeWithDefault(params_->os_build_fingerprint()) + in GetApp()
304 XmlEncodeWithDefault(params_->os_build_type()) + "\" "; in GetApp()
325 XmlEncodeWithDefault(version).c_str()); in GetApp()
[all …]
Domaha_request_builder_xml_unittest.cc85 EXPECT_EQ("", XmlEncodeWithDefault("")); in TEST_F()
86 EXPECT_EQ("&lt;&amp;&gt;", XmlEncodeWithDefault("<&>", "something else")); in TEST_F()
87 EXPECT_EQ("<not escaped>", XmlEncodeWithDefault("\xc2", "<not escaped>")); in TEST_F()
Domaha_request_builder_xml.h99 std::string XmlEncodeWithDefault(const std::string& input,