Home
last modified time | relevance | path

Searched refs:chunkSizes (Results 1 – 6 of 6) sorted by relevance

/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/
DRecordedRequest.java32 private final List<Integer> chunkSizes; field in RecordedRequest
38 public RecordedRequest(String requestLine, Headers headers, List<Integer> chunkSizes, in RecordedRequest() argument
42 this.chunkSizes = chunkSizes; in RecordedRequest()
89 return chunkSizes; in getChunkSizes()
DMockWebServer.java632 List<Integer> chunkSizes = new ArrayList<>();
645 chunkSizes.add(chunkSize);
656 return new RecordedRequest(request, headers.build(), chunkSizes, requestBody.receivedByteCount,
913 List<Integer> chunkSizes = Collections.emptyList(); // No chunked encoding for SPDY.
914 return new RecordedRequest(requestLine, httpHeaders.build(), chunkSizes, body.size(), body,
969 List<Integer> chunkSizes = Collections.emptyList(); // No chunked encoding for SPDY.
970 requestQueue.add(new RecordedRequest(requestLine, pushPromise.getHeaders(), chunkSizes, 0,
/external/mockwebserver/src/main/java/com/google/mockwebserver/
DRecordedRequest.java38 private final List<Integer> chunkSizes; field in RecordedRequest
49 public RecordedRequest(String requestLine, List<String> headers, List<Integer> chunkSizes, in RecordedRequest() argument
53 this.chunkSizes = chunkSizes; in RecordedRequest()
147 return chunkSizes; in getChunkSizes()
DMockWebServer.java470 List<Integer> chunkSizes = new ArrayList<Integer>(); in readRequest() local
483 chunkSizes.add(chunkSize); in readRequest()
504 return new RecordedRequest(request, headers, chunkSizes, requestBody.numBytesReceived, in readRequest()
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/builder/
DDefaultMp4Builder.java354 int[] chunkSizes = track2ChunkSizes.get(current); in createTrackBox() local
357 firstSampleOfChunk += chunkSizes[j]; in createTrackBox()
362 for (int j = l2i(firstSampleOfChunk); j < firstSampleOfChunk + chunkSizes[i]; j++) { in createTrackBox()
404 int[] chunkSizes = chunks.get(track); in InterleaveChunkMdat() local
407 firstSampleOfChunk += chunkSizes[j]; in InterleaveChunkMdat()
410 … for (int j = l2i(firstSampleOfChunk); j < firstSampleOfChunk + chunkSizes[i]; j++) { in InterleaveChunkMdat()
502 int[] chunkSizes = new int[referenceChunkStarts.length]; in getChunkSizes() local
514 chunkSizes[i] = l2i(end - start); in getChunkSizes()
517 …assert DefaultMp4Builder.this.track2Sample.get(track).size() == sum(chunkSizes) : "The number of s… in getChunkSizes()
518 return chunkSizes; in getChunkSizes()
/external/mockwebserver/src/test/java/com/google/mockwebserver/
DMockWebServerTest.java57 List<Integer> chunkSizes = Collections.emptyList(); in testRecordedRequestAccessors() local
61 requestLine, headers, chunkSizes, body.length, body, 0, null); in testRecordedRequestAccessors()