/external/webrtc/webrtc/ |
transport.h | 28 class Transport { 36 virtual ~Transport() {}
|
/external/libbrillo/brillo/http/ |
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_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_curl.cc | 34 class Transport::SocketPollData : public base::MessageLoopForIO::Watcher { 38 Transport* transport, 42 transport_(transport), 76 // CURL multi-handle associated with the transport. 78 // Transport object itself. 79 Transport* transport_; 90 struct Transport::AsyncRequestData { 101 Transport::Transport(const std::shared_ptr<CurlInterface>& curl_interface 330 auto transport = static_cast<Transport*>(userp); local 397 auto transport = static_cast<Transport*>(userp); local [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...] |
http_transport_fake.h | 28 // A fake implementation of http::Transport that simulates HTTP communication 31 class Transport : public http::Transport { 33 Transport(); 34 ~Transport() override; 68 // For tests that wish to simulate critical transport errors, this method 85 // Overrides from http::Transport. 118 DISALLOW_COPY_AND_ASSIGN(Transport);
|
/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);
|
/system/libvintf/include/vintf/ |
Transport.h | 28 enum class Transport : size_t {
|
/system/netd/server/dns/ |
DnsTlsDispatcher.h | 67 // This lock is static so that it can be used to annotate the Transport struct. 75 // Transport is a thin wrapper around DnsTlsTransport, adding reference counting and 77 struct Transport { 78 Transport(const DnsTlsServer& server, unsigned mark, 80 transport(server, mark, factory) {} 82 DnsTlsTransport transport; member in struct:android::net::DnsTlsDispatcher::Transport 93 std::map<Key, std::unique_ptr<Transport>> mStore GUARDED_BY(sLock);
|
/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...] |
transport.h | 11 // A Transport manages a set of named channels of the same type. 18 // On Threading: Transport performs work solely on the worker thread, and so 66 // Transport is closed. 81 // Stats that we can return about the connections for a transport channel. 130 // Information about all the channels of a transport. 134 // Information about the stats of a transport. 159 class Transport : public sigslot::has_slots<> { 161 Transport(const std::string& name, PortAllocator* allocator); 162 virtual ~Transport(); 164 // Returns the name of this transport [all...] |
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Usb/UsbMassStorageDxe/ |
UsbMass.h | 2 Definition of USB Mass Storage Class and its value, USB Mass Transport Protocol,
58 Initializes USB transport protocol.
60 This function initializes the USB mass storage class transport protocol.
67 @retval EFI_UNSUPPORTED The transport protocol doesn't support the device.
68 @retval Other The USB transport initialization fails.
79 Execute USB mass storage command through the transport protocol.
81 @param Context The USB Transport Protocol.
110 Reset the USB mass storage device by Transport protocol.
112 @param Context The USB Transport Protocol
130 @param Context The context of the transport protocol. [all...] |
UsbMassBoot.c | 39 USB_MASS_TRANSPORT *Transport;
43 Transport = UsbMass->Transport;
55 Status = Transport->ExecCommand (
170 USB_MASS_TRANSPORT *Transport;
174 Transport = UsbMass->Transport;
175 Status = Transport->ExecCommand (
[all...] |
UsbMassImpl.c | 19 // Array of USB transport interfaces.
69 Status = UsbMass->Transport->Reset (UsbMass->Context, ExtendedVerification);
368 Initilize the USB Mass Storage transport.
370 This function tries to find the matching USB Mass Storage transport
371 protocol for USB device. If found, initializes the matching transport.
375 @param Transport The pointer to pointer to USB_MASS_TRANSPORT.
380 @retval EFI_UNSUPPORTED No matching transport protocol is found.
388 OUT USB_MASS_TRANSPORT **Transport,
420 // matching transport protocol.
422 // If found, execute USB_MASS_TRANSPORT.Init() to initialize the transport context. [all...] |
/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/python/cpython3/Lib/asyncio/ |
transports.py | 1 """Abstract Transport class.""" 6 'Transport', 'DatagramTransport', 'SubprocessTransport', 19 """Get optional transport information.""" 23 """Return True if the transport is closing or closed.""" 27 """Close the transport. 94 """Write some data bytes to the transport. 102 """Write a list (or any iterable) of data bytes to the transport. 120 """Return True if this transport supports write_eof(), False if not.""" 124 """Close the transport immediately. 133 class Transport(ReadTransport, WriteTransport) [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) {
|
/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/accounts/ |
AbstractAccountAuthenticator.java | 155 private class Transport extends IAccountAuthenticator.Stub { 522 private Transport mTransport = new Transport(); [all...] |
/frameworks/base/tests/AccessoryDisplay/common/src/com/android/accessorydisplay/common/ |
Transport.java | 28 * A simple message transport. 31 * are always delivered on the {@link Looper} thread on which the transport 35 public abstract class Transport { 40 // The transport thread looper and handler. 46 // The output buffer. Set to null when the transport is closed. 58 public Transport(Logger logger, int maxPacketSize) { 74 * Gets the handler on the transport's thread. 81 * Closes the transport. 115 mLogger.logError("Send message failed because transport was closed."); 165 throw new IllegalStateException("Transport has been closed") [all...] |
/system/bt/service/common/bluetooth/ |
low_energy_constants.h | 58 enum Transport { TRANSPORT_AUTO = 0, TRANSPORT_BREDR = 1, TRANSPORT_LE = 2 };
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_xmlrpc.py | 669 p("transport").close() #same as above, really.
688 class Transport(xmlrpclib.Transport):
689 #custom transport, stores the response length for our perusal
693 return xmlrpclib.Transport.parse_response(self, response)
699 return xmlrpclib.Transport.send_content(self, connection, body)
705 t = self.Transport()
707 p = xmlrpclib.ServerProxy(URL, transport=t)
716 t = self.Transport()
719 p = xmlrpclib.ServerProxy(URL, transport=t) [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
xmlrpclib.py | 29 # 2001-09-03 fl Allow Transport subclass to override getparser
120 Transport Handles an HTTP transaction to an XML-RPC server
229 # transport layer, if the server returns an error code other than 200
471 # Wrapper for binary data. This can be used to transport any kind
[all...] |
/external/python/cpython2/Lib/test/ |
test_xmlrpc.py | 766 p("transport").close() #same as above, really. 786 class Transport(xmlrpclib.Transport): 787 #custom transport, stores the response length for our perusal 791 return xmlrpclib.Transport.parse_response(self, response) 797 return xmlrpclib.Transport.send_content(self, connection, body) 803 t = self.Transport() 805 p = xmlrpclib.ServerProxy(URL, transport=t) 814 t = self.Transport() 817 p = xmlrpclib.ServerProxy(URL, transport=t [all...] |
/external/python/cpython2/Lib/ |
xmlrpclib.py | 29 # 2001-09-03 fl Allow Transport subclass to override getparser 121 Transport Handles an HTTP transaction to an XML-RPC server 230 # transport layer, if the server returns an error code other than 200 472 # Wrapper for binary data. This can be used to transport any kind [all...] |