Searched refs:headers (Results 1 - 11 of 11) sorted by relevance

/system/update_engine/
H A Dupdate_attempter_android.cc124 std::map<string, string> headers; local
133 if (!headers.emplace(key, value).second)
139 string payload_id = (headers[kPayloadPropertyFileHash] +
140 headers[kPayloadPropertyMetadataHash]);
151 if (!base::StringToUint64(headers[kPayloadPropertyFileSize],
156 if (!brillo::data_encoding::Base64Decode(headers[kPayloadPropertyFileHash],
159 << headers[kPayloadPropertyFileHash];
161 if (!base::StringToUint64(headers[kPayloadPropertyMetadataSize],
188 base::StringToInt(headers[kPayloadPropertyPowerwash], &data_wipe) &&
192 if (!headers[kPayloadPropertyNetworkI
[all...]
H A Dsideload_main.cc143 const vector<string>& headers,
179 payload, payload_offset, payload_size, headers, nullptr));
198 DEFINE_string(headers,
216 vector<string> headers = base::SplitString( local
220 FLAGS_payload, FLAGS_offset, FLAGS_size, headers, FLAGS_status_fd))
140 ApplyUpdatePayload(const string& payload, int64_t payload_offset, int64_t payload_size, const vector<string>& headers, int64_t status_fd) argument
H A Dupdate_engine_client_android.cc119 DEFINE_string(headers,
194 std::vector<std::string> headers = base::SplitString( local
197 for (const auto& header : headers) {
H A Dtest_http_server.cc84 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...]
/system/tools/hidl/c2hal/test/
H A Dbuild_all.py43 parser.add_argument("path", help="location of headers to parse", type=str)
52 for header in sorted(headers(path)):
73 def headers(path): function
/system/update_engine/scripts/
H A Dupdate_device.py138 if 'Range' in self.headers:
144 start_range, end_range = self._ParseRange(self.headers.get('range'),
195 headers = ota.properties
196 headers += 'USER_AGENT=Dalvik (something, something)\n'
198 # headers += 'POWERWASH=1\n'
199 headers += 'NETWORK_ID=0\n'
203 '--size=%d' % ota.size, '--headers="%s"' % headers]
/system/tools/aidl/
H A Dtype_cpp.h62 void GetHeaders(std::set<std::string>* headers) const {
65 headers->insert(header);
75 // |headers| are the headers we must include to use this type
H A Daidl_unittest.cpp371 set<string> headers; local
372 cpp_type->GetHeaders(&headers);
373 EXPECT_EQ(1u, headers.size());
374 EXPECT_EQ(1u, headers.count("baz/header"));
H A Daidl.cpp322 vector<string> headers; local
326 headers.push_back(options.OutputHeaderDir() + '/' +
332 // Generated headers also depend on the source aidl files.
333 writer->Write("%s : \\\n %s\n", Join(headers, " \\\n ").c_str(),
H A Dtype_cpp.cpp394 const vector<string>& headers,
403 headers_(headers),
391 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/bt/osi/src/socket_utils/
H A DREADME22 these sources and the corresponding headers should be removed.

Completed in 140 milliseconds