Home
last modified time | relevance | path

Searched refs:Transport (Results 1 – 25 of 38) sorted by relevance

12

/system/hwservicemanager/
DVintf.cpp29 vintf::Transport getTransportFromManifest( in getTransportFromManifest()
33 return vintf::Transport::EMPTY; in getTransportFromManifest()
39 vintf::Transport getTransport(const std::string &interfaceName, const std::string &instanceName) { in getTransport()
45 return vintf::Transport::EMPTY; in getTransport()
50 return vintf::Transport::EMPTY; in getTransport()
55 return vintf::Transport::EMPTY; in getTransport()
58 vintf::Transport tr = getTransportFromManifest(fqName, instanceName, in getTransport()
60 if (tr != vintf::Transport::EMPTY) { in getTransport()
65 if (tr != vintf::Transport::EMPTY) { in getTransport()
71 return vintf::Transport::EMPTY; in getTransport()
DVintf.h31 vintf::Transport getTransport(const std::string &interfaceName,
DServiceManager.cpp409 Return<ServiceManager::Transport> ServiceManager::getTransport(const hidl_string& fqName, in getTransport()
414 return Transport::EMPTY; in getTransport()
418 case vintf::Transport::HWBINDER: in getTransport()
419 return Transport::HWBINDER; in getTransport()
420 case vintf::Transport::PASSTHROUGH: in getTransport()
421 return Transport::PASSTHROUGH; in getTransport()
422 case vintf::Transport::EMPTY: in getTransport()
424 return Transport::EMPTY; in getTransport()
/system/core/fastboot/
Dtransport.h23 class Transport {
25 Transport() = default;
26 virtual ~Transport() = default;
46 DISALLOW_COPY_AND_ASSIGN(Transport);
Dtcp.h45 std::unique_ptr<Transport> Connect(const std::string& hostname, int port, std::string* error);
52 std::unique_ptr<Transport> Connect(std::unique_ptr<Socket> sock, std::string* error);
Dudp.h43 std::unique_ptr<Transport> Connect(const std::string& hostname, int port, std::string* error);
74 std::unique_ptr<Transport> Connect(std::unique_ptr<Socket> sock, std::string* error);
Dfastboot_driver.h44 class Transport; variable
71 FastBootDriver(Transport* transport, DriverCallbacks driver_callbacks = {},
127 Transport* set_transport(Transport* transport);
128 Transport* transport() const { return transport_; } in transport()
145 Transport* transport_;
Dtcp.cpp56 class TcpTransport : public Transport {
186 std::unique_ptr<Transport> Connect(const std::string& hostname, int port, std::string* error) { in Connect()
193 std::unique_ptr<Transport> Connect(std::unique_ptr<Socket> sock, std::string* error) { in Connect()
Dusb.h57 class UsbTransport : public Transport {
Dudp.cpp102 class UdpTransport : public Transport {
378 std::unique_ptr<Transport> Connect(const std::string& hostname, int port, std::string* error) { in Connect()
385 std::unique_ptr<Transport> Connect(std::unique_ptr<Socket> sock, std::string* error) { in Connect()
/system/libvintf/
DTransportArch.cpp26 return transport == Transport::EMPTY && arch == Arch::ARCH_EMPTY; in empty()
35 case Transport::EMPTY: // fallthrough in isValid()
36 case Transport::HWBINDER: in isValid()
45 case Transport::PASSTHROUGH: in isValid()
DHalManifest.cpp186 Transport HalManifest::getHidlTransport(const std::string& package, const Version& v, in getHidlTransport()
189 Transport transport{Transport::EMPTY}; in getHidlTransport()
194 return transport == Transport::EMPTY; // if not found, continue in getHidlTransport()
196 if (transport == Transport::EMPTY) { in getHidlTransport()
571 bool HalManifest::insertInstance(const FqInstance& fqInstance, Transport transport, Arch arch, in insertInstance()
/system/libvintf/include/vintf/
DTransportArch.h28 Transport transport = Transport::EMPTY;
32 TransportArch(Transport t, Arch a) : transport(t), arch(a) {} in TransportArch()
DTransport.h28 enum class Transport : size_t { enum
DManifestInstance.h46 Transport transport() const;
DHalManifest.h74 Transport getHidlTransport(const std::string& name, const Version& v,
141 bool insertInstance(const FqInstance& fqInstance, Transport transport, Arch arch, HalFormat fmt,
DManifestHal.h60 inline Transport transport() const { in transport()
/system/core/fastboot/fuzzy_fastboot/
Dtransport_sniffer.h50 class TransportSniffer : public Transport {
70 TransportSniffer(std::unique_ptr<Transport> transport, const int serial_fd = 0);
84 std::unique_ptr<Transport> transport_;
/system/libhidl/transport/
DServiceManagement.cpp487 Return<Transport> getTransport(const hidl_string& /* fqName */, in getTransport()
490 return Transport::EMPTY; in getTransport()
770 using Transport = IServiceManager1_0::Transport; in getRawServiceInternal() typedef
774 Transport transport = Transport::EMPTY; in getRawServiceInternal()
776 transport = Transport::PASSTHROUGH; in getRawServiceInternal()
784 Return<Transport> transportRet = sm->getTransport(descriptor, instance); in getRawServiceInternal()
794 const bool vintfHwbinder = (transport == Transport::HWBINDER); in getRawServiceInternal()
795 const bool vintfPassthru = (transport == Transport::PASSTHROUGH); in getRawServiceInternal()
798 const bool vintfLegacy = (transport == Transport::EMPTY) && allowLegacy; in getRawServiceInternal()
878 using Transport = IServiceManager1_0::Transport; in registerAsServiceInternal() typedef
[all …]
/system/core/fastboot/device/
Dfastboot_device.h51 Transport* get_transport() { return transport_.get(); } in get_transport()
66 std::unique_ptr<Transport> transport_;
Dusb_client.h24 class ClientUsbTransport : public Transport {
Dtcp_client.h23 class ClientTcpTransport : public Transport {
/system/libvintf/xsd/halManifest/api/
Dcurrent.txt10 method public hal.manifest.Hal.Transport getTransport();
16 method public void setTransport(hal.manifest.Hal.Transport);
19 public static class Hal.Transport {
20 ctor public Hal.Transport();
/system/bt/service/common/bluetooth/
Dlow_energy_constants.h58 enum Transport { TRANSPORT_AUTO = 0, TRANSPORT_BREDR = 1, TRANSPORT_LE = 2 }; enum
/system/libhidl/transport/manager/1.0/
DIServiceManager.hal76 enum Transport : uint8_t {
88 * @return transport Transport of service if known.
90 getTransport(string fqName, string name) generates (Transport transport);

12