/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/cache/ |
CachingPipeline.java | 147 private String getType(RenderingRequest request) { 148 if (request.getType() == RenderingRequest.ICON_RENDERING) { 151 if (request.getType() == RenderingRequest.FILTERS_RENDERING) { 154 if (request.getType() == RenderingRequest.FULL_RENDERING) { 157 if (request.getType() == RenderingRequest.GEOMETRY_RENDERING) { 160 if (request.getType() == RenderingRequest.PARTIAL_RENDERING) { 163 if (request.getType() == RenderingRequest.HIGHRES_RENDERING) { 227 public synchronized void render(RenderingRequest request) { 232 if (((request.getType() != RenderingRequest.PARTIAL_RENDERING 233 && request.getType() != RenderingRequest.HIGHRES_RENDERING [all...] |
/external/chromium/chrome/common/extensions/docs/examples/apps/hello-php/lib/oauth/ |
OAuth.php | 26 // access tokens and request tokens 70 * request is serialized 71 * @param OAuthRequest $request 76 abstract public function build_signature($request, $consumer, $token); 80 * @param OAuthRequest $request 86 public function check_signature($request, $consumer, $token, $signature) { 87 $built = $this->build_signature($request, $consumer, $token); 104 public function build_signature($request, $consumer, $token) { 105 $base_string = $request->get_signature_base_string(); 106 $request->base_string = $base_string [all...] |
/external/chromium/net/url_request/ |
url_request_test_util.h | 134 virtual void OnReceivedRedirect(net::URLRequest* request, const GURL& new_url, 136 virtual void OnAuthRequired(net::URLRequest* request, 138 virtual void OnSSLCertificateError(net::URLRequest* request, 141 virtual void OnGetCookies(net::URLRequest* request, bool blocked_by_policy); 142 virtual void OnSetCookie(net::URLRequest* request, 146 virtual void OnResponseStarted(net::URLRequest* request); 147 virtual void OnReadCompleted(net::URLRequest* request, int bytes_read); 152 virtual void OnResponseCompleted(net::URLRequest* request); 198 virtual int OnBeforeURLRequest(net::URLRequest* request, 204 virtual void OnResponseStarted(net::URLRequest* request); [all...] |
/external/oauth/core/src/main/java/net/oauth/client/httpclient4/ |
HttpMethodResponse.java | 51 public HttpMethodResponse(HttpRequestBase request, HttpResponse response, byte[] requestBody, 54 super(request.getMethod(), new URL(request.getURI().toString())); 55 this.httpRequest = request; 97 StringBuilder request = new StringBuilder(httpRequest.getMethod()); local 98 request.append(" ").append(httpRequest.getURI().getPath()); 101 request.append("?").append(query); 103 request.append(EOL); 105 request.append(header.getName()).append(": ").append(header.getValue()).append(EOL); 111 request.append("Content-Length: ").append(contentLength).append(EOL) [all...] |
/external/apache-http/src/org/apache/http/impl/client/ |
RequestWrapper.java | 48 * properties of the current request without modifying the original 51 * This class is also capable of resetting the request headers to 52 * the state of the original request. 69 public RequestWrapper(final HttpRequest request) throws ProtocolException { 71 if (request == null) { 72 throw new IllegalArgumentException("HTTP request may not be null"); 74 this.original = request; 75 setParams(request.getParams()); 77 if (request instanceof HttpUriRequest) { 78 this.uri = ((HttpUriRequest) request).getURI() [all...] |
EntityEnclosingRequestWrapper.java | 42 * be used to change properties of the current request without 45 * This class is also capable of resetting the request headers to 46 * the state of the original request. 59 public EntityEnclosingRequestWrapper(final HttpEntityEnclosingRequest request) 61 super(request); 62 this.entity = request.getEntity();
|
/external/smack/src/org/jivesoftware/smackx/filetransfer/ |
FileTransferManager.java | 41 * listener will notify you when there is a new file transfer request. To create
103 FileTransferRequest request = new FileTransferRequest(this, initiation);
local 105 listeners[i].fileTransferRequest(request);
151 * When the file transfer request is acceptable, this method should be
155 * @param request
156 * The remote request that is being accepted.
161 FileTransferRequest request) {
162 if (request == null) {
166 IncomingFileTransfer transfer = new IncomingFileTransfer(request,
168 transfer.setFileInfo(request.getFileName(), request.getFileSize()); [all...] |
/frameworks/base/core/java/android/hardware/usb/ |
UsbDeviceConnection.java | 105 * The direction of the transfer is determined by the request type. 116 * @param requestType request type for this transaction 117 * @param request request ID for this transaction 127 public int controlTransfer(int requestType, int request, int value, 129 return controlTransfer(requestType, request, value, index, buffer, 0, length, timeout); 134 * The direction of the transfer is determined by the request type. 140 * @param requestType request type for this transaction 141 * @param request request ID for this transactio 209 UsbRequest request = native_request_wait(); local [all...] |
/external/apache-http/src/org/apache/http/client/protocol/ |
RequestProxyAuthentication.java | 63 public void process(final HttpRequest request, final HttpContext context) 65 if (request == null) { 66 throw new IllegalArgumentException("HTTP request may not be null"); 72 if (request.containsHeader(AUTH.PROXY_AUTH_RESP)) { 95 request.addHeader(authScheme.authenticate(creds, request));
|
RequestTargetAuthentication.java | 63 public void process(final HttpRequest request, final HttpContext context) 65 if (request == null) { 66 throw new IllegalArgumentException("HTTP request may not be null"); 72 if (request.containsHeader(AUTH.WWW_AUTH_RESP)) { 96 request.addHeader(authScheme.authenticate(creds, request));
|
/external/apache-http/src/org/apache/http/impl/conn/ |
DefaultHttpRoutePlanner.java | 79 HttpRequest request, 83 if (request == null) { 85 ("Request must not be null."); 90 ConnRouteParams.getForcedRoute(request.getParams()); 103 ConnRouteParams.getLocalAddress(request.getParams()); 105 ConnRouteParams.getDefaultProxy(request.getParams());
|
/external/apache-http/src/org/apache/http/protocol/ |
RequestTargetHost.java | 48 * A request interceptor that sets the Host header for HTTP/1.1 requests. 62 public void process(final HttpRequest request, final HttpContext context) 64 if (request == null) { 65 throw new IllegalArgumentException("HTTP request may not be null"); 70 if (!request.containsHeader(HTTP.TARGET_HOST)) { 86 ProtocolVersion ver = request.getRequestLine().getProtocolVersion(); 94 request.addHeader(HTTP.TARGET_HOST, targethost.toHostString());
|
/external/chromium/chrome/browser/net/ |
url_request_slow_http_job.cc | 21 net::URLRequestJob* URLRequestSlowHTTPJob::Factory(net::URLRequest* request, 23 return new URLRequestSlowHTTPJob(request, 24 GetOnDiskPath(base_path_, request, scheme)); 48 URLRequestSlowHTTPJob::URLRequestSlowHTTPJob(net::URLRequest* request, 50 : URLRequestMockHTTPJob(request, file_path) { }
|
view_http_cache_job_factory.cc | 23 explicit ViewHttpCacheJob(net::URLRequest* request) 24 : net::URLRequestJob(request), 52 int Start(const net::URLRequest& request, Callback0::Type* callback); 107 DCHECK(request()); 109 if (!request()) 112 int rv = core_->Start(*request(), callback_.get()); 123 int ViewHttpCacheJob::Core::Start(const net::URLRequest& request, 130 request.url().spec().substr(strlen(chrome::kNetworkViewCacheURL)); 134 rv = cache_helper_.GetContentsHTML(request.context(), 138 rv = cache_helper_.GetEntryInfoHTML(cache_key, request.context() [all...] |
/external/chromium/chrome/browser/ |
plugin_download_helper.h | 18 // The PluginDownloadUrlHelper is used to handle one download URL request 19 // from the plugin. Each download request is handled by a new instance 42 virtual void OnAuthRequired(net::URLRequest* request, 44 virtual void OnSSLCertificateError(net::URLRequest* request, 47 virtual void OnResponseStarted(net::URLRequest* request); 48 virtual void OnReadCompleted(net::URLRequest* request, int bytes_read); 50 void OnDownloadCompleted(net::URLRequest* request); 55 // The download file request initiated by the plugin.
|
/external/chromium/third_party/libjingle/source/talk/p2p/base/ |
stunrequest.h | 42 // response or determine that the request has timed out. 48 // Starts sending the given request (perhaps after a delay). 49 void Send(StunRequest* request); 50 void SendDelayed(StunRequest* request, int delay); 52 // Removes a stun request that was added previously. This will happen 53 // automatically when a request succeeds, fails, or times out. 54 void Remove(StunRequest* request); 76 // Represents an individual request to be sent. The STUN message can either be 81 StunRequest(StunMessage* request); 87 // The manager handling this request (if it has been scheduled for sending) [all...] |
/frameworks/volley/tests/src/com/android/volley/mock/ |
MockHttpStack.java | 20 import com.android.volley.Request; 55 public HttpResponse performRequest(Request<?> request, Map<String, String> additionalHeaders) 57 mLastUrl = request.getUrl(); 59 if (request.getHeaders() != null) { 60 mLastHeaders.putAll(request.getHeaders()); 66 mLastPostBody = request.getPostBody();
|
/external/chromium/chrome/browser/ui/webui/ |
extension_icon_source.cc | 112 // This is where everything gets started. First, parse the request and make 113 // the request data available for later. 119 ExtensionIconRequest* request = GetData(request_id); local 121 request->extension->GetIconResource(request->size, request->match); 130 ExtensionIconRequest* request = GetData(request_id); local 132 request->extension->GetIconResource(request->size, request->match) 165 ExtensionIconRequest* request = GetData(request_id); local 182 ExtensionIconRequest* request = GetData(request_id); local 213 ExtensionIconRequest* request = GetData(request_id); local 298 ExtensionIconRequest* request = new ExtensionIconRequest(); local [all...] |
/system/core/debuggerd/ |
debuggerd.c | 219 XLOG("crash request of size %d abort_msg_address=%#08x\n", status, msg.abort_msg_address); 221 LOG("invalid crash request of size %d (from pid=%d uid=%d)\n", 239 LOG("tid %d does not exist in pid %d. ignoring debug request\n", 250 LOG("tid %d does not exist. ignoring explicit dump request\n", 261 static bool should_attach_gdb(debugger_request_t* request) { 262 if (request->action == DEBUGGER_ACTION_CRASH) { 266 return debug_uid >= 0 && request->uid <= (uid_t)debug_uid; 274 debugger_request_t request; local 275 memset(&request, 0, sizeof(request)); [all...] |
/frameworks/av/media/libstagefright/rtsp/ |
MyTransmitter.h | 217 AString request; local 218 request.append("ANNOUNCE "); 219 request.append(mStreamURL); 220 request.append(" RTSP/1.0\r\n"); 222 addAuthentication(&request, "ANNOUNCE", mStreamURL.c_str()); 224 request.append("Content-Type: application/sdp\r\n"); 225 request.append("Content-Length: "); 226 request.append(sdp.size()); 227 request.append("\r\n"); 229 request.append("\r\n") 403 AString request; local 526 AString request; local 577 AString request; local 693 AString request; local 744 AString request; local [all...] |
/frameworks/base/core/java/android/net/http/ |
AndroidHttpClient.java | 97 public void process(HttpRequest request, HttpContext context) { 202 * Modifies a request to indicate to the server that we would like a 204 * @param request the request to modify 207 public static void modifyRequestToAcceptGzipResponse(HttpRequest request) { 208 request.addHeader("Accept-Encoding", "gzip"); 251 public HttpResponse execute(HttpUriRequest request) throws IOException { 252 return delegate.execute(request); 255 public HttpResponse execute(HttpUriRequest request, HttpContext context) 257 return delegate.execute(request, context) [all...] |
/external/chromium/chrome/browser/password_manager/ |
password_store.cc | 105 void PasswordStore::ForwardLoginsResult(GetLoginsRequest* request) { 106 request->ForwardResult(GetLoginsRequest::TupleType(request->handle(), 107 request->value)); 113 scoped_refptr<GetLoginsRequest> request(NewGetLoginsRequest( 116 AddRequest(request, consumer->cancelable_consumer()); 117 ScheduleTask(NewRunnableMethod(this, func, request)); 118 return request->handle(); 124 scoped_refptr<GetLoginsRequest> request(NewGetLoginsRequest( 127 AddRequest(request, consumer->cancelable_consumer()) [all...] |
password_store_default.h | 39 virtual void GetLoginsImpl(GetLoginsRequest* request, 41 virtual void GetAutofillableLoginsImpl(GetLoginsRequest* request); 42 virtual void GetBlacklistLoginsImpl(GetLoginsRequest* request);
|
/external/chromium/chrome/browser/policy/ |
mock_device_management_service.h | 28 const em::DeviceRegisterRequest& request, 34 const em::DeviceUnregisterRequest& request, 40 const em::DevicePolicyRequest& request,
|
/external/junit/src/org/junit/experimental/max/ |
MaxCore.java | 15 import org.junit.runner.Request; 63 return run(Request.aClass(testClass)); 67 * Run all the tests contained in <code>request</code>. 68 * @param request the request describing tests 71 public Result run(Request request) { 72 return run(request, new JUnitCore()); 76 * Run all the tests contained in <code>request</code>. 81 * @param request the request describing test [all...] |