Home
last modified time | relevance | path

Searched defs:port (Results 1 – 25 of 77) sorted by relevance

1234

/system/core/adb/sysdeps/posix/
Dnetwork.cpp38 static sockaddr* loopback_addr4(sockaddr_storage* addr, socklen_t* addrlen, int port) { in loopback_addr4()
48 static sockaddr* loopback_addr6(sockaddr_storage* addr, socklen_t* addrlen, int port) { in loopback_addr6()
58 static int _network_loopback_client(bool ipv6, int port, int type, std::string* error) { in _network_loopback_client()
84 int network_loopback_client(int port, int type, std::string* error) { in network_loopback_client()
93 static int _network_loopback_server(bool ipv6, int port, int type, std::string* error) { in _network_loopback_server()
122 int network_loopback_server(int port, int type, std::string* error, bool prefer_ipv4) { in network_loopback_server()
136 int network_connect(const std::string& host, int port, int type, int timeout, std::string* error) { in network_connect()
/system/core/adb/
Dsocket_spec_test.cpp29 int port; in TEST() local
36 int port; in TEST() local
45 int port; in TEST() local
53 int port; in TEST() local
62 int port; in TEST() local
71 int port; in TEST() local
79 int port; in TEST() local
88 int port; in TEST() local
97 int port; in TEST() local
135 int port; in TEST() local
[all …]
Dsocket_spec.cpp78 bool parse_tcp_socket_spec(std::string_view spec, std::string* hostname, int* port, in parse_tcp_socket_spec()
121 int port; in get_host_socket_spec_port() local
186 bool socket_spec_connect(unique_fd* fd, std::string_view address, int* port, std::string* serial, in socket_spec_connect()
327 int port; local
361 int port; local
Dtest_adb.py45 def fake_adbd(protocol=socket.AF_INET, port=0): argument
496 def _devices(port): argument
641 def _mdns_services(port): argument
646 def _devices(port): argument
Dadb_wifi.h38 uint16_t port = 0; member
/system/libbase/
Dparsenetaddress_test.cpp25 int port = 123; in TEST() local
42 int port = 123; in TEST() local
57 int port = 123; in TEST() local
84 int port; in TEST() local
122 int port = 42; in TEST() local
Dparsenetaddress.cpp27 bool ParseNetAddress(const std::string& address, std::string* host, int* port, in ParseNetAddress()
/system/core/adb/client/
Dtransport_local.cpp76 bool local_connect(int port) { in local_connect()
89 int port; in connect_device() local
106 int port; in connect_device() local
169 for (int port = DEFAULT_ADB_LOCAL_TRANSPORT_PORT; port <= adb_local_transport_max_port; in PollAllLocalPortsForEmulator() local
180 int port; member
210 for (auto& port : ports) { in client_socket_thread() local
245 RetryPort port; in ~EmulatorConnection() local
Dconsole.cpp60 int port; in adb_get_emulator_console_port() local
74 int port = -1; in adb_get_emulator_console_port() local
95 int port = adb_get_emulator_console_port(serial); in connect_to_console() local
Dtransport_mdns.cpp186 const char* hosttarget, uint16_t port, int version) in ResolvedService()
308 uint16_t port() const { return port_; } in port() function in ResolvedService
373 auto port = service->port(); in forEachService() local
560 DNSServiceErrorType errorCode, const char* fullname, const char* hosttarget, uint16_t port, in register_resolved_mdns_service()
669 uint16_t port) { in mdns_list_discovered_services()
698 uint16_t port) { info.emplace(service_name, reg_type, ip_addr, port); }; in mdns_get_connect_service_info()
743 uint16_t port) { info.emplace(service_name, reg_type, ip_addr, port); }; in mdns_get_pairing_service_info()
/system/bt/binder/android/bluetooth/
DIBluetoothSocketManager.aidl30 …nnectSocket(in BluetoothDevice device, int type, in @nullable ParcelUuid uuid, int port, int flag); in connectSocket()
31 …annel(int type, in @nullable String serviceName, in @nullable ParcelUuid uuid, int port, int flag); in createSocketChannel()
/system/bt/vendor_libs/test_vendor_lib/model/devices/
Dserver_port_factory.h43 int port; variable
Dserver_port_factory.cc30 ServerPortFactory::ServerPortFactory(int port, std::function<void(int fd)>& callback) { in ServerPortFactory()
35 int ServerPortFactory::SetUp(int port) { in SetUp()
/system/core/libcutils/
Dsocket_network_client_unix.cpp46 int socket_network_client_timeout(const char* host, int port, int type, int timeout, in socket_network_client_timeout()
122 int socket_network_client(const char* host, int port, int type) { in socket_network_client()
Dsocket_inaddr_any_server_windows.cpp37 SOCKET socket_inaddr_any_server(int port, int type) { in socket_inaddr_any_server()
Dsocket_network_client_windows.cpp33 SOCKET socket_network_client(const char* host, int port, int type) { in socket_network_client()
Dsocket_inaddr_any_server_unix.cpp33 int socket_inaddr_any_server(int port, int type) in socket_inaddr_any_server()
/system/core/adb/daemon/
Dmdns.cpp36 static int port; variable
65 static void register_mdns_service(int index, int port, const std::string service_name) { in register_mdns_service()
201 void register_adb_secure_connect_service(int port) { in register_adb_secure_connect_service()
Dadb_wifi.cpp57 uint16_t port() { return port_; }; in port() function in __anond60ce5ca0111::TlsServer
67 TlsServer::TlsServer(int port) : port_(port) {} in TlsServer()
97 int port = socket_get_local_port(fd.get()); in Start() local
Drestart_service.cpp57 void restart_tcp_service(unique_fd fd, int port) { in restart_tcp_service()
Dmain.cpp167 int port = -1; in setup_adb() local
257 int port; in adbd_main() local
/system/bt/gd/hal/
Dhci_hal_host_rootcanal.h38 void SetPort(uint16_t port) { in SetPort()
/system/netd/tests/
Dsock_diag_test.cpp37 uint16_t port = 1024 + arc4random_uniform(0xffff - 1024); in bindAndListen() local
75 uint16_t port = bindAndListen(listensocket); in TEST_F() local
187 uint16_t port = bindAndListen(listensocket); in TEST_F() local
/system/core/adb/pairing_connection/tests/
Dpairing_connection_test.cpp196 int port) { in CreateServer()
341 auto port = pairing_server_start(server_.get(), server_waiter.ResultCallback, &server_waiter); in TEST_F() local
380 auto port = pairing_server_start(server_.get(), server_waiter.ResultCallback, &server_waiter); in TEST_F() local
408 auto port = pairing_server_start(server.get(), server_waiter.ResultCallback, &server_waiter); in TEST_F() local
453 auto port = pairing_server_start(server.get(), server_waiter.ResultCallback, &server_waiter); in TEST_F() local
/system/netd/tests/benchmarks/
Dconnect_benchmark.cpp101 const int port = bindAndListen(listensocket); in ipv4_loopback() local
158 const int port = bindAndListen(listensocket); in ipv6_loopback() local

1234