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

1 2 3 4 5 6 7

  /tools/test/connectivity/tools/lab/reporters/
reporter.py 33 def report(self, responses):
  /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
RecordingCallback.java 25 * Records received HTTP responses so they can be later retrieved by tests.
30 private final List<RecordedResponse> responses = new ArrayList<>(); field in class:RecordingCallback
33 responses.add(new RecordedResponse(request, null, null, null, e));
39 responses.add(new RecordedResponse(response.request(), response, null, body, null));
50 for (Iterator<RecordedResponse> i = responses.iterator(); i.hasNext(); ) {
67 for (RecordedResponse recordedResponse : 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);
  /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;
  /tools/test/connectivity/tools/lab/
runner.py 56 """Calls all metrics, passes responses to reporters."""
57 responses = {}
61 responses[key_name] = metric.gather_metric()
63 reporter.report(responses)
  /external/opencv/ml/src/
mltestset.cpp 62 CvMat** responses,
75 if( responses )
76 *responses = NULL;
84 if( !responses )
85 CV_ERROR( CV_StsNullPtr, "responses parameter must be not NULL" );
106 CV_CALL( *responses = cvCreateMat( 1, num_samples, CV_32SC1 ) );
147 CV_MAT_ELEM( **responses, int, 0, elem.i ) = cur_class;
162 if( responses )
163 cvReleaseMat( responses );
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...]
  /external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ocsp/
ResponseData.java 25 private ASN1Sequence responses; field in class:ResponseData
32 ASN1Sequence responses,
38 this.responses = responses;
46 * @param responses
52 ASN1Sequence responses,
55 this(V1, responderID, ASN1GeneralizedTime.getInstance(producedAt), responses, Extensions.getInstance(responseExtensions));
61 ASN1Sequence responses,
64 this(V1, responderID, producedAt, responses, responseExtensions);
95 this.responses = (ASN1Sequence)seq.getObjectAt(index++)
    [all...]
  /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];
  /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));
  /development/samples/ApiDemos/src/com/example/android/apis/view/
SplitTouchView.java 56 String[] responses = getResources().getStringArray(R.array.cheese_responses);
57 String response = responses[responseIndex++ % responses.length];
  /external/openssh/
auth-bsdauth.c 98 bsdauth_respond(void *ctx, u_int numresponses, char **responses)
112 authok = auth_userresponse(authctxt->as, responses[0], 0);
114 debug3("bsdauth_respond: <%s> = <%d>", responses[0], authok);
auth-skey.c 75 skey_respond(void *ctx, u_int numresponses, char **responses)
82 skey_passcheck(authctxt->pw->pw_name, responses[0]) != -1)
  /libcore/ojluni/src/main/java/java/security/cert/
PKIXRevocationChecker.java 186 * Sets the OCSP responses. These responses are used to determine
189 * @param responses a map of OCSP responses. Each key is an
194 public void setOcspResponses(Map<X509Certificate, byte[]> responses)
196 if (responses == null) {
199 Map<X509Certificate, byte[]> copy = new HashMap<>(responses.size());
200 for (Map.Entry<X509Certificate, byte[]> e : responses.entrySet()) {
208 * Gets the OCSP responses. These responses are used to determin
    [all...]
  /system/security/keystore/
keystore_cli.cpp 31 static const char* responses[] = { variable
56 printf(#cmd ": %s (%d)\n", responses[ret], ret); \
74 printf(#cmd ": %s (%d)\n", responses[ret], ret); \
92 printf(#cmd ": %s (%d)\n", responses[ret], ret); \
115 printf(#cmd ": %s (%d)\n", responses[ret], ret); \
139 fprintf(stderr, "%s: " #cmd ": %s (%d)\n", argv[0], responses[ret], ret); \
164 printf(#cmd ": %s (%d)\n", responses[ret], ret); \
183 fprintf(stderr, "%s: " #cmd ": %s (%d)\n", argv[0], responses[ret], ret); \
200 fprintf(stderr, "list: %s (%d)\n", responses[ret], ret);
  /packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/
ImapConnection.java 241 List<ImapResponse> responses = local
243 String decodedChallenge = decodeBase64(responses.get(0).getStringOrEmpty(0).getString());
259 responses = executeContinuationResponse(encodeBase64(response), true);
264 String decodedResponseAuth = decodeBase64(responses.get(0).getStringOrEmpty(0).getString());
283 List<ImapResponse> responses = executeSimpleCommand(ImapConstants.CAPABILITY); local
287 for (ImapResponse response : responses) {
375 * Read and return all of the responses from the most recent command sent to the server
382 final List<ImapResponse> responses = new ArrayList<ImapResponse>(); local
386 responses.add(response);
398 return responses;
    [all...]
  /external/robolectric/v1/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...]
  /packages/apps/Email/tests/src/com/android/email/mail/transport/
MockTransport.java 65 Transaction(String pattern, String[] responses) {
68 mResponses = responses;
124 * @param responses Strings to reply with
126 public void expect(String pattern, String[] responses) {
127 Transaction pair = new Transaction(pattern, responses);
135 public void expectLiterally(String literal, String[] responses) {
136 expect("^" + Pattern.quote(literal) + "$", responses);
245 * supports banners, multi-line responses, and any other cases where we respond without
304 * If the string was expected, we push the corresponding responses into the mQueuedInput
  /external/wpa_supplicant_8/src/radius/
radius_client.h 87 * responses - radiusAccClientResponses
89 u32 responses; member in struct:hostapd_radius_server
  /external/autotest/client/cros/cellular/mbim_compliance/
mbim_channel_unittest.py 289 def _queue_responses(self, responses):
291 for response in responses:
295 def _expect_transaction(self, requests, responses=None):
309 if responses:
311 lambda _: self._queue_responses(responses))
316 def _verify_transaction_successful(self, requests, responses):
321 @param responses: List of packets expected back.
324 self.assertEqual(responses,
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/
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.'),
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
BaseHTTPServer.py 226 # The default request version. This only affects responses up until
361 short, long = self.responses[code]
390 if code in self.responses:
391 message = self.responses[code][0]
515 responses = { variable in class:BaseHTTPRequestHandler
573 502: ('Bad Gateway', 'Invalid responses from another server/proxy.'),
  /external/python/cpython2/Lib/
BaseHTTPServer.py 226 # The default request version. This only affects responses up until
358 short, long = self.responses[code]
398 if code in self.responses:
399 message = self.responses[code][0]
523 responses = { variable in class:BaseHTTPRequestHandler
581 502: ('Bad Gateway', 'Invalid responses from another server/proxy.'),
  /prebuilts/gdb/darwin-x86/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/gdb/linux-x86/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.'),

Completed in 739 milliseconds

1 2 3 4 5 6 7