Searched refs:response (Results 226 - 250 of 1408) sorted by relevance

1234567891011>>

/external/smack/src/org/jivesoftware/smackx/search/
H A DUserSearch.java76 IQ response = (IQ) collector.nextResult(SmackConfiguration.getPacketReplyTimeout());
80 if (response == null) {
81 throw new XMPPException("No response from server on status set.");
83 if (response.getError() != null) {
84 throw new XMPPException(response.getError());
86 return Form.getFormFrom(response);
109 IQ response = (IQ) collector.nextResult(SmackConfiguration.getPacketReplyTimeout());
113 if (response == null) {
114 throw new XMPPException("No response from server on status set.");
116 if (response
[all...]
/external/smack/src/org/jivesoftware/smackx/workgroup/agent/
H A DAgentSession.java271 throw new XMPPException("No response from server on status set.");
376 throw new XMPPException("No response from server on status set.");
427 throw new XMPPException("No response from server on status set.");
518 OccupantsInfo response = (OccupantsInfo)collector.nextResult(SmackConfiguration.getPacketReplyTimeout());
522 if (response == null) {
523 throw new XMPPException("No response from server.");
525 if (response.getError() != null) {
526 throw new XMPPException(response.getError());
528 return response;
811 IQ response
[all...]
/external/chromium_org/chromeos/dbus/
H A Dshill_device_client_unittest.cc115 // Create response.
116 scoped_ptr<dbus::Response> response(dbus::Response::CreateEmpty());
117 dbus::MessageWriter writer(response.get());
133 response.get());
142 // Create response.
143 scoped_ptr<dbus::Response> response(dbus::Response::CreateEmpty());
148 response.get());
158 // Create response.
159 scoped_ptr<dbus::Response> response(dbus::Response::CreateEmpty());
167 response
[all...]
H A Dshill_ipconfig_client_unittest.cc87 // Create response.
88 scoped_ptr<dbus::Response> response(dbus::Response::CreateEmpty());
89 dbus::MessageWriter writer(response.get());
115 response.get());
126 // Create response.
127 scoped_ptr<dbus::Response> response(dbus::Response::CreateEmpty());
135 response.get());
146 // Create response.
147 scoped_ptr<dbus::Response> response(dbus::Response::CreateEmpty());
153 response
[all...]
H A Dblocking_method_caller_unittest.cc91 // Returns a response for the given method call. Used to implement
100 scoped_ptr<dbus::Response> response = dbus::Response::CreateEmpty(); local
101 dbus::MessageWriter writer(response.get());
103 return response.release();
126 scoped_ptr<dbus::Response> response(
129 // Check the response.
130 ASSERT_TRUE(response.get());
131 dbus::MessageReader reader(response.get());
H A Dbluetooth_agent_manager_client.cc103 // Called when a response for successful method call is received.
105 dbus::Response* response) {
106 DCHECK(response);
110 // Called when a response for a failed method call is received.
112 dbus::ErrorResponse* response) {
113 // Error response has optional error message argument.
116 if (response) {
117 dbus::MessageReader reader(response);
118 error_name = response->GetErrorName();
104 OnSuccess(const base::Closure& callback, dbus::Response* response) argument
111 OnError(const ErrorCallback& error_callback, dbus::ErrorResponse* response) argument
H A Dbluetooth_gatt_manager_client.cc91 // Called when a response for a successful method call is received.
92 void OnSuccess(const base::Closure& callback, dbus::Response* response) { argument
93 DCHECK(response);
97 // Called when a response for a failed method call is received.
99 dbus::ErrorResponse* response) {
100 // Error response has optional error message argument.
103 if (response) {
104 dbus::MessageReader reader(response);
105 error_name = response->GetErrorName();
98 OnError(const ErrorCallback& error_callback, dbus::ErrorResponse* response) argument
/external/chromium_org/device/media_transfer_protocol/
H A Dmedia_transfer_protocol_daemon_client.cc212 dbus::Response* response) {
213 if (!response) {
217 dbus::MessageReader reader(response);
220 LOG(ERROR) << kInvalidResponseMsg << response->ToString();
232 dbus::Response* response) {
233 if (!response) {
238 dbus::MessageReader reader(response);
241 LOG(ERROR) << kInvalidResponseMsg << response->ToString();
251 dbus::Response* response) {
252 if (!response) {
210 OnEnumerateStorages(const EnumerateStoragesCallback& callback, const ErrorCallback& error_callback, dbus::Response* response) argument
229 OnGetStorageInfo(const std::string& storage_name, const GetStorageInfoCallback& callback, const ErrorCallback& error_callback, dbus::Response* response) argument
249 OnOpenStorage(const OpenStorageCallback& callback, const ErrorCallback& error_callback, dbus::Response* response) argument
268 OnCloseStorage(const CloseStorageCallback& callback, const ErrorCallback& error_callback, dbus::Response* response) argument
280 OnReadDirectoryIds(const ReadDirectoryEntryIdsCallback& callback, const ErrorCallback& error_callback, dbus::Response* response) argument
311 OnGetFileInfo(const GetFileInfoCallback& callback, const ErrorCallback& error_callback, dbus::Response* response) argument
335 OnReadFile(const ReadFileCallback& callback, const ErrorCallback& error_callback, dbus::Response* response) argument
[all...]
/external/smack/src/org/jivesoftware/smackx/
H A DServiceDiscoveryManager.java44 * <li>Automatic response when this XMPP entity is queried for information.
219 DiscoverItems response = new DiscoverItems();
220 response.setType(IQ.Type.RESULT);
221 response.setTo(discoverItems.getFrom());
222 response.setPacketID(discoverItems.getPacketID());
223 response.setNode(discoverItems.getNode());
231 response.addItems(nodeInformationProvider.getNodeItems());
233 response.addExtensions(nodeInformationProvider.getNodePacketExtensions());
237 response.setType(IQ.Type.ERROR);
238 response
299 addDiscoverInfoTo(DiscoverInfo response) argument
[all...]
/external/chromium_org/v8/test/mjsunit/es6/
H A Dgenerators-debug-scopes.js94 var response = JSON.parse(response_json);
95 assertEquals(scopes.length, response.body.scopes.length);
97 assertEquals(i, response.body.scopes[i].index);
98 assertEquals(scopes[i], response.body.scopes[i].type);
101 assertTrue(response.body.scopes[i].object.ref < 0);
103 assertTrue(response.body.scopes[i].object.ref >= 0);
106 for (var j = 0; j < response.refs.length && !found; j++) {
107 found = response.refs[j].handle == response.body.scopes[i].object.ref;
109 assertTrue(found, "Scope object " + response
[all...]
/external/chromium_org/v8/test/mjsunit/harmony/
H A Ddebug-blockscopes.js105 var response = JSON.parse(response_json);
106 assertEquals(scopes.length, response.body.scopes.length);
108 assertEquals(i, response.body.scopes[i].index);
109 assertEquals(scopes[i], response.body.scopes[i].type);
112 assertTrue(response.body.scopes[i].object.ref < 0);
114 assertTrue(response.body.scopes[i].object.ref >= 0);
117 for (var j = 0; j < response.refs.length && !found; j++) {
118 found = response.refs[j].handle == response.body.scopes[i].object.ref;
120 assertTrue(found, "Scope object " + response
[all...]
/external/chromium_org/chrome/browser/password_manager/
H A Dnative_backend_kwallet_x.cc194 scoped_ptr<dbus::Response> response(
197 if (!response.get()) {
201 dbus::MessageReader reader(response.get());
208 LOG(ERROR) << "Error reading response from klauncher to start kwalletd: "
209 << response->ToString();
226 scoped_ptr<dbus::Response> response(
229 if (!response.get()) {
233 dbus::MessageReader reader(response.get());
236 LOG(ERROR) << "Error reading response from kwalletd (isEnabled): "
237 << response
[all...]
/external/smack/src/org/jivesoftware/smackx/commands/
H A DAdHocCommandManager.java382 // Creates the response with the corresponding data
383 AdHocCommandData response = new AdHocCommandData();
384 response.setTo(requestData.getFrom());
385 response.setPacketID(requestData.getPacketID());
386 response.setNode(requestData.getNode());
387 response.setId(requestData.getTo());
398 respondError(response, XMPPError.Condition.item_not_found);
410 response.setType(IQ.Type.RESULT);
411 command.setData(response);
417 respondError(response, XMPPErro
642 respondError(AdHocCommandData response, XMPPError.Condition condition) argument
654 respondError(AdHocCommandData response, XMPPError.Condition condition, AdHocCommand.SpecificErrorCondition specificCondition) argument
668 respondError(AdHocCommandData response, XMPPError error) argument
[all...]
/external/chromium_org/third_party/WebKit/Source/core/inspector/
H A DInspectorResourceAgent.cpp107 virtual void didReceiveResponse(unsigned long identifier, const ResourceResponse& response) OVERRIDE
109 WTF::TextEncoding textEncoding(response.textEncodingName());
116 m_statusCode = response.httpStatusCode();
117 m_responseHeaders = response.httpHeaderFields();
239 static PassRefPtr<TypeBuilder::Network::Response> buildObjectForResourceResponse(const ResourceResponse& response, DocumentLoader* loader) argument
241 if (response.isNull())
246 if (response.resourceLoadInfo() && response.resourceLoadInfo()->httpStatusCode) {
247 status = response.resourceLoadInfo()->httpStatusCode;
248 statusText = response
363 isResponseEmpty(PassRefPtr<TypeBuilder::Network::Response> response) argument
375 didReceiveResourceResponse(LocalFrame* frame, unsigned long identifier, DocumentLoader* loader, const ResourceResponse& response, ResourceLoader* resourceLoader) argument
446 didReceiveCORSRedirectResponse(LocalFrame* frame, unsigned long identifier, DocumentLoader* loader, const ResourceResponse& response, ResourceLoader* resourceLoader) argument
606 didReceiveWebSocketHandshakeResponse(Document*, unsigned long identifier, const WebSocketHandshakeRequest* request, const WebSocketHandshakeResponse* response) argument
[all...]
/external/chromium_org/chrome/browser/extensions/
H A Dexternal_provider_impl_unittest.cc121 scoped_ptr<BasicHttpResponse> response(new BasicHttpResponse);
122 response->set_code(net::HTTP_OK);
123 response->set_content(base::StringPrintf(
125 "<gupdate xmlns='http://www.google.com/update2/response' "
133 response->set_content_type("text/xml");
134 return response.PassAs<HttpResponse>();
143 scoped_ptr<BasicHttpResponse> response(new BasicHttpResponse);
144 response->set_code(net::HTTP_OK);
145 response->set_content(contents);
146 return response
[all...]
/external/chromium_org/components/autofill/core/browser/
H A Dautofill_download_manager_unittest.cc43 // a response is received. Params allow caller to set fake status.
83 ResponseData response; variable
84 response.response = response_xml;
85 response.type_of_response = QUERY_SUCCESSFULL;
86 responses_.push_back(response);
90 ResponseData response; variable
91 response.type_of_response = UPLOAD_SUCCESSFULL;
92 responses_.push_back(response);
99 ResponseData response; variable
119 std::string response; member in struct:autofill::AutofillDownloadTest::ResponseData
[all...]
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/jsfs/
H A Djs_fs.cc287 Error JsFs::ErrorFromResponse(const ScopedVar& response) { argument
289 if (ScanVar(response.pp_var(), "%d", "error", &error) != 1) {
290 LOG_ERROR("Expected \"error\" field in response.");
385 PP_Var response = iter->second; local
387 return response;
397 ScopedVar response(ppapi_);
398 if (!SendRequestAndWait(&response, "%s%s%d",
408 int result = ScanVar(response.pp_var(), "%d%d", "error", &error, "fd", &fd);
413 LOG_ERROR("Expected \"error\" and \"fd\" fields in response.");
422 ScopedVar response(ppapi
486 PP_Var response = *va_arg(args, PP_Var*); local
[all...]
H A Djs_fs_node.cc67 ScopedVar response(ppapi_);
68 if (!SendRequestAndWait(&response, "%s%d", "cmd", "fstat", "fildes", fd_)) {
104 int result = ScanVar(response.pp_var(),
125 "Expected \"st_*\" and \"error\" fields in response (should be 13 "
150 ScopedVar response(ppapi_);
151 if (!SendRequestAndWait(&response, "%s%d", "cmd", "fsync", "fildes", fd_)) {
156 return filesystem()->ErrorFromResponse(response);
162 ScopedVar response(ppapi_);
163 if (!SendRequestAndWait(&response,
169 return filesystem()->ErrorFromResponse(response);
[all...]
/external/chromium_org/sync/test/accounts_client/
H A Dtest_accounts_client.cc51 DVLOG(0) << "The request failed with response code "
62 string response() const { return response_; } function in class:AccountsRequestDelegate
93 string response; local
94 if (!SendRequest(url, &response)) {
98 scoped_ptr<base::Value> value(base::JSONReader::Read(response));
128 string response; local
129 SendRequest(url, &response);
137 bool TestAccountsClient::SendRequest(const GURL& url, string* response) { argument
157 *response = delegate.response();
[all...]
/external/kernel-headers/original/uapi/rdma/
H A Drdma_user_cm.h82 __u64 response; member in struct:rdma_ucm_create_id
93 __u64 response; member in struct:rdma_ucm_destroy_id
103 __u64 response; member in struct:rdma_ucm_bind_ip
144 __u64 response; member in struct:rdma_ucm_query
229 __u64 response; member in struct:rdma_ucm_init_qp_attr
240 __u64 response; /* rdma_ucm_create_id_resp */ member in struct:rdma_ucm_join_ip_mcast
247 __u64 response; /* rdma_ucma_create_id_resp */ member in struct:rdma_ucm_join_mcast
256 __u64 response; member in struct:rdma_ucm_get_event
293 __u64 response; member in struct:rdma_ucm_migrate_id
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
H A DHttpResponseCache.java81 * contains a stale copy of the response, the client will issue a conditional
82 * {@code GET}. The server will then send either the updated response if it has
83 * changed, or a short 'not modified' response if the client's copy is still
97 * If it is only necessary to force a cached response to be validated by the
116 * This technique works even better in situations where a stale response is
117 * better than no response. To permit stale cached responses, use the {@code
148 Response response = get(request);
149 if (response == null) {
152 return JavaApiConverter.createJavaCacheResponse(response);
174 Response response
196 put(Response response) argument
480 Entry(Response response) argument
550 matches(Request request, Response response) argument
556 public Response response(Request request, DiskLruCache.Snapshot snapshot) { method in class:HttpResponseCache.Entry
[all...]
/external/chromium_org/chrome/common/extensions/docs/server2/
H A Dpatch_servlet.py104 response = RenderServlet(
110 response.headers.pop('cache-control', None)
112 response = Response.NotFound(e.message, {'Content-Type': 'text/plain'})
114 redirect_url, permanent = response.GetRedirect()
116 response = Response.Redirect('/_patch/%s%s' % (issue, redirect_url),
118 return response
/external/chromium_org/chrome/test/chromedriver/chrome/
H A Ddevtools_client_impl.cc178 return Status(kUnknownError, "inspector response missing result");
258 internal::InspectorCommandResponse& response = response_info->response; local
259 if (!response.result)
260 return ParseInspectorError(response.error);
261 *result = response.result.Pass();
280 // The command response may have already been received or blocked while
311 internal::InspectorCommandResponse response; local
312 if (!parser_func_.Run(message, expected_id, &type, &event, &response)) {
320 return ProcessCommandResponse(response);
367 ProcessCommandResponse( const internal::InspectorCommandResponse& response) argument
[all...]
/external/chromium_org/components/devtools_bridge/android/javatests/src/org/chromium/components/devtools_bridge/
H A DLocalTunnelBridgeTest.java68 Future<String> response = TestUtils.asyncRequest(CLIENT_SOCKET_NAME, REQUEST);
76 Assert.assertEquals(RESPONSE, response.get());
86 Future<String> response = TestUtils.asyncRequest(CLIENT_SOCKET_NAME, REQUEST);
94 Assert.assertEquals("", response.get());
104 Future<String> response = TestUtils.asyncRequest(CLIENT_SOCKET_NAME, REQUEST);
106 Assert.assertEquals("", response.get());
/external/chromium_org/net/quic/
H A Dquic_spdy_server_stream.cc112 // Find response in cache. If not found, send error response.
113 const QuicInMemoryCache::Response* response = local
115 if (response == NULL) {
120 if (response->response_type() == QuicInMemoryCache::CLOSE_CONNECTION) {
121 DVLOG(1) << "Special response: closing connection.";
126 if (response->response_type() == QuicInMemoryCache::IGNORE_REQUEST) {
127 DVLOG(1) << "Special response: ignoring request.";
131 DVLOG(1) << "Sending response for stream " << id();
132 SendHeadersAndBody(response
[all...]

Completed in 729 milliseconds

1234567891011>>