Home
last modified time | relevance | path

Searched full:msg (Results 1 – 25 of 945) sorted by relevance

12345678910>>...38

/foundation/communication/bluetooth/services/bluetooth/service/src/hfp_ag/
Dhfp_ag_profile_event_sender.cpp29 void HfpAgProfileEventSender::SendMessageToService(const HfpAgMessage &msg) in SendMessageToService() argument
33 service->PostEvent(msg); in SendMessageToService()
39 HfpAgMessage msg(HFP_AG_CONTROL_OTHER_MODULES_EVT); in AnswerCall() local
40 msg.dev_ = device; in AnswerCall()
41 msg.type_ = HFP_AG_MSG_TYPE_ANSWER_CALL; in AnswerCall()
42 SendMessageToService(msg); in AnswerCall()
47 HfpAgMessage msg(HFP_AG_CONTROL_OTHER_MODULES_EVT); in HangupCall() local
48 msg.dev_ = device; in HangupCall()
49 msg.type_ = HFP_AG_MSG_TYPE_HANGUP_CALL; in HangupCall()
50 SendMessageToService(msg); in HangupCall()
[all …]
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_toolkit/unittest/
Dwifi_log_helper_test.cpp24 char msg[32] = {0}; variable
25 EncryptLogMsg("", msg, sizeof(msg));
26 EXPECT_TRUE(msg == std::string(""));
27 EncryptLogMsg("a", msg, sizeof(msg));
28 EXPECT_TRUE(msg == std::string("*"));
29 EncryptLogMsg("ab", msg, sizeof(msg));
30 EXPECT_TRUE(msg == std::string("**"));
31 EncryptLogMsg("abc", msg, sizeof(msg));
32 EXPECT_TRUE(msg == std::string("a*c"));
33 EncryptLogMsg("abcd", msg, sizeof(msg));
[all …]
/foundation/communication/dsoftbus/core/common/dfx/hisysevent_adapter/
Dsoftbus_hisysevt_bus_center.c83 static int32_t InitDurationMsgDefault(SoftBusEvtReportMsg *msg) in InitDurationMsgDefault() argument
85 if (msg->paramArray == NULL) { in InitDurationMsgDefault()
86 msg->paramNum = SOFTBUS_EVT_PARAM_FOUR; in InitDurationMsgDefault()
87 msg->paramArray = (SoftBusEvtParam *)SoftBusCalloc(sizeof(SoftBusEvtParam) * msg->paramNum); in InitDurationMsgDefault()
88 if (msg->paramArray == NULL) { in InitDurationMsgDefault()
92 msg->paramArray[EVT_INDEX_ZERO].paramType = SOFTBUS_EVT_PARAMTYPE_INT32; in InitDurationMsgDefault()
93 if (strcpy_s(msg->paramArray[EVT_INDEX_ZERO].paramName, SOFTBUS_HISYSEVT_PARAM_LEN, in InitDurationMsgDefault()
99 msg->paramArray[EVT_INDEX_ONE].paramType = SOFTBUS_EVT_PARAMTYPE_INT32; in InitDurationMsgDefault()
100 if (strcpy_s(msg->paramArray[EVT_INDEX_ONE].paramName, SOFTBUS_HISYSEVT_PARAM_LEN, in InitDurationMsgDefault()
106 msg->paramArray[EVT_INDEX_TWO].paramType = SOFTBUS_EVT_PARAMTYPE_INT32; in InitDurationMsgDefault()
[all …]
Dsoftbus_hisysevt_transreporter.c148 static void CreateOpenSessionCntMsg(SoftBusEvtReportMsg* msg) in CreateOpenSessionCntMsg() argument
155 (void)strcpy_s(msg->evtName, SOFTBUS_HISYSEVT_NAME_LEN, STATISTIC_EVT_TRANS_OPEN_SESSION_CNT); in CreateOpenSessionCntMsg()
156 msg->evtType = SOFTBUS_EVT_TYPE_STATISTIC; in CreateOpenSessionCntMsg()
157 msg->paramNum = SOFTBUS_EVT_PARAM_THREE; in CreateOpenSessionCntMsg()
160 SoftBusEvtParam* param = &msg->paramArray[SOFTBUS_EVT_PARAM_ZERO]; in CreateOpenSessionCntMsg()
166 param = &msg->paramArray[SOFTBUS_EVT_PARAM_ONE]; in CreateOpenSessionCntMsg()
172 param = &msg->paramArray[SOFTBUS_EVT_PARAM_TWO]; in CreateOpenSessionCntMsg()
185 SoftBusEvtReportMsg* msg = SoftbusCreateEvtReportMsg(SOFTBUS_EVT_PARAM_THREE); in SoftbusReportOpenSessionCntEvt() local
186 if (msg == NULL) { in SoftbusReportOpenSessionCntEvt()
189 CreateOpenSessionCntMsg(msg); in SoftbusReportOpenSessionCntEvt()
[all …]
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_p2p/test/
Dgroup_formed_state_test.cpp99 InternalMessage msg; variable
104 msg.SetMessageObj(device);
105 msg.SetMessageName(static_cast<int>(P2P_STATE_MACHINE_CMD::AP_STA_CONNECTED));
108 EXPECT_TRUE(pGroupFormedState->ExecuteStateMsg(&msg));
113 InternalMessage msg; variable
116 msg.SetMessageObj(device);
117 msg.SetMessageName(static_cast<int>(P2P_STATE_MACHINE_CMD::AP_STA_CONNECTED));
118 EXPECT_TRUE(pGroupFormedState->ExecuteStateMsg(&msg));
123 InternalMessage msg; variable
127 msg.SetMessageObj(device);
[all …]
Dp2p_enabled_state_test.cpp116 InternalMessage msg; variable
117 msg.SetMessageName(static_cast<int>(P2P_STATE_MACHINE_CMD::CMD_P2P_DISABLE));
120 EXPECT_TRUE(pP2pEnabledState->ExecuteStateMsg(&msg));
125 InternalMessage msg; variable
126 msg.SetParam1(1);
127 msg.SetParam2(1);
128 msg.SetMessageName(static_cast<int>(P2P_STATE_MACHINE_CMD::CMD_START_LISTEN));
140 EXPECT_TRUE(pP2pEnabledState->ExecuteStateMsg(&msg));
141 EXPECT_TRUE(pP2pEnabledState->ExecuteStateMsg(&msg));
142 EXPECT_TRUE(pP2pEnabledState->ExecuteStateMsg(&msg));
[all …]
Dgroup_negotiation_state_test.cpp88 InternalMessage msg; variable
89 msg.SetMessageName(static_cast<int>(P2P_STATE_MACHINE_CMD::P2P_EVENT_GROUP_FORMATION_SUCCESS));
90 EXPECT_TRUE(pGroupNegotiationState->ExecuteStateMsg(&msg));
95 InternalMessage msg; variable
99 msg.SetMessageObj(group);
100 msg.SetMessageName(static_cast<int>(P2P_STATE_MACHINE_CMD::P2P_EVENT_GROUP_STARTED));
101 EXPECT_TRUE(pGroupNegotiationState->ExecuteStateMsg(&msg));
106 InternalMessage msg; variable
114 msg.SetMessageObj(group);
119 msg.SetMessageName(static_cast<int>(P2P_STATE_MACHINE_CMD::P2P_EVENT_GROUP_STARTED));
[all …]
Dp2p_idle_state_test.cpp128 InternalMessage msg; variable
129 msg.SetMessageName(static_cast<int>(P2P_STATE_MACHINE_CMD::CMD_STOP_DEVICE_DISCOVERS));
132 EXPECT_TRUE(pP2pIdleState->ExecuteStateMsg(&msg));
137 EXPECT_TRUE(pP2pIdleState->ExecuteStateMsg(&msg));
142 InternalMessage msg; variable
143 msg.SetMessageName(static_cast<int>(P2P_STATE_MACHINE_CMD::CMD_CONNECT));
145 msg.SetMessageObj(config);
146 EXPECT_TRUE(pP2pIdleState->ExecuteStateMsg(&msg));
150 msg.SetMessageObj(config);
153 EXPECT_TRUE(pP2pIdleState->ExecuteStateMsg(&msg));
[all …]
Dprovision_discovery_state_test.cpp56 InternalMessage msg; in AddSaveP2pConfig1() local
57 msg.SetMessageName(static_cast<int>(P2P_STATE_MACHINE_CMD::P2P_EVENT_PROV_DISC_PBC_REQ)); in AddSaveP2pConfig1()
64 msg.SetMessageObj(procDisc); in AddSaveP2pConfig1()
65 pGroupFormedState->ExecuteStateMsg(&msg); in AddSaveP2pConfig1()
69 InternalMessage msg; in AddSaveP2pConfig2() local
70 msg.SetMessageName(static_cast<int>(P2P_STATE_MACHINE_CMD::P2P_EVENT_PROV_DISC_ENTER_PIN)); in AddSaveP2pConfig2()
76 msg.SetMessageObj(procDisc); in AddSaveP2pConfig2()
77 pGroupFormedState->ExecuteStateMsg(&msg); in AddSaveP2pConfig2()
81 InternalMessage msg; in AddSaveP2pConfig3() local
82 msg.SetMessageName(static_cast<int>(P2P_STATE_MACHINE_CMD::P2P_EVENT_PROV_DISC_SHOW_PIN)); in AddSaveP2pConfig3()
[all …]
Dp2p_group_operating_state_test.cpp86 InternalMessage msg; variable
87 msg.SetMessageName(static_cast<int>(P2P_STATE_MACHINE_CMD::CMD_FORM_GROUP));
91 msg.SetMessageObj(config);
96 EXPECT_TRUE(pP2pGroupOperatingState->ExecuteStateMsg(&msg));
101 InternalMessage msg; variable
102 msg.SetMessageName(static_cast<int>(P2P_STATE_MACHINE_CMD::CMD_FORM_GROUP));
105 msg.SetMessageObj(config);
109 EXPECT_TRUE(pP2pGroupOperatingState->ExecuteStateMsg(&msg));
114 InternalMessage msg; variable
115 msg.SetMessageName(static_cast<int>(P2P_STATE_MACHINE_CMD::CMD_FORM_GROUP));
[all …]
/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/proxy_channel/
Dtrans_proxy_message_test.cpp144 char* msg = TransProxyPackHandshakeErrMsg(SOFTBUS_ERR); variable
145 ASSERT_TRUE(NULL != msg);
147 int32_t ret = TransProxyUnPackHandshakeErrMsg(msg, NULL, strlen(msg));
151 ret = TransProxyUnPackHandshakeErrMsg(msg, &errCode, strlen(msg));
153 cJSON_free(msg);
169 char *msg = TransProxyPackHandshakeAckMsg(&chan); variable
170 EXPECT_EQ(NULL, msg);
173 msg = TransProxyPackHandshakeAckMsg(&chan);
174 ASSERT_TRUE(NULL != msg);
175 cJSON_free(msg);
[all …]
/foundation/communication/dsoftbus/core/transmission/trans_channel/udp_negotiation/src/
Dtrans_udp_negotiation_exchange.c54 int32_t TransUnpackReplyErrInfo(const cJSON *msg, int32_t *errCode) in TransUnpackReplyErrInfo() argument
56 if ((msg == NULL) && (errCode == NULL)) { in TransUnpackReplyErrInfo()
60 if (!GetJsonObjectInt32Item(msg, ERR_CODE, errCode)) { in TransUnpackReplyErrInfo()
66 int32_t TransUnpackReplyUdpInfo(const cJSON *msg, AppInfo *appInfo) in TransUnpackReplyUdpInfo() argument
69 if (msg == NULL || appInfo == NULL) { in TransUnpackReplyUdpInfo()
74 (void)GetJsonObjectStringItem(msg, "PKG_NAME", appInfo->peerData.pkgName, PKG_NAME_SIZE_MAX); in TransUnpackReplyUdpInfo()
75 (void)GetJsonObjectNumberItem(msg, "UID", &(appInfo->peerData.uid)); in TransUnpackReplyUdpInfo()
76 (void)GetJsonObjectNumberItem(msg, "PID", &(appInfo->peerData.pid)); in TransUnpackReplyUdpInfo()
77 (void)GetJsonObjectNumberItem(msg, "BUSINESS_TYPE", (int*)&(appInfo->businessType)); in TransUnpackReplyUdpInfo()
80 (void)GetJsonObjectNumberItem(msg, "CODE", &code); in TransUnpackReplyUdpInfo()
[all …]
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/unittest/common/syncer/
Ddistributeddb_single_ver_msg_schedule_test.cpp65 * @tc.steps: step1. put msg sequence_3, sequence_2, sequence_1
66 * @tc.expected: put msg ok
82 Message *msg = msgSchedule.MoveNextMsg(context, isNeedHandle, isNeedContinue); variable
83 ASSERT_TRUE(msg == nullptr);
87 * @tc.steps: step2. get msg
88 * @tc.expected: get msg by sequence_1, sequence_2, sequence_3
91 Message *msg = msgSchedule.MoveNextMsg(context, isNeedHandle, isNeedContinue); variable
92 ASSERT_TRUE(msg != nullptr);
95 EXPECT_EQ(msg->GetSequenceId(), i);
96 msgSchedule.ScheduleInfoHandle(isNeedHandle, false, msg);
[all …]
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/common/
Dhandler.cpp95 InternalMessage *msg = pMyQueue->GetNextMessage(); in GetAndDistributeMessage() local
96 if (msg == nullptr) { in GetAndDistributeMessage()
100 LOGI("Handler get message: %{public}d\n", msg->GetMessageName()); in GetAndDistributeMessage()
101 DistributeMessage(msg); in GetAndDistributeMessage()
102 MessageManage::GetInstance().ReclaimMsg(msg); in GetAndDistributeMessage()
108 void Handler::SendMessage(InternalMessage *msg) in SendMessage() argument
110 if (msg == nullptr) { in SendMessage()
111 LOGE("Handler::SendMessage: msg is null."); in SendMessage()
115 LOGD("Handler::SendMessage msg:%{public}d", msg->GetMessageName()); in SendMessage()
116 MessageExecutedLater(msg, 0); in SendMessage()
[all …]
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_scan/
Dscan_state_machine_test.cpp76 InternalMessage msg; in InitExeMsgSuccess1() local
77 msg.SetMessageName(CMD_SCAN_PREPARE); in InitExeMsgSuccess1()
78 pScanStateMachine->initState->ExecuteStateMsg(&msg); in InitExeMsgSuccess1()
83 InternalMessage msg; in InitExeMsgSuccess2() local
84 msg.SetMessageName(CMD_SCAN_FINISH); in InitExeMsgSuccess2()
85 pScanStateMachine->initState->ExecuteStateMsg(&msg); in InitExeMsgSuccess2()
90 InternalMessage msg; in InitExeMsgSuccess3() local
91 msg.SetMessageName(CMD_START_COMMON_SCAN); in InitExeMsgSuccess3()
92 pScanStateMachine->initState->ExecuteStateMsg(&msg); in InitExeMsgSuccess3()
97 InternalMessage msg; in InitExeMsgSuccess4() local
[all …]
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/
Dwifi_internal_event_dispatcher.cpp278 int WifiInternalEventDispatcher::AddBroadCastMsg(const WifiEventCallbackMsg &msg) in AddBroadCastMsg() argument
280 WIFI_LOGD("WifiInternalEventDispatcher::AddBroadCastMsg, msgcode %{public}d", msg.msgCode); in AddBroadCastMsg()
283 mEventQue.push_back(msg); in AddBroadCastMsg()
302 WifiInternalEventDispatcher &instance, const WifiEventCallbackMsg &msg) in DealStaCallbackMsg() argument
304 WIFI_LOGI("WifiInternalEventDispatcher:: Deal Sta Event Callback Msg: %{public}d", msg.msgCode); in DealStaCallbackMsg()
306 switch (msg.msgCode) { in DealStaCallbackMsg()
308 WifiInternalEventDispatcher::PublishWifiStateChangedEvent(msg.msgData); in DealStaCallbackMsg()
311 WifiInternalEventDispatcher::PublishConnStateChangedEvent(msg.msgData, msg.linkInfo); in DealStaCallbackMsg()
314 WifiInternalEventDispatcher::PublishRssiValueChangedEvent(msg.msgData); in DealStaCallbackMsg()
326 WIFI_LOGI("Single Callback Msg: %{public}d", msg.msgCode); in DealStaCallbackMsg()
[all …]
Dwifi_internal_event_dispatcher_lite.cpp73 int WifiInternalEventDispatcher::AddBroadCastMsg(const WifiEventCallbackMsg &msg) in AddBroadCastMsg() argument
75 WIFI_LOGD("WifiInternalEventDispatcher::AddBroadCastMsg, msgcode %{public}d", msg.msgCode); in AddBroadCastMsg()
78 mEventQue.push_back(msg); in AddBroadCastMsg()
97 WifiInternalEventDispatcher &instance, const WifiEventCallbackMsg &msg) in DealStaCallbackMsg() argument
99 WIFI_LOGI("WifiInternalEventDispatcher:: Deal Sta Event Callback Msg: %{public}d", msg.msgCode); in DealStaCallbackMsg()
101 switch (msg.msgCode) { in DealStaCallbackMsg()
103 WifiInternalEventDispatcher::PublishWifiStateChangedEvent(msg.msgData); in DealStaCallbackMsg()
106 WifiInternalEventDispatcher::PublishConnStateChangedEvent(msg.msgData, msg.linkInfo); in DealStaCallbackMsg()
109 WifiInternalEventDispatcher::PublishRssiValueChangedEvent(msg.msgData); in DealStaCallbackMsg()
121 switch (msg.msgCode) { in DealStaCallbackMsg()
[all …]
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_p2p/
Dp2p_enabled_state.h61 * @param msg - Message object pointer
64 virtual bool ExecuteStateMsg(InternalMessage *msg) override;
90 * @param msg - Message body sent by the state machine
93 virtual bool ProcessCmdDisable(InternalMessage &msg) const;
97 * @param msg - Message body sent by the state machine
100 virtual bool ProcessCmdStartListen(InternalMessage &msg) const;
104 * @param msg - Message body sent by the state machine
107 virtual bool ProcessCmdStopListen(InternalMessage &msg) const;
111 * @param msg - Message body sent by the state machine
114 virtual bool ProcessCmdDiscPeer(InternalMessage &msg) const;
[all …]
Dp2p_idle_state.h61 * @param msg - Message object pointer
64 virtual bool ExecuteStateMsg(InternalMessage *msg) override;
76 * @param msg - Message body sent by the state machine
79 virtual bool ProcessCmdStopDiscPeer(InternalMessage &msg) const;
83 * @param msg - Message body sent by the state machine
86 virtual bool ProcessCmdConnect(InternalMessage &msg) const;
90 * @param msg - Message body sent by the state machine
93 virtual bool ProcessProvDiscPbcReqEvt(InternalMessage &msg) const;
97 * @param msg - Message body sent by the state machine
100 virtual bool ProcessProvDiscEnterPinEvt(InternalMessage &msg) const;
[all …]
Dgroup_formed_state.h62 * @param msg - Message object pointer
65 virtual bool ExecuteStateMsg(InternalMessage *msg) override;
77 * @param msg - Message body sent by the state machine
80 virtual bool ProcessConnectEvt(const InternalMessage &msg) const;
84 * @param msg - Message body sent by the state machine
87 virtual bool ProcessDisconnectEvt(const InternalMessage &msg) const;
91 * @param msg - Message body sent by the state machine
94 virtual bool ProcessDeviceLostEvt(const InternalMessage &msg) const;
98 * @param msg - Message body sent by the state machine
101 virtual bool ProcessCmdRemoveGroup(const InternalMessage &msg) const;
[all …]
/foundation/communication/bluetooth/services/bluetooth/service/src/pbap_pce/
Dpbap_pce_connected_state.cpp48 void PceConnectedState::ReqPullPhoneBook(const utility::Message &msg) const in ReqPullPhoneBook()
50 auto pullMsg = static_cast<PbapPcePullPhoneBookMsg *>(msg.arg2_); in ReqPullPhoneBook()
70 void PceConnectedState::ReqSetPhoneBook(const utility::Message &msg) const in ReqSetPhoneBook()
72 auto reqMsg = static_cast<PbapPceSetPhoneBookMsg *>(msg.arg2_); in ReqSetPhoneBook()
76 void PceConnectedState::ReqPullvCardListing(const utility::Message &msg) const in ReqPullvCardListing()
78 auto listingMsg = static_cast<PbapPcePullvCardListingMsg *>(msg.arg2_); in ReqPullvCardListing()
94 void PceConnectedState::ReqPullvCardEntry(const utility::Message &msg) const in ReqPullvCardEntry()
96 auto entryMsg = static_cast<PbapPcePullvCardEntryMsg *>(msg.arg2_); in ReqPullvCardEntry()
105 bool PceConnectedState::DispatchActionCompleted(const utility::Message &msg) const in DispatchActionCompleted()
107 PBAP_PCE_LOG_INFO("%{public}s start, msg.what_=[%{public}d]", __PRETTY_FUNCTION__, msg.what_); in DispatchActionCompleted()
[all …]
/foundation/communication/dsoftbus/core/bus_center/utils/src/
Dlnn_state_machine.c38 static void FreeFsmHandleMsg(SoftBusMessage *msg) in FreeFsmHandleMsg() argument
40 if (msg != NULL) { in FreeFsmHandleMsg()
41 if (msg->obj != NULL) { in FreeFsmHandleMsg()
42 SoftBusFree(msg->obj); in FreeFsmHandleMsg()
44 SoftBusFree(msg); in FreeFsmHandleMsg()
62 SoftBusMessage *msg = NULL; in CreateFsmHandleMsg() local
65 msg = SoftBusCalloc(sizeof(*msg)); in CreateFsmHandleMsg()
66 if (msg == NULL) { in CreateFsmHandleMsg()
69 msg->what = what; in CreateFsmHandleMsg()
70 msg->arg1 = arg1; in CreateFsmHandleMsg()
[all …]
/foundation/ability/ability_lite/services/abilitymgr_lite/include/util/
Dabilityms_status.h31 static AbilityMsStatus BmsQueryStatus(const char *msg) in BmsQueryStatus() argument
33 return AbilityMsStatus(BMS_QUERY_NOT_FOUND, nullptr, msg); in BmsQueryStatus()
36 static AbilityMsStatus AppTransanctStatus(const char *msg) in AppTransanctStatus() argument
38 return AbilityMsStatus(APP_TRANSACT_ERROR, nullptr, msg); in AppTransanctStatus()
41 static AbilityMsStatus TaskStatus(const char *key, const char *msg) in TaskStatus() argument
43 return AbilityMsStatus(ABILITY_TASK_ERROR, key, msg); in TaskStatus()
46 static AbilityMsStatus LifeCycleStatus(const char *msg) in LifeCycleStatus() argument
48 return AbilityMsStatus(LIFE_CYCLE_ILLEGAL, nullptr, msg); in LifeCycleStatus()
51 static AbilityMsStatus ProcessStatus(const char *msg) in ProcessStatus() argument
53 return AbilityMsStatus(PROCESS_ERROR, nullptr, msg); in ProcessStatus()
[all …]
/foundation/communication/dsoftbus/core/connection/p2p/common/src/
Dp2plink_loop.c36 static void P2pLoopMsgHandler(SoftBusMessage *msg) in P2pLoopMsgHandler() argument
38 if (msg == 0) { in P2pLoopMsgHandler()
42 P2pCallbackInfo *info = (P2pCallbackInfo *)msg->obj; in P2pLoopMsgHandler()
51 info->callback(msg->what, info->cbPara); in P2pLoopMsgHandler()
65 static void P2pFreeLoopMsg(SoftBusMessage *msg) in P2pFreeLoopMsg() argument
67 if (msg != NULL) { in P2pFreeLoopMsg()
68 if (msg->obj != NULL) { in P2pFreeLoopMsg()
69 SoftBusFree(msg->obj); in P2pFreeLoopMsg()
71 SoftBusFree((void *)msg); in P2pFreeLoopMsg()
77 SoftBusMessage *msg = NULL; in P2pCreateLoopMsg() local
[all …]
/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/udp_negotiation/
Dtrans_udp_negotiation_exchange_test.cpp96 cJSON *msg = cJSON_CreateObject(); variable
101 ret = TransPackRequestUdpInfo(msg, NULL);
103 ret = TransUnpackRequestUdpInfo(msg, NULL);
105 cJSON_Delete(msg);
122 cJSON *msg = cJSON_CreateObject(); variable
123 EXPECT_TRUE(msg != NULL);
124 int32_t ret = TransPackRequestUdpInfo(msg, appInfo);
127 ret = TransUnpackRequestUdpInfo(msg, appInfo);
129 cJSON_Delete(msg);
130 msg = cJSON_CreateObject();
[all …]

12345678910>>...38