Home
last modified time | relevance | path

Searched refs:PORT (Results 1 - 25 of 28) sorted by relevance

12

/foundation/communication/dsoftbus/tests/core/bus_center/lnn/net_builder/src/
H A Dlnn_net_builder_test.cpp36 constexpr uint16_t PORT = 1000; variable
88 .info.ip.port = PORT in HWTEST_F()
184 .info.ip.port = PORT in HWTEST_F()
280 .info.ip.port = PORT in HWTEST_F()
305 .info.ip.port = PORT in HWTEST_F()
325 .info.ip.port = PORT in HWTEST_F()
344 .info.ip.port = PORT in HWTEST_F()
H A Dlnn_connection_fsm_test.cpp37 constexpr uint16_t PORT = 1000; variable
56 .info.ip.port = PORT,
61 .info.ip.port = PORT,
66 .info.ip.port = PORT,
416 .info.ip.port = PORT, in HWTEST_F()
800 .connectInfo.authPort = PORT, in HWTEST_F()
801 .connectInfo.proxyPort = PORT, in HWTEST_F()
802 .connectInfo.sessionPort = PORT, in HWTEST_F()
805 .connectInfo.authPort = PORT, in HWTEST_F()
806 .connectInfo.proxyPort = PORT, in HWTEST_F()
[all...]
/foundation/communication/netmanager_base/test/netconnmanager/unittest/net_info_test/
H A Dinet_addr_test.cpp29 constexpr uint8_t PORT = 0; member
45 info.port_ = PORT; in GetINetAddrData()
/foundation/communication/netmanager_base/test/netconnmanager/unittest/net_conn_multi_test/
H A Dinet_addr_test.cpp29 constexpr uint8_t PORT = 0; member
45 info.port_ = PORT; in GetINetAddrData()
H A Dnative_net_conn_test.cpp37 constexpr uint16_t PORT = 8080; member
99 httpProxy.SetPort(PORT); in GetHttpProxySample()
511 HttpProxy validHttpProxy = {HOST_NAME, PORT, {}}; in HWTEST_F()
529 HttpProxy validHttpProxy = {LONG_HOST, PORT, {}}; in HWTEST_F()
/foundation/arkui/ui_lite/tools/server/
H A Dtcp_server.py29 PORT = 23495 variable in TestServer
59 self.tcp_server_socket.bind((self.IP, self.PORT))
/foundation/communication/netstack/test/unittest/tls_test/client/
H A Dtls_utils_test.h37 const std::string_view PORT = "/data/Ip/port.txt"; member
H A DTlsSocketBranchTest.cpp46 const int PORT = 7838; member
200 netAddress.SetPort(PORT); in HWTEST_F()
206 EXPECT_EQ(port, PORT); in HWTEST_F()
320 tlsSocketInternal->port_ = PORT; in HWTEST_F()
H A DTlsSocketUnilateralConnection.cpp40 address.SetPort(std::atoi(TlsUtilsTest::ChangeToFile(PORT).c_str())); in MockConnectionNetAddress()
224 EXPECT_EQ(address.GetPort(), std::atoi(TlsUtilsTest::ChangeToFile(PORT).c_str())); in HWTEST_F()
H A DTlsSocketCertChainTest.cpp33 address.SetPort(std::atoi(TlsUtilsTest::ChangeToFile(PORT).c_str())); in MockCertChainNetAddress()
171 EXPECT_EQ(address.GetPort(), std::atoi(TlsUtilsTest::ChangeToFile(PORT).c_str())); in HWTEST_F()
H A DTlsSocketCertChainOneWayTest.cpp33 address.SetPort(std::atoi(TlsUtilsTest::ChangeToFile(PORT).c_str())); in MockCertChainOneWayNetAddress()
174 EXPECT_EQ(address.GetPort(), std::atoi(TlsUtilsTest::ChangeToFile(PORT).c_str())); in HWTEST_F()
H A DTlsSocketOneWayTest.cpp33 address.SetPort(std::atoi(TlsUtilsTest::ChangeToFile(PORT).c_str())); in MockOneWayNetAddress()
173 EXPECT_EQ(address.GetPort(), std::atoi(TlsUtilsTest::ChangeToFile(PORT).c_str())); in HWTEST_F()
H A DTlsSocketTest.cpp33 address.SetPort(std::atoi(TlsUtilsTest::ChangeToFile(PORT).c_str())); in MockNetAddress()
203 EXPECT_EQ(address.GetPort(), std::atoi(TlsUtilsTest::ChangeToFile(PORT).c_str())); in HWTEST_F()
/foundation/communication/netstack/test/unittest/tlssocket/client/
H A Dtls_utils_test.h37 const std::string_view PORT = "/data/Ip/port.txt"; member
H A DTlsSocketBranchTest.cpp46 const int PORT = 7838; member
200 netAddress.SetPort(PORT); in HWTEST_F()
206 EXPECT_EQ(port, PORT); in HWTEST_F()
320 tlsSocketInternal->port_ = PORT; in HWTEST_F()
H A DTlsSocketUnilateralConnection.cpp40 address.SetPort(std::atoi(TlsUtilsTest::ChangeToFile(PORT).c_str())); in MockConnectionNetAddress()
224 EXPECT_EQ(address.GetPort(), std::atoi(TlsUtilsTest::ChangeToFile(PORT).c_str())); in HWTEST_F()
H A DTlsSocketCertChainTest.cpp33 address.SetPort(std::atoi(TlsUtilsTest::ChangeToFile(PORT).c_str())); in MockCertChainNetAddress()
171 EXPECT_EQ(address.GetPort(), std::atoi(TlsUtilsTest::ChangeToFile(PORT).c_str())); in HWTEST_F()
H A DTlsSocketOneWayTest.cpp33 address.SetPort(std::atoi(TlsUtilsTest::ChangeToFile(PORT).c_str())); in MockOneWayNetAddress()
173 EXPECT_EQ(address.GetPort(), std::atoi(TlsUtilsTest::ChangeToFile(PORT).c_str())); in HWTEST_F()
H A DTlsSocketCertChainOneWayTest.cpp33 address.SetPort(std::atoi(TlsUtilsTest::ChangeToFile(PORT).c_str())); in MockCertChainOneWayNetAddress()
174 EXPECT_EQ(address.GetPort(), std::atoi(TlsUtilsTest::ChangeToFile(PORT).c_str())); in HWTEST_F()
/foundation/communication/dsoftbus/tests/core/authentication/unittest/
H A Dauth_lane_test.cpp47 constexpr int32_t PORT = 1; member
129 info->connInfo.info.ipInfo.port = PORT; in SetAuthSessionInfo()
506 connInfo.info.ipInfo.port = PORT; in HWTEST_F()
549 connInfo.info.ipInfo.port = PORT; in HWTEST_F()
/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/data/
H A Dinterface_info.cpp43 { InterfaceInfoKey::PORT, Serializable::ValueType::INT },
225 Set(InterfaceInfoKey::PORT, value); in SetP2pListenPort()
230 return Get(InterfaceInfoKey::PORT, 0); in GetP2pListenPort()
H A Dinterface_info.h42 PORT = 15, member in OHOS::SoftBus::InterfaceInfoKey
/foundation/communication/dsoftbus/tests/core/bus_center/lnn/net_ledger/
H A Dlnn_ledger_common_test.cpp53 constexpr int32_t PORT = 1; member
266 EXPECT_TRUE(LnnSetAuthPort(nullptr, PORT) == SOFTBUS_INVALID_PARAM); in HWTEST_F()
268 EXPECT_TRUE(LnnSetSessionPort(nullptr, PORT) == SOFTBUS_INVALID_PARAM); in HWTEST_F()
270 EXPECT_TRUE(LnnSetProxyPort(nullptr, PORT) == SOFTBUS_INVALID_PARAM); in HWTEST_F()
271 EXPECT_TRUE(LnnSetP2pRole(nullptr, PORT) == SOFTBUS_INVALID_PARAM); in HWTEST_F()
/foundation/multimedia/audio_framework/services/audio_policy/server/include/service/common/
H A Daudio_module_info.h68 PORT, enumerator
/foundation/communication/netstack/test/unittest/tlssocket/server/
H A DTlsSocketServerTest.cpp44 const std::string_view PORT = "/data/Ip/port.txt"; member
167 address.SetPort(std::atoi(ChangeToFile(PORT).c_str())); in HWTEST_F()

Completed in 16 milliseconds

12