/external/junit/src/org/junit/runner/ |
JUnitCore.java | 25 * @see org.junit.runner.Request 117 return run(Request.classes(defaultComputer(), classes)); 127 return run(Request.classes(computer, classes)); 131 * Run all the tests contained in <code>request</code>. 132 * @param request the request describing tests 135 public Result run(Request request) { 136 return run(request.getRunner());
|
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
SIPDialog.java | 104 import javax.sip.message.Request; 154 // so when a subsequent request will be sent it will be set and a new message channel can be 203 // The following fields are extracted from the request that created the 323 Request byeRequest = SIPDialog.this.createRequest(Request.BYE); 343 * side. Wait for any ACK retransmissions to finish. Then send out the request. 518 Request byeRequest = SIPDialog.this.createRequest(Request.BYE); 770 // incoming request. 2887 SIPRequest request = this.originalRequest; local [all...] |
/external/okhttp/okhttp-android-support/src/main/java/com/squareup/okhttp/internal/huc/ |
JavaApiConverter.java | 21 import com.squareup.okhttp.Request; 75 // Request: Create one from the URL connection. 77 // Some request headers are needed for Vary caching. 89 Request okRequest = new Request.Builder() 94 okResponseBuilder.request(okRequest); 166 // the request header values, and we can't get multiple Vary request header values. 174 // JavaApiConverter.createJavaUrlConnection() and we have access to the user's request headers. 182 // "gzip". We don't have access to the request that was actually made so we must do th [all...] |
/external/okhttp/okhttp-urlconnection/src/test/java/com/squareup/okhttp/internal/huc/ |
URLEncodingTest.java | 21 import com.squareup.okhttp.Request; 134 public Response get(Request request) throws IOException { 135 uriReference.set(request.uri()); 145 public void remove(Request request) throws IOException {
|
/external/okhttp/okhttp-ws-tests/src/test/java/com/squareup/okhttp/ws/ |
AutobahnTester.java | 19 import com.squareup.okhttp.Request; 46 Request request = new Request.Builder().url(HOST + path).build(); local 47 return WebSocketCall.create(client, request);
|
/external/okhttp/samples/crawler/src/main/java/com/squareup/okhttp/sample/ |
Crawler.java | 21 import com.squareup.okhttp.Request; 89 Request request = new Request.Builder() 92 Response response = client.newCall(request).execute(); 109 HttpUrl link = response.request().httpUrl().resolve(href);
|
/external/okhttp/samples/guide/src/main/java/com/squareup/okhttp/recipes/ |
CustomTrust.java | 21 import com.squareup.okhttp.Request; 46 Request request = new Request.Builder() local 50 Response response = client.newCall(request).execute();
|
/external/skia/tools/skiaserve/urlhandlers/ |
BreakHandler.cpp | 11 #include "../Request.h" 22 SkColor BreakHandler::GetPixel(Request* request, int x, int y) { 23 SkCanvas* canvas = request->getCanvas(); 25 SkAutoTDelete<SkBitmap> bitmap(request->getBitmapFromCanvas(canvas)); 28 uint8_t* start = ((uint8_t*) bitmap->getPixels()) + (y * Request::kImageWidth + x) * 4; 35 int BreakHandler::handle(Request* request, MHD_Connection* connection, 41 if (!request->fPicture.get() || commands.count() != 4) { 53 int count = request->fDebugCanvas->getSize() [all...] |
/frameworks/base/core/tests/coretests/src/android/app/ |
DownloadManagerStressTest.java | 20 import android.app.DownloadManager.Request; 85 Request request = new Request(uri); local 86 request.setTitle(String.format("%s--%d", DEFAULT_FILENAME + i, i)); 91 long requestID = mDownloadManager.enqueue(request);
|
/frameworks/base/libs/hwui/ |
Animator.h | 107 // would do nothing if the animation has the same play direction as the request; otherwise, 151 enum class Request { 162 void resolveStagingRequest(Request request); 164 std::vector<Request> mStagingRequests;
|
/packages/apps/Camera2/src/com/android/camera/one/v2/core/ |
TagDispatchCaptureSession.java | 39 * {@link Request}s and dispatches to the appropriate {@link ResponseListener} 40 * on a per-request basis, instead of for every {@link CaptureRequest} submitted 50 * for events related to the request with that tag. 57 public void onCaptureStarted(CameraCaptureSessionProxy session, CaptureRequest request, 59 Object tag = request.getTag(); 64 public void onCaptureProgressed(CameraCaptureSessionProxy session, CaptureRequest request, 66 Object tag = request.getTag(); 71 public void onCaptureCompleted(CameraCaptureSessionProxy session, CaptureRequest request, 73 Object tag = request.getTag(); 78 public void onCaptureFailed(CameraCaptureSessionProxy session, CaptureRequest request, [all...] |
/packages/providers/DownloadProvider/tests/public_api_access/src/com/android/providers/downloads/public_api_access_tests/ |
PublicApiAccessTest.java | 143 // first try a minimal request 144 DownloadManager.Request request = new DownloadManager.Request(Uri.parse("http://localhost/path")); local 145 mManager.enqueue(request); 148 request.setAllowedNetworkTypes(DownloadManager.Request.NETWORK_WIFI); 149 request.setAllowedOverRoaming(false); 150 request.setTitle("test"); 151 request.setDescription("test") [all...] |
/platform_testing/tests/androidbvt/src/com/android/androidbvt/ |
FrameworkDownloadTests.java | 21 import android.app.DownloadManager.Request; 72 * Following test verifies that download service is running and serves any download request 73 * Enqueues a request to download a photo After download completion, compares file size that 89 Request request = new Request(downloadUri); local 90 long dlRequest = mDownloadManager.enqueue(request); 154 Log.i(TEST_TAG, "Request Id = "
|
/system/webservd/libwebserv/ |
request.h | 41 // POST request using multipart/form-data request. 71 // A class that represents the HTTP request data. 72 class LIBWEBSERV_EXPORT Request { 74 Request(const std::string& url, const std::string& method) 76 virtual ~Request() = default; 78 // Gets the request body data stream. Note that the stream is available 81 // "multipart/form-data"). If there is no request body, or the data has been 83 // The stream returned is valid for as long as the Request object itself is 84 // alive. Accessing the stream after the Request object is destroyed will lea [all...] |
/external/chromium-trace/catapult/telemetry/telemetry/internal/backends/chrome_inspector/ |
devtools_http.py | 59 def Request(self, path, timeout=30): 60 """Sends a request to Chrome devtools. 87 self._conn.request('GET', endpoint) 97 """Sends a request and parse the response as JSON. 107 return json.loads(self.Request(path, timeout))
|
/external/jetty/src/java/org/eclipse/jetty/security/ |
SecurityHandler.java | 39 import org.eclipse.jetty.server.Request; 52 * Select and apply an {@link Authenticator} to a request. 310 //if current request is authenticated, then as we have just created the session, mark it as secure, as it has not yet been returned to a user 314 Request request = connection.getRequest(); 315 if (request == null) 318 if (request.isSecure()) 400 protected boolean checkSecurity(Request request) 402 switch(request.getDispatcherType() [all...] |
/external/jetty/src/java/org/eclipse/jetty/server/handler/ |
HandlerWrapper.java | 28 import org.eclipse.jetty.server.Request; 112 public void handle(String target, Request baseRequest, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException 116 _handler.handle(target,baseRequest, request, response);
|
MovedContextHandler.java | 29 import org.eclipse.jetty.server.Request; 104 public void handle(String target, Request baseRequest, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException 110 if (!_discardPathInfo && request.getPathInfo()!=null) 111 path=URIUtil.addPaths(path, request.getPathInfo()); 116 if (!_discardQuery && request.getQueryString()!=null) 119 String q=request.getQueryString();
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/ |
Internal.java | 27 import com.squareup.okhttp.Request; 86 HttpEngine owner, Request request) throws RouteException;
|
/frameworks/volley/src/test/java/com/android/volley/mock/ |
TestRequest.java | 20 import com.android.volley.Request; 29 /** Base Request class for testing allowing both the deprecated and new constructor. */ 30 private static class Base extends Request<byte[]> { 50 /** Test example of a GET request in the deprecated style. */ 57 /** Test example of a POST request in the deprecated style. */ 73 /** Test example of a GET request in the new style. */ 81 * Test example of a POST request in the new style. In the new style, it is possible 90 /** Test example of a POST request in the new style with a body. */ 106 * Test example of a PUT request in the new style. In the new style, it is possible to have a 115 /** Test example of a PUT request in the new style with a body. * [all...] |
/frameworks/volley/src/test/java/com/android/volley/toolbox/ |
ImageLoaderTest.java | 21 import com.android.volley.Request; 71 // But request should be enqueued only once. 72 verify(mRequestQueue, times(1)).add(any(Request.class));
|
/system/webservd/webservd/ |
dbus_protocol_handler.h | 42 class Request; 90 // Information about a request handler D-Bus back-end client. 94 // A D-Bus proxy to the client's request handler object that actually 105 // Looks up a request with |request_id|. 107 Request* GetRequest(const std::string& request_id, brillo::ErrorPtr* error);
|
dbus_request_handler.cc | 25 #include "webservd/request.h" 32 void OnError(Request* request, 39 request->Complete(brillo::http::status_code::InternalServerError, {}, 51 void DBusRequestHandler::HandleRequest(Request* request) { 53 for (const auto& pair : request->GetHeaders()) 59 for (const auto& file : request->GetFileInfo()) { 65 for (const auto& pair : request->GetDataGet()) 68 for (const auto& pair : request->GetDataPost() [all...] |
/external/apache-http/android/src/android/net/http/ |
HttpConnection.java | 45 AndroidHttpClientConnection openConnection(Request req) throws IOException {
|
/external/chromium-trace/catapult/third_party/WebOb/docs/wiki-example-code/ |
example.py | 3 from webob import Request, Response 61 req = Request(environ)
|