/system/core/metricsd/uploader/ |
H A D | sender_http.cc | 34 brillo::http::HeaderList headers = {{"X-Chrome-UMA-Log-SHA1", hash}}; local 40 headers,
|
/system/webservd/webservd/ |
H A D | dbus_request_handler.cc | 52 std::vector<std::tuple<std::string, std::string>> headers; local 54 headers.emplace_back(pair.first, pair.second); 85 request_id, headers, params, files, body_data_pipe,
|
H A D | request.cc | 132 const std::vector<std::tuple<std::string, std::string>>& headers, 139 response_headers_.reserve(headers.size()); 140 for (const auto& tuple : headers) { 167 const std::vector<std::tuple<std::string, std::string>>& /* headers */, 130 Complete( int32_t status_code, const std::vector<std::tuple<std::string, std::string>>& headers, int64_t in_data_size) argument
|
/system/webservd/libwebserv/ |
H A D | request_fake.h | 58 void SetHeaders(std::multimap<std::string, std::string> headers) { argument 59 headers_ = std::move(headers);
|
H A D | response.cc | 48 const std::vector<std::pair<std::string, std::string>>& headers) { 49 headers_.insert(headers.begin(), headers.end()); 47 AddHeaders( const std::vector<std::pair<std::string, std::string>>& headers) argument
|
H A D | dbus_protocol_handler.cc | 234 const std::multimap<std::string, std::string>& headers, 242 header_list.reserve(headers.size()); 243 for (const auto& pair : headers) 231 CompleteRequest( const std::string& request_id, int status_code, const std::multimap<std::string, std::string>& headers, brillo::StreamPtr data_stream) argument
|
/system/weaved/buffet/ |
H A D | http_transport_client.cc | 85 const Headers& headers, 89 request.AddHeaders(headers); 83 SendRequest(Method method, const std::string& url, const Headers& headers, const std::string& data, const SendRequestCallback& callback) argument
|
/system/tools/aidl/ |
H A D | aidl_unittest.cpp | 280 set<string> headers; local 281 cpp_type->GetHeaders(&headers); 282 EXPECT_EQ(1u, headers.size()); 283 EXPECT_EQ(1u, headers.count("baz/header"));
|
H A D | aidl.cpp | 307 vector<string> headers; local 311 headers.push_back(options.OutputHeaderDir() + '/' + 318 // Generated headers also depend on the source aidl files. 319 writer->Write("%s : \\\n %s\n", Join(headers, " \\\n ").c_str(),
|
H A D | type_cpp.cpp | 389 const vector<string>& headers, 398 headers_(headers), 386 Type(int kind, const std::string& package, const std::string& aidl_type, const vector<string>& headers, const string& cpp_type, const string& read_method, const string& write_method, Type* array_type, Type* nullable_type, const string& src_file_name, int line) argument
|
/system/update_engine/ |
H A D | sideload_main.cc | 145 const vector<string>& headers, 182 payload, payload_offset, payload_size, headers, nullptr)); 201 DEFINE_string(headers, 219 vector<string> headers = base::SplitString( local 223 FLAGS_payload, FLAGS_offset, FLAGS_size, headers, FLAGS_status_fd)) 142 ApplyUpdatePayload(const string& payload, int64_t payload_offset, int64_t payload_size, const vector<string>& headers, int64_t status_fd) argument
|
H A D | update_engine_client_android.cc | 119 DEFINE_string(headers, 194 std::vector<std::string> headers = base::SplitString( local 197 for (const auto& header : headers) {
|
H A D | update_attempter_android.cc | 123 std::map<string, string> headers; local 132 if (!headers.emplace(key, value).second) 138 string payload_id = (headers[kPayloadPropertyFileHash] + 139 headers[kPayloadPropertyMetadataHash]); 149 if (!base::StringToUint64(headers[kPayloadPropertyFileSize], 154 install_plan_.payload_hash = headers[kPayloadPropertyFileHash]; 155 if (!base::StringToUint64(headers[kPayloadPropertyMetadataSize], 182 base::StringToInt(headers[kPayloadPropertyPowerwash], &data_wipe) && 186 if (!headers[kPayloadPropertyNetworkId].empty()) { 187 if (!base::StringToUint64(headers[kPayloadPropertyNetworkI [all...] |
H A D | test_http_server.cc | 84 string headers; local 92 headers.append(buf, r); 93 } while (!base::EndsWith(headers, EOL EOL, base::CompareCase::SENSITIVE)); 95 LOG(INFO) << "got headers:\n--8<------8<------8<------8<----\n" 96 << headers 98 request->raw_headers = headers; 103 headers.substr(0, headers.length() - strlen(EOL EOL)), EOL, &lines); 179 // Writes the headers of an HTTP response into a file. 321 // Generate headers [all...] |