/system/chre/core/include/chre/core/ |
gnss_manager.h | 38 * Adds a request to a session asynchronously. The result is delivered 41 * @param nanoapp The nanoapp adding the request. 46 * nanoapp making the request. 48 * @return true if the request was accepted for processing. 54 * Removes a request from a session asynchronously. The result is delivered 57 * @param nanoapp The nanoapp removing the request. 59 * nanoapp making the request. 61 * @return true if the request was accepted for processing. 66 * Handles the result of a request to the PlatformGnss to request a change t [all...] |
/cts/tests/tests/syncmanager/src/android/content/syncmanager/cts/ |
CtsSyncManagerTest.java | 35 import android.content.syncmanager.cts.SyncManagerCtsProto.Payload.Request.AddAccount; 36 import android.content.syncmanager.cts.SyncManagerCtsProto.Payload.Request.ClearSyncInvocations; 37 import android.content.syncmanager.cts.SyncManagerCtsProto.Payload.Request.GetSyncInvocations; 38 import android.content.syncmanager.cts.SyncManagerCtsProto.Payload.Request.RemoveAllAccounts; 39 import android.content.syncmanager.cts.SyncManagerCtsProto.Payload.Request.SetResult; 40 import android.content.syncmanager.cts.SyncManagerCtsProto.Payload.Request.SetResult.Result; 186 // Check the sync request parameters.
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/XhciPei/ |
XhcPeim.c | 479 @param Request USB device request to send.
504 IN EFI_USB_DEVICE_REQUEST *Request,
534 if ((Request == NULL) || (TransferResult == NULL)) {
589 // Hook the Set_Address request from UsbBus.
590 // According to XHCI 1.0 spec, the Set_Address request is replaced by XHCI's Address_Device cmd.
592 if ((Request->Request == USB_REQ_SET_ADDRESS) &&
593 (Request->RequestType == USB_REQUEST_TYPE (EfiUsbNoData, USB_REQ_TYPE_STANDARD, USB_TARGET_DEVICE))) {
601 (Xhc->UsbDevContext[Index + 1].BusDevAddr == (UINT8) Request->Value)) { [all...] |
/external/clang/lib/StaticAnalyzer/Checkers/MPI-Checker/ |
MPIChecker.cpp | 41 const Request *const Req = State->get<RequestMap>(MR); 44 if (Req && Req->CurrentState == Request::State::Nonblocking) { 51 State = State->set<RequestMap>(MR, Request::State::Nonblocking); 78 // Check all request regions used by the wait function. 80 const Request *const Req = State->get<RequestMap>(ReqRegion); 81 State = State->set<RequestMap>(ReqRegion, Request::State::Wait); 115 if (Req.second.CurrentState == Request::State::Nonblocking) { 158 // A single request is passed to MPI_Waitall.
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
TestThread.java | 61 private final SynchronousQueue<Request> requestQueue = new SynchronousQueue<Request>(); 188 * @throws TimeoutException if this thread does not accept the request within a resonable amount 193 new Request(methodName, arguments), TIMEOUT_MILLIS, TimeUnit.MILLISECONDS)) { 238 Request request = requestQueue.take(); local 241 result = invokeMethod(request.methodName, request.arguments); 246 new Response(request.methodName, null, exception.getTargetException())); 249 responseQueue.put(new Response(request.methodName, null, throwable)) [all...] |
/external/volley/src/test/java/com/android/volley/ |
CacheDispatcherTest.java | 62 // A cancelled request should not be processed at all. 71 // A cache miss does not post a response and puts the request on the network queue. 77 Request request = mNetworkQueue.take(); local 78 assertNull(request.getCacheEntry()); 100 Request request = mNetworkQueue.take(); local 101 assertSame(entry, request.getCacheEntry()); 112 Request request = mNetworkQueue.take() local 141 Request request = mNetworkQueue.take(); local 169 Request request = mNetworkQueue.take(); local 192 Request request = mNetworkQueue.take(); local [all...] |
/prebuilts/go/darwin-x86/doc/articles/wiki/ |
final-template.go | 33 func editHandler(w http.ResponseWriter, r *http.Request) { 42 func viewHandler(w http.ResponseWriter, r *http.Request) { 48 func saveHandler(w http.ResponseWriter, r *http.Request) {
|
part3-errorhandling.go | 38 func viewHandler(w http.ResponseWriter, r *http.Request) { 48 func editHandler(w http.ResponseWriter, r *http.Request) { 57 func saveHandler(w http.ResponseWriter, r *http.Request) {
|
/prebuilts/go/darwin-x86/src/net/http/httptest/ |
example_test.go | 17 handler := func(w http.ResponseWriter, r *http.Request) { 39 ts := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { 59 ts := httptest.NewTLSServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
|
/prebuilts/go/linux-x86/doc/articles/wiki/ |
final-template.go | 33 func editHandler(w http.ResponseWriter, r *http.Request) { 42 func viewHandler(w http.ResponseWriter, r *http.Request) { 48 func saveHandler(w http.ResponseWriter, r *http.Request) {
|
part3-errorhandling.go | 38 func viewHandler(w http.ResponseWriter, r *http.Request) { 48 func editHandler(w http.ResponseWriter, r *http.Request) { 57 func saveHandler(w http.ResponseWriter, r *http.Request) {
|
/prebuilts/go/linux-x86/src/net/http/httptest/ |
example_test.go | 17 handler := func(w http.ResponseWriter, r *http.Request) { 39 ts := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { 59 ts := httptest.NewTLSServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
|
/system/extras/libperfmgr/tests/ |
NodeLooperThreadTest.cc | 75 // Test add request 83 EXPECT_TRUE(th->Request(actions, "LAUNCH")); 97 // Test request to override expire time 105 EXPECT_TRUE(th->Request(actions, "LAUNCH")); 113 EXPECT_TRUE(th->Request(actions, "LAUNCH")); 128 // Test cancel request 136 EXPECT_TRUE(th->Request(actions, "LAUNCH")); 148 // Test multiple request 156 EXPECT_TRUE(th->Request(actions_interaction, "INTERACTION")); 164 EXPECT_TRUE(th->Request(actions_launch, "LAUNCH")) [all...] |
/external/valgrind/coregrind/m_syswrap/ |
syswrap-darwin.c | 787 // we must always honour the resync request. [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/XhciDxe/ |
Xhci.c | 460 // For those devices behind hub, we get its attach/detach event by hooking Get_Port_Status request at control transfer for those hub.
592 feature clear request.
728 @param Request USB device request to send.
751 IN EFI_USB_DEVICE_REQUEST *Request,
782 if ((Request == NULL) || (TransferResult == NULL)) {
839 // Hook the Set_Address request from UsbBus.
840 // According to XHCI 1.0 spec, the Set_Address request is replaced by XHCI's Address_Device cmd.
842 if ((Request->Request == USB_REQ_SET_ADDRESS) && [all...] |
/frameworks/base/core/java/android/view/textclassifier/ |
TextClassification.java | 484 * A request object for generating TextClassification. 486 public static final class Request implements Parcelable { 494 private Request( 605 * Builds and returns the request object. 608 public Request build() { 609 return new Request(mText, mStartIndex, mEndIndex, mDefaultLocales, mReferenceTime); 633 public static final Parcelable.Creator<Request> CREATOR = 634 new Parcelable.Creator<Request>() { 636 public Request createFromParcel(Parcel in) { 637 return new Request(in) [all...] |
/external/python/cpython3/Lib/test/ |
test_urllib2.py | 13 import urllib.request 16 from urllib.request import (Request, OpenerDirector, HTTPBasicAuthHandler, 25 # Request 34 for module in 'request', 'response', 'parse', 'error', 'robotparser': 38 if module == 'request' and os.name == 'nt': 50 self.assertRaises(ValueError, urllib.request.urlopen, 'bogus url') 53 fname = os.path.abspath(urllib.request.__file__).replace(os.sep, '/') 60 f = urllib.request.urlopen(file_url) 74 self.assertEqual(urllib.request.parse_http_list(string), list 340 def request(self, method, url, body=None, headers=None, *, member in class:MockHTTPClass 1291 def request(conn, method, url, *pos, **kw): function in function:HandlerTests.test_redirect_no_path [all...] |
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
SIPClientTransaction.java | 67 import javax.sip.message.Request; 127 * |Request from TU 128 * |send request 130 * send request +-----------+ 300 // once with an outstanding request. 397 * Send a request message through this transaction and onto the client. 399 * @param messageToSend Request to process and send. 404 // Message typecast as a request 421 // If this is the first request for this transaction, 425 // If this is a TU-generated ACK request, [all...] |
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/ |
JavaApiConverterTest.java | 22 import com.squareup.okhttp.Request; 105 Request request = new Request.Builder().url(uri.toURL()).build(); local 119 Response response = JavaApiConverter.createOkResponseForCacheGet(request, cacheResponse); 120 Request cacheRequest = response.request(); 121 assertEquals(request.httpUrl(), cacheRequest.httpUrl()); 122 assertEquals(request.method(), cacheRequest.method()); 123 assertEquals(0, request.headers().size()) 137 Request request = new Request.Builder().url(uri.toURL()).build(); local 165 Request request = new Request.Builder().url(uri.toURL()).build(); local 225 Request request = JavaApiConverter.createOkRequest(uri, "POST", javaRequestHeaders); local 238 Request request = JavaApiConverter.createOkRequest(uri, "POST", javaRequestHeaders); local 257 Request request = JavaApiConverter.createOkRequest(uri, "POST", javaRequestHeaders); local [all...] |
/packages/apps/Dialer/java/com/android/dialer/contactphoto/ |
ContactPhotoManagerImpl.java | 125 * A map from ImageView to the corresponding photo ID or uri, encapsulated in a request. The 126 * request may swapped out before the photo loading request is started. 128 private final ConcurrentHashMap<ImageView, Request> pendingRequests = 129 new ConcurrentHashMap<ImageView, Request>(); 138 /** Thread responsible for loading photos from the database. Created upon the first request. */ 397 LogUtil.d("ContactPhotoManagerImpl.loadThumbnail", "loadPhoto request: " + photoId); 400 view, Request.createFromThumbnailId(photoId, darkTheme, isCircular, defaultProvider)); 425 LogUtil.d("ContactPhotoManagerImpl.loadPhoto", "loadPhoto request: " + photoUri); 434 Request.createFromUri(photoUri, requestedExtent, darkTheme, isCircular, defaultProvider)) 452 DefaultImageRequest request = getDefaultImageRequestFromUri(uri); local 558 view.setImageDrawable(getDrawableForBitmap(context.getResources(), cachedBitmap, request)); local 756 Request request = iterator.next(); local 914 final DefaultImageRequest request; local [all...] |
/external/nist-sip/java/gov/nist/javax/sip/ |
DialogFilter.java | 68 import javax.sip.message.Request; 103 * Send back a Request Pending response. 119 if (sipRequest.getMethod().equals(Request.INVITE)) { 132 * Send a BAD REQUEST response. 149 if (sipRequest.getMethod().equals(Request.INVITE)) { 180 if (sipRequest.getMethod().equals(Request.INVITE)) { 234 sipResponse.setReasonPhrase("Request out of order"); 255 * Process a request. Check for various conditions in the dialog that can result in the 258 * @exception SIPServerException is thrown when there is an error processing the request. 264 "PROCESSING INCOMING REQUEST " + sipRequest + " transactionChannel = [all...] |
/prebuilts/go/darwin-x86/src/net/http/httputil/ |
reverseproxy_test.go | 37 backend := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { 140 t.Errorf("request to bad proxy = %v; want 502 StatusBadGateway", res.Status) 150 backend := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { 168 frontend := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { 204 backend := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { 243 reqSuffix string // suffix to add to frontend's request URL 244 want string // what backend should see for final request URL (without ?) 253 backend := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { 281 backend := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { 324 backend := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { [all...] |
/prebuilts/go/linux-x86/src/net/http/httputil/ |
reverseproxy_test.go | 37 backend := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { 140 t.Errorf("request to bad proxy = %v; want 502 StatusBadGateway", res.Status) 150 backend := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { 168 frontend := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { 204 backend := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { 243 reqSuffix string // suffix to add to frontend's request URL 244 want string // what backend should see for final request URL (without ?) 253 backend := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { 281 backend := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { 324 backend := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { [all...] |
/prebuilts/go/darwin-x86/src/net/http/ |
status.go | 101 StatusBadRequest: "Bad Request", 109 StatusRequestTimeout: "Request Timeout", 114 StatusRequestEntityTooLarge: "Request Entity Too Large", 115 StatusRequestURITooLong: "Request URI Too Long", 126 StatusRequestHeaderFieldsTooLarge: "Request Header Fields Too Large",
|
transport_internal_test.go | 35 treq := &transportRequest{Request: req} 78 func dummyRequest(method string) *Request { 85 func dummyRequestWithBody(method string) *Request { 93 func dummyRequestWithBodyNoGetBody(method string) *Request { 108 req *Request
|