/packages/modules/adb/ |
D | test_adb.py | 294 server_port = find_open_port() 297 ["adb", "-L", "tcp:[::1]:{}".format(server_port), "server"], 306 ["adb", "-P", str(server_port), "kill-server"], 388 with adb_server() as server_port: 393 subprocess.check_output(["adb", "-P", str(server_port), 405 sock.connect(("localhost", server_port)) 410 subprocess.check_call(["adb", "-P", str(server_port), 412 output = subprocess.check_output(["adb", "-P", str(server_port), 500 with adb_server() as server_port: 503 output = subprocess.check_output(["adb", "-P", str(server_port), [all …]
|
/packages/modules/Connectivity/service-t/native/libs/libnetworkstats/ |
D | NetworkTracePollerTest.cpp | 134 __be16 server_port = 0; in TEST_F() local 142 if ((pkt.sport == server_port || pkt.dport == server_port) && in TEST_F() 168 server_port = bindAndListen(serversocket); in TEST_F() 169 ASSERT_NE(0, server_port) << "Can't bind to server port"; in TEST_F() 171 sockaddr_in addr = {.sin_family = AF_INET, .sin_port = server_port}; in TEST_F() 214 EXPECT_EQ(packets[0].dport, server_port) << PacketPrinter{packets}; in TEST_F() 221 EXPECT_EQ(packets[1].dport, server_port) << PacketPrinter{packets}; in TEST_F() 228 EXPECT_EQ(packets[2].sport, server_port) << PacketPrinter{packets}; in TEST_F() 234 EXPECT_EQ(packets[3].sport, server_port) << PacketPrinter{packets}; in TEST_F()
|
/packages/modules/Bluetooth/system/btif/src/ |
D | btif_sock_logging.cc | 57 int state, int role, int uid, int server_port, in btif_sock_connection_logger() argument 67 .channel = server_port, in btif_sock_connection_logger() 79 tx_bytes, rx_bytes, uid, server_port, in btif_sock_connection_logger()
|
D | btif_metrics_logging.cc | 86 int64_t tx_bytes, int64_t rx_bytes, int uid, int server_port, in log_socket_connection_state() argument 90 server_port, socket_role); in log_socket_connection_state()
|
/packages/modules/Bluetooth/system/blueberry/tests/sl4a_sl4a/lib/ |
D | sl4a_sl4a_base_test.py | 66 server_port = int(self.controller_configs[ANDROID_DEVICE_CONFIG_NAME][0]['server_port']) 68 setup_sl4a(self.dut, server_port, forwarded_port) 72 server_port = int(self.controller_configs[ANDROID_DEVICE_CONFIG_NAME][1]['server_port']) 74 setup_sl4a(self.cert, server_port, forwarded_port)
|
/packages/modules/adb/daemon/ |
D | main.cpp | 95 static void drop_privileges(int server_port) { in drop_privileges() argument 204 int adbd_main(int server_port) { in adbd_main() argument 240 drop_privileges(server_port); in adbd_main()
|
/packages/modules/Bluetooth/system/blueberry/utils/ |
D | mobly_sl4a_utils.py | 35 def setup_sl4a(device: AndroidDevice, server_port: int, forwarded_port: int): 44 sl4a_client._DEVICE_SIDE_PORT = server_port
|
/packages/modules/Bluetooth/system/blueberry/tests/gd_sl4a/lib/ |
D | gd_sl4a_base_test.py | 57 server_port = int(self.controller_configs[ANDROID_DEVICE_COFNIG_NAME][0]['server_port']) 60 setup_sl4a(self.dut, server_port, forwarded_port)
|
/packages/modules/Bluetooth/system/test/mock/ |
D | mock_main_shim_metrics_api.h | 293 int64_t tx_bytes, int64_t rx_bytes, int uid, int server_port, 305 int64_t tx_bytes, int64_t rx_bytes, int uid, int server_port, in operator() 308 server_port, socket_role); in operator()
|
D | mock_main_shim_metrics_api.cc | 178 int64_t tx_bytes, int64_t rx_bytes, int uid, int server_port, in LogMetricSocketConnectionState() argument 183 server_port, socket_role); in LogMetricSocketConnectionState()
|
/packages/modules/Bluetooth/system/btif/include/ |
D | btif_sock_logging.h | 22 int state, int role, int uid, int server_port,
|
D | btif_metrics_logging.h | 63 int64_t tx_bytes, int64_t rx_bytes, int uid, int server_port,
|
/packages/modules/Bluetooth/system/main/shim/ |
D | metrics_api.cc | 151 int64_t tx_bytes, int64_t rx_bytes, int uid, int server_port, in LogMetricSocketConnectionState() argument 156 server_port, socket_role); in LogMetricSocketConnectionState()
|
D | metrics_api.h | 239 int64_t tx_bytes, int64_t rx_bytes, int uid, int server_port,
|
/packages/modules/Bluetooth/system/gd/os/android/ |
D | metrics.cc | 375 int server_port, in LogMetricSocketConnectionState() argument 390 server_port, in LogMetricSocketConnectionState() 404 server_port, in LogMetricSocketConnectionState()
|
/packages/modules/Bluetooth/system/gd/os/linux/ |
D | metrics.cc | 44 int server_port, in LogMetricSocketConnectionState() argument
|
/packages/modules/Bluetooth/system/common/ |
D | metrics_linux.cc | 99 int64_t tx_bytes, int64_t rx_bytes, int uid, int server_port, in LogSocketConnectionState() argument
|
D | metrics.h | 478 int64_t tx_bytes, int64_t rx_bytes, int uid, int server_port,
|
D | metrics.cc | 855 int64_t tx_bytes, int64_t rx_bytes, int uid, int server_port, in LogSocketConnectionState() argument 870 rx_bytes, uid, server_port, socket_role, metric_id); in LogSocketConnectionState() 876 server_port, socket_role, ret); in LogSocketConnectionState()
|
/packages/modules/Bluetooth/system/gd/os/ |
D | metrics.h | 297 int server_port,
|
/packages/modules/Bluetooth/system/gd/os/chromeos/ |
D | metrics.cc | 49 int server_port, in LogMetricSocketConnectionState() argument
|
/packages/modules/adb/client/ |
D | commandline.cpp | 1642 int server_port = DEFAULT_ADB_PORT; in adb_commandline() local 1645 if (!android::base::ParseInt(server_port_str, &server_port, 1, 65535)) { in adb_commandline() 1656 rc = asprintf(&temp, "tcp:%s:%d", server_host_str, server_port); in adb_commandline() 1658 rc = asprintf(&temp, "tcp:%d", server_port); in adb_commandline()
|