Home
last modified time | relevance | path

Searched refs:socket_spec_connect (Results 1 – 6 of 6) sorted by relevance

/system/core/adb/
Dsocket_spec_test.cpp137 EXPECT_FALSE(socket_spec_connect(&client_fd, "tcp:localhost:7777", &port, &serial, &error)); in TEST()
140 EXPECT_TRUE(socket_spec_connect(&client_fd, "tcp:localhost:7777", &port, &serial, &error)); in TEST()
148 EXPECT_FALSE(socket_spec_connect(&client_fd, "tcp:", &port, &serial, &error)); in TEST()
149 EXPECT_FALSE(socket_spec_connect(&client_fd, "acceptfd:", &port, &serial, &error)); in TEST()
150 EXPECT_FALSE(socket_spec_connect(&client_fd, "vsock:", &port, &serial, &error)); in TEST()
151 EXPECT_FALSE(socket_spec_connect(&client_fd, "vsock:x", &port, &serial, &error)); in TEST()
152 EXPECT_FALSE(socket_spec_connect(&client_fd, "vsock:5", &port, &serial, &error)); in TEST()
153 EXPECT_FALSE(socket_spec_connect(&client_fd, "vsock:5:x", &port, &serial, &error)); in TEST()
154 EXPECT_FALSE(socket_spec_connect(&client_fd, "sneakernet:", &port, &serial, &error)); in TEST()
168 EXPECT_FALSE(socket_spec_connect(&client_fd, sock_addr, &port, &serial, &error)); in TEST()
[all …]
Dsocket_spec.h28 bool socket_spec_connect(unique_fd* fd, std::string_view address, int* port, std::string* serial,
Dservices.cpp82 if (!socket_spec_connect(&ret, name, nullptr, nullptr, &error)) { in service_to_fd()
Dsocket_spec.cpp186 bool socket_spec_connect(unique_fd* fd, std::string_view address, int* port, std::string* serial, in socket_spec_connect() function
/system/core/adb/client/
Dtransport_local.cpp99 socket_spec_connect(&fd, prefix_addr, &port, &serial, response); in connect_device()
108 socket_spec_connect(&fd, prefix_addr, &port, &serial, &response); in connect_device()
Dadb_client.cpp163 if (!socket_spec_connect(&fd, __adb_server_socket_spec, nullptr, nullptr, &reason)) { in _adb_connect()
197 if (!socket_spec_connect(&fd, __adb_server_socket_spec, nullptr, nullptr, &reason)) { in adb_kill_server()