Home
last modified time | relevance | path

Searched refs:SetHeader (Results 1 – 22 of 22) sorted by relevance

/system/update_engine/common/
Dmulti_range_http_fetcher.h83 void SetHeader(const std::string& header_name, in SetHeader() function
85 base_fetcher_->SetHeader(header_name, header_value); in SetHeader()
Dfile_fetcher.h59 void SetHeader(const std::string& header_name, in SetHeader() function
Dmock_http_fetcher.h91 void SetHeader(const std::string& header_name,
Dmock_http_fetcher.cc121 void MockHttpFetcher::SetHeader(const std::string& header_name, in SetHeader() function in chromeos_update_engine::MockHttpFetcher
Dhttp_fetcher.h101 virtual void SetHeader(const std::string& header_name,
Dhttp_fetcher_unittest.cc529 fetcher->SetHeader("User-Agent", "MyTest"); in TYPED_TEST()
530 fetcher->SetHeader("user-agent", "Override that header"); in TYPED_TEST()
531 fetcher->SetHeader("Authorization", "Basic user:passwd"); in TYPED_TEST()
534 fetcher->SetHeader("X-Foo", "Invalid\nHeader\nIgnored"); in TYPED_TEST()
535 fetcher->SetHeader("X-Bar: ", "I do not know how to parse"); in TYPED_TEST()
538 fetcher->SetHeader("Accept", ""); in TYPED_TEST()
/system/connectivity/shill/
Dstub_storage.h53 bool SetHeader(const std::string& header) override { return false; } in SetHeader() function
Dmock_store.h51 MOCK_METHOD1(SetHeader, bool(const std::string& header));
Dstore_interface.h81 virtual bool SetHeader(const std::string& header) = 0;
Dpending_activation_store.cc115 storage->SetHeader("Identifiers pending cellular activation."); in InitStorage()
Dkey_file_store.h54 bool SetHeader(const std::string& header) override;
Dfake_store.h52 bool SetHeader(const std::string& header) override;
Djson_store.h53 bool SetHeader(const std::string& header) override;
Dfake_store.cc148 bool FakeStore::SetHeader(const string& header) { in SetHeader() function in shill::FakeStore
Dprofile.cc147 storage->SetHeader( in InitStorage()
Dkey_file_store.cc213 bool KeyFileStore::SetHeader(const string& header) { in SetHeader() function in shill::KeyFileStore
Dkey_file_store_unittest.cc715 TEST_F(KeyFileStoreTest, SetHeader) { in TEST_F() argument
717 ASSERT_TRUE(store_->SetHeader("this is a test")); in TEST_F()
Djson_store.cc542 bool JsonStore::SetHeader(const string& header) { in SetHeader() function in shill::JsonStore
Djson_store_unittest.cc970 store_->SetHeader("rosetta stone"); in TEST_F()
/system/update_engine/
Dlibcurl_http_fetcher.h61 void SetHeader(const std::string& header_name,
Dupdate_attempter_android.cc207 fetcher->SetHeader("Authorization", headers[kPayloadPropertyAuthorization]); in ApplyPayload()
209 fetcher->SetHeader("User-Agent", headers[kPayloadPropertyUserAgent]); in ApplyPayload()
Dlibcurl_http_fetcher.cc329 void LibcurlHttpFetcher::SetHeader(const string& header_name, in SetHeader() function in chromeos_update_engine::LibcurlHttpFetcher