Searched defs:response (Results 1 - 25 of 555) sorted by relevance

1234567891011>>

/external/dagger2/compiler/src/it/producers-functional-tests/src/main/java/producerstest/
H A DSimpleComponent.java23 ListenableFuture<Response> response(); method in interface:SimpleComponent
H A DResponseProducerModule.java31 static Response response(String greeting, Request request, int requestNumber) { method in class:ResponseProducerModule
/external/nos/host/android/hals/weaver/test/
H A Dtest.cpp46 GetConfigResponse response; local
47 response.set_number_of_slots(57);
48 response.set_key_size(467);
49 response.set_value_size(9);
51 .WillOnce(DoAll(SetArgPointee<1>(response), Return(APP_SUCCESS)));
56 EXPECT_THAT(config.slots, Eq(response.number_of_slots()));
57 EXPECT_THAT(config.keySize, Eq(response.key_size()));
58 EXPECT_THAT(config.valueSize, Eq(response.value_size()));
142 ReadResponse response; local
143 response
159 ReadResponse response; local
176 ReadResponse response; local
193 ReadResponse response; local
[all...]
/external/nos/test/system-test-harness/tools/
H A Dkeymaster_tools.cc37 SetRootOfTrustResponse response; local
40 ASSERT_NO_ERROR(service.SetRootOfTrust(request, &response), "");
41 EXPECT_EQ((ErrorCode)response.error_code(), ErrorCode::OK);
/external/apache-http/src/org/apache/http/
H A DConnectionReuseStrategy.java70 * @param response
71 * The last response received over that connection.
78 boolean keepAlive(HttpResponse response, HttpContext context); argument
H A DHttpResponseInterceptor.java39 * Processes a response.
40 * Provides the ability to process a response before it is sent
59 * Processes a response.
60 * On the server side, this step is performed before the response is
64 * @param response the response to postprocess
70 void process(HttpResponse response, HttpContext context) argument
/external/apache-http/src/org/apache/http/client/
H A DResponseHandler.java38 * Handler that encapsulates the process of generating a response object
54 * corresponding to that response.
56 * @param response The response to process
57 * @return A value determined by the response
62 T handleResponse(HttpResponse response) throws ClientProtocolException, IOException; argument
H A DRedirectHandler.java42 * a new location in response to an HTTP response received from the target
61 * given the response from the target server.
63 * @param response the response received from the target server
69 boolean isRedirectRequested(HttpResponse response, HttpContext context); argument
73 * given the response from the target server and the current request
76 * @param response the response received from the target server
81 URI getLocationURI(HttpResponse response, HttpContex argument
[all...]
/external/libese/libese-cpp/tests/include/esecpp/
H A DMockEseInterface.h39 inline auto EseReceive(const std::vector<uint8_t>& response) { argument
40 return Invoke([response](const std::vector<uint8_t>& /* tx */, std::vector<uint8_t>& rx) {
41 const auto end = (rx.size() >= response.size())
42 ? response.end() : (response.begin() + rx.size());
43 std::copy(response.begin(), end, rx.begin());
44 return (int) response.size();
48 // Returns a mocked device that expects a command, will pass the response to the
52 const std::vector<uint8_t>& command, const std::vector<uint8_t>& response) {
54 EXPECT_CALL(*mockEse, transceive(ContainerEq(command), _)).WillOnce(EseReceive(response));
51 singleCommandEseMock( const std::vector<uint8_t>& command, const std::vector<uint8_t>& response) argument
[all...]
/external/nist-sip/java/javax/sip/
H A DServerTransaction.java6 void sendResponse(Response response) argument
/external/tpm2/fuzz/
H A Dexecute-command.cc27 uint8_t *response; local
41 &response_size, &response); local
44 ::ExecuteCommand(size, (uint8_t *) data, &response_size, &response);
/external/apache-http/src/org/apache/http/conn/
H A DConnectionKeepAliveStrategy.java66 * @param response
67 * The last response received over the connection.
74 long getKeepAliveDuration(HttpResponse response, HttpContext context); argument
/external/apache-http/src/org/apache/http/impl/
H A DDefaultConnectionReuseStrategy.java83 public boolean keepAlive(final HttpResponse response, argument
85 if (response == null) {
87 ("HTTP response may not be null.");
103 HttpEntity entity = response.getEntity();
104 ProtocolVersion ver = response.getStatusLine().getProtocolVersion();
119 HeaderIterator hit = response.headerIterator(HTTP.CONN_DIRECTIVE);
121 hit = response.headerIterator("Proxy-Connection");
H A DNoConnectionReuseStrategy.java59 public boolean keepAlive(final HttpResponse response, final HttpContext context) { argument
60 if (response == null) {
61 throw new IllegalArgumentException("HTTP response may not be null");
/external/apache-http/src/org/apache/http/impl/client/
H A DBasicResponseHandler.java44 * A {@link ResponseHandler} that returns the response body as a String
45 * for successful (2xx) responses. If the response code was >= 300, the response
67 * Returns the response body as a String if the response was successful (a
68 * 2xx status code). If no response body exists, this returns null. If the
69 * response was unsuccessful (>= 300 status code), throws an
72 public String handleResponse(final HttpResponse response) argument
74 StatusLine statusLine = response.getStatusLine();
80 HttpEntity entity = response
[all...]
H A DDefaultConnectionKeepAliveStrategy.java61 public long getKeepAliveDuration(HttpResponse response, HttpContext context) { argument
62 if (response == null) {
63 throw new IllegalArgumentException("HTTP response may not be null");
66 response.headerIterator(HTTP.CONN_KEEP_ALIVE));
H A DDefaultProxyAuthenticationHandler.java58 final HttpResponse response,
60 if (response == null) {
61 throw new IllegalArgumentException("HTTP response may not be null");
63 int status = response.getStatusLine().getStatusCode();
68 final HttpResponse response,
70 if (response == null) {
71 throw new IllegalArgumentException("HTTP response may not be null");
73 Header[] headers = response.getHeaders(AUTH.PROXY_AUTH);
57 isAuthenticationRequested( final HttpResponse response, final HttpContext context) argument
67 getChallenges( final HttpResponse response, final HttpContext context) argument
H A DDefaultTargetAuthenticationHandler.java58 final HttpResponse response,
60 if (response == null) {
61 throw new IllegalArgumentException("HTTP response may not be null");
63 int status = response.getStatusLine().getStatusCode();
68 final HttpResponse response,
70 if (response == null) {
71 throw new IllegalArgumentException("HTTP response may not be null");
73 Header[] headers = response.getHeaders(AUTH.WWW_AUTH);
57 isAuthenticationRequested( final HttpResponse response, final HttpContext context) argument
67 getChallenges( final HttpResponse response, final HttpContext context) argument
H A DTunnelRefusedException.java47 private final HttpResponse response; field in class:TunnelRefusedException
49 public TunnelRefusedException(final String message, final HttpResponse response) { argument
51 this.response = response;
55 return this.response;
/external/apache-http/src/org/apache/http/protocol/
H A DHttpExpectationVerifier.java75 void verify(HttpRequest request, HttpResponse response, HttpContext context) argument
H A DHttpRequestHandler.java55 void handle(HttpRequest request, HttpResponse response, HttpContext context) argument
H A DResponseConnControl.java47 * A response interceptor that suggests connection keep-alive to the client.
67 public void process(final HttpResponse response, final HttpContext context) argument
69 if (response == null) {
70 throw new IllegalArgumentException("HTTP response may not be null");
76 int status = response.getStatusLine().getStatusCode();
84 response.setHeader(HTTP.CONN_DIRECTIVE, HTTP.CONN_CLOSE);
89 HttpEntity entity = response.getEntity();
91 ProtocolVersion ver = response.getStatusLine().getProtocolVersion();
94 response.setHeader(HTTP.CONN_DIRECTIVE, HTTP.CONN_CLOSE);
104 response
[all...]
H A DResponseContent.java46 * A response interceptor that sets up entity-related headers.
66 public void process(final HttpResponse response, final HttpContext context) argument
68 if (response == null) {
71 if (response.containsHeader(HTTP.TRANSFER_ENCODING)) {
74 if (response.containsHeader(HTTP.CONTENT_LEN)) {
77 ProtocolVersion ver = response.getStatusLine().getProtocolVersion();
78 HttpEntity entity = response.getEntity();
82 response.addHeader(HTTP.TRANSFER_ENCODING, HTTP.CHUNK_CODING);
84 response.addHeader(HTTP.CONTENT_LEN, Long.toString(entity.getContentLength()));
87 if (entity.getContentType() != null && !response
[all...]
H A DResponseDate.java42 * A response interceptor that adds a Date header.
64 public void process(final HttpResponse response, final HttpContext context) argument
66 if (response == null) {
68 ("HTTP response may not be null.");
70 int status = response.getStatusLine().getStatusCode();
72 !response.containsHeader(HTTP.DATE_HEADER)) {
74 response.setHeader(HTTP.DATE_HEADER, httpdate);
H A DResponseServer.java42 * A response interceptor that adds a Server header.
62 public void process(final HttpResponse response, final HttpContext context) argument
64 if (response == null) {
67 if (!response.containsHeader(HTTP.SERVER_HEADER)) {
68 String s = (String) response.getParams().getParameter(
71 response.addHeader(HTTP.SERVER_HEADER, s);

Completed in 330 milliseconds

1234567891011>>