HomeSort by relevance Sort by last modified time
    Searched defs:responses (Results 1 - 25 of 36) sorted by null

1 2

  /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
RecordingCallback.java 27 * Records received HTTP responses so they can be later retrieved by tests.
32 private final List<RecordedResponse> responses = new ArrayList<>(); field in class:RecordingCallback
35 responses.add(new RecordedResponse(request, null, null, null, e));
44 responses.add(new RecordedResponse(response.request(), response, null, buffer.readUtf8(), null));
55 for (Iterator<RecordedResponse> i = responses.iterator(); i.hasNext(); ) {
72 for (RecordedResponse recordedResponse : responses) {
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/hce/
LargeNumAidsService.java 22 String[] responses = new String[256]; local
24 responses[i] = "9000" + String.format("%02X", i);
26 return responses;
  /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/
RecordingOkAuthenticator.java 26 public final List<Response> responses = new ArrayList<>(); field in class:RecordingOkAuthenticator
35 if (responses.size() != 1) throw new IllegalStateException();
36 return responses.get(0);
45 responses.add(response);
53 responses.add(response);
  /system/security/keystore/
keystore_cli.cpp 30 static const char* responses[] = { variable
55 printf(#cmd ": %s (%d)\n", responses[ret], ret); \
73 printf(#cmd ": %s (%d)\n", responses[ret], ret); \
91 printf(#cmd ": %s (%d)\n", responses[ret], ret); \
114 printf(#cmd ": %s (%d)\n", responses[ret], ret); \
135 printf(#cmd ": %s (%d)\n", responses[ret], ret); \
155 fprintf(stderr, "%s: " #cmd ": %s (%d)\n", argv[0], responses[ret], ret); \
173 fprintf(stderr, "list: %s (%d)\n", responses[ret], ret);
  /cts/tests/tests/net/src/android/net/http/cts/
ApacheHttpClientTest.java 58 List<HttpResponse> responses = new ArrayList<HttpResponse>(); local
63 responses.add(response);
67 assertDownloadResponse("Download " + i, SMALL_DOWNLOAD_SIZE, responses.get(i));
  /packages/apps/Calendar/src/com/android/calendar/alerts/
QuickResponseActivity.java 37 * This presents the user with list if quick responses to be populated in an email
67 // Populate responses
68 String[] responses = Utils.getQuickResponses(this); local
69 Arrays.sort(responses);
72 mResponses = new String[responses.length + 1];
74 for (i = 0; i < responses.length; i++) {
75 mResponses[i] = responses[i];
  /external/wpa_supplicant_8/src/radius/
radius_client.h 87 * responses - radiusAccClientResponses
89 u32 responses; member in struct:hostapd_radius_server
  /packages/services/Telephony/src/com/android/phone/common/mail/store/
ImapConnection.java 216 * Read and return all of the responses from the most recent command sent to the server
223 final List<ImapResponse> responses = new ArrayList<ImapResponse>(); local
227 responses.add(response);
244 return responses;
ImapFolder.java 181 String[] getSearchUids(List<ImapResponse> responses) {
184 for (ImapResponse response : responses) {
474 * Handle any untagged responses that the caller doesn't care to handle themselves.
475 * @param responses
477 private void handleUntaggedResponses(List<ImapResponse> responses) {
478 for (ImapResponse response : responses) {
720 final List<ImapResponse> responses = mConnection.executeSimpleCommand( local
726 for (ImapResponse response : responses) {
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
BaseHTTPServer.py 226 # The default request version. This only affects responses up until
358 short, long = self.responses[code]
387 if code in self.responses:
388 message = self.responses[code][0]
512 responses = { variable in class:BaseHTTPRequestHandler
570 502: ('Bad Gateway', 'Invalid responses from another server/proxy.'),
httplib.py 91 "BadStatusLine", "error", "responses"]
164 responses = { variable
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
BaseHTTPServer.py 226 # The default request version. This only affects responses up until
358 short, long = self.responses[code]
387 if code in self.responses:
388 message = self.responses[code][0]
512 responses = { variable in class:BaseHTTPRequestHandler
570 502: ('Bad Gateway', 'Invalid responses from another server/proxy.'),
httplib.py 91 "BadStatusLine", "error", "responses"]
164 responses = { variable
    [all...]
  /external/opencv/ml/src/
mlknearest.cpp 97 CvMat* responses = 0; local
111 // Treat categorical responses as ordered - to prevent class label compression and
115 &_count, &_dims, &_dims_all, &responses, 0, 0 ));
139 memcpy( _samples + 1, responses->data.fl, _rsize );
346 "The neighbor responses (if present) must be floating-point matrix of <num_samples> x <k> size" );
mlnbayes.cpp 112 CvMat* responses = 0; local
129 &nsamples, &_var_count, &_var_all, &responses,
192 responses_data = responses->data.i;
mlrtrees.cpp 351 CvMat responses = cvMat(1, nsamples, CV_32FC1, true_resp_ptr); local
352 cvMinMaxLoc( &responses, &minval, &maxval );
ml_inner_functions.cpp 630 cvPreprocessOrderedResponses( const CvMat* responses, const CvMat* sample_idx, int sample_all )
643 if( !CV_IS_MAT(responses) )
646 if( responses->rows != 1 && responses->cols != 1 )
649 if( responses->rows + responses->cols - 1 != sample_count )
653 r_type = CV_MAT_TYPE(responses->type);
657 r_step = responses->step ? responses->step / CV_ELEM_SIZE(responses->type) : 1
1755 int* responses; local
    [all...]
mlboost.cpp 169 // store the responses for the corresponding training samples
248 const int* responses = data->get_class_labels(node); local
264 rcw[responses[idx]] -= w;
280 idx = responses[idx];
304 idx = responses[idx];
335 const int* responses = data->get_class_labels(node); local
359 k = responses[i];
444 const float* responses = data->get_ord_responses(node); local
457 rsum -= responses[idx]*w;
466 double t = responses[idx]*w
492 const float* responses = data->get_ord_responses(node); local
711 const int* responses = data->get_class_labels(node); local
984 float* responses = data->get_ord_responses(data->data_root); local
1146 float* responses = data->get_ord_responses(data->data_root); local
    [all...]
mlsvm.cpp 1529 CvMat* responses = 0; local
1596 CvMat* responses = 0; local
    [all...]
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/org/apache/http/
FakeHttpLayer.java 74 * @param responses A list of responses that are returned to matching requests in order from first to last.
76 public void addHttpResponseRule(RequestMatcher requestMatcher, List<? extends HttpResponse> responses) {
77 addHttpResponseRule(new RequestMatcherResponseRule(requestMatcher, responses));
110 throw new RuntimeException("Unexpected call to execute, no pending responses are available. See Robolectric.addPendingResponse(). Request was: " +
191 private List<? extends HttpResponse> responses; field in class:FakeHttpLayer.RequestMatcherResponseRule
208 public RequestMatcherResponseRule(RequestMatcher requestMatcher, List<? extends HttpResponse> responses) {
210 this.responses = responses;
225 if (responses.isEmpty())
    [all...]
  /frameworks/base/services/core/java/com/android/server/
NativeDaemonConnector.java 355 * {@link NativeDaemonEvent#isClassContinue()} responses, including the
369 * {@link NativeDaemonEvent#isClassContinue()} responses, including the
385 * NativeDaemonEvent@isClassContinue()} responses, including the final
544 public BlockingQueue<NativeDaemonEvent> responses = field in class:NativeDaemonConnector.ResponseQueue.PendingCmd
553 // Note that we may have more responses for this command (and more readers
558 // responses queue may well have more responses yet to be read or may get more
559 // responses added to it. But all those readers/writers have retreived and
608 found.responses.put(response);
634 result = found.responses.poll(timeoutMs, TimeUnit.MILLISECONDS)
    [all...]
  /packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/
SapServerTest.java 310 public ArrayList<SapMessage> responses = null; field in class:SapServerTest.SapSequencer.SeqStep
315 responses = new ArrayList<SapMessage>();
317 this.responses.add(response);
322 this.responses.add(response);
327 * @return true if one or more of the responses are != null. False otherwise.
330 if(responses == null)
332 for(SapMessage response : responses) {
391 * responses in the step will be searched for a match.
424 /* Handle and validate all responses - if any */
430 for(SapMessage response : step.responses) {
    [all...]
  /packages/apps/Email/provider_src/com/android/email/mail/store/
ImapConnection.java 331 * Read and return all of the responses from the most recent command sent to the server
338 final List<ImapResponse> responses = new ArrayList<ImapResponse>(); local
342 responses.add(response);
359 return responses;
450 // Special case to handle malformed OK responses and ignore them.
475 // Special case to handle malformed OK responses and ignore them.
598 // Special case to handle malformed OK responses and ignore them.
ImapStore.java 77 * Further, the server may return the information in separate FETCH responses
432 List<ImapResponse> responses = connection.executeSimpleCommand(imapCommand); local
433 for (ImapResponse response : responses) {
576 * Save a {@link ImapConnection} in the pool for reuse. Any responses associated with the
  /packages/services/Telecomm/src/com/android/server/telecom/
ConnectionServiceWrapper.java 946 CreateConnectionResponse[] responses = mPendingResponses.values().toArray( local
    [all...]

Completed in 919 milliseconds

1 2