/external/smack/src/org/jivesoftware/smack/sasl/ |
SASLAnonymous.java | 56 // Build the challenge response stanza encoding the response text
58 getSASLAuthentication().send(new Response());
|
SASLMechanism.java | 117 byte[] response = sc.evaluateChallenge(new byte[0]);
118 authenticationText = StringUtils.encodeBase64(response, false);
131 * response to the server's challenge.
134 * @throws IOException if an exception sending the response occurs.
137 byte response[];
139 response = sc.evaluateChallenge(StringUtils.decodeBase64(challenge));
141 response = sc.evaluateChallenge(new byte[0]);
145 if (response == null) {
146 responseStanza = new Response();
149 responseStanza = new Response(StringUtils.encodeBase64(response, false)); [all...] |
/frameworks/volley/tests/src/com/android/volley/toolbox/ |
BasicNetworkTest.java | 21 import com.android.volley.Response; 53 protected Response<String> parseNetworkResponse(NetworkResponse response) { 58 protected void deliverResponse(String response) {
|
ImageRequestTest.java | 26 import com.android.volley.Response; 65 Response<Bitmap> response = request.parseNetworkResponse(networkResponse); local 66 assertNotNull(response); 67 assertTrue(response.isSuccess()); 68 Bitmap bitmap = response.result;
|
/external/webkit/Source/WebKit/android/WebCoreSupport/ |
WebRequest.cpp | 280 ASSERT(m_loadState >= GotData, "PauseLoad in state other than RESPONSE and GOTDATA"); 295 m_loadState = Response; 305 // Set from the intercept response. 341 m_loadState = Response; 391 ASSERT(m_loadState < Response, "Redirect after receiving response"); 442 // followed and the final response is beginning to arrive. At this point, 443 // meta data about the response is available, including for example HTTP 444 // response headers if this is a request for a HTTP resource. 447 ASSERT(m_loadState == Started, "Got response after receiving response") [all...] |
WebRequest.h | 39 Response,
|
/frameworks/native/include/utils/ |
Looper.h | 330 struct Response { 363 Vector<Response> mResponses;
|
/frameworks/opt/net/voip/src/java/com/android/server/sip/ |
SipHelper.java | 66 import javax.sip.message.Response; 263 if (DBG) log("send request with challenge response: " 320 // response message from the other end. 355 Response response = mMessageFactory.createResponse(Response.RINGING, local 358 ToHeader toHeader = (ToHeader) response.getHeader(ToHeader.NAME); 360 response.addHeader(toHeader); 361 if (DBG) log("send RINGING: " + response); 362 transaction.sendResponse(response); 378 Response response = mMessageFactory.createResponse(Response.OK, local 405 Response response = mMessageFactory.createResponse( local 426 Response response = event.getResponse(); local 451 Response response = mMessageFactory.createResponse( local 485 Response response = mMessageFactory.createResponse( local [all...] |
/frameworks/volley/src/com/android/volley/ |
Request.java | 36 * @param <T> The type of parsed response this request expects. 69 private final Response.ErrorListener mErrorListener; 83 /** Whether or not a response has been delivered for this request yet. */ 98 * a "Not Modified" response, we can be sure it hasn't been evicted from cache. 107 * the normal response listener is not provided here as delivery of responses 109 * already-parsed response. 111 * @deprecated Use {@link #Request(int, String, com.android.volley.Response.ErrorListener)}. 113 public Request(String url, Response.ErrorListener listener) { 119 * URL, and error listener. Note that the normal response listener is not provided here as 121 * an already-parsed response [all...] |
CacheDispatcher.java | 27 * Any deliverable response is posted back to the caller via a 119 Response<?> response = request.parseNetworkResponse( local 124 // Completely unexpired cache hit. Just deliver the response. 125 mDelivery.postResponse(request, response); 127 // Soft-expired cache hit. We can deliver the cached response, 133 // Mark the response as intermediate. 134 response.intermediate = true; 136 // Post the intermediate response back to the user and have 138 mDelivery.postResponse(request, response, new Runnable() [all...] |
NetworkDispatcher.java | 108 // If the server returned 304 AND we delivered a response already, 109 // we're done -- don't deliver a second identical response. 115 // Parse the response here on the worker thread. 116 Response<?> response = request.parseNetworkResponse(networkResponse); local 121 if (request.shouldCache() && response.cacheEntry != null) { 122 mCache.put(request.getCacheKey(), response.cacheEntry); 126 // Post the response back. 128 mDelivery.postResponse(request, response);
|
/frameworks/volley/tests/src/com/android/volley/ |
RequestTest.java | 64 protected void deliverResponse(Object response) { 68 protected Response<Object> parseNetworkResponse(NetworkResponse response) {
|
RequestQueueTest.java | 94 protected Response<Object> parseNetworkResponse(NetworkResponse response) { 97 return super.parseNetworkResponse(response); 188 protected Response<Object> parseNetworkResponse(NetworkResponse response) { 191 return Response.success(new Object(), CacheTestUtils.makeRandomCacheEntry(null)); 195 protected void deliverResponse(Object response) {
|
NetworkDispatcherTest.java | 70 Response<?> response = mDelivery.responsePosted; local 71 assertNotNull(response); 72 assertTrue(response.isSuccess()); 73 assertTrue(Arrays.equals((byte[])response.result, CANNED_DATA));
|
/external/nist-sip/java/gov/nist/javax/sip/message/ |
MessageFactoryImpl.java | 257 // Standard Response Creation methods 260 * Creates a new Response message of type specified by the statusCode 286 public Response createResponse(int statusCode, CallIdHeader callId, 293 throw new NullPointerException(" unable to create the response"); 317 * Creates a new Response message of type specified by the statusCode 343 public Response createResponse(int statusCode, CallIdHeader callId, 369 * Creates a new Response message of type specified by the statusCode 371 * Response does not contain a body. 390 public Response createResponse(int statusCode, CallIdHeader callId, 397 + ", unable to create the response", 0) [all...] |
/external/webkit/Source/WebCore/inspector/front-end/ |
CookieParser.js | 72 this._addCookie(kv, WebInspector.Cookie.Type.Response); 209 Response: 1
|
/external/ppp/pppd/plugins/radius/etc/ |
dictionary.microsoft | 9 ATTRIBUTE MS-CHAP-Response 1 string Microsoft 38 ATTRIBUTE MS-CHAP2-Response 25 string Microsoft
|
/external/nist-sip/java/gov/nist/javax/sip/ |
DialogFilter.java | 69 import javax.sip.message.Response; 103 * Send back a Request Pending response. 110 SIPResponse sipResponse = sipRequest.createResponse(Response.REQUEST_PENDING); 125 sipStack.getStackLogger().logError("Problem sending error response", ex); 132 * Send a BAD REQUEST response. 141 SIPResponse sipResponse = sipRequest.createResponse(Response.BAD_REQUEST); 155 sipStack.getStackLogger().logError("Problem sending error response", ex); 163 * Send a CALL OR TRANSACTION DOES NOT EXIST response. 173 .createResponse(Response.CALL_OR_TRANSACTION_DOES_NOT_EXIST); 186 sipStack.getStackLogger().logError("Problem sending error response", ex) 652 SIPResponse response = sipRequest local 747 SIPResponse response = sipRequest local [all...] |
EventScanner.java | 295 * If the response for a request within a dialog is a 481 301 && (sipResponse.getStatusCode() == Response.CALL_OR_TRANSACTION_DOES_NOT_EXIST || sipResponse 302 .getStatusCode() == Response.REQUEST_TIMEOUT)) { 305 "Removing dialog on 408 or 481 response"); 311 * The Client tx disappears after the first 2xx response 316 * INVITE request due to a forking proxy. Each response is
|
/external/nist-sip/java/gov/nist/javax/sip/clientauthutils/ |
AuthenticationHelperImpl.java | 49 import javax.sip.message.Response; 122 * @see gov.nist.javax.sip.clientauthutils.AuthenticationHelper#handleChallenge(javax.sip.message.Response, 125 public ClientTransaction handleChallenge(Response challenge, 177 if (challenge.getStatusCode() == Response.UNAUTHORIZED) { 179 } else if (challenge.getStatusCode() == Response.PROXY_AUTHENTICATION_REQUIRED) { 283 * Generates an authorisation header in response to wwwAuthHeader. 291 * @return an authorisation header in response to authHeader. 297 String response = null; local 306 response = MessageDigestAlgorithm.calculateResponse(authHeader.getAlgorithm(), 325 authorization.setResponse(response); 364 String response = null; local [all...] |
/frameworks/volley/src/com/android/volley/toolbox/ |
ImageLoader.java | 26 import com.android.volley.Response.ErrorListener; 27 import com.android.volley.Response.Listener; 47 /** Amount of time to wait after first response arrives before delivering all responses. */ 67 /** Runnable for in-flight response delivery. */ 92 * of showing a default image until the network response is received, at which point 109 public void onResponse(ImageContainer response, boolean isImmediate) { 110 if (response.getBitmap() != null) { 111 view.setImageBitmap(response.getBitmap()); 120 * Interface for the response handlers on image requests. 123 * 1. Upon being attached to a request, onResponse(response, true) wil [all...] |
/frameworks/native/libs/utils/ |
Looper.cpp | 161 const Response& response = mResponses.itemAt(mResponseIndex++); local 162 int ident = response.request.ident; 164 int fd = response.request.fd; 165 int events = response.events; 166 void* data = response.request.data; 310 // Invoke all response callbacks. 312 Response& response = mResponses.editItemAt(i); local 313 if (response.request.ident == ALOOPER_POLL_CALLBACK) 390 Response response; local [all...] |
/external/chromium/net/http/ |
http_cache_unittest.cc | 571 // Helper function for reading response info from the disk cache. 588 // Helper function for writing response info into the disk cache. 737 const net::HttpResponseInfo* response = trans->GetResponseInfo(); local 738 ASSERT_TRUE(response); 741 *response_info = *response; 768 net::HttpResponseInfo* response) { 770 cache, trans_info, MockHttpRequest(trans_info), response); 776 net::HttpResponseInfo response; local 777 RunTransactionTestWithResponseInfo(cache, trans_info, &response); 778 response.headers->GetNormalizedHeaders(response_headers) 993 net::HttpResponseInfo response; local 3410 net::HttpResponseInfo response; local 3454 net::HttpResponseInfo response; local 3496 net::HttpResponseInfo response; local 4094 net::HttpResponseInfo response; local 4298 net::HttpResponseInfo response; local 4345 net::HttpResponseInfo response; local 4456 net::HttpResponseInfo response; local 4508 net::HttpResponseInfo response; local 4859 net::HttpResponseInfo response; local 4884 net::HttpResponseInfo response; local 4921 net::HttpResponseInfo response; local 4953 net::HttpResponseInfo response; local [all...] |
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
SIPTransaction.java | 57 import javax.sip.message.Response; 840 * either by a 1xx Provisional Response for an early dialog or a 200OK 841 * Response for a committed dialog. 877 * Get the last response. This is used internally by the implementation. 880 * @return the last response received (for client transactions) or sent (for 888 * Get the JAIN interface response 890 public Response getResponse() { 891 return (Response) this.lastResponse; [all...] |
/external/chromium/chrome/common/extensions/docs/examples/apps/hello-python/httplib2/ |
__init__.py | 82 __all__ = ['Http', 'Response', 'ProxyInfo', 'HttpLib2Error', 114 def __init__(self, desc, response, content): 115 self.response = response 153 def _get_end2end_headers(response): 155 hopbyhop.extend([x.strip() for x in response.get('connection', '').split(',')]) 156 return [header for header in response.keys() if header not in hopbyhop] 343 def _decompressContent(response, new_content): 346 encoding = response.get('content-encoding', None) 352 response['content-length'] = str(len(content) 436 def response(self, response, content): member in class:Authentication 499 def response(self, response, content): member in class:DigestAuthentication 570 def response(self, response, content): member in class:HmacDigestAuthentication [all...] |