Home
last modified time | relevance | path

Searched refs:AddTrigger (Results 1 – 23 of 23) sorted by relevance

/ohos5.0/base/startup/init/test/unittest/param/
H A Dtrigger_unittest.cpp129 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 Dtrans_tcp_direct_wifi_test_mock.cpp74 int32_t AddTrigger(ListenerModule module, int32_t fd, TriggerType trigger) in AddTrigger() function
76 return GetTransTcpDirectWifiInterface()->AddTrigger(module, fd, trigger); in AddTrigger()
H A Dtrans_tcp_direct_wifi_test_mock.h38 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 Dtrans_tcp_direct_p2p_test_mock.cpp120 int32_t AddTrigger(ListenerModule module, int32_t fd, TriggerType trigger) in AddTrigger() function
122 return GetTransTcpDirectP2pInterface()->AddTrigger(module, fd, trigger); in AddTrigger()
H A Dtrans_tcp_direct_p2p_test_mock.h51 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 Dsoftbus_conn_common_test.cpp139 …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 Dsoftbus_base_listener.h61 int32_t AddTrigger(ListenerModule module, int32_t fd, TriggerType trigger);
/ohos5.0/foundation/communication/dsoftbus/core/authentication/src/
H A Dauth_tcp_connection.c219 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 Dlnn_lane_deps_mock.cpp54 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 Dlnn_lane_test.cpp441 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 Dconnectioncommon_fuzzer.cpp81 AddTrigger(AUTH_P2P, 0, WRITE_TRIGGER); in DoTriggerFuzz()
/ohos5.0/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/tcp_direct/unittest/
H A Dtrans_tcp_direct_wifi_test.cpp131 EXPECT_CALL(TcpWifiMock, AddTrigger).WillOnce(Return(SOFTBUS_OK));
262 EXPECT_CALL(TcpWifiMock, AddTrigger).WillRepeatedly(Return(SOFTBUS_NO_INIT));
H A Dtrans_tcp_direct_p2p_mock_test.cpp525 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 Dclient_trans_tcp_direct_listener.c116 return AddTrigger(DIRECT_CHANNEL_CLIENT, fd, READ_TRIGGER); in TransTdcCreateListener()
H A Dclient_trans_tcp_direct_manager.c300 AddTrigger(DIRECT_CHANNEL_CLIENT, channel->fd, READ_TRIGGER); in ClientTransTdcHandleListener()
/ohos5.0/foundation/communication/dsoftbus/tests/core/bus_center/lnn/lane/include/
H A Dlnn_lane_deps_mock.h98 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 Dtrans_tcp_direct_listener.c200 ret = AddTrigger(module, fd, READ_TRIGGER); in CreateSessionConnNode()
321 if (AddTrigger(conn->listenMod, fd, READ_TRIGGER) != SOFTBUS_OK) { in ProcessSocketOutEvent()
H A Dtrans_tcp_direct_wifi.c57 if (AddTrigger(module, fd, WRITE_TRIGGER) != SOFTBUS_OK) { in AddTcpConnAndSessionInfo()
H A Dtrans_tcp_direct_p2p.c692 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 Dlnn_netlink_monitor.c215 if (AddTrigger(NETLINK, sockFd, READ_TRIGGER) != SOFTBUS_OK) { in LnnInitNetlinkMonitorImpl()
/ohos5.0/foundation/communication/dsoftbus/core/connection/tcp/src/
H A Dsoftbus_tcp_connect_manager.c251 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 Dlnn_lane_reliability.c149 ret = AddTrigger(LANE, fd, WRITE_TRIGGER); in AddLaneTriggerAndTimeOut()
/ohos5.0/foundation/communication/dsoftbus/core/connection/common/src/
H A Dsoftbus_base_listener.c615 int32_t AddTrigger(ListenerModule module, int32_t fd, TriggerType trigger) in AddTrigger() function