/external/chromium_org/content/browser/geolocation/ |
wifi_data_provider_linux_unittest.cc | 117 // Creates a response for |mock_network_manager_proxy_|. 118 dbus::Response* CreateNetworkManagerProxyResponse( 128 scoped_ptr<dbus::Response> response = dbus::Response::CreateEmpty(); local 129 dbus::MessageWriter writer(response.get()); 131 return response.release(); 138 // Creates a response for |mock_device_proxy_|. 139 dbus::Response* CreateDeviceProxyResponse(dbus::MethodCall* method_call, 149 scoped_ptr<dbus::Response> response = dbus::Response::CreateEmpty() local 160 scoped_ptr<dbus::Response> response = dbus::Response::CreateEmpty(); local 185 scoped_ptr<dbus::Response> response = dbus::Response::CreateEmpty(); local [all...] |
wifi_data_provider_linux.cc | 72 scoped_ptr<dbus::Response> GetAccessPointProperty( 147 scoped_ptr<dbus::Response> response( 151 if (!response) { 156 dbus::MessageReader reader(response.get()); 159 LOG(WARNING) << "Unexpected response for " << device_type << ": " 160 << response->ToString(); 179 scoped_ptr<dbus::Response> response( 183 if (!response) { 335 scoped_ptr<dbus::Response> response = access_point_proxy->CallMethodAndBlock( local [all...] |
/external/chromium_org/dbus/ |
mock_unittest.cc | 67 // Called when the response is received. 68 void OnResponse(Response* response) { 69 // |response| will be deleted on exit of the function. Copy the 71 if (response) { 72 MessageReader reader(response); 85 // Returns a response for the given method call. Used to implement 87 Response* CreateMockProxyResponse(MethodCall* method_call, 94 scoped_ptr<Response> response = Response::CreateEmpty() local 111 Response* response = CreateMockProxyResponse(method_call, timeout_ms); local [all...] |
test_service.cc | 273 response_sender.Run(scoped_ptr<Response>()); 277 scoped_ptr<Response> response = Response::FromMethodCall(method_call); local 278 MessageWriter writer(response.get()); 280 response_sender.Run(response.Pass()); 291 // Schedule a call to Echo() to send an asynchronous response after we return. 302 response_sender.Run(scoped_ptr<Response>()); 312 response_sender.Run(scoped_ptr<Response>()); 316 scoped_ptr<Response> response = Response::FromMethodCall(method_call) local 342 scoped_ptr<Response> response = Response::FromMethodCall(method_call); local 351 scoped_ptr<Response> response = Response::FromMethodCall(method_call); local 360 scoped_ptr<Response> response = Response::FromMethodCall(method_call); local 378 scoped_ptr<Response> response = Response::FromMethodCall(method_call); local 444 scoped_ptr<Response> response = Response::FromMethodCall(method_call); local 451 scoped_ptr<Response> response = Response::FromMethodCall(method_call); local [all...] |
values_util_unittest.cc | 19 scoped_ptr<Response> response(Response::CreateEmpty()); 21 MessageWriter writer(response.get()); 47 MessageReader reader(response.get()); 116 scoped_ptr<Response> response(Response::CreateEmpty()); 118 MessageWriter writer(response.get()); 128 MessageReader reader(response.get()) [all...] |
message.h | 43 // sub classes such as MethodCall and Response instead. 199 // Response is a type of message used for receiving a response from a 201 class CHROME_DBUS_EXPORT Response : public Message { 203 // Returns a newly created Response from the given raw message of the 205 static scoped_ptr<Response> FromRawMessage(DBusMessage* raw_message); 207 // Returns a newly created Response from the given method call. 210 static scoped_ptr<Response> FromMethodCall(MethodCall* method_call); 212 // Returns a newly created Response with an empty payload. 214 static scoped_ptr<Response> CreateEmpty() [all...] |
/external/chromium_org/content/browser/renderer_host/media/ |
media_stream_manager_unittest.cc | 89 MOCK_METHOD1(Response, void(int index)); 93 Response(index); 129 EXPECT_CALL(*this, Response(0)); 165 EXPECT_CALL(*this, Response(0)); 166 EXPECT_CALL(*this, Response(1)); 177 EXPECT_CALL(*this, Response(1));
|
/external/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
Dispatcher.java | 19 import com.squareup.okhttp.Response; 38 HttpURLConnection connection, Request request, Response.Receiver responseReceiver) { 62 static class RealResponseBody extends Response.Body {
|
/frameworks/volley/src/com/android/volley/toolbox/ |
RequestFuture.java | 20 import com.android.volley.Response; 31 * Used by providing as your response and error listeners. For example: 43 * JSONObject response = future.get(); 44 * // do something with response 52 * @param <T> The type of parsed response this future expects. 54 public class RequestFuture<T> implements Future<T>, Response.Listener<T>, 55 Response.ErrorListener { 141 public synchronized void onResponse(T response) { 143 mResult = response;
|
/external/chromium_org/chrome/browser/chromeos/dbus/ |
display_power_service_provider.h | 19 class Response; 44 // Called on UI thread in response to D-Bus requests.
|
printer_service_provider.h | 16 class Response;
|
liveness_service_provider.cc | 41 response_sender.Run(dbus::Response::FromMethodCall(method_call));
|
printer_service_provider_unittest.cc | 46 scoped_ptr<dbus::Response> response(test_helper_.CallMethod(&method_call)); 48 // An empty response should be returned. 49 ASSERT_TRUE(response.get()); 50 dbus::MessageReader reader(response.get());
|
display_power_service_provider.cc | 70 response_sender.Run(dbus::Response::FromMethodCall(method_call)); 84 response_sender.Run(dbus::Response::FromMethodCall(method_call));
|
/external/chromium_org/chromeos/dbus/ |
blocking_method_caller_unittest.cc | 91 // Returns a response for the given method call. Used to implement 93 dbus::Response* CreateMockProxyResponse(dbus::MethodCall* method_call, 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 [all...] |
nfc_property_set.h | 40 virtual void OnGetAll(dbus::Response* response) OVERRIDE;
|
shill_manager_client_unittest.cc | 108 // Create response. 109 scoped_ptr<dbus::Response> response(dbus::Response::CreateEmpty()); 110 dbus::MessageWriter writer(response.get()); 127 response.get()); 135 // Create response. 136 scoped_ptr<dbus::Response> response(dbus::Response::CreateEmpty()) [all...] |
bluetooth_agent_service_provider.cc | 134 response_sender.Run(dbus::Response::FromMethodCall(method_call)); 181 response_sender.Run(dbus::Response::FromMethodCall(method_call)); 230 response_sender.Run(dbus::Response::FromMethodCall(method_call)); 322 response_sender.Run(dbus::Response::FromMethodCall(method_call)); 333 // Called by the Delegate to response to a method requesting a PIN code. 342 scoped_ptr<dbus::Response> response( 343 dbus::Response::FromMethodCall(method_call)); 344 dbus::MessageWriter writer(response.get()); 346 response_sender.Run(response.Pass()) [all...] |
/frameworks/opt/net/voip/src/java/com/android/server/sip/ |
SipSessionGroup.java | 79 import javax.sip.message.Response; 122 // external address observed from any response 397 Response response = evt.getResponse(); local 398 ViaHeader viaHeader = (ViaHeader)(response.getHeader( 450 return Response.CALL_OR_TRANSACTION_DOES_NOT_EXIST; 454 if (dialog == null) return Response.DECLINE; 459 return Response.CALL_OR_TRANSACTION_DOES_NOT_EXIST; 466 return Response.CALL_OR_TRANSACTION_DOES_NOT_EXIST; 468 return Response.OK 477 int response = processInviteWithReplaces(event, replaces); local 951 Response response = event.getResponse(); local 977 Response response = event.getResponse(); local [all...] |
/frameworks/volley/tests/src/com/android/volley/mock/ |
WaitableQueue.java | 21 import com.android.volley.Response; 64 protected Response<Object> parseNetworkResponse(NetworkResponse response) { 69 protected void deliverResponse(Object response) {
|
/external/chromium_org/chrome/common/extensions/docs/server2/ |
patch_servlet.py | 20 from servlet import Request, Response, Servlet 91 return Response.Redirect( 98 return Response.NotFound('Malformed URL. It should look like ' + 102 response = RenderServlet( 108 response.headers.pop('cache-control', None) 110 response = Response.NotFound(e.message, {'Content-Type': 'text/plain'}) 112 redirect_url, permanent = response.GetRedirect() 114 response = Response.Redirect('/_patch/%s%s' % (issue, redirect_url) [all...] |
servlet.py | 25 '''Builds the response content. 48 class Response(object): 49 '''The response from Get(). 62 '''Returns an OK (200) response. 64 return Response(content=content, headers=headers, status=200) 68 '''Returns a redirect (301 or 302) response. 71 return Response(headers={'Location': url}, status=status) 75 '''Returns a not found (404) response. 77 return Response(content=content, headers=headers, status=404) 81 '''Returns an internal error (500) response [all...] |
/external/chromium_org/net/tools/quic/ |
quic_in_memory_cache_test.cc | 63 // Check if response already exists and matches. 65 const QuicInMemoryCache::Response* cached_response = 80 std::string response_body("hello response"); 86 const QuicInMemoryCache::Response* response = local 88 ASSERT_TRUE(response); 89 EXPECT_EQ("200", response->headers().response_code()); 90 EXPECT_EQ(response_body.size(), response->body().length()); 93 response = cache->GetResponse(request_headers); 94 ASSERT_TRUE(response); 103 const QuicInMemoryCache::Response* response = local 117 const QuicInMemoryCache::Response* response = local 131 const QuicInMemoryCache::Response* response = local [all...] |
/external/nist-sip/java/javax/sip/message/ |
Response.java | 5 public interface Response extends Message {
|
/external/smack/src/org/jivesoftware/smack/sasl/ |
SASLAnonymous.java | 56 // Build the challenge response stanza encoding the response text
58 getSASLAuthentication().send(new Response());
|