HomeSort by relevance Sort by last modified time
    Searched refs:Transport (Results 1 - 25 of 241) sorted by null

1 2 3 4 5 6 7 8 910

  /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 43 #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...]
  /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) {
29 return vintf::Transport::EMPTY;
33 << " does not specify a version. Using default transport.";
34 return vintf::Transport::EMPTY;
38 << " does not specify an interface name. Using default transport.";
39 return vintf::Transport::EMPTY;
42 vintf::Transport tr = getTransportFromManifest(fqName, instanceName,
44 if (tr != 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() {}
  /system/libvintf/include/vintf/
TransportArch.h 22 #include "Transport.h"
28 Transport transport = Transport::EMPTY; member in struct:android::vintf::TransportArch
38 // <transport arch="32">passthrough</transport>
39 // <transport arch="64">passthrough</transport>
40 // <transport arch="32+64">passthrough</transport>
    [all...]
Transport.h 28 enum class Transport : size_t {
  /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 {
  /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...]

Completed in 313 milliseconds

1 2 3 4 5 6 7 8 910