/packages/apps/Nfc/tests/src/com/android/nfc/snep/ |
SnepBasicTests.java | 55 SnepMessage response = null; local 58 response = client.getMessage(); 63 assertNotNull(response); 64 assertEquals(SnepMessage.RESPONSE_SUCCESS, response.getField()); 86 SnepMessage response = null; local 89 response = client.getMessage(); 94 assertNotNull(response); 95 assertEquals(SnepMessage.RESPONSE_SUCCESS, response.getField()); 117 SnepMessage response = null; local 120 response = client.getMessage() 148 SnepMessage response = null; local 179 SnepMessage response = null; local 210 SnepMessage response = null; local 246 SnepMessage response = null; local [all...] |
/external/smack/src/org/jivesoftware/smack/ |
NonSASLAuthentication.java | 70 // Wait up to a certain number of seconds for a response from the server.
71 IQ response = (IQ) collector.nextResult(SmackConfiguration.getPacketReplyTimeout());
local 72 if (response == null) {
73 throw new XMPPException("No response from the server.");
76 else if (response.getType() == IQ.Type.ERROR) {
77 throw new XMPPException(response.getError());
80 Authentication authTypes = (Authentication) response;
103 // Wait up to a certain number of seconds for a response from the server.
104 response = (IQ) collector.nextResult(SmackConfiguration.getPacketReplyTimeout());
105 if (response == null) { 126 IQ response = (IQ) collector.nextResult(SmackConfiguration.getPacketReplyTimeout()); local [all...] |
/external/apache-http/src/org/apache/http/protocol/ |
HttpResponseInterceptorList.java | 41 * Provides access to an ordered list of response interceptors. 54 * Appends a response interceptor to this list. 56 * @param itcp the response interceptor to add 62 * Inserts a response interceptor at the specified index. 64 * @param itcp the response interceptor to add 73 * @return the number of response interceptors in this list 80 * Obtains a response interceptor from this list. 93 * Removes all response interceptors from this list. 100 * Removes all response interceptor of the specified class 108 * Sets the response interceptors in this list [all...] |
/external/webkit/Source/WebCore/loader/archive/ |
ArchiveResource.cpp | 36 inline ArchiveResource::ArchiveResource(PassRefPtr<SharedBuffer> data, const KURL& url, const String& mimeType, const String& textEncoding, const String& frameName, const ResourceResponse& response) 37 : SubstituteResource(url, response, data) 45 PassRefPtr<ArchiveResource> ArchiveResource::create(PassRefPtr<SharedBuffer> data, const KURL& url, const String& mimeType, const String& textEncoding, const String& frameName, const ResourceResponse& response) 49 if (response.isNull()) { 54 return adoptRef(new ArchiveResource(data, url, mimeType, textEncoding, frameName, response)); 57 PassRefPtr<ArchiveResource> ArchiveResource::create(PassRefPtr<SharedBuffer> data, const KURL& url, const ResourceResponse& response) 59 return create(data, url, response.mimeType(), response.textEncodingName(), String(), response);
|
/frameworks/base/core/java/android/accounts/ |
IAccountManager.aidl | 37 void hasFeatures(in IAccountManagerResponse response, in Account account, in String[] features); 38 void getAccountsByFeatures(in IAccountManagerResponse response, String accountType, in String[] features); 40 void removeAccount(in IAccountManagerResponse response, in Account account); 49 void getAuthToken(in IAccountManagerResponse response, in Account account, 52 void addAccount(in IAccountManagerResponse response, String accountType, 55 void updateCredentials(in IAccountManagerResponse response, in Account account, 57 void editProperties(in IAccountManagerResponse response, String accountType, 59 void confirmCredentialsAsUser(in IAccountManagerResponse response, in Account account, 61 void getAuthTokenLabel(in IAccountManagerResponse response, String accountType,
|
AbstractAccountAuthenticator.java | 103 * and return the result via that response when the activity finishes (or whenever else the 118 public void addAccount(IAccountAuthenticatorResponse response, String accountType, 129 new AccountAuthenticatorResponse(response), 136 response.onResult(result); 139 handleException(response, "addAccount", accountType, e); 143 public void confirmCredentials(IAccountAuthenticatorResponse response, 151 new AccountAuthenticatorResponse(response), account, options); 158 response.onResult(result); 161 handleException(response, "confirmCredentials", account.toString(), e); 165 public void getAuthTokenLabel(IAccountAuthenticatorResponse response, [all...] |
/frameworks/volley/src/com/android/volley/toolbox/ |
JsonRequest.java | 21 import com.android.volley.Response; 22 import com.android.volley.Response.ErrorListener; 23 import com.android.volley.Response.Listener; 29 * A request for retrieving a T type response body at a given URL that also 32 * @param <T> JSON type of response expected 64 protected void deliverResponse(T response) { 65 mListener.onResponse(response); 69 abstract protected Response<T> parseNetworkResponse(NetworkResponse response);
|
/external/okhttp/src/main/java/com/squareup/okhttp/ |
ResponseSource.java | 18 /** The source of an HTTP response. */ 21 /** The response was returned from the local cache. */ 25 * The response is available in the cache but must be validated with the 27 * the network's response will be used. 31 /** The response was returned from the network. */
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/tester/org/apache/http/ |
ParamsParserTest.java | 19 TestHttpResponse response = new TestHttpResponse(); local 20 response.setResponseBody("param1=foobar"); 22 post.setEntity(response.getEntity()); 31 TestHttpResponse response = new TestHttpResponse(); local 32 response.setResponseBody("param1=foobar");
|
/external/smack/src/org/jivesoftware/smackx/workgroup/ext/macros/ |
Macro.java | 33 private String response;
field in class:Macro 53 return response;
56 public void setResponse(String response) {
57 this.response = response;
|
/external/webkit/Tools/Scripts/webkitpy/thirdparty/simplejson/ |
jsonfilter.py | 11 response = {'status': '200 OK', 'headers': []} 13 response['status'] = status 14 response['headers'].extend(headers) 35 headers.extend(response['headers']) 36 start_response(response['status'], headers)
|
/libcore/luni/src/main/java/java/net/ |
ResponseSource.java | 20 * Where the HTTP client should look for a response. 27 * Return the response from the cache immediately. 32 * Make a conditional request to the host, returning the cache response if 33 * the cache is valid and the network response otherwise. 38 * Return the response from the network.
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
IccFileHandler.java | 55 // Byte order received in response to COMMAND_GET_RESPONSE 150 Message response local 155 0, 0, GET_RESPONSE_EF_SIZE_BYTES, null, null, mAid, response); 168 Message response = obtainMessage(EVENT_GET_RECORD_SIZE_IMG_DONE, local 175 null, null, mAid, response); 188 Message response local 192 0, 0, GET_RESPONSE_EF_SIZE_BYTES, null, null, mAid, response); 205 Message response = obtainMessage(EVENT_GET_RECORD_SIZE_DONE, local 209 0, 0, GET_RESPONSE_EF_SIZE_BYTES, null, null, mAid, response); 223 Message response = obtainMessage(EVENT_GET_BINARY_SIZE_DONE local 241 Message response = obtainMessage(EVENT_READ_BINARY_DONE, local 260 Message response = obtainMessage(EVENT_READ_ICON_DONE, fileid, 0, local 325 Message response = null; local [all...] |
/external/chromium/chrome/browser/debugger/ |
debugger_remote_service.h | 57 // If |response| is not NULL, the operation result will be written 58 // as the "result" field in |response|, otherwise the result 61 DictionaryValue* response); 67 // asynchronous response from the V8 debugger. 90 // Writes the attachment result (one of Result enum values) into |response|. 92 DictionaryValue* response); 99 // Sends a JSON message with the |response| to the remote debugger. 101 void SendResponse(const Value& response, 106 // with the |tab_uid| and writes the result into |response| if it becomes 110 DictionaryValue* response); [all...] |
/external/chromium/net/tools/fetch/ |
http_server_response_info.h | 12 // Meta information about a server response. 18 // The response protocol. 36 // Additional response headers.
|
/external/chromium/net/websockets/ |
websocket_handshake_handler.h | 6 // from WebKit renderer process, and WebSocket handshake response message 76 // Parses WebSocket handshake response from WebSocket server. 77 // Returns number of bytes in |data| used for WebSocket handshake response 78 // message, including response key. If it already got whole WebSocket 79 // handshake response message, returns zero. In other words, 81 // after handshake response message. 82 // TODO(ukai): fail fast when response gives wrong status code. 84 // Returns true if it already parses full handshake response message. 86 // Parses WebSocket handshake response info given as HttpResponseInfo. 89 // Parses WebSocket handshake response as SpdyHeaderBlock [all...] |
/external/dropbear/ |
cli-authinteract.c | 37 unsigned char* response = NULL; local 53 response = (unsigned char*)m_strdup(""); 59 response = (unsigned char*)m_strdup(buf); 64 return response; 76 unsigned char *response = NULL; local 94 /* we'll build the response as we go */ 120 response = m_strdup(p); 123 response = get_response(prompt); 126 response_len = strlen(response); 127 buf_putstring(ses.writepayload, response, response_len) [all...] |
/external/libsepol/include/sepol/ |
interfaces.h | 11 unsigned int *response); 16 const sepol_iface_key_t * key, int *response); 23 sepol_iface_t ** response);
|
nodes.h | 10 const sepol_policydb_t * p, unsigned int *response); 15 const sepol_node_key_t * key, int *response); 21 sepol_node_t ** response);
|
ports.h | 10 const sepol_policydb_t * p, unsigned int *response); 15 const sepol_port_key_t * key, int *response); 21 sepol_port_t ** response);
|
/external/nist-sip/java/javax/sip/ |
SipProvider.java | 6 import javax.sip.message.Response; 49 void sendResponse(Response response) throws SipException;
|
/external/smack/src/org/jivesoftware/smackx/workgroup/agent/ |
TranscriptManager.java | 59 Transcript response = (Transcript) collector.nextResult(SmackConfiguration.getPacketReplyTimeout());
local 63 if (response == null) {
64 throw new XMPPException("No response from server on status set.");
66 if (response.getError() != null) {
67 throw new XMPPException(response.getError());
69 return response;
88 Transcripts response = (Transcripts) collector.nextResult(SmackConfiguration.getPacketReplyTimeout());
local 92 if (response == null) {
93 throw new XMPPException("No response from server on status set.");
95 if (response.getError() != null) { [all...] |
TranscriptSearchManager.java | 64 TranscriptSearch response = (TranscriptSearch) collector.nextResult(
local 69 if (response == null) {
70 throw new XMPPException("No response from server on status set.");
72 if (response.getError() != null) {
73 throw new XMPPException(response.getError());
75 return Form.getFormFrom(response);
97 TranscriptSearch response = (TranscriptSearch) collector.nextResult(SmackConfiguration.getPacketReplyTimeout());
local 101 if (response == null) {
102 throw new XMPPException("No response from server on status set.");
104 if (response.getError() != null) { [all...] |
/external/v8/test/mjsunit/ |
debug-references.js | 57 var response = safeEval(dcp.processDebugJSONRequest(request)); 59 assertTrue(response.success, request + ' -> ' + response.message); 60 assertTrue(response.body instanceof Array); 62 assertEquals(count, response.body.length); 64 assertTrue(response.body.length > 0); 67 assertFalse(response.success, request + ' -> ' + response.message); 69 assertEquals(response.running, dcp.isRunning(), request + ' -> expected not running'); 88 var response = safeEval(dcp.processDebugJSONRequest(evaluate_point)) [all...] |
/packages/apps/Email/src/com/android/email/mail/store/imap/ |
ImapResponse.java | 21 * Class represents an IMAP response. 41 * @return whether it's a tagged response. 59 * @return whether it's an OK response. 66 * @return whether it's an BAD response. 73 * @return whether it's an NO response. 80 * @return whether it's an {@code responseType} data response. (i.e. not tagged). 89 * @return Response code (RFC 3501 7.1) if it's a status response. 95 return ImapString.EMPTY; // Not a status response. 101 * @return Alert message it it has ALERT response code [all...] |