Home
last modified time | relevance | path

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

12

/system/hwservicemanager/
DVintf.cpp14 vintf::Transport getTransportFromManifest( in getTransportFromManifest()
18 return vintf::Transport::EMPTY; in getTransportFromManifest()
25 vintf::Transport getTransport(const std::string &interfaceName, const std::string &instanceName) { in getTransport()
29 return vintf::Transport::EMPTY; in getTransport()
34 return vintf::Transport::EMPTY; in getTransport()
39 return vintf::Transport::EMPTY; in getTransport()
42 vintf::Transport tr = getTransportFromManifest(fqName, instanceName, in getTransport()
44 if (tr != vintf::Transport::EMPTY) { in getTransport()
49 if (tr != vintf::Transport::EMPTY) { in getTransport()
56 return vintf::Transport::EMPTY; in getTransport()
DServiceManager.cpp231 Return<ServiceManager::Transport> ServiceManager::getTransport(const hidl_string& fqName, in getTransport()
237 return Transport::EMPTY; in getTransport()
241 case vintf::Transport::HWBINDER: in getTransport()
242 return Transport::HWBINDER; in getTransport()
243 case vintf::Transport::PASSTHROUGH: in getTransport()
244 return Transport::PASSTHROUGH; in getTransport()
245 case vintf::Transport::EMPTY: in getTransport()
247 return Transport::EMPTY; in getTransport()
DVintf.h13 vintf::Transport getTransport(const std::string &interfaceName,
DServiceManager.h36 Return<Transport> getTransport(const hidl_string& fqName,
/system/core/fastboot/
Dprotocol.cpp51 static int check_response(Transport* transport, uint32_t size, char* response) { in check_response()
108 static int _command_start(Transport* transport, const char* cmd, uint32_t size, char* response) { in _command_start()
128 static int _command_data(Transport* transport, const void* data, uint32_t size) { in _command_data()
143 static int _command_end(Transport* transport) { in _command_end()
147 static int _command_send(Transport* transport, const char* cmd, const void* data, uint32_t size, in _command_send()
171 static int _command_send_no_data(Transport* transport, const char* cmd, char* response) { in _command_send_no_data()
175 int fb_command(Transport* transport, const char* cmd) { in fb_command()
179 int fb_command_response(Transport* transport, const char* cmd, char* response) { in fb_command_response()
183 int fb_download_data(Transport* transport, const void* data, uint32_t size) { in fb_download_data()
196 Transport* transport = reinterpret_cast<Transport*>(priv); in fb_download_data_sparse_write()
[all …]
Dfastboot.h42 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);
67 int fb_execute_queue(Transport* transport);
Dtransport.h24 class Transport {
26 Transport() = default;
27 virtual ~Transport() = default;
45 DISALLOW_COPY_AND_ASSIGN(Transport);
Dtcp.h46 std::unique_ptr<Transport> Connect(const std::string& hostname, int port, std::string* error);
53 std::unique_ptr<Transport> Connect(std::unique_ptr<Socket> sock, std::string* error);
Dudp.h44 std::unique_ptr<Transport> Connect(const std::string& hostname, int port, std::string* error);
75 std::unique_ptr<Transport> Connect(std::unique_ptr<Socket> sock, std::string* error);
Dusbtest.cpp89 int test_null(Transport* usb) in test_null()
108 int test_zero(Transport* usb) in test_zero()
130 int (*test)(Transport* usb);
180 Transport* usb; in main()
Dfastboot.cpp248 static Transport* open_device() { in open_device()
249 static Transport* transport = nullptr; in open_device()
748 static int64_t get_target_sparse_limit(Transport* transport) { in get_target_sparse_limit()
770 static int64_t get_sparse_limit(Transport* transport, int64_t size) { in get_sparse_limit()
798 static bool needs_erase(Transport* transport, const char* partition) { in needs_erase()
806 static bool load_buf_fd(Transport* transport, int fd, struct fastboot_buffer* buf) { in load_buf_fd()
832 static bool load_buf(Transport* transport, const char* fname, struct fastboot_buffer* buf) { in load_buf()
869 static std::string get_current_slot(Transport* transport) in get_current_slot()
881 static std::vector<std::string> get_suffixes_obsolete(Transport* transport) { in get_suffixes_obsolete()
898 static bool supports_AB_obsolete(Transport* transport) { in supports_AB_obsolete()
[all …]
Dtcp.cpp56 class TcpTransport : public Transport {
181 std::unique_ptr<Transport> Connect(const std::string& hostname, int port, std::string* error) { in Connect()
188 std::unique_ptr<Transport> Connect(std::unique_ptr<Socket> sock, std::string* error) { in Connect()
Dusb.h58 Transport* usb_open(ifc_match_func callback);
Dudp.cpp102 class UdpTransport : public Transport {
373 std::unique_ptr<Transport> Connect(const std::string& hostname, int port, std::string* error) { in Connect()
380 std::unique_ptr<Transport> Connect(std::unique_ptr<Socket> sock, std::string* error) { in Connect()
Dusb_windows.cpp69 class WindowsUsbTransport : public Transport {
360 Transport* usb_open(ifc_match_func callback) in usb_open()
/system/libvintf/
DTransportArch.cpp24 return transport == Transport::EMPTY && arch == Arch::ARCH_EMPTY; in empty()
29 case Transport::EMPTY: // fallthrough in isValid()
30 case Transport::HWBINDER: in isValid()
33 case Transport::PASSTHROUGH: in isValid()
/system/libvintf/include/vintf/
DTransportArch.h28 Transport transport = Transport::EMPTY;
DTransport.h28 enum class Transport : size_t { enum
DManifestHal.h47 inline Transport transport() const { in transport()
Dparse_string.h32 std::ostream &operator<<(std::ostream &os, Transport tr);
55 bool parse(const std::string &s, Transport *tr);
DHalManifest.h52 Transport getTransport(const std::string &name, const Version &v,
/system/libvintf/test/
Dmain.cpp105 .transportArch = {Transport::HWBINDER, Arch::ARCH_EMPTY}, in testDeviceManifest()
115 .transportArch = {Transport::PASSTHROUGH, Arch::ARCH_32_64}, in testDeviceManifest()
130 .transportArch = {Transport::HWBINDER, Arch::ARCH_EMPTY}, in testFrameworkManfiest()
184 EXPECT_EQ(Transport::HWBINDER, vm.getTransport("android.hardware.camera", in TEST_F()
328 EXPECT_EQ(Transport::PASSTHROUGH, in TEST_F()
330 EXPECT_EQ(Transport::PASSTHROUGH, in TEST_F()
332 EXPECT_EQ(Transport::EMPTY, in TEST_F()
334 EXPECT_EQ(Transport::HWBINDER, in TEST_F()
591 .transportArch = {Transport::PASSTHROUGH, Arch::ARCH_32_64} in TEST_F()
/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);
/system/tpm/attestation/server/
Dattestation_service.h102 const std::shared_ptr<brillo::http::Transport>& transport) { in set_http_transport()
276 std::shared_ptr<brillo::http::Transport> http_transport_;

12