Home
last modified time | relevance | path

Searched refs:request (Results 1 – 12 of 12) sorted by relevance

/libcore/dalvik/src/main/java/org/apache/harmony/dalvik/ddmc/
DChunkHandler.java65 public abstract Chunk handleChunk(Chunk request); in handleChunk() argument
89 public static ByteBuffer wrapChunk(Chunk request) { in wrapChunk() argument
92 in = ByteBuffer.wrap(request.data, request.offset, request.length); in wrapChunk()
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/https/
DHttpsURLConnectionTest.java693 HttpsURLConnection connection, RecordedRequest request) throws Exception { in checkConnectionStateParameters() argument
694 assertEquals(request.getSslCipherSuite(), connection.getCipherSuite()); in checkConnectionStateParameters()
695 assertEquals(request.getSslLocalPrincipal(), connection.getPeerPrincipal()); in checkConnectionStateParameters()
696 assertEquals(request.getSslPeerPrincipal(), connection.getLocalPrincipal()); in checkConnectionStateParameters()
699 Certificate[] localCertificates = request.getSslLocalCertificates(); in checkConnectionStateParameters()
704 serverCertificates = request.getSslPeerCertificates(); in checkConnectionStateParameters()
834 public MockResponse dispatch(RecordedRequest request) throws InterruptedException { in dispatch() argument
835 return delegates.removeFirst().dispatch(request); in dispatch()
848 public MockResponse dispatch(RecordedRequest request) throws InterruptedException { in dispatch() argument
849 assertEquals("CONNECT", request.getMethod()); in dispatch()
[all …]
/libcore/benchmarks/src/benchmarks/regression/
DSSLSocketBenchmark.java45 final byte[] request; field in SSLSocketBenchmark.WebSite
62 this.request = ("GET " + uri + " HTTP/1.0\r\n" in WebSite()
85 out.write(webSite.request); in time()
DURLConnectionBenchmark.java46 @Override public MockResponse dispatch(RecordedRequest request) { in dispatch() argument
/libcore/ojluni/src/main/java/sun/security/provider/certpath/
DOCSP.java206 OCSPRequest request = null; in check() local
208 request = new OCSPRequest(certIds, extensions); in check()
209 bytes = request.encodeBytes(); in check()
291 request.getNonce()); in check()
/libcore/luni/src/test/java/libcore/android/system/
DOsTest.java130 byte[] request = new byte[256]; in checkUnixDomainSocket()
131 Os.read(clientFd, request, 0, request.length); in checkUnixDomainSocket()
133 String s = new String(request, "UTF-8"); in checkUnixDomainSocket()
152 byte[] request = string.getBytes("UTF-8"); in checkUnixDomainSocket()
153 assertEquals(request.length, Os.write(clientFd, request, 0, request.length)); in checkUnixDomainSocket()
155 byte[] response = new byte[request.length]; in checkUnixDomainSocket()
1016 byte[] request = new byte[1]; in test_socket_setSockoptTimeval_effective()
1018 expectException(() -> Os.read(fd, request, 0, request.length), in test_socket_setSockoptTimeval_effective()
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/http/
DHttpURLConnectionTest.java106 String request = new String(buff, 0, num); in run() local
108 request.toLowerCase().indexOf("proxy-authorization:") > 0; in run()
/libcore/luni/src/test/java/libcore/java/net/
DAbstractCookiesTest.java351 RecordedRequest request = server.takeRequest(); in testSendingCookiesFromStore() local
353 List<String> receivedHeaders = request.getHeaders(); in testSendingCookiesFromStore()
379 RecordedRequest request = redirectSource.takeRequest(); in testRedirectsDoNotIncludeTooManyCookies() local
381 assertContains(request.getHeaders(), "Cookie: $Version=\"1\"; " in testRedirectsDoNotIncludeTooManyCookies()
428 RecordedRequest request = server.takeRequest(); in testHeadersSentToCookieHandler() local
449 assertContainsAll(request.getHeaders(), "Foo: foo", "Cookie: Bar=bar", "Cookie2: Baz=baz"); in testHeadersSentToCookieHandler()
450 assertFalse(request.getHeaders().contains("Quux: quux")); in testHeadersSentToCookieHandler()
468 RecordedRequest request = server.takeRequest(); in testCookiesSentIgnoresCase() local
469 assertContainsAll(request.getHeaders(), "COOKIE: Bar=bar", "cooKIE2: Baz=baz"); in testCookiesSentIgnoresCase()
470 assertFalse(request.getHeaders().contains("Quux: quux")); in testCookiesSentIgnoresCase()
/libcore/ojluni/src/main/java/java/util/
DBitSet.java336 int request = Math.max(2 * words.length, wordsRequired); in ensureCapacity() local
337 words = Arrays.copyOf(words, request); in ensureCapacity()
/libcore/support/src/test/java/tests/resources/x509/
Ddefault.cnf143 req_extensions = v3_req # The extensions to add to a certificate request
/libcore/support/src/test/java/tests/resources/
Djunit4-4.3.1.jarMETA-INF/ META-INF/MANIFEST.MF junit/ junit/extensions/ junit/ ...
/libcore/luni/src/main/java/libcore/net/
Dmime.types90 application/ocsp-request