/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/ |
D | ProxyInfoTest.java | 45 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/ |
D | NattKeepalivePacketDataTest.kt | 46 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/ |
D | MdnsRecordRepositoryTest.kt | 63 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 …]
|
D | MdnsReplySenderTest.kt | 51 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/ |
D | SocketUtilsTest.kt | 37 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/ |
D | ProtocolPortTupleTest.java | 37 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/ |
D | RedirectListenerTest.java | 48 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/ |
D | root_canal_main.cc | 53 DEFINE_uint32(test_port, 6401, "test tcp port"); 103 ERROR("test_port out of range: {}", FLAGS_test_port); in main()
|
D | test_environment.cc | 63 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()
|
D | test_environment.h | 56 int test_port, int hci_port, int link_port, int link_ble_port,
|
/packages/modules/Bluetooth/system/blueberry/tests/gd/ |
D | rust_host_config.yaml | 6 test_port: '6401'
|
D | host_config.yaml | 6 test_port: '6401'
|
/packages/modules/Bluetooth/system/blueberry/tests/topshim/ |
D | topshim_host_config.yaml | 6 test_port: '6401'
|
/packages/modules/Bluetooth/system/blueberry/tests/gd/cert/ |
D | gd_base_test.py | 168 rootcanal_test_port = int(rootcanal_config.get("test_port", "6401")) 178 rootcanal, '-test_port',
|
/packages/modules/Bluetooth/tools/rootcanal/ |
D | README.md | 37 * `--test_port` (default `6401`) Configure the TCP port for the test channel.
|
/packages/modules/Bluetooth/system/blueberry/tests/topshim/lib/ |
D | topshim_base_test.py | 71 rootcanal_test_port = int(rootcanal_config.get("test_port", "6401"))
|