/frameworks/base/core/java/android/net/http/ |
RequestFeeder.java | 30 Request getRequest(); 31 Request getRequest(HttpHost host); 34 * @return true if a request for this host is available 39 * Put request back on head of queue 41 void requeueRequest(Request request);
|
ConnectionThread.java | 78 // next request starts. 87 Request request; local 89 /* Get a request to process */ 90 request = mRequestFeeder.getRequest(); 93 if (request == null) { 108 if (HttpLog.LOGV) HttpLog.v("ConnectionThread: new request " + 109 request.mHost + " " + request ); 112 request.mHost) [all...] |
/external/chromium/chrome/browser/chromeos/ |
gview_request_interceptor.h | 20 // document types (such as PDF) and redirect the request to the Google 26 // before seeing the detected mime type of the request. 27 virtual net::URLRequestJob* MaybeIntercept(net::URLRequest* request); 32 virtual net::URLRequestJob* MaybeInterceptResponse(net::URLRequest* request);
|
gview_request_interceptor.cc | 47 net::URLRequest* request) { 54 net::URLRequest* request) { 55 // Do not intercept this request if it is a download. 56 if (request->load_flags() & net::LOAD_IS_DOWNLOAD) { 61 request->GetMimeType(&mime_type); 78 url += EscapePath(request->url().spec()); 79 return new net::URLRequestRedirectJob(request, GURL(url));
|
/external/chromium/net/url_request/ |
url_request_redirect_job.cc | 12 URLRequestRedirectJob::URLRequestRedirectJob(URLRequest* request, 14 : URLRequestJob(request),
|
url_request_job_manager.cc | 50 URLRequest* request) const { 56 if (!request->url().is_valid()) 57 return new URLRequestErrorJob(request, ERR_INVALID_URL); 60 const std::string& scheme = request->url().scheme(); // already lowercase 62 return new URLRequestErrorJob(request, ERR_UNKNOWN_URL_SCHEME); 68 // See if the request should be intercepted. 69 if (!(request->load_flags() & LOAD_DISABLE_INTERCEPT)) { 72 URLRequestJob* job = (*i)->MaybeIntercept(request); 78 // See if the request should be handled by a registered protocol factory. 83 URLRequestJob* job = i->second(request, scheme) [all...] |
/external/chromium/webkit/glue/ |
weburlloader_impl.h | 20 const WebKit::WebURLRequest& request, 25 const WebKit::WebURLRequest& request,
|
/external/smack/src/org/jivesoftware/smackx/workgroup/agent/ |
TranscriptManager.java | 48 * @param workgroupJID the JID of the workgroup that will process the request.
53 Transcript request = new Transcript(sessionID);
local 54 request.setTo(workgroupJID);
55 PacketCollector collector = connection.createPacketCollector(new PacketIDFilter(request.getPacketID()));
56 // Send the request
57 connection.sendPacket(request);
77 * @param workgroupJID the JID of the workgroup that will process the request.
82 Transcripts request = new Transcripts(userID);
local 83 request.setTo(workgroupJID);
84 PacketCollector collector = connection.createPacketCollector(new PacketIDFilter(request.getPacketID())); [all...] |
/external/webkit/Source/WebKit/mac/Plugins/ |
WebPluginRequest.h | 40 - (id)initWithRequest:(NSURLRequest *)request frameName:(NSString *)frameName notifyData:(void *)notifyData sendNotification:(BOOL)sendNotification didStartFromUserGesture:(BOOL)currentEventIsUserGesture; 42 - (NSURLRequest *)request;
|
WebPluginRequest.m | 35 - (id)initWithRequest:(NSURLRequest *)request frameName:(NSString *)frameName notifyData:(void *)notifyData sendNotification:(BOOL)sendNotification didStartFromUserGesture:(BOOL)currentEventIsUserGesture 39 _request = [request retain]; 53 - (NSURLRequest *)request
|
/external/webkit/Source/WebKit/win/WebCoreSupport/ |
WebFrameNetworkingContext.cpp | 41 WebCore::ResourceError WebFrameNetworkingContext::blockedError(const WebCore::ResourceRequest& request) const 43 return frame()->loader()->blockedError(request);
|
/frameworks/testing/androidtestlib/src/com/android/test/runner/ |
TestRequest.java | 18 import org.junit.runner.Request; 24 * A data structure for holding a {@link Request} and the {@link Failure}s that occurred during its 29 private final Request mRequest; 31 public TestRequest(List<Failure> requestBuildFailures, Request request) { 32 mRequest = request; 40 public Request getRequest() {
|
/external/chromium/third_party/libjingle/source/talk/p2p/client/ |
httpportallocator.cc | 56 // Parses the lines in the result of the HTTP request that are of the form 168 // Initiate an HTTP request to create a session through the chosen host. 169 talk_base::AsyncHttpRequest* request = local 171 request->SignalWorkDone.connect(this, 174 request->set_proxy(allocator()->proxy()); 175 request->response().document.reset(new talk_base::MemoryStream); 176 request->request().verb = talk_base::HV_GET; 177 request->request().path = HttpPortAllocator::kCreateSessionURL 189 talk_base::AsyncHttpRequest* request = local [all...] |
/external/webkit/Source/WebKit/mac/WebView/ |
WebPolicyDelegate.h | 103 @abstract Do nothing (but the client may choose to handle the request itself) 106 the request in some other way, such as opening a new window, 121 decidePolicyForNewWindowAction:request:newFrameName:decisionListener: (at most once)<BR> 122 decidePolicyForNavigationAction:request:frame:decisionListener: (zero or more times)<BR> 123 decidePolicyForMIMEType:request:frame: (zero or more times)<BR> 139 @method webView:decidePolicyForNavigationAction:request:frame:decisionListener: 142 @param request The request for the proposed navigation 149 request:(NSURLRequest *)request [all...] |
/development/samples/USB/AdbTest/src/com/android/adb/ |
AdbDevice.java | 79 // get an OUT request from our pool 83 UsbRequest request = new UsbRequest(); local 84 request.initialize(mDeviceConnection, mEndpointOut); 85 return request; 92 // return an OUT request to the pool 93 public void releaseOutRequest(UsbRequest request) { 95 mOutRequestPool.add(request); 99 // get an IN request from the pool 103 UsbRequest request = new UsbRequest(); local 104 request.initialize(mDeviceConnection, mEndpointIn) 209 UsbRequest request = mDeviceConnection.requestWait(); local [all...] |
AdbMessage.java | 108 UsbRequest request = device.getOutRequest(); local 109 request.setClientData(this); 110 if (request.queue(mMessageBuffer, 24)) { 113 request = device.getOutRequest(); 114 request.setClientData(this); 115 if (request.queue(mDataBuffer, length)) { 118 device.releaseOutRequest(request); 124 device.releaseOutRequest(request); 130 public boolean readCommand(UsbRequest request) { 131 request.setClientData(this) [all...] |
/external/smack/src/org/jivesoftware/smack/packet/ |
IQ.java | 135 public static IQ createResultIQ(final IQ request) { 136 if (!(request.getType() == Type.GET || request.getType() == Type.SET)) { 138 "IQ must be of type 'set' or 'get'. Original IQ: " + request.toXML()); 146 result.setPacketID(request.getPacketID()); 147 result.setFrom(request.getTo()); 148 result.setTo(request.getFrom()); 170 public static IQ createErrorResponse(final IQ request, final XMPPError error) { 171 if (!(request.getType() == Type.GET || request.getType() == Type.SET)) [all...] |
/frameworks/base/core/java/android/ddm/ |
DdmHandleProfiling.java | 70 public Chunk handleChunk(Chunk request) { 72 Log.v("ddm-heap", "Handling " + name(request.type) + " chunk"); 73 int type = request.type; 76 return handleMPRS(request); 78 return handleMPRE(request); 80 return handleMPSS(request); 82 return handleMPSE(request); 84 return handleMPRQ(request); 92 * Handle a "Method PRofiling Start" request. 94 private Chunk handleMPRS(Chunk request) { [all...] |
/external/smack/src/org/jivesoftware/smack/ |
PrivacyListManager.java | 175 * @exception XMPPException if the request or the answer failed, it raises an exception.
178 // The request is a get iq type
213 * @exception XMPPException if the request or the answer failed, it raises an exception.
217 // The request is a get iq type
251 // The request of the list is an empty privacy message
252 Privacy request = new Privacy();
local 255 return getRequest(request);
299 // The request of the list is an privacy message with an empty list
300 Privacy request = new Privacy();
local 301 request.setPrivacyList(listName, new ArrayList<PrivacyItem>()); 354 Privacy request = new Privacy(); local 369 Privacy request = new Privacy(); local 385 Privacy request = new Privacy(); local 400 Privacy request = new Privacy(); local 431 Privacy request = new Privacy(); local 447 Privacy request = new Privacy(); local [all...] |
/external/chromium/net/proxy/ |
mock_proxy_resolver.cc | 12 MockAsyncProxyResolverBase::Request::Request( 24 void MockAsyncProxyResolverBase::Request::CompleteNow(int rv) { 33 MockAsyncProxyResolverBase::Request::~Request() {} 64 scoped_refptr<Request> request = new Request(this, url, results, callback); local 65 pending_requests_.push_back(request); 68 *request_handle = reinterpret_cast<RequestHandle>(request.get()) 75 scoped_refptr<Request> request = reinterpret_cast<Request*>(request_handle); local [all...] |
/external/webkit/Source/WebCore/workers/ |
WorkerScriptLoader.cpp | 58 OwnPtr<ResourceRequest> request(createResourceRequest()); 59 if (!request) 69 WorkerThreadableLoader::loadResourceSynchronously(static_cast<WorkerContext*>(scriptExecutionContext), *request, *this, options); local 78 OwnPtr<ResourceRequest> request(createResourceRequest()); 79 if (!request) 87 m_threadableLoader = ThreadableLoader::create(scriptExecutionContext, this, *request, options); 98 OwnPtr<ResourceRequest> request(new ResourceRequest(m_url)); 99 request->setHTTPMethod("GET"); 100 request->setTargetType(m_targetType); 101 return request.release() [all...] |
/external/webkit/Tools/WebKitLauncher/ |
WebKitLauncherURLProtocol.m | 47 +(BOOL)canInitWithRequest:(NSURLRequest *)request 49 if (![[[request URL] scheme] isEqualToString:@"x-webkit-launcher"]) 52 NSURL *mainDocumentURL = [request mainDocumentURL]; 63 +(NSURLRequest *)canonicalRequestForRequest:(NSURLRequest *)request 65 return request; 70 NSURLRequest *request = [self request]; 71 NSString *resourceSpecifier = [[request URL] resourceSpecifier]; 92 NSURLResponse *response = [[NSURLResponse alloc] initWithURL:[[self request] URL] MIMEType:@"text/javascript" expectedContentLength:0 textEncodingName:@"utf-8"]; 105 NSURLResponse *response = [[NSURLResponse alloc] initWithURL:[[self request] URL] MIMEType:@"text/plain" expectedContentLength:0 textEncodingName:@"utf-8"] [all...] |
/frameworks/volley/src/com/android/volley/toolbox/ |
ImageLoader.java | 24 import com.android.volley.Request; 55 * that we can coalesce multiple requests to the same URL into a single network request. 123 * 1. Upon being attached to a request, onResponse(response, true) will 134 * Listens for non-error changes to the loading of the image request. 136 * @param response Holds all information pertaining to the request, as well 165 * request is fulfilled. 175 * Issues a bitmap request with the given URL if that image is not available 177 * relating to the request (as well as the default image if the requested 183 * @return A container object that contains all of the properties of the request, as well as 193 // Try to look up the request in the cache of remote images [all...] |
/external/webkit/Tools/iExploder/iexploder-1.7.2/src/ |
webserver.rb | 30 def do_GET(request, response) 32 ie.test_num = request.query['t'].to_i || 0 33 ie.subtest_data = request.query['s'] || nil 34 ie.random_mode = request.query['r'] 35 ie.lookup_mode = request.query['l'] 36 ie.claimed_browser = request.query['b'] || nil 37 ie.stop_num = request.query['x'] || nil 38 user_agent = request['User-agent'] || 'unknown' 54 mime_type = request.query['m'] 80 $last_page_requested = [Time.now().to_i, request.unparsed_uri, CGI.escape(user_agent) [all...] |
/external/chromium/chrome/browser/extensions/ |
autoupdate_interceptor.cc | 18 AutoUpdateTestRequestJob(net::URLRequest* request, 20 : net::URLRequestTestJob(request, 42 net::URLRequest* request) { 44 if (request->url().scheme() != "http" || 45 request->url().host() != "localhost") { 53 // Search for this request's url, ignoring any query parameters. 54 GURL url = request->url(); 67 return new AutoUpdateTestRequestJob(request, contents);
|