/ohos5.0/base/startup/init/test/unittest/param/ |
H A D | trigger_unittest.cpp | 129 JobNode *node = AddTrigger(TRIGGER_BOOT, "init-later", "", 0); in TestAddTriggerForBoot() 201 JobNode *node = AddTrigger(TRIGGER_PARAM, triggerName, buffer, 0); in TestCheckParamTrigger1() 236 JobNode *node = AddTrigger(TRIGGER_PARAM, triggerName, buffer, 0); in TestCheckParamTrigger2() 262 JobNode *node = AddTrigger(TRIGGER_PARAM, triggerName, buffer, 0); in TestCheckParamTrigger3() 286 JobNode *node = AddTrigger(TRIGGER_PARAM, triggerName, buffer, 0); in TestCheckParamTrigger4() 359 JobNode *node = AddTrigger(TRIGGER_PARAM, triggerName, buffer, 0); in TestExecuteParamTrigger1() 382 JobNode *node = AddTrigger(TRIGGER_PARAM, triggerName, buffer, 0); in TestExecuteParamTrigger2() 404 JobNode *node = AddTrigger(TRIGGER_PARAM, triggerName, buffer, 0); in TestExecuteParamTrigger3() 435 JobNode *node = AddTrigger(TRIGGER_PARAM, triggerName, buffer, 0); in TestExecuteParamTrigger4() 465 JobNode *trigger = AddTrigger(TRIGGER_BOOT, boot, nullptr, 0); in TestExecuteParamTrigger5() [all …]
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/tcp_direct/unittest/mock/ |
H A D | trans_tcp_direct_wifi_test_mock.cpp | 74 int32_t AddTrigger(ListenerModule module, int32_t fd, TriggerType trigger) in AddTrigger() function 76 return GetTransTcpDirectWifiInterface()->AddTrigger(module, fd, trigger); in AddTrigger()
|
H A D | trans_tcp_direct_wifi_test_mock.h | 38 virtual int32_t AddTrigger(ListenerModule module, int32_t fd, TriggerType trigger) = 0; 53 MOCK_METHOD3(AddTrigger, int32_t (ListenerModule module, int32_t fd, TriggerType trigger));
|
H A D | trans_tcp_direct_p2p_test_mock.cpp | 120 int32_t AddTrigger(ListenerModule module, int32_t fd, TriggerType trigger) in AddTrigger() function 122 return GetTransTcpDirectP2pInterface()->AddTrigger(module, fd, trigger); in AddTrigger()
|
H A D | trans_tcp_direct_p2p_test_mock.h | 51 virtual int32_t AddTrigger(ListenerModule module, int32_t fd, TriggerType trigger) = 0; 84 MOCK_METHOD3(AddTrigger, int32_t (ListenerModule module, int32_t fd, TriggerType trigger));
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/connection/common/unittest/ |
H A D | softbus_conn_common_test.cpp | 139 …EXPECT_EQ(SOFTBUS_INVALID_PARAM, AddTrigger(UNUSE_BUTT, fd, static_cast<TriggerType>(triggerType))… 144 … EXPECT_EQ(SOFTBUS_INVALID_PARAM, AddTrigger(static_cast<ListenerModule>(module), INVALID_FD, 165 EXPECT_EQ(SOFTBUS_CONN_FAIL, AddTrigger(static_cast<ListenerModule>(module), 201 EXPECT_EQ(SOFTBUS_OK, AddTrigger(static_cast<ListenerModule>(module), 203 EXPECT_EQ(SOFTBUS_OK, AddTrigger(static_cast<ListenerModule>(module),
|
/ohos5.0/foundation/communication/dsoftbus/core/connection/interface/ |
H A D | softbus_base_listener.h | 61 int32_t AddTrigger(ListenerModule module, int32_t fd, TriggerType trigger);
|
/ohos5.0/foundation/communication/dsoftbus/core/authentication/src/ |
H A D | auth_tcp_connection.c | 219 if (AddTrigger(module, fd, READ_TRIGGER) != SOFTBUS_OK) { in ProcessSocketOutEvent() 292 if (AddTrigger(module, cfd, READ_TRIGGER) != SOFTBUS_OK) { in OnConnectEvent() 369 return AddTrigger(module, fd, trigger); in AuthTcpCreateListener() 447 if (AddTrigger(AUTH, fd, triggerMode) != SOFTBUS_OK) { in SocketConnectDevice() 495 if (AddTrigger(module, fd, triggerMode) != SOFTBUS_OK) { in NipSocketConnectDevice()
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/lane/src/ |
H A D | lnn_lane_deps_mock.cpp | 54 ON_CALL(*this, AddTrigger).WillByDefault(Return(SOFTBUS_OK)); in SetDefaultResult() 378 int32_t AddTrigger(ListenerModule module, int32_t fd, TriggerType trigger) in AddTrigger() function 380 return GetLaneDepsInterface()->AddTrigger(module, fd, trigger); in AddTrigger()
|
H A D | lnn_lane_test.cpp | 441 EXPECT_CALL(mock, AddTrigger).WillRepeatedly(LaneDepsInterfaceMock::ActionOfAddTrigger); 664 EXPECT_CALL(mock, AddTrigger).WillRepeatedly(LaneDepsInterfaceMock::ActionOfAddTrigger); 703 EXPECT_CALL(mock, AddTrigger).WillRepeatedly(LaneDepsInterfaceMock::ActionOfAddTrigger); 897 EXPECT_CALL(mock, AddTrigger).WillRepeatedly(LaneDepsInterfaceMock::ActionOfAddTrigger); 2206 EXPECT_CALL(mock, AddTrigger).WillRepeatedly(Return(SOFTBUS_OK)); 2257 EXPECT_CALL(mock, AddTrigger).WillRepeatedly(Return(SOFTBUS_OK)); 2315 EXPECT_CALL(mock, AddTrigger).WillRepeatedly(Return(SOFTBUS_LANE_DETECT_FAIL)); 2354 EXPECT_CALL(mock, AddTrigger).WillOnce(Return(SOFTBUS_CONN_FAIL))
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/connection/common/fuzztest/connectioncommon_fuzzer/ |
H A D | connectioncommon_fuzzer.cpp | 81 AddTrigger(AUTH_P2P, 0, WRITE_TRIGGER); in DoTriggerFuzz()
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/tcp_direct/unittest/ |
H A D | trans_tcp_direct_wifi_test.cpp | 131 EXPECT_CALL(TcpWifiMock, AddTrigger).WillOnce(Return(SOFTBUS_OK)); 262 EXPECT_CALL(TcpWifiMock, AddTrigger).WillRepeatedly(Return(SOFTBUS_NO_INIT));
|
H A D | trans_tcp_direct_p2p_mock_test.cpp | 525 EXPECT_CALL(TcpP2pDirectMock, AddTrigger).WillOnce(Return(SOFTBUS_NO_INIT)); 529 EXPECT_CALL(TcpP2pDirectMock, AddTrigger).WillOnce(Return(SOFTBUS_OK)); 538 EXPECT_CALL(TcpP2pDirectMock, AddTrigger).WillOnce(Return(SOFTBUS_OK)); 556 EXPECT_CALL(TcpP2pDirectMock, AddTrigger).WillOnce(Return(SOFTBUS_OK)); 630 EXPECT_CALL(TcpP2pDirectMock, AddTrigger).WillOnce(Return(SOFTBUS_NO_INIT)); 639 EXPECT_CALL(TcpP2pDirectMock, AddTrigger).WillOnce(Return(SOFTBUS_OK));
|
/ohos5.0/foundation/communication/dsoftbus/sdk/transmission/trans_channel/tcp_direct/src/ |
H A D | client_trans_tcp_direct_listener.c | 116 return AddTrigger(DIRECT_CHANNEL_CLIENT, fd, READ_TRIGGER); in TransTdcCreateListener()
|
H A D | client_trans_tcp_direct_manager.c | 300 AddTrigger(DIRECT_CHANNEL_CLIENT, channel->fd, READ_TRIGGER); in ClientTransTdcHandleListener()
|
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/lane/include/ |
H A D | lnn_lane_deps_mock.h | 98 virtual int32_t AddTrigger(ListenerModule module, int32_t fd, TriggerType trigger) = 0; 163 MOCK_METHOD3(AddTrigger, int32_t (ListenerModule module, int32_t fd, TriggerType trigger));
|
/ohos5.0/foundation/communication/dsoftbus/core/transmission/trans_channel/tcp_direct/src/ |
H A D | trans_tcp_direct_listener.c | 200 ret = AddTrigger(module, fd, READ_TRIGGER); in CreateSessionConnNode() 321 if (AddTrigger(conn->listenMod, fd, READ_TRIGGER) != SOFTBUS_OK) { in ProcessSocketOutEvent()
|
H A D | trans_tcp_direct_wifi.c | 57 if (AddTrigger(module, fd, WRITE_TRIGGER) != SOFTBUS_OK) { in AddTcpConnAndSessionInfo()
|
H A D | trans_tcp_direct_p2p.c | 692 int32_t ret = AddTrigger(item->moudleType, fd, WRITE_TRIGGER); in AddHmlTrigger() 723 int32_t ret = AddTrigger(DIRECT_CHANNEL_SERVER_P2P, fd, WRITE_TRIGGER); in AddP2pOrHmlTrigger()
|
/ohos5.0/foundation/communication/dsoftbus/adapter/common/bus_center/network/ |
H A D | lnn_netlink_monitor.c | 215 if (AddTrigger(NETLINK, sockFd, READ_TRIGGER) != SOFTBUS_OK) { in LnnInitNetlinkMonitorImpl()
|
/ohos5.0/foundation/communication/dsoftbus/core/connection/tcp/src/ |
H A D | softbus_tcp_connect_manager.c | 251 if (AddTrigger(module, cfd, READ_TRIGGER) != SOFTBUS_OK) { in TcpOnConnectEvent() 354 (void)AddTrigger((ListenerModule)(tcpInfo.info.socketInfo.moduleId), fd, READ_TRIGGER); in TcpOnDataEventOut() 544 …if (AddTrigger((ListenerModule)(option->socketOption.moduleId), fd, WRITE_TRIGGER) != SOFTBUS_OK) { in TcpConnectDevice()
|
/ohos5.0/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/lane_manager/src/ |
H A D | lnn_lane_reliability.c | 149 ret = AddTrigger(LANE, fd, WRITE_TRIGGER); in AddLaneTriggerAndTimeOut()
|
/ohos5.0/foundation/communication/dsoftbus/core/connection/common/src/ |
H A D | softbus_base_listener.c | 615 int32_t AddTrigger(ListenerModule module, int32_t fd, TriggerType trigger) in AddTrigger() function
|