Home
last modified time | relevance | path

Searched full:test_port (Results 1 – 16 of 16) sorted by relevance

/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DProxyInfoTest.java45 private static final int TEST_PORT = 5566; field in ProxyInfoTest
67 final ProxyInfo proxy1 = ProxyInfo.buildDirectProxy(TEST_HOST, TEST_PORT); in testBuildDirectProxy()
70 assertEquals(TEST_PORT, proxy1.getPort()); in testBuildDirectProxy()
77 final ProxyInfo proxy2 = ProxyInfo.buildDirectProxy(TEST_HOST, TEST_PORT, exclList); in testBuildDirectProxy()
80 assertEquals(TEST_PORT, proxy2.getPort()); in testBuildDirectProxy()
95 final ProxyInfo proxy2 = ProxyInfo.buildPacProxy(TEST_URI, TEST_PORT); in testBuildPacProxy()
98 assertEquals(TEST_PORT, proxy2.getPort()); in testBuildPacProxy()
106 final ProxyInfo proxy1 = ProxyInfo.buildDirectProxy(TEST_HOST, TEST_PORT); in testIsValid()
110 final ProxyInfo proxy2 = ProxyInfo.buildDirectProxy("", TEST_PORT); in testIsValid()
113 final ProxyInfo proxy3 = ProxyInfo.buildDirectProxy(".invalid.com", TEST_PORT); in testIsValid()
[all …]
/packages/modules/Connectivity/tests/common/java/android/net/
DNattKeepalivePacketDataTest.kt46 private val TEST_PORT = 4243 constant
80 srcPort: Int = TEST_PORT, in address()
89 nattKeepalivePacket(dstPort = TEST_PORT) in address()
108 NattKeepalivePacketData(TEST_SRC_ADDRV4, TEST_PORT, TEST_DST_ADDRV4, TEST_PORT, in address()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/
DMdnsRecordRepositoryTest.kt63 private const val TEST_PORT = 12345 in <lambda>() constant
82 port = TEST_PORT in <lambda>()
88 port = TEST_PORT in <lambda>()
94 port = TEST_PORT in <lambda>()
114 port = TEST_PORT in <lambda>()
122 port = TEST_PORT in <lambda>()
212 TEST_PORT, TEST_HOSTNAME), packet.authorityRecords[0]) in makeFlags()
458 TEST_PORT /* servicePort */, in testOnProbingSucceeded()
535 TEST_PORT /* servicePort */, in testGetOffloadPacket()
623 MdnsServiceRecord(serviceName, 0L, true, SHORT_TTL, 0, 0, TEST_PORT, TEST_HOSTNAME), in testGetReply_singlePtrQuestion_returnsSrvTxtAddressNsecRecords()
[all …]
DMdnsReplySenderTest.kt51 private const val TEST_PORT = 12345 constant
63 InetAddresses.parseNumericAddress("192.0.2.1"), TEST_PORT)
80 SHORT_TTL, 0 /* servicePriority */, 0 /* serviceWeight */, TEST_PORT, hostname),
96 SHORT_TTL, 0 /* servicePriority */, 0 /* serviceWeight */, TEST_PORT,
290 0 /* serviceWeight */, TEST_PORT, otherHostname)) in testQueueReply_MultiplePacket_WithMultipleQuestions()
302 0 /* serviceWeight */, TEST_PORT, otherHostname)) in testQueueReply_MultiplePacket_WithMultipleQuestions()
/packages/modules/Connectivity/tests/common/java/android/net/util/
DSocketUtilsTest.kt37 private const val TEST_PORT = 555 constant
45 val nlAddress = SocketUtils.makeNetlinkSocketAddress(TEST_PORT, RTMGRP_NEIGH) in testMakeNetlinkSocketAddress()
47 assertEquals(TEST_PORT, nlAddress.getPortId()) in testMakeNetlinkSocketAddress()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/
DProtocolPortTupleTest.java37 private static final int TEST_PORT = 2; field in ProtocolPortTupleTest
90 ByteBuffer buffer = getTestBuffer(TEST_PROTOCOL, TEST_PORT, TEST_STATUS); in parseBufferWithTestData()
91 ProtocolPortTuple expected = new ProtocolPortTuple(TEST_PROTOCOL, TEST_PORT, TEST_STATUS); in parseBufferWithTestData()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/
DRedirectListenerTest.java48 private static final int TEST_PORT = 1010; field in RedirectListenerTest
87 mRedirectListener = new RedirectListenerSpy(mLooper.getLooper(), TEST_PORT); in setUp()
/packages/modules/Bluetooth/tools/rootcanal/desktop/
Droot_canal_main.cc53 DEFINE_uint32(test_port, 6401, "test tcp port");
103 ERROR("test_port out of range: {}", FLAGS_test_port); in main()
Dtest_environment.cc63 int test_port, int hci_port, int link_port, int link_ble_port, in TestEnvironment() argument
70 test_socket_server_ = open_server(&async_manager_, test_port); in TestEnvironment()
Dtest_environment.h56 int test_port, int hci_port, int link_port, int link_ble_port,
/packages/modules/Bluetooth/system/blueberry/tests/gd/
Drust_host_config.yaml6 test_port: '6401'
Dhost_config.yaml6 test_port: '6401'
/packages/modules/Bluetooth/system/blueberry/tests/topshim/
Dtopshim_host_config.yaml6 test_port: '6401'
/packages/modules/Bluetooth/system/blueberry/tests/gd/cert/
Dgd_base_test.py168 rootcanal_test_port = int(rootcanal_config.get("test_port", "6401"))
178 rootcanal, '-test_port',
/packages/modules/Bluetooth/tools/rootcanal/
DREADME.md37 * `--test_port` (default `6401`) Configure the TCP port for the test channel.
/packages/modules/Bluetooth/system/blueberry/tests/topshim/lib/
Dtopshim_base_test.py71 rootcanal_test_port = int(rootcanal_config.get("test_port", "6401"))