/frameworks/base/core/java/android/net/ |
ParseException.java | 24 public String response; field in class:ParseException 26 ParseException(String response) { 27 this.response = response;
|
/external/webkit/Source/WebKit2/Shared/ |
WebURLResponse.cpp | 31 WebURLResponse::WebURLResponse(const WebCore::ResourceResponse& response) 32 : m_response(response)
|
/external/apache-http/src/org/apache/http/impl/client/ |
TunnelRefusedException.java | 41 private final HttpResponse response; field in class:TunnelRefusedException 43 public TunnelRefusedException(final String message, final HttpResponse response) { 45 this.response = response; 49 return this.response;
|
DefaultProxyAuthenticationHandler.java | 53 final HttpResponse response, 55 if (response == null) { 56 throw new IllegalArgumentException("HTTP response may not be null"); 58 int status = response.getStatusLine().getStatusCode(); 63 final HttpResponse response, 65 if (response == null) { 66 throw new IllegalArgumentException("HTTP response may not be null"); 68 Header[] headers = response.getHeaders(AUTH.PROXY_AUTH);
|
DefaultTargetAuthenticationHandler.java | 53 final HttpResponse response, 55 if (response == null) { 56 throw new IllegalArgumentException("HTTP response may not be null"); 58 int status = response.getStatusLine().getStatusCode(); 63 final HttpResponse response, 65 if (response == null) { 66 throw new IllegalArgumentException("HTTP response may not be null"); 68 Header[] headers = response.getHeaders(AUTH.WWW_AUTH);
|
/external/webkit/Source/WebKit/gtk/tests/ |
testnetworkresponse.c | 33 WebKitNetworkResponse* response; local 37 response = WEBKIT_NETWORK_RESPONSE(g_object_new(WEBKIT_TYPE_NETWORK_RESPONSE, "uri", "http://debian.org/", NULL)); 38 g_assert(WEBKIT_IS_NETWORK_RESPONSE(response)); 39 message = webkit_network_response_get_message(response); 41 g_object_unref(response); 45 response = WEBKIT_NETWORK_RESPONSE(g_object_new(WEBKIT_TYPE_NETWORK_RESPONSE, "message", message, NULL)); 46 g_assert(WEBKIT_IS_NETWORK_RESPONSE(response)); 48 g_object_unref(response); 54 response = WEBKIT_NETWORK_RESPONSE(g_object_new(WEBKIT_TYPE_NETWORK_RESPONSE, "message", message, "uri", "http://gnome.org/", NULL)); 55 g_assert(WEBKIT_IS_NETWORK_RESPONSE(response)); 65 WebKitNetworkResponse* response; local [all...] |
/libcore/benchmarks/src/benchmarks/regression/ |
URLConnectionBenchmark.java | 45 MockResponse response = new MockResponse(); local 46 responseHeaders.apply(response); 47 transferEncoding.setBody(response, bodySize, chunkSize); 48 server.enqueue(response); 50 // keep serving the same response for all iterations 94 void setBody(MockResponse response, int bodySize, int chunkSize) throws IOException { 96 response.setBody(new byte[bodySize]); 98 response.setChunkedBody(new byte[bodySize], chunkSize); 107 void apply(MockResponse response) { 110 response.addHeader("Date: Wed, 30 Jun 2010 17:57:39 GMT") [all...] |
/frameworks/base/tools/preload/loadclass/ |
LoadClass.java | 59 StringBuilder response = new StringBuilder("DECAFBAD"); local 64 response.append(',').append(memoryInfo.nativeSharedDirty); 65 response.append(',').append(memoryInfo.dalvikSharedDirty); 66 response.append(',').append(memoryInfo.otherSharedDirty); 67 response.append(',').append(memoryInfo.nativePrivateDirty); 68 response.append(',').append(memoryInfo.dalvikPrivateDirty); 69 response.append(',').append(memoryInfo.otherPrivateDirty); 71 response.append(',').append(allocCount); 72 response.append(',').append(allocSize); 73 response.append(',').append(freedCount) [all...] |
/external/apache-http/src/org/apache/http/protocol/ |
ResponseServer.java | 42 * A response interceptor that adds a Server header. 57 public void process(final HttpResponse response, final HttpContext context) 59 if (response == null) { 62 if (!response.containsHeader(HTTP.SERVER_HEADER)) { 63 String s = (String) response.getParams().getParameter( 66 response.addHeader(HTTP.SERVER_HEADER, s);
|
ResponseContent.java | 46 * A response interceptor that sets up entity-related headers. 61 public void process(final HttpResponse response, final HttpContext context) 63 if (response == null) { 66 if (response.containsHeader(HTTP.TRANSFER_ENCODING)) { 69 if (response.containsHeader(HTTP.CONTENT_LEN)) { 72 ProtocolVersion ver = response.getStatusLine().getProtocolVersion(); 73 HttpEntity entity = response.getEntity(); 77 response.addHeader(HTTP.TRANSFER_ENCODING, HTTP.CHUNK_CODING); 79 response.addHeader(HTTP.CONTENT_LEN, Long.toString(entity.getContentLength())); 82 if (entity.getContentType() != null && !response.containsHeader [all...] |
HttpRequestExecutor.java | 49 * Takes care of request preprocessing and response postprocessing 68 * Decide whether a response comes with an entity. 70 * Unknown methods and response codes are supposed to 74 * methods and response codes not specified in RFC 2616. 77 * @param response the response, to obtain the status code 80 final HttpResponse response) { 85 int status = response.getStatusLine().getStatusCode(); 93 * Synchronously send a request and obtain the response. 98 * @return the response to the request, postprocesse 119 HttpResponse response = doSendRequest(request, conn, context); local 198 HttpResponse response = null; local 274 HttpResponse response = null; local [all...] |
HttpService.java | 76 * @param responseFactory the response factory 104 throw new IllegalArgumentException("Response factory may not be null"); 131 HttpResponse response = null; local 149 response = this.responseFactory.newHttpResponse(ver, 151 response.setParams( 152 new DefaultedHttpParams(response.getParams(), this.params)); 156 this.expectationVerifier.verify(request, response, context); 158 response = this.responseFactory.newHttpResponse(HttpVersion.HTTP_1_0, 160 response.setParams( 161 new DefaultedHttpParams(response.getParams(), this.params)) [all...] |
/external/smack/src/org/jivesoftware/smackx/workgroup/ext/macros/ |
Macro.java | 33 private String response;
field in class:Macro 53 return response;
56 public void setResponse(String response) {
57 this.response = response;
|
/frameworks/base/core/java/android/accounts/ |
IAccountAuthenticator.aidl | 31 void addAccount(in IAccountAuthenticatorResponse response, String accountType, 37 void confirmCredentials(in IAccountAuthenticatorResponse response, in Account account, 43 void getAuthToken(in IAccountAuthenticatorResponse response, in Account account, 49 void getAuthTokenLabel(in IAccountAuthenticatorResponse response, String authTokenType); 54 void updateCredentials(in IAccountAuthenticatorResponse response, in Account account, 60 void editProperties(in IAccountAuthenticatorResponse response, String accountType); 66 void hasFeatures(in IAccountAuthenticatorResponse response, in Account account, 72 void getAccountRemovalAllowed(in IAccountAuthenticatorResponse response, in Account account); 77 void getAccountCredentialsForCloning(in IAccountAuthenticatorResponse response, 84 void addAccountFromCredentials(in IAccountAuthenticatorResponse response, in Account account [all...] |
/external/chromium/chrome/browser/metrics/ |
metrics_response_unittest.cc | 18 "<response xmlns=\"http://www.mozilla.org/metrics\"><config>" 19 "</config></response>"; 22 "<response xmlns=\"http://www.mozilla.org/metrics\"><config>" 30 "</config></response>"; 33 "<response xmlns=\"http://www.mozilla.org/metrics\"><config>" 40 "</config></response>"; 81 MetricsResponse response(rcase.response_xml); 82 EXPECT_TRUE(response.valid()); 83 EXPECT_EQ(rcase.collectors, response.collectors()) << 85 EXPECT_EQ(rcase.events, response.events()) << "Mismatch in case " << i [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
DcAsyncChannel.java | 121 * Response {@link #rspIsInactive} 133 public boolean rspIsInactive(Message response) { 134 boolean retVal = response.arg1 == 1; 146 Message response = sendMessageSynchronously(REQ_IS_INACTIVE); local 147 if ((response != null) && (response.what == RSP_IS_INACTIVE)) { 148 value = rspIsInactive(response); 150 log("rspIsInactive error response=" + response); 161 * Response {@link #rspCid 186 Message response = sendMessageSynchronously(REQ_GET_CID); local 228 Message response = sendMessageSynchronously(REQ_GET_APNSETTING); local 270 Message response = sendMessageSynchronously(REQ_GET_LINK_PROPERTIES); local 297 Message response = local 338 Message response = sendMessageSynchronously(REQ_GET_LINK_CAPABILITIES); local [all...] |
/external/webkit/Source/WebKit/gtk/webkit/ |
webkitnetworkresponse.cpp | 33 * @short_description: the response given to a network request 37 * response. 60 WebKitNetworkResponse* response = WEBKIT_NETWORK_RESPONSE(object); local 61 WebKitNetworkResponsePrivate* priv = response->priv; 73 WebKitNetworkResponse* response = WEBKIT_NETWORK_RESPONSE(object); local 74 WebKitNetworkResponsePrivate* priv = response->priv; 83 WebKitNetworkResponse* response = WEBKIT_NETWORK_RESPONSE(object); local 87 g_value_set_string(value, webkit_network_response_get_uri(response)); 90 g_value_set_object(value, webkit_network_response_get_message(response)); 99 WebKitNetworkResponse* response = WEBKIT_NETWORK_RESPONSE(object) local [all...] |
/external/webkit/Source/WebCore/loader/archive/cf/ |
LegacyWebArchiveMac.mm | 44 NSURLResponse *response = nil; 49 response = responseObject; 52 response = nil; 56 return ResourceResponse(response); 59 RetainPtr<CFDataRef> LegacyWebArchive::createPropertyListRepresentation(const ResourceResponse& response) 61 NSURLResponse *nsResponse = response.nsURLResponse();
|
/external/apache-http/src/org/apache/http/ |
ConnectionReuseStrategy.java | 65 * @param response 66 * The last response received over that connection. 73 boolean keepAlive(HttpResponse response, HttpContext context);
|
/external/chromium/chrome/common/extensions/docs/examples/api/pageAction/pageaction_by_content/ |
contentscript.js | 11 chrome.extension.sendRequest({}, function(response) {});
|
/external/libsepol/include/sepol/ |
roles.h | 5 const char *role, int *response);
|
/external/webkit/Source/WebKit/mac/WebView/ |
WebNavigationData.mm | 34 NSURLResponse *response; 48 [response release]; 58 - (id)initWithURLString:(NSString *)url title:(NSString *)title originalRequest:(NSURLRequest *)request response:(NSURLResponse *)response hasSubstituteData:(BOOL)hasSubstituteData clientRedirectSource:(NSString *)redirectSource 65 _private->response = [response retain]; 87 - (NSURLResponse *)response 89 return _private->response;
|
/external/webkit/Source/WebCore/loader/archive/ |
ArchiveResource.cpp | 36 inline ArchiveResource::ArchiveResource(PassRefPtr<SharedBuffer> data, const KURL& url, const String& mimeType, const String& textEncoding, const String& frameName, const ResourceResponse& response) 37 : SubstituteResource(url, response, data) 45 PassRefPtr<ArchiveResource> ArchiveResource::create(PassRefPtr<SharedBuffer> data, const KURL& url, const String& mimeType, const String& textEncoding, const String& frameName, const ResourceResponse& response) 49 if (response.isNull()) { 54 return adoptRef(new ArchiveResource(data, url, mimeType, textEncoding, frameName, response)); 57 PassRefPtr<ArchiveResource> ArchiveResource::create(PassRefPtr<SharedBuffer> data, const KURL& url, const ResourceResponse& response) 59 return create(data, url, response.mimeType(), response.textEncodingName(), String(), response);
|
/external/chromium/net/ftp/ |
ftp_ctrl_response_buffer_unittest.cc | 29 net::FtpCtrlResponse response = buffer_.PopResponse(); local 31 EXPECT_EQ(200, response.status_code); 32 ASSERT_EQ(1U, response.lines.size()); 33 EXPECT_EQ("Status Text", response.lines[0]); 48 net::FtpCtrlResponse response = buffer_.PopResponse(); local 50 EXPECT_EQ(200, response.status_code); 51 ASSERT_EQ(1U, response.lines.size()); 52 EXPECT_EQ("Status Text", response.lines[0]); 65 net::FtpCtrlResponse response = buffer_.PopResponse(); local 67 EXPECT_EQ(230, response.status_code) 90 net::FtpCtrlResponse response = buffer_.PopResponse(); local 110 net::FtpCtrlResponse response = buffer_.PopResponse(); local 130 net::FtpCtrlResponse response = buffer_.PopResponse(); local 152 net::FtpCtrlResponse response = buffer_.PopResponse(); local [all...] |
/external/chromium/chrome/browser/sync/engine/net/ |
syncapi_server_connection_manager.cc | 27 HttpResponse* response) { 52 response->server_status = HttpResponse::IO_ERROR; 57 // We got a server response, copy over response codes and content. 58 response->response_code = response_code; 59 response->content_length = 61 response->payload_length = 63 if (response->response_code < 400) 64 response->server_status = HttpResponse::SERVER_CONNECTION_OK; 65 else if (response->response_code == RC_UNAUTHORIZED [all...] |