/system/core/adb/sysdeps/posix/ |
D | network.cpp | 38 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/ |
D | socket_spec_test.cpp | 29 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 …]
|
D | socket_spec.cpp | 78 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
|
D | test_adb.py | 45 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
|
D | adb_wifi.h | 38 uint16_t port = 0; member
|
/system/libbase/ |
D | parsenetaddress_test.cpp | 25 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
|
D | parsenetaddress.cpp | 27 bool ParseNetAddress(const std::string& address, std::string* host, int* port, in ParseNetAddress()
|
/system/core/adb/client/ |
D | transport_local.cpp | 76 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
|
D | console.cpp | 60 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
|
D | transport_mdns.cpp | 186 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/ |
D | IBluetoothSocketManager.aidl | 30 …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/ |
D | server_port_factory.h | 43 int port; variable
|
D | server_port_factory.cc | 30 ServerPortFactory::ServerPortFactory(int port, std::function<void(int fd)>& callback) { in ServerPortFactory() 35 int ServerPortFactory::SetUp(int port) { in SetUp()
|
/system/core/libcutils/ |
D | socket_network_client_unix.cpp | 46 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()
|
D | socket_inaddr_any_server_windows.cpp | 37 SOCKET socket_inaddr_any_server(int port, int type) { in socket_inaddr_any_server()
|
D | socket_network_client_windows.cpp | 33 SOCKET socket_network_client(const char* host, int port, int type) { in socket_network_client()
|
D | socket_inaddr_any_server_unix.cpp | 33 int socket_inaddr_any_server(int port, int type) in socket_inaddr_any_server()
|
/system/core/adb/daemon/ |
D | mdns.cpp | 36 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()
|
D | adb_wifi.cpp | 57 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
|
D | restart_service.cpp | 57 void restart_tcp_service(unique_fd fd, int port) { in restart_tcp_service()
|
D | main.cpp | 167 int port = -1; in setup_adb() local 257 int port; in adbd_main() local
|
/system/bt/gd/hal/ |
D | hci_hal_host_rootcanal.h | 38 void SetPort(uint16_t port) { in SetPort()
|
/system/netd/tests/ |
D | sock_diag_test.cpp | 37 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/ |
D | pairing_connection_test.cpp | 196 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/ |
D | connect_benchmark.cpp | 101 const int port = bindAndListen(listensocket); in ipv4_loopback() local 158 const int port = bindAndListen(listensocket); in ipv6_loopback() local
|