/system/core/fastboot/ |
transport.h | 24 class Transport { 26 Transport() = default; 27 virtual ~Transport() = default; 37 // Closes the underlying transport. Returns 0 on success. 40 // Blocks until the transport disconnects. Transports that don't support 45 DISALLOW_COPY_AND_ASSIGN(Transport);
|
tcp.h | 38 #include "transport.h" 44 // Returns a newly allocated Transport object connected to |hostname|:|port|. On failure, |error| is 46 std::unique_ptr<Transport> Connect(const std::string& hostname, int port, std::string* error); 51 // Creates a TCP Transport object but using a given Socket instead of connecting to a hostname. 52 // Used for unit tests to create a Transport object that uses a SocketMock. 53 std::unique_ptr<Transport> Connect(std::unique_ptr<Socket> sock, std::string* error);
|
fastboot.h | 37 #include "transport.h" 42 int fb_command(Transport* transport, const char* cmd); 43 int fb_command_response(Transport* transport, const char* cmd, char* response); 44 int fb_download_data(Transport* transport, const void* data, uint32_t size); 45 int fb_download_data_sparse(Transport* transport, struct sparse_file* s); 52 bool fb_getvar(Transport* transport, const std::string& key, std::string* value) [all...] |
usb.h | 32 #include "transport.h" 58 Transport* usb_open(ifc_match_func callback);
|
protocol.cpp | 42 #include "transport.h" 51 static int check_response(Transport* transport, uint32_t size, char* response) { 55 int r = transport->Read(status, 64); 58 transport->Close(); 65 transport->Close(); 94 transport->Close(); 101 transport->Close(); 108 static int _command_start(Transport* transport, const char* cmd, uint32_t size, char* response) 196 Transport* transport = reinterpret_cast<Transport*>(priv); local [all...] |
udp.h | 36 #include "transport.h" 42 // Returns a newly allocated Transport object connected to |hostname|:|port|. On failure, |error| is 44 std::unique_ptr<Transport> Connect(const std::string& hostname, int port, std::string* error); 73 // Creates a UDP Transport object using a given Socket. Used for unit tests to create a Transport 75 std::unique_ptr<Transport> Connect(std::unique_ptr<Socket> sock, std::string* error);
|
/external/libbrillo/brillo/http/ |
http_transport.cc | 14 std::shared_ptr<Transport> Transport::CreateDefault() { 15 return std::make_shared<http::curl::Transport>(std::make_shared<CurlApi>());
|
http_transport.h | 37 // Transport is a base class for specific implementation of HTTP communication. 41 class BRILLO_EXPORT Transport : public std::enable_shared_from_this<Transport> { 43 Transport() = default; 44 virtual ~Transport() = default; 47 // |transport| is a shared pointer to this transport object instance, 50 // to the underlying transport (e.g. CURL) to establish the connection. 60 // transport. For transports that do not contain references to real message 61 // loops (e.g. a fake transport), calls the callback immediately [all...] |
http_utils.h | 39 // transport, error); 47 // transport, error); 63 std::shared_ptr<Transport> transport, 72 std::shared_ptr<Transport> transport, 79 // request using Transport::CancelRequest(). 86 std::shared_ptr<Transport> transport, 94 // request using Transport::CancelRequest() [all...] |
http_transport_curl.h | 24 // An implementation of http::Transport that uses libcurl for 25 // HTTP communications. This class (as http::Transport base) 30 class BRILLO_EXPORT Transport : public http::Transport { 32 // Constructs the transport using the current message loop for async 34 explicit Transport(const std::shared_ptr<CurlInterface>& curl_interface); 35 // Creates a transport object using a proxy. 38 Transport(const std::shared_ptr<CurlInterface>& curl_interface, 40 ~Transport() override; 42 // Overrides from http::Transport [all...] |
http_transport_fake.cc | 22 using http::fake::Transport; 27 Transport::Transport() { 28 VLOG(1) << "fake::Transport created"; 31 Transport::~Transport() { 32 VLOG(1) << "fake::Transport destroyed"; 35 std::shared_ptr<http::Connection> Transport::CreateConnection( 66 void Transport::RunCallbackAsync( 76 bool Transport::HandleOneAsyncRequest() [all...] |
/external/webrtc/webrtc/call/ |
transport_adapter.h | 15 #include "webrtc/transport.h" 20 class TransportAdapter : public Transport { 22 explicit TransportAdapter(Transport* transport); 33 Transport *transport_;
|
/external/webrtc/webrtc/ |
transport.h | 28 class Transport { 36 virtual ~Transport() {}
|
audio_send_stream.h | 21 #include "webrtc/transport.h" 55 explicit Config(Transport* send_transport) 74 // Transport for outgoing packets. The transport is expected to exist for 76 Transport* send_transport = nullptr;
|
/frameworks/base/tests/AccessoryDisplay/common/src/com/android/accessorydisplay/common/ |
Service.java | 19 import com.android.accessorydisplay.common.Transport; 27 * Base implementation of a service that communicates over a transport. 30 * accessed from the {@link Looper} thread on which the transport was created. 33 public abstract class Service implements Transport.Callback { 35 private final Transport mTransport; 38 public Service(Context context, Transport transport, int serviceId) { 40 mTransport = transport; 52 public Transport getTransport() {
|
/external/webrtc/webrtc/test/ |
mock_transport.h | 15 #include "webrtc/transport.h" 19 class MockTransport : public Transport {
|
null_transport.h | 13 #include "webrtc/transport.h" 20 class NullTransport : public Transport {
|
/system/weaved/buffet/ |
http_transport_client.h | 25 class Transport; 44 std::shared_ptr<brillo::http::Transport> transport_;
|
/external/webrtc/webrtc/p2p/base/ |
transport.cc | 13 #include "webrtc/p2p/base/transport.h" 66 Transport::Transport(const std::string& name, PortAllocator* allocator) 69 Transport::~Transport() { 73 void Transport::SetIceRole(IceRole role) { 80 bool Transport::GetRemoteSSLCertificate(rtc::SSLCertificate** cert) { 89 void Transport::SetIceConfig(const IceConfig& config) { 96 bool Transport::SetLocalTransportDescription( 126 // If PRANSWER/ANSWER is set, we should decide transport protocol type [all...] |
p2ptransport.cc | 24 : Transport(name, allocator) {}
|
p2ptransport.h | 15 #include "webrtc/p2p/base/transport.h" 20 class P2PTransport : public Transport {
|
/frameworks/base/core/java/android/os/ |
CancellationSignal.java | 125 * Sets the remote transport. 128 * remote transport is canceled immediately. 130 * This method is guaranteed that the remote transport will not be called after it 133 * @param remote The remote transport, or null to remove. 165 * Creates a transport that can be returned back to the caller of 168 * @return The new cancellation signal transport. 173 return new Transport(); 177 * Given a locally created transport, returns its associated cancellation signal. 179 * @param transport The locally created transport, or null if none [all...] |
/frameworks/base/core/java/android/database/ |
ContentObserver.java | 29 private Transport mTransport; // guarded by mLock 43 * Gets access to the binder transport object. Not for public consumption. 50 mTransport = new Transport(this); 57 * Gets access to the binder transport object, and unlinks the transport object 64 final Transport oldTransport = mTransport; 220 private static final class Transport extends IContentObserver.Stub { 223 public Transport(ContentObserver contentObserver) {
|
/external/ksoap2/ksoap2-base/src/main/java/org/ksoap2/transport/ |
Transport.java | 24 package org.ksoap2.transport; 36 * transport layers. This class encapsulates the serialization and 40 abstract public class Transport { 64 public Transport() { 67 public Transport(String url) { 71 public Transport(String url, int timeout) { 76 public Transport(String url, int timeout, int bufferLength) { 83 * Construct the transport object 90 public Transport(Proxy proxy, String url) { 95 public Transport(Proxy proxy, String url, int timeout) [all...] |
/external/webrtc/webrtc/voice_engine/include/ |
voe_network.h | 38 #include "webrtc/transport.h" 58 // Installs and enables a user-defined external transport protocol for a 60 virtual int RegisterExternalTransport(int channel, Transport& transport) = 0; 62 // Removes and disables a user-defined external transport protocol for a 67 // function when external transport is enabled. Note that the data 81 // function when external transport is enabled. Note that the data
|