Home
last modified time | relevance | path

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

12345678910

/packages/modules/adb/
Dsocket_spec_test.cpp31 int port; in TEST() local
42 int port; in TEST() local
51 int port; in TEST() local
59 int port; in TEST() local
68 int port; in TEST() local
77 int port; in TEST() local
86 int port; in TEST() local
94 int port; in TEST() local
102 int port; in TEST() local
113 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()
342 int port; local
376 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
/packages/modules/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()
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/lib/libimsmedia/core/utils/
DImsMediaNetworkUtil.cpp27 const sockaddr_storage& ss, char* ipAddress, int len, unsigned int& port) in GetIpPortFromSockAddr()
67 const int nSocketFD, char* pIPAddress, int len, unsigned int& port) in getLocalIpPortFromSocket()
89 const int nSocketFD, char* pIPAddress, int len, unsigned int& port) in getRemoteIpPortFromSocket()
110 int ImsMediaNetworkUtil::openSocket(const char* pIPAddr, unsigned int port, int af) in openSocket()
160 const int socketFd, const char* pIPAddr, unsigned int port, int af) in connectSocket()
/packages/modules/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
Dmdnsresponder_client.cpp111 uint32_t interface_index, const std::string& host_target, uint16_t port, in ResolvedService()
215 auto port = s->port(); in AddToServiceRegistry() local
246 uint16_t port() const { return port_; } in port() function in __anondc8b34cc0111::ResolvedService
309 auto port = service->port(); in ForEachService() local
483 const char* host_target, uint16_t port, in register_resolved_mdns_service()
582 const std::string& ip_addr, uint16_t port) { in mdns_list_discovered_services()
612 uint16_t port) { info.emplace(service_name, reg_type, ip_addr, port); }; in mdns_get_connect_service_info()
661 uint16_t port) { info.emplace(service_name, reg_type, ip_addr, port); }; in mdns_get_pairing_service_info()
/packages/modules/Connectivity/framework/src/android/net/
DProxyInfo.java71 public static ProxyInfo buildDirectProxy(String host, int port) { in buildDirectProxy()
84 public static ProxyInfo buildDirectProxy(String host, int port, List<String> exclList) { in buildDirectProxy()
102 public static ProxyInfo buildPacProxy(@NonNull Uri pacUrl, int port) { in buildPacProxy()
111 public ProxyInfo(String host, int port, String exclList) { in ProxyInfo()
157 private ProxyInfo(String host, int port, String exclList, String[] parsedExclList) { in ProxyInfo()
DNetwork.java201 private Socket connectToHost(String host, int port, SocketAddress localAddress) in connectToHost()
226 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) in createSocket()
232 public Socket createSocket(InetAddress address, int port, InetAddress localAddress, in createSocket()
247 public Socket createSocket(InetAddress host, int port) throws IOException { in createSocket()
260 public Socket createSocket(String host, int port) throws IOException { in createSocket()
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DConnectivityNativeService.java75 private void ensureValidPortNumber(int port) { in ensureValidPortNumber()
92 public void blockPortForBind(int port) { in blockPortForBind()
103 public void unblockPortForBind(int port) { in unblockPortForBind()
/packages/modules/Connectivity/service/aidl_api/connectivity_native_aidl_interface/current/android/net/connectivity/aidl/
DConnectivityNative.aidl36 void blockPortForBind(in int port); in blockPortForBind()
37 void unblockPortForBind(in int port); in unblockPortForBind()
/packages/modules/Connectivity/service/binder/android/net/connectivity/aidl/
DConnectivityNative.aidl33 void blockPortForBind(in int port); in blockPortForBind()
46 void unblockPortForBind(in int port); in unblockPortForBind()
/packages/modules/Connectivity/service/aidl_api/connectivity_native_aidl_interface/1/android/net/connectivity/aidl/
DConnectivityNative.aidl36 void blockPortForBind(in int port); in blockPortForBind()
37 void unblockPortForBind(in int port); in unblockPortForBind()
/packages/modules/DeviceLock/DeviceLockController/src/com/android/devicelockcontroller/provision/grpc/impl/
DChannelFactory.java38 default ManagedChannel buildChannel(String host, int port) { in buildChannel()
50 ManagedChannel buildChannel(String host, int port, @Nullable SocketFactory socketFactory); in buildChannel()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/managedomainurls/
DDomainUrlsUtilsTest.java127 String port = "80"; in getHandledDomains_includeBrowsableIntentFiltersWithHttpDataScheme() local
146 String port = "80"; in getHandledDomains_includeBrowsableIntentFiltersWithHttpsDataScheme() local
166 String port = "80"; in getHandledDomains_excludeBrowsableIntentFiltersWithOtherDataScheme() local
/packages/modules/Connectivity/service/libconnectivity/src/
Dconnectivity_native.cpp47 int AConnectivityNative_blockPortForBind(in_port_t port) { in AConnectivityNative_blockPortForBind()
56 int AConnectivityNative_unblockPortForBind(in_port_t port) { in AConnectivityNative_unblockPortForBind()
/packages/modules/Bluetooth/android/pandora/mmi2grpc/mmi2grpc/
D_rootcanal.py25 def __init__(self, port): argument
41 def __init__(self, port): argument
99 def __init__(self, port): argument
/packages/modules/Bluetooth/android/app/aidl/android/bluetooth/
DIBluetoothSocketManager.aidl31 …nnectSocket(in BluetoothDevice device, int type, in @nullable ParcelUuid uuid, int port, int flag); in connectSocket()
33 …annel(int type, in @nullable String serviceName, in @nullable ParcelUuid uuid, int port, int flag); in createSocketChannel()
/packages/services/Iwlan/src/com/google/android/iwlan/epdg/
DSrvDnsResolver.java68 public SrvRecordInetAddress(InetAddress inetAddress, int port) { in SrvRecordInetAddress()
95 public final int port; field in SrvDnsResolver.SrvResponse.SrvRecord
290 int port = targetNameToSrvRecord.getValue().port; in composeSrvRecordResult() local
307 int port = targetNameToSrvRecord.getValue().port; in composeSrvRecordResult() local
/packages/services/Telephony/testapps/TestRcsApp/aosp_test_rcsclient/src/com/android/libraries/rcs/simpleclient/protocol/msrp/
DMsrpManager.java42 Network network, String host, int port, String localIp, int localPort, in createMsrpSession()
54 String host, int port, String localIp, int localPort, MsrpSessionListener listener) { in createMsrpSession()
/packages/modules/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()
200 void register_adb_secure_connect_service(int port) { in register_adb_secure_connect_service()
Dadb_wifi.cpp54 uint16_t port() { return port_; }; in port() function in __anon632f37d40111::TlsServer
64 TlsServer::TlsServer(int port) : port_(port) {} in TlsServer()
94 int port = socket_get_local_port(fd.get()); in Start() local
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/anqp/
DProtocolPortTuple.java51 public ProtocolPortTuple(int protocol, int port, int status) { in ProtocolPortTuple()
66 int port = (int) ByteBufferReader.readInteger(payload, ByteOrder.LITTLE_ENDIAN, 2) in parse() local
/packages/apps/Settings/src/com/android/settings/
DProxySelector.java146 int port = -1; in populateFields() local
189 public static int validate(String hostname, String port, String exclList) { in validate()
218 int port = 0; in saveToDb() local

12345678910