/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 std::string& cmd); 43 int fb_command_response(Transport* transport, const std::string& cmd, char* response); 44 int64_t fb_download_data(Transport* transport, const void* data, uint32_t size); 45 int64_t fb_download_data_fd(Transport* transport, int fd, uint32_t size); 46 int fb_download_data_sparse(Transport* transport, struct sparse_file* s) [all...] |
usb.h | 32 #include "transport.h" 58 Transport* usb_open(ifc_match_func callback);
|
protocol.cpp | 48 #include "transport.h" 59 static int64_t check_response(Transport* transport, uint32_t size, char* response) { 63 int r = transport->Read(status, 64); 66 transport->Close(); 73 transport->Close(); 102 transport->Close(); 109 transport->Close(); 116 static int64_t _command_start(Transport* transport, const std::string& cmd, uint32_t size 277 Transport* transport = reinterpret_cast<Transport*>(priv); local [all...] |
/system/libvintf/ |
TransportArch.cpp | 24 return transport == Transport::EMPTY && arch == Arch::ARCH_EMPTY; 28 switch (transport) { 29 case Transport::EMPTY: // fallthrough 30 case Transport::HWBINDER: 33 case Transport::PASSTHROUGH:
|
/system/hwservicemanager/ |
Vintf.h | 4 #include <vintf/Transport.h> 9 // Get transport method from vendor interface manifest. 13 vintf::Transport getTransport(const std::string &interfaceName,
|
Vintf.cpp | 14 vintf::Transport getTransportFromManifest( 18 return vintf::Transport::EMPTY; 25 vintf::Transport getTransport(const std::string &interfaceName, const std::string &instanceName) { 30 return vintf::Transport::EMPTY; 35 return vintf::Transport::EMPTY; 40 return vintf::Transport::EMPTY; 43 vintf::Transport tr = getTransportFromManifest(fqName, instanceName, 45 if (tr != vintf::Transport::EMPTY) { 50 if (tr != vintf::Transport::EMPTY) { 57 return vintf::Transport::EMPTY [all...] |
/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...] |
/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() {}
|
/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/libvintf/include/vintf/ |
Transport.h | 28 enum class Transport : size_t {
|
TransportArch.h | 22 #include "Transport.h" 28 Transport transport = Transport::EMPTY; member in struct:android::vintf::TransportArch 32 return transport == other.transport && arch == other.arch; 35 if (transport < other.transport) return true; 36 if (transport > other.transport) return false [all...] |
/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...] |