Searched refs:XmlEncodeWithDefault (Results 1 – 3 of 3) sorted by relevance
/system/update_engine/cros/ |
D | omaha_request_builder_xml.cc | 81 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 …]
|
D | omaha_request_builder_xml_unittest.cc | 94 EXPECT_EQ("", XmlEncodeWithDefault("")); in TEST_F() 95 EXPECT_EQ("<&>", XmlEncodeWithDefault("<&>", "something else")); in TEST_F() 96 EXPECT_EQ("<not escaped>", XmlEncodeWithDefault("\xc2", "<not escaped>")); in TEST_F()
|
D | omaha_request_builder_xml.h | 98 std::string XmlEncodeWithDefault(const std::string& input,
|