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

1 2

  /external/okhttp/src/test/java/com/squareup/okhttp/internal/
RecordingReceiver.java 27 * Records received HTTP responses so they can be later retrieved by tests.
32 private final List<RecordedResponse> responses = new ArrayList<RecordedResponse>(); field in class:RecordingReceiver
35 responses.add(new RecordedResponse(failure.request(), null, null, failure));
40 responses.add(new RecordedResponse(
52 for (RecordedResponse recordedResponse : responses) {
  /external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/packets/
PacketUserauthInfoResponse.java 17 String[] responses; field in class:PacketUserauthInfoResponse
19 public PacketUserauthInfoResponse(String[] responses)
21 this.responses = responses;
30 tw.writeUINT32(responses.length);
31 for (int i = 0; i < responses.length; i++)
32 tw.writeString(responses[i]);
  /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); \
96 printf(#cmd ": %s (%d)\n", responses[ret], ret); \
117 printf(#cmd ": %s (%d)\n", responses[ret], ret); \
137 fprintf(stderr, "%s: " #cmd ": %s (%d)\n", argv[0], responses[ret], ret); \
155 fprintf(stderr, "saw: %s (%d)\n", responses[ret], ret);
  /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/chromium/chrome/browser/autofill/
autofill_download_unittest.cc 43 // AutofillDownloadManager. Then it records responses to different initiated
46 // go over the wire, but allow calling back HTTP responses directly.
47 // The responses in test are out of order and verify: successful query request,
222 const char *responses[] = { local
244 std::string(responses[1]));
254 std::string(responses[2]));
260 std::string(responses[0]));
284 EXPECT_EQ(responses[0], helper.responses_.front().response);
319 std::string(responses[0]));
346 std::string(responses[2]))
419 const char *responses[] = { local
    [all...]
  /external/chromium_org/chrome/browser/policy/cloud/
cloud_policy_client.h 30 // Note that CloudPolicyClient doesn't do any validation of policy responses
173 // The policy responses as obtained by the last request to the cloud. These
177 const ResponseMap& responses() const { function in class:policy::CloudPolicyClient
181 // Returns the policy response for |policy_ns_key|, if found in |responses()|;
274 // The policy responses returned by the last policy fetch operation.
component_cloud_policy_service.cc 319 const CloudPolicyClient::ResponseMap& responses = client_->responses(); local
320 for (CloudPolicyClient::ResponseMap::const_iterator it = responses.begin();
321 it != responses.end(); ++it) {
437 // because the credentials weren't updated yet. Reload all the responses in
438 // the client now to handle those cases; if those responses have already been
  /external/chromium_org/components/autofill/core/browser/
autofill_download_unittest.cc 57 // AutofillDownloadManager. Then it records responses to different initiated
60 // go over the wire, but allow calling back HTTP responses directly.
61 // The responses in test are out of order and verify: successful query request,
212 const char *responses[] = { local
231 FakeOnURLFetchComplete(fetcher, 200, std::string(responses[1]));
239 FakeOnURLFetchComplete(fetcher, 404, std::string(responses[2]));
243 FakeOnURLFetchComplete(fetcher, 200, std::string(responses[0]));
267 EXPECT_EQ(responses[0], responses_.front().response);
297 FakeOnURLFetchComplete(fetcher, 500, std::string(responses[0]));
322 FakeOnURLFetchComplete(fetcher, 503, std::string(responses[2]))
381 const char *responses[] = { local
    [all...]
  /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/
RejectWithTextMessageManager.java 53 // Preference keys for the 4 "canned responses"; see RespondViaSmsManager$Settings.
64 * Read the (customizable) canned responses from SharedPreferences,
80 final ArrayList<String> responses = new ArrayList<String>(NUM_CANNED_RESPONSES); local
85 responses.add(0, prefs.getString(KEY_CANNED_RESPONSE_PREF_1,
87 responses.add(1, prefs.getString(KEY_CANNED_RESPONSE_PREF_2,
89 responses.add(2, prefs.getString(KEY_CANNED_RESPONSE_PREF_3,
91 responses.add(3, prefs.getString(KEY_CANNED_RESPONSE_PREF_4,
93 return responses;
  /cts/tests/tests/net/src/android/net/http/cts/
ApacheHttpClientTest.java 104 List<HttpResponse> responses = new ArrayList<HttpResponse>(); local
109 responses.add(response);
113 assertDownloadResponse("Download " + i, SMALL_DOWNLOAD_SIZE, responses.get(i));
  /external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/auth/
AuthenticationManager.java 383 String[] responses; local
387 responses = cb.replyToChallenge(pui.getName(), pui.getInstruction(), pui.getNumPrompts(), pui
395 if (responses == null)
398 PacketUserauthInfoResponse puir = new PacketUserauthInfoResponse(responses);
  /frameworks/base/core/java/android/net/arp/
ArpPeer.java 152 int responses = 0; local
154 if(peer.doArp(timeoutMillis) != null) responses++;
156 if (DBG) Log.d(TAG, "ARP test result: " + responses + "/" + numArpPings);
157 success = (responses >= minArpResponses);
  /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.'),
  /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.'),
  /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...]
  /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/java/com/android/server/
NativeDaemonConnector.java 302 * {@link NativeDaemonEvent#isClassContinue()} responses, including the
316 * {@link NativeDaemonEvent#isClassContinue()} responses, including the
332 * NativeDaemonEvent@isClassContinue()} responses, including the final
491 public BlockingQueue<NativeDaemonEvent> responses = field in class:NativeDaemonConnector.ResponseQueue.PendingCmd
500 // Note that we may have more responses for this command (and more readers
505 // responses queue may well have more responses yet to be read or may get more
506 // responses added to it. But all those readers/writers have retreived and
555 found.responses.put(response);
581 result = found.responses.poll(timeoutMs, TimeUnit.MILLISECONDS)
    [all...]
  /packages/apps/Email/src/com/android/email/mail/store/
ImapConnection.java 289 * Read and return all of the responses from the most recent command sent to the server
296 ArrayList<ImapResponse> responses = new ArrayList<ImapResponse>(); local
300 responses.add(response);
308 return responses;
396 // Special case to handle malformed OK responses and ignore them.
421 // Special case to handle malformed OK responses and ignore them.
476 // Special case to handle malformed OK responses and ignore them.
ImapStore.java 75 * Further, the server may return the information in separate FETCH responses
383 List<ImapResponse> responses = connection.executeSimpleCommand(imapCommand); local
384 for (ImapResponse response : responses) {
519 * Save a {@link ImapConnection} in the pool for reuse. Any responses associated with the
  /external/qemu/hw/
bt-hci.c 47 int responses; member in struct:bt_hci_s::__anon27041
510 * nearby Bluetooth devices that responded [so hci->responses].", but
561 hci->lm.responses ++;
611 hci->lm.responses_left += hci->lm.responses;
612 hci->lm.responses = 0;
    [all...]

Completed in 1214 milliseconds

1 2