OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:bytesPerPeriod
(Results
1 - 4
of
4
) sorted by null
/external/mockwebserver/src/main/java/com/google/mockwebserver/
MockResponse.java
233
* series of {@code
bytesPerPeriod
} bytes are written. Use this to simulate
236
public MockResponse throttleBody(int
bytesPerPeriod
, long period, TimeUnit unit) {
237
this.throttleBytesPerPeriod =
bytesPerPeriod
;
MockWebServer.java
531
int
bytesPerPeriod
= throttlePolicy.getThrottleBytesPerPeriod();
535
for (int b = 0; b <
bytesPerPeriod
; ) {
536
int toRead = (int) Math.min(Math.min(buffer.length, limit),
bytesPerPeriod
- b);
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/
MockResponse.java
218
* series of {@code
bytesPerPeriod
} bytes are written. Use this to simulate
221
public MockResponse throttleBody(int
bytesPerPeriod
, long period, TimeUnit unit) {
222
this.throttleBytesPerPeriod =
bytesPerPeriod
;
MockWebServer.java
537
int
bytesPerPeriod
= throttlePolicy.getThrottleBytesPerPeriod();
541
for (int b = 0; b <
bytesPerPeriod
; ) {
542
int toRead = (int) Math.min(Math.min(buffer.length, limit),
bytesPerPeriod
- b);
Completed in 142 milliseconds