Searched refs:CONTENT_LENGTH_HDR (Results 1 – 7 of 7) sorted by relevance
40 public static final String CONTENT_LENGTH_HDR = "Content-Length"; field in HttpClientUtil129 if (request.getExtraHeaders().containsKey(CONTENT_LENGTH_HDR)) { in getTotalSentBytes()130 totalBytes += Long.parseLong(request.getExtraHeaders().get(CONTENT_LENGTH_HDR)); in getTotalSentBytes()149 if (header.getKey().equals(CONTENT_LENGTH_HDR)) { in getTotalReceivedBytes()
19 import static com.android.federatedcompute.services.http.HttpClientUtil.CONTENT_LENGTH_HDR;50 if (extraHeaders.containsKey(CONTENT_LENGTH_HDR)) { in create()58 extraHeaders.put(CONTENT_LENGTH_HDR, String.valueOf(body.length)); in create()
19 import static com.android.federatedcompute.services.http.HttpClientUtil.CONTENT_LENGTH_HDR;56 expectedHeaders.put(CONTENT_LENGTH_HDR, String.valueOf(12)); in testCreateProtobufEncodedRequest()116 expectedHeaders.put(CONTENT_LENGTH_HDR, String.valueOf(12)); in testCreateProtoRequest()
21 import static com.android.federatedcompute.services.http.HttpClientUtil.CONTENT_LENGTH_HDR;688 actualDataUploadRequest.getExtraHeaders().remove(CONTENT_LENGTH_HDR)); in testReportAndUploadResultSuccess()1137 expectedHeaders.put(CONTENT_LENGTH_HDR, String.valueOf(14)); in checkActualTARequest()1157 expectedHeaders.put(CONTENT_LENGTH_HDR, String.valueOf(7)); in checkActualReportResultRequest()
150 expectedHeaders.put(HttpClientUtil.CONTENT_LENGTH_HDR, String.valueOf(22)); in createGetRequestWithAcceptCompression_valid()
23 public static final String CONTENT_LENGTH_HDR = "Content-Length"; field in AdServicesHttpUtil
23 …port static com.android.adservices.service.common.httpclient.AdServicesHttpUtil.CONTENT_LENGTH_HDR;1106 CONTENT_LENGTH_HDR,