Home
last modified time | relevance | path

Searched defs:contentLength (Results 1 – 25 of 887) sorted by relevance

12345678910>>...36

/aosp_15_r20/external/aws-sdk-java-v2/core/sdk-core/src/main/java/software/amazon/awssdk/core/async/
H A DAsyncRequestBodyFromInputStreamConfiguration.java35 private final Long contentLength; field in AsyncRequestBodyFromInputStreamConfiguration
56 public Long contentLength() { in contentLength() method in AsyncRequestBodyFromInputStreamConfiguration
135 Builder contentLength(Long contentLength); in contentLength() method
161 private Long contentLength; field in AsyncRequestBodyFromInputStreamConfiguration.DefaultBuilder
181 public Builder contentLength(Long contentLength) { in contentLength() argument
H A DBlockingOutputStreamAsyncRequestBody.java46 private final Long contentLength; field in BlockingOutputStreamAsyncRequestBody
49 BlockingOutputStreamAsyncRequestBody(Long contentLength) { in BlockingOutputStreamAsyncRequestBody()
53 BlockingOutputStreamAsyncRequestBody(Long contentLength, Duration subscribeTimeout) { in BlockingOutputStreamAsyncRequestBody()
73 public Optional<Long> contentLength() { in contentLength() method in BlockingOutputStreamAsyncRequestBody
H A DBlockingInputStreamAsyncRequestBody.java43 private final Long contentLength; field in BlockingInputStreamAsyncRequestBody
46 BlockingInputStreamAsyncRequestBody(Long contentLength) { in BlockingInputStreamAsyncRequestBody()
50 BlockingInputStreamAsyncRequestBody(Long contentLength, Duration subscribeTimeout) { in BlockingInputStreamAsyncRequestBody()
56 public Optional<Long> contentLength() { in contentLength() method in BlockingInputStreamAsyncRequestBody
/aosp_15_r20/external/aws-sdk-java-v2/services/s3/src/main/java/software/amazon/awssdk/services/s3/internal/multipart/
H A DUploadWithKnownContentLengthHelper.java72 long contentLength) { in uploadObject()
91 …private void uploadInParts(PutObjectRequest putObjectRequest, long contentLength, AsyncRequestBody… in uploadInParts()
102 … doUploadInParts(Pair.of(putObjectRequest, asyncRequestBody), contentLength, returnFuture, in uploadInParts() local
109 long contentLength, in doUploadInParts()
134 private final long contentLength; field in UploadWithKnownContentLengthHelper.MpuRequestContext
140 long contentLength, in MpuRequestContext()
H A DCopyObjectHelper.java91 Long contentLength = headObjectResponse.contentLength(); in doCopyObject() local
103 Long contentLength, in copyInParts()
124 Long contentLength, in doCopyInParts()
182 long contentLength, in sendUploadPartCopyRequests()
/aosp_15_r20/external/nanohttpd/core/src/test/java/fi/iki/elonen/
H A DHttpPostRequestTest.java80 …int contentLength = size + contentLengthHeaderValueSize + HttpPostRequestTest.CONTENT_LENGTH.lengt… in preparePostWithMultipartForm() local
125 …int contentLength = size + contentLengthHeaderValueSize + HttpPostRequestTest.CONTENT_LENGTH.lengt… in testPostWithMultipleMultipartFormFields() local
144 …int contentLength = size + contentLengthHeaderValueSize + HttpPostRequestTest.CONTENT_LENGTH.lengt… in testPostWithMultipleMultipartFormFieldsWhereContentTypeWasSeparatedByComma() local
162 …int contentLength = size + contentLengthHeaderValueSize + HttpPostRequestTest.CONTENT_LENGTH.lengt… in testSimplePostWithSingleMultipartFormField() local
176 …int contentLength = size + contentLengthHeaderValueSize + HttpPostRequestTest.CONTENT_LENGTH.lengt… in testSimpleRawPostData() local
/aosp_15_r20/external/aws-sdk-java-v2/core/sdk-core/src/main/java/software/amazon/awssdk/core/sync/
H A DRequestBody.java51 private final Long contentLength; field in RequestBody
54 …private RequestBody(ContentStreamProvider contentStreamProvider, Long contentLength, String conten… in RequestBody()
72 public long contentLength() { in contentLength() method in RequestBody
130 public static RequestBody fromInputStream(InputStream inputStream, long contentLength) { in fromInputStream()
/aosp_15_r20/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/
H A DResponseBody.java44 public abstract long contentLength() throws IOException; in contentLength() method in ResponseBody
53 long contentLength = contentLength(); in bytes() local
124 final MediaType contentType, final long contentLength, final BufferedSource content) { in create()
131 @Override public long contentLength() { in create() method in ResponseBody
H A DCache.java664 String contentLength = responseHeaders.get("Content-Length"); in response() local
699 private final String contentLength; field in CacheResponseBody
702 String contentType, String contentLength) { in CacheResponseBody()
720 @Override public long contentLength() { in contentLength() method in CacheResponseBody
H A DMultipartBuilder.java203 private long contentLength = -1L; field in MultipartBuilder.MultipartRequestBody
219 @Override public long contentLength() throws IOException { in contentLength() method in MultipartBuilder.MultipartRequestBody
263 long contentLength = body.contentLength(); in writeOrCountBytes() local
/aosp_15_r20/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
H A DResponseBody.java40 public abstract long contentLength() throws IOException; in contentLength() method in ResponseBody
49 long contentLength = contentLength(); in bytes() local
120 final MediaType contentType, final long contentLength, final BufferedSource content) { in create()
127 @Override public long contentLength() { in create() method in ResponseBody
H A DCache.java662 String contentLength = responseHeaders.get("Content-Length"); in response() local
697 private final String contentLength; field in CacheResponseBody
700 String contentType, String contentLength) { in CacheResponseBody()
718 @Override public long contentLength() { in contentLength() method in CacheResponseBody
H A DMultipartBuilder.java201 private long contentLength = -1L; field in MultipartBuilder.MultipartRequestBody
217 @Override public long contentLength() throws IOException { in contentLength() method in MultipartBuilder.MultipartRequestBody
261 long contentLength = body.contentLength(); in writeOrCountBytes() local
/aosp_15_r20/external/aws-sdk-java-v2/services/s3/src/main/java/software/amazon/awssdk/services/s3/internal/checksums/
H A DChecksumCalculatingAsyncRequestBody.java31 private final Long contentLength; field in ChecksumCalculatingAsyncRequestBody
45 public Optional<Long> contentLength() { in contentLength() method in ChecksumCalculatingAsyncRequestBody
64 private final Long contentLength; field in ChecksumCalculatingAsyncRequestBody.ChecksumCalculatingSubscriber
68 Long contentLength) { in ChecksumCalculatingSubscriber()
H A DS3ChecksumValidatingPublisher.java36 private final long contentLength; field in S3ChecksumValidatingPublisher
40 long contentLength) { in S3ChecksumValidatingPublisher()
68 long contentLength) { in ChecksumValidatingSubscriber()
/aosp_15_r20/external/ksoap2/ksoap2-j2se/src/main/java/org/ksoap2/transport/
H A DHttpTransportSE.java92 public HttpTransportSE(String url, int timeout, int contentLength) { in HttpTransportSE()
96 public HttpTransportSE(Proxy proxy, String url, int timeout, int contentLength) { in HttpTransportSE()
191 int contentLength = 8192; // To determine the size of the response and adjust buffer size in call() local
310 private InputStream readDebug(InputStream is, int contentLength, File outputFile) in readDebug()
/aosp_15_r20/external/aws-sdk-java-v2/services/s3/src/test/java/software/amazon/awssdk/services/s3/internal/multipart/
H A DUploadObjectHelperTest.java112 …dObject_contentLengthDoesNotExceedThresholdAndPartSize_shouldUploadInOneChunk(long contentLength) { in uploadObject_contentLengthDoesNotExceedThresholdAndPartSize_shouldUploadInOneChunk()
125 …uploadObject_unKnownContentLengthDoesNotExceedPartSize_shouldUploadInOneChunk(long contentLength) { in uploadObject_unKnownContentLengthDoesNotExceedPartSize_shouldUploadInOneChunk()
315 Long contentLength = contentLengthKnown ? MPU_CONTENT_SIZE : null; in uploadObject_requestBodyOnError_shouldFailAndAbort() local
330 private static PutObjectRequest putObjectRequest(Long contentLength) { in putObjectRequest()
/aosp_15_r20/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/core/src/main/java/com/google/android/exoplayer2/offline/
H A DDownload.java106 public final long contentLength; field in Download
122 long contentLength, in Download()
141 long contentLength, in Download()
/aosp_15_r20/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/core/src/main/java/com/google/android/exoplayer2/offline/
H A DDownload.java93 public final long contentLength; field in Download
109 long contentLength, in Download()
128 long contentLength, in Download()
/aosp_15_r20/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/datasource/src/test/java/com/google/android/exoplayer2/upstream/cache/
H A DCacheWriterTest.java268 private long contentLength = C.LENGTH_UNSET; field in CacheWriterTest.CachingCounters
274 public void onProgress(long contentLength, long bytesCached, long newBytesCached) { in onProgress()
283 public void assertValues(int bytesAlreadyCached, int bytesNewlyCached, int contentLength) { in assertValues()
/aosp_15_r20/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/datasource/src/test/java/com/google/android/exoplayer2/upstream/cache/
H A DCacheWriterTest.java268 private long contentLength = C.LENGTH_UNSET; field in CacheWriterTest.CachingCounters
274 public void onProgress(long contentLength, long bytesCached, long newBytesCached) { in onProgress()
283 public void assertValues(int bytesAlreadyCached, int bytesNewlyCached, int contentLength) { in assertValues()
/aosp_15_r20/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/http/
H A DOkHeaders.java66 public static long contentLength(Request request) { in contentLength() method in OkHeaders
70 public static long contentLength(Response response) { in contentLength() method in OkHeaders
74 public static long contentLength(Headers headers) { in contentLength() method in OkHeaders
/aosp_15_r20/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
H A DOkHeaders.java64 public static long contentLength(Request request) { in contentLength() method in OkHeaders
68 public static long contentLength(Response response) { in contentLength() method in OkHeaders
72 public static long contentLength(Headers headers) { in contentLength() method in OkHeaders
/aosp_15_r20/external/nist-sip/java/gov/nist/javax/sip/parser/
H A DContentLengthParser.java44 public ContentLengthParser(String contentLength) { in ContentLengthParser()
56 ContentLength contentLength = new ContentLength(); in parse() local
H A DMaxForwardsParser.java43 public MaxForwardsParser(String contentLength) { in MaxForwardsParser()
55 MaxForwards contentLength = new MaxForwards(); in parse() local

12345678910>>...36