Searched refs:socket_spec_connect (Results 1 – 6 of 6) sorted by relevance
/system/core/adb/ |
D | socket_spec_test.cpp | 137 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 …]
|
D | socket_spec.h | 28 bool socket_spec_connect(unique_fd* fd, std::string_view address, int* port, std::string* serial,
|
D | services.cpp | 82 if (!socket_spec_connect(&ret, name, nullptr, nullptr, &error)) { in service_to_fd()
|
D | socket_spec.cpp | 186 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/ |
D | transport_local.cpp | 99 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()
|
D | adb_client.cpp | 163 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()
|