Home
last modified time | relevance | path

Searched refs:responseInfo (Results 1 – 20 of 20) sorted by relevance

/external/cronet/components/cronet/android/test/smoketests/src/org/chromium/net/smoke/
DCronetSmokeTestRule.java83 UrlResponseInfo responseInfo = callback.getResponseInfo();
84 Assert.assertNotNull(responseInfo);
85 Assert.assertFalse(responseInfo.wasCached());
86 Assert.assertEquals(url, responseInfo.getUrl());
88 url, responseInfo.getUrlChain().get(responseInfo.getUrlChain().size() - 1));
89 Assert.assertEquals(200, responseInfo.getHttpStatusCode());
90 Assert.assertTrue(responseInfo.toString().length() > 0);
DSmokeTestRequestCallback.java120 private void done(State finalState, UrlResponseInfo responseInfo) { in done() argument
122 mResponseInfo = responseInfo; in done()
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/extensions/cronet/src/main/java/com/google/android/exoplayer2/ext/cronet/
DCronetDataSource.java431 @Nullable private UrlResponseInfo responseInfo; field in CronetDataSource
498 return responseInfo == null || responseInfo.getHttpStatusCode() <= 0 in getResponseCode()
500 : responseInfo.getHttpStatusCode(); in getResponseCode()
505 return responseInfo == null ? Collections.emptyMap() : responseInfo.getAllHeaders(); in getResponseHeaders()
511 return responseInfo == null ? null : Uri.parse(responseInfo.getUrl()); in getUri()
571 UrlResponseInfo responseInfo = Assertions.checkNotNull(this.responseInfo); in open() local
572 int responseCode = responseInfo.getHttpStatusCode(); in open()
573 Map<String, List<String>> responseHeaders = responseInfo.getAllHeaders(); in open()
599 responseInfo.getHttpStatusText(), in open()
621 if (!isCompressed(responseInfo)) { in open()
[all …]
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/extensions/cronet/src/main/java/com/google/android/exoplayer2/ext/cronet/
DCronetDataSource.java427 @Nullable private UrlResponseInfo responseInfo; field in CronetDataSource
618 return responseInfo == null || responseInfo.getHttpStatusCode() <= 0 in getResponseCode()
620 : responseInfo.getHttpStatusCode(); in getResponseCode()
625 return responseInfo == null ? Collections.emptyMap() : responseInfo.getAllHeaders(); in getResponseHeaders()
631 return responseInfo == null ? null : Uri.parse(responseInfo.getUrl()); in getUri()
691 UrlResponseInfo responseInfo = Assertions.checkNotNull(this.responseInfo); in open() local
692 int responseCode = responseInfo.getHttpStatusCode(); in open()
693 Map<String, List<String>> responseHeaders = responseInfo.getAllHeaders(); in open()
719 responseInfo.getHttpStatusText(), in open()
741 if (!isCompressed(responseInfo)) { in open()
[all …]
/external/cronet/components/cronet/
DREADME.md24 UrlResponseInfo responseInfo, String newLocationUrl) {
36 UrlResponseInfo responseInfo) {
38 int httpStatusCode = responseInfo.getHttpStatusCode();
47 mResponseHeaders = responseInfo.getAllHeaders();
52 UrlResponseInfo responseInfo, ByteBuffer byteBuffer) {
62 UrlResponseInfo responseInfo) {
68 UrlResponseInfo responseInfo, CronetException error) {
69 // Request has failed. responseInfo might be null.
/external/cronet/components/cronet/android/fake/java/org/chromium/net/test/
DFakeRequestFinishedInfo.java18 int finishedReason, UrlResponseInfo responseInfo, CronetException exception) { in FakeRequestFinishedInfo() argument
19 super(url, connectionAnnotations, null, finishedReason, responseInfo, exception); in FakeRequestFinishedInfo()
/external/openthread/src/core/thread/
Dannounce_begin_server.cpp78 Ip6::MessageInfo responseInfo(aMessageInfo); in HandleRequest() local
90 SuccessOrExit(Get<Tmf::Agent>().SendEmptyAck(aMessage, responseInfo)); in HandleRequest()
Dpanid_query_server.cpp70 Ip6::MessageInfo responseInfo(aMessageInfo); in HandleQuery() local
85 SuccessOrExit(Get<Tmf::Agent>().SendEmptyAck(aMessage, responseInfo)); in HandleQuery()
Denergy_scan_server.cpp77 Ip6::MessageInfo responseInfo(aMessageInfo); in HandleRequest() local
101 SuccessOrExit(Get<Tmf::Agent>().SendEmptyAck(aMessage, responseInfo)); in HandleRequest()
/external/cronet/components/cronet/android/java/src/org/chromium/net/impl/
DRequestFinishedInfoImpl.java41 @Nullable UrlResponseInfo responseInfo, @Nullable HttpException exception) { in RequestFinishedInfoImpl() argument
46 mResponseInfo = responseInfo; in RequestFinishedInfoImpl()
DCronetBidirectionalStream.java820 UrlResponseInfoImpl responseInfo = new UrlResponseInfoImpl(Arrays.asList(mInitialUrl), in prepareResponseInfoOnNetworkThread() local
823 return responseInfo; in prepareResponseInfoOnNetworkThread()
DCronetUrlRequest.java640 final UrlResponseInfoImpl responseInfo = in onRedirectReceived() local
659 mCallback.onRedirectReceived(CronetUrlRequest.this, responseInfo, newLocation); in onRedirectReceived()
/external/openthread/src/core/meshcop/
Dpanid_query_client.cpp110 Ip6::MessageInfo responseInfo(aMessageInfo); in HandleConflict() local
126 SuccessOrExit(Get<Tmf::Agent>().SendEmptyAck(aMessage, responseInfo)); in HandleConflict()
Djoiner.cpp599 Ip6::MessageInfo responseInfo(aRequestInfo); in SendJoinerEntrustResponse() local
606 responseInfo.GetSockAddr().Clear(); in SendJoinerEntrustResponse()
607 SuccessOrExit(error = Get<Tmf::Agent>().SendMessage(*message, responseInfo)); in SendJoinerEntrustResponse()
/external/cronet/components/cronet/android/test/javatests/src/org/chromium/net/
DQuicTest.java302 private void assertIsQuic(UrlResponseInfo responseInfo) { in assertIsQuic() argument
303 assertTrue(responseInfo.getNegotiatedProtocol().startsWith("http/2+quic") in assertIsQuic()
304 || responseInfo.getNegotiatedProtocol().startsWith("h3")); in assertIsQuic()
DBidirectionalStreamTest.java97 private static void checkResponseInfo(UrlResponseInfo responseInfo, String expectedUrl, in checkResponseInfo() argument
99 assertEquals(expectedUrl, responseInfo.getUrl()); in checkResponseInfo()
101 expectedUrl, responseInfo.getUrlChain().get(responseInfo.getUrlChain().size() - 1)); in checkResponseInfo()
102 assertEquals(expectedHttpStatusCode, responseInfo.getHttpStatusCode()); in checkResponseInfo()
103 assertEquals(expectedHttpStatusText, responseInfo.getHttpStatusText()); in checkResponseInfo()
104 assertFalse(responseInfo.wasCached()); in checkResponseInfo()
105 assertTrue(responseInfo.toString().length() > 0); in checkResponseInfo()
DCronetUrlRequestTest.java118 private void checkResponseInfo(UrlResponseInfo responseInfo, String expectedUrl, in checkResponseInfo() argument
120 assertEquals(expectedUrl, responseInfo.getUrl()); in checkResponseInfo()
122 expectedUrl, responseInfo.getUrlChain().get(responseInfo.getUrlChain().size() - 1)); in checkResponseInfo()
123 assertEquals(expectedHttpStatusCode, responseInfo.getHttpStatusCode()); in checkResponseInfo()
124 assertEquals(expectedHttpStatusText, responseInfo.getHttpStatusText()); in checkResponseInfo()
125 assertFalse(responseInfo.wasCached()); in checkResponseInfo()
126 assertTrue(responseInfo.toString().length() > 0); in checkResponseInfo()
130 UrlResponseInfo responseInfo, String headerName, String headerValue) { in checkResponseInfoHeader() argument
132 responseInfo.getHeaders().getAsMap(); in checkResponseInfoHeader()
DCronetUrlRequestContextTest.java1579 UrlRequest request, UrlResponseInfo responseInfo, String newLocationUrl) {} in postToNetworkThread()
1581 public void onResponseStarted(UrlRequest request, UrlResponseInfo responseInfo) {} in postToNetworkThread()
1584 UrlRequest request, UrlResponseInfo responseInfo, ByteBuffer byteBuffer) {} in postToNetworkThread()
1586 public void onSucceeded(UrlRequest request, UrlResponseInfo responseInfo) {} in postToNetworkThread()
1590 UrlRequest request, UrlResponseInfo responseInfo, HttpException error) { in postToNetworkThread()
1594 public void onCanceled(UrlRequest request, UrlResponseInfo responseInfo) {} in postToNetworkThread()
/external/cronet/third_party/boringssl/src/crypto/obj/
Dobjects.txt558 id-cmc 19 : id-cmc-responseInfo
/external/boringssl/src/crypto/obj/
Dobjects.txt558 id-cmc 19 : id-cmc-responseInfo