Home
last modified time | relevance | path

Searched full:server_port (Results 1 – 25 of 27) sorted by relevance

12

/packages/modules/adb/
Dtest_adb.py294 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/
DNetworkTracePollerTest.cpp134 __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/blueberry/tests/sl4a_sl4a/lib/
Dsl4a_sl4a_base_test.py66 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/apps/Test/connectivity/PMC/res/layout/
Dactivity_setting.xml27 android:id="@+id/server_port"
35 android:text="@string/server_port" />
42 android:layout_below="@+id/server_port"
/packages/modules/Bluetooth/system/blueberry/utils/
Dmobly_sl4a_utils.py35 def setup_sl4a(device: AndroidDevice, server_port: int, forwarded_port: int):
39 :param server_port: Preferred server port used by SL4A on Android device
44 sl4a_client._DEVICE_SIDE_PORT = server_port
/packages/modules/Bluetooth/system/blueberry/tests/sl4a_sl4a/
Dsl4a_sl4a_device_config.yaml11 server_port: '8897'
18 server_port: '8899'
/packages/modules/Bluetooth/system/btif/src/
Dbtif_sock_logging.cc57 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()
Dbtif_metrics_logging.cc86 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/gd_sl4a/lib/
Dgd_sl4a_base_test.py57 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/main/shim/
Dmetrics_api.h230 * @param server_port server port of this socket, if any. When both
231 * |server_port| and |port| fields are populated, |port| must be spawned
232 * by |server_port|
239 int64_t tx_bytes, int64_t rx_bytes, int uid, int server_port,
Dmetrics_api.cc151 int64_t tx_bytes, int64_t rx_bytes, int uid, int server_port, in LogMetricSocketConnectionState() argument
156 server_port, socket_role); in LogMetricSocketConnectionState()
/packages/modules/Bluetooth/system/test/mock/
Dmock_main_shim_metrics_api.h287 // tx_bytes, int64_t rx_bytes, int uid, int server_port,
293 int64_t tx_bytes, int64_t rx_bytes, int uid, int server_port,
300 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()
Dmock_main_shim_metrics_api.cc178 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/gd/os/
Dmetrics.h283 * @param server_port server port of this socket, if any. When both
284 * |server_port| and |port| fields are populated, |port| must be spawned
285 * by |server_port|
297 int server_port,
/packages/modules/Bluetooth/system/common/
Dmetrics.h469 * @param server_port server port of this socket, if any. When both
470 * |server_port| and |port| fields are populated, |port| must be spawned
471 * by |server_port|
478 int64_t tx_bytes, int64_t rx_bytes, int uid, int server_port,
Dmetrics.cc855 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()
874 "uid {}, server_port {}, socket_role {}, error {}", in LogSocketConnectionState()
876 server_port, socket_role, ret); in LogSocketConnectionState()
Dmetrics_linux.cc99 int64_t tx_bytes, int64_t rx_bytes, int uid, int server_port, in LogSocketConnectionState() argument
/packages/modules/Bluetooth/system/gd/os/android/
Dmetrics.cc375 int server_port, in LogMetricSocketConnectionState() argument
390 server_port, in LogMetricSocketConnectionState()
395 "Failed for {}, port {}, type {}, state {}, tx_bytes {}, rx_bytes {}, uid {}, server_port " in LogMetricSocketConnectionState()
404 server_port, in LogMetricSocketConnectionState()
/packages/modules/adb/daemon/
Dmain.cpp95 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/btif/include/
Dbtif_sock_logging.h22 int state, int role, int uid, int server_port,
Dbtif_metrics_logging.h63 int64_t tx_bytes, int64_t rx_bytes, int uid, int server_port,
/packages/modules/Bluetooth/system/blueberry/tests/gd_sl4a/
Dgd_sl4a_device_config.yaml33 server_port: '8899'
/packages/apps/Test/connectivity/PMC/res/values/
Dstrings.xml37 <string name="server_port">Server Port</string>
/packages/modules/Bluetooth/system/gd/os/linux/
Dmetrics.cc44 int server_port, in LogMetricSocketConnectionState() argument
/packages/modules/Bluetooth/system/gd/os/host/
Dmetrics.cc44 int /* server_port */, in LogMetricSocketConnectionState()

12