HomeSort by relevance Sort by last modified time
    Searched defs:response (Results 326 - 350 of 1309) sorted by null

<<11121314151617181920>>

  /system/core/adb/
transport_mdns.cpp 147 std::string response; local
149 &response); local
151 response.c_str());
  /system/core/libappfuse/include/libappfuse/
FuseBuffer.h 100 // response.
103 FuseResponse response; member in union:android::fuse::final
  /system/nvram/hal/
fake_nvram.cpp 112 // |nvram_manager|, encodes the response, and writes the reply back to |socket|.
134 nvram::Response response; local
135 nvram_manager->Dispatch(request, &response);
137 if (!nvram::Encode(response, command_buffer, &response_size)) {
138 LOG(WARNING) << "Failed to encode command response!";
143 PLOG(ERROR) << "Failed to write response to client socket";
  /system/security/keystore/
user_state.cpp 83 ResponseCode response = writeMasterKey(pw, entropy); local
84 if (response != ResponseCode::NO_ERROR) {
85 return response;
163 ResponseCode response = masterKeyBlob.readBlob(mMasterKeyFile, passwordKey, STATE_NO_ERROR); local
164 if (response == ResponseCode::SYSTEM_ERROR) {
165 return response;
167 if (response == ResponseCode::NO_ERROR && masterKeyBlob.getLength() == MASTER_KEY_SIZE_BYTES) {
173 response = writeMasterKey(pw, entropy);
175 if (response == ResponseCode::NO_ERROR) {
179 return response;
    [all...]
  /test/suite_harness/common/util/src/com/android/compatibility/common/util/
MultipartForm.java 80 * @return response code
89 * @return response code
113 // Open the stream to get a response. Otherwise request will be cancelled.
117 int response = connection.getResponseCode(); local
118 if (response == 302) {
121 return response;
  /tools/tradefederation/core/prod-tests/src/com/android/tradefed/
Sl4aBluetoothDiscovery.java 76 EventSl4aObject response = clientDut.getEventDispatcher() local
78 Assert.assertNotNull(response);
79 response = clientDiscoverer.getEventDispatcher()
81 Assert.assertNotNull(response);
116 JSONArray response = (JSONArray) listDiscovered; local
118 for (int i = 0; i < response.length(); i++) {
119 JSONObject j = response.getJSONObject(i);
  /external/libmojo/mojo/android/javatests/src/org/chromium/mojo/bindings/
InterfacesTest.java 16 import org.chromium.mojo.bindings.test.mojom.sample.Response;
120 Response response = new Response(); local
121 response.x = 42;
122 callback.call(response, "Hello");
149 * Implementation of DoStuffResponse that keeps track of if the response is called.
159 public void call(Response response, String string) {
275 DoStuffResponseImpl response = new DoStuffResponseImpl() local
    [all...]
  /external/nanohttpd/fileupload/src/test/java/fi/iki/elonen/
TestNanoFileUpLoad.java 72 import fi.iki.elonen.NanoHTTPD.Response.Status;
86 public Response response = newFixedLengthResponse(""); field in class:TestNanoFileUpLoad.TestServer
120 public Response serve(IHTTPSession session) {
155 this.response.setStatus(Status.INTERNAL_ERROR);
162 return this.response;
171 CloseableHttpResponse response = httpclient.execute(httphead); local
172 Assert.assertEquals(200, response.getStatusLine().getStatusCode());
173 response.close();
220 HttpResponse response = httpclient.execute(post) local
    [all...]
  /external/nanohttpd/nanolets/src/test/java/fi/iki/elonen/router/
TestNanolets.java 111 CloseableHttpResponse response = httpclient.execute(httpget); local
112 HttpEntity entity = response.getEntity();
116 response.close();
119 response = httpclient.execute(httppost);
120 entity = response.getEntity();
124 response.close();
127 response = httpclient.execute(httpgput);
128 entity = response.getEntity();
132 response.close();
135 response = httpclient.execute(httpdelete)
148 CloseableHttpResponse response = httpclient.execute(httpget); local
160 CloseableHttpResponse response = httpclient.execute(httpget); local
172 CloseableHttpResponse response = httpclient.execute(httpget); local
184 CloseableHttpResponse response = httpclient.execute(httpget); local
196 CloseableHttpResponse response = httpclient.execute(httpget); local
241 CloseableHttpResponse response = httpclient.execute(httpget); local
253 CloseableHttpResponse response = httpclient.execute(httpget); local
265 CloseableHttpResponse response = httpclient.execute(httpget); local
284 CloseableHttpResponse response = httpclient.execute(httphead); local
326 CloseableHttpResponse response = httpclient.execute(httphead); local
    [all...]
  /libcore/support/src/test/java/tests/http/
MockWebServer.java 144 public void enqueue(MockResponse response) {
145 responseQueue.add(response.clone());
153 * <p>Serving a single response causes the server to be stateless: requests
288 * Respond to CONNECT requests until a SWITCH_TO_SSL_AT_END response
304 * Reads a request and writes its response. Returns true if a request
313 MockResponse response = dispatch(request);
314 writeResponse(out, response);
315 if (response.getSocketPolicy() == SocketPolicy.DISCONNECT_AT_END) {
318 } else if (response.getSocketPolicy() == SocketPolicy.SHUTDOWN_INPUT_AT_END) {
320 } else if (response.getSocketPolicy() == SocketPolicy.SHUTDOWN_OUTPUT_AT_END)
    [all...]
  /packages/apps/Dialer/java/com/android/voicemail/impl/mail/store/imap/
ImapResponseParser.java 28 /** IMAP response parser. */
84 * <p>Throws IOException() if reaches EOF. As long as logical response lines end with \r\n, we
98 * <p>Throws IOException() if reaches EOF. As long as logical response lines end with \r\n, we
122 * Reads the next response available on the stream and returns an {@link ImapResponse} object that
129 * @param byeExpected is a untagged BYE response expected? If not proper cleanup will be done and
135 ImapResponse response = null; local
137 response = parseResponse();
149 if (!byeExpected && response.is(0, ImapConstants.BYE)) {
151 response.destroy();
154 responsesToDestroy.add(response);
    [all...]
  /packages/apps/Email/provider_src/com/android/email/mail/store/imap/
ImapResponseParser.java 35 * IMAP response parser.
111 * Throws IOException() if reaches EOF. As long as logical response lines end with \r\n,
125 * Throws IOException() if reaches EOF. As long as logical response lines end with \r\n,
150 * Reads the next response available on the stream and returns an
161 ImapResponse response = null; local
163 response = parseResponse();
165 LogUtils.d(Logging.LOG_TAG, "<<< " + response.toString());
179 if (response.is(0, ImapConstants.BYE)) {
181 response.destroy();
184 mResponsesToDestroy.add(response);
    [all...]
  /packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/
ActionServiceSystemTest.java 120 final Bundle response = new Bundle(); local
121 response.putString(TestChatAction.RESPONSE_TEST, processResponseResult);
129 service.handleResponseFromBackgroundWorker(request, response);
133 assertTrue("Interrupted waiting for response processing", false);
183 assertTrue("Interrupted waiting for response processing", false);
213 final Bundle response = new Bundle(); local
214 response.putString(TestChatAction.RESPONSE_TEST, processResponseResult);
217 service.handleResponseFromBackgroundWorker(request, response);
221 assertTrue("Interrupted waiting for response processing", false);
259 final Bundle response = new Bundle() local
    [all...]
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
Cache.java 65 * the response, the client will issue a conditional {@code GET}. The server will then send either
66 * the updated response if it has changed, or a short 'not modified' response if the client's copy
74 * <h3>Force a Network Response</h3>
85 * If it is only necessary to force a cached response to be validated by the server, use the more
96 * <h3>Force a Cache Response</h3>
108 * Response forceCacheResponse = client.newCall(request).execute();
115 * This technique works even better in situations where a stale response is better than no response.
127 * <p>The {@link CacheControl} class can configure request caching directives and parse response
200 Response response = entry.response(request, snapshot); local
659 public Response response(Request request, DiskLruCache.Snapshot snapshot) { method in class:Entry
    [all...]
  /packages/apps/Messaging/src/com/android/messaging/datamodel/action/
ProcessDownloadedMmsAction.java 87 // Used to send a deferred response in response to auto-download failure
218 // Send a response indicating that auto-download failed
296 // Invalid response PDU
311 // In either case, we just need to copy the status to the response bundle.
317 final Bundle response = new Bundle(); local
318 response.putInt(BUNDLE_REQUEST_STATUS, status);
319 response.putInt(BUNDLE_RAW_TELEPHONY_STATUS, rawStatus);
320 response.putParcelable(BUNDLE_MMS_URI, mmsUri);
321 return response;
    [all...]
SyncMessagesAction.java 247 final Bundle response = new Bundle(); local
257 response.putParcelableArrayList(BUNDLE_KEY_SMS_MESSAGES, smsToAdd);
258 response.putParcelableArrayList(BUNDLE_KEY_MMS_MESSAGES, mmsToAddList);
259 response.putParcelableArrayList(BUNDLE_KEY_MESSAGES_TO_DELETE, messagesToDelete);
261 response.putLong(BUNDLE_KEY_LAST_TIMESTAMP, lastTimestampMillis);
263 return response;
354 protected Object processBackgroundResponse(final Bundle response) {
355 final long lastTimestampMillis = response.getLong(BUNDLE_KEY_LAST_TIMESTAMP);
397 response.getParcelableArrayList(BUNDLE_KEY_SMS_MESSAGES);
399 response.getParcelableArrayList(BUNDLE_KEY_MMS_MESSAGES)
    [all...]
  /cts/tests/autofillservice/src/android/autofillservice/cts/
VirtualContainerActivityTest.java 525 final CannedFillResponse.Builder response = new CannedFillResponse.Builder() local
532 response.setSaveInfoFlags(SaveInfo.FLAG_SAVE_ON_ALL_VIEWS_INVISIBLE);
538 response
545 sReplier.addResponse(response.build());
AuthenticationActivity.java 73 // Used to block response until it's counted down.
106 * Creates an {@link IntentSender} with the given unique id for the given fill response.
109 CannedFillResponse response) {
110 return createSender(context, id, response, null);
114 CannedFillResponse response, Bundle outData) {
117 sResponses.put(id, response);
215 final CannedFillResponse response = local
222 if (response != null) {
223 if (response.getResponseType() == NULL) {
226 result = response
    [all...]
  /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/opt/telephony/src/java/com/android/internal/telephony/uicc/
IccFileHandler.java 57 // Byte order received in response to COMMAND_GET_RESPONSE
173 Message response local
178 0, 0, GET_RESPONSE_EF_SIZE_BYTES, null, null, mAid, response);
205 Message response = obtainMessage(EVENT_GET_RECORD_SIZE_IMG_DONE, local
212 null, null, mAid, response);
227 Message response local
231 0, 0, GET_RESPONSE_EF_SIZE_BYTES, null, null, mAid, response);
259 Message response = obtainMessage(EVENT_GET_RECORD_SIZE_DONE, local
263 0, 0, GET_RESPONSE_EF_SIZE_BYTES, null, null, mAid, response);
290 Message response = obtainMessage(EVENT_GET_BINARY_SIZE_DONE local
308 Message response = obtainMessage(EVENT_READ_BINARY_DONE, local
327 Message response = obtainMessage(EVENT_READ_ICON_DONE, fileid, 0, local
428 Message response = null; local
    [all...]
  /packages/services/Telecomm/src/com/android/server/telecom/
CreateConnectionProcessor.java 103 Call call, ConnectionServiceRepository repository, CreateConnectionResponse response,
108 mCallResponse = response;
147 void continueProcessingIfPossible(CreateConnectionResponse response,
150 mCallResponse = response;
158 // Clear the response first to prevent attemptNextConnectionService from attempting any
160 CreateConnectionResponse response = mCallResponse; local
169 if (response != null) {
170 response.handleCreateConnectionFailure(new DisconnectCause(DisconnectCause.LOCAL));
  /bionic/libc/kernel/uapi/linux/
bsg.h 39 __u64 response; member in struct:sg_io_v4
fanotify.h 67 __u32 response; member in struct:fanotify_response
  /bionic/libc/kernel/uapi/sound/
firewire.h 51 __be32 response[0]; member in struct:snd_firewire_event_efw_response
  /cts/hostsidetests/net/app2/src/com/android/cts/net/hostside/app2/
MyBroadcastReceiver.java 174 final int response = conn.getResponseCode(); local
176 checkDetails = "HTTP response for " + address + ": " + response;

Completed in 844 milliseconds

<<11121314151617181920>>