Home
last modified time | relevance | path

Searched refs:msgNode (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/foundation/communication/dsoftbus/sdk/bus_center/manager/src/
H A Dclient_bus_center_manager.c321 if (*msgNode != NULL && (*msgNode)->info != NULL) { in FreeDiscPublishMsg()
326 SoftBusFree(*msgNode); in FreeDiscPublishMsg()
327 *msgNode = NULL; in FreeDiscPublishMsg()
332 if (*msgNode != NULL && (*msgNode)->info != NULL) { in FreeDiscSubscribeMsg()
337 SoftBusFree(*msgNode); in FreeDiscSubscribeMsg()
338 *msgNode = NULL; in FreeDiscSubscribeMsg()
344 if (*msgNode == NULL) { in BuildDiscPublishMsg()
1394 msgNode->pkgName, msgNode->info->capability); in DiscRecoveryPublish()
1398 msgNode->pkgName, msgNode->info->capability); in DiscRecoveryPublish()
1420 msgNode->pkgName, msgNode->info->capability); in DiscRecoverySubscribe()
[all …]
/ohos5.0/base/startup/appspawn/test/unittest/
H A Dapp_spawn_test_helper.cpp530 …int ret = memcpy_s(&msgNode->msgHeader, sizeof(msgNode->msgHeader), msg, sizeof(msgNode->msgHeader… in CreateAppSpawnMsg()
531 APPSPAWN_CHECK(ret == 0, free(msgNode); in CreateAppSpawnMsg()
534 APPSPAWN_CHECK(msgNode->buffer != nullptr, free(msgNode); in CreateAppSpawnMsg()
538 APPSPAWN_CHECK(msgNode->tlvOffset != nullptr, free(msgNode); in CreateAppSpawnMsg()
541 msgNode->tlvOffset[i] = INVALID_OFFSET; in CreateAppSpawnMsg()
543 return msgNode; in CreateAppSpawnMsg()
565 DeleteAppSpawnMsg(msgNode); in GetAppProperty()
573 msgNode->msgHeader.magic, msgNode->msgHeader.msgType, in GetAppProperty()
574 msgNode->msgHeader.msgId, msgNode->msgHeader.msgLen, msgNode->msgHeader.processName); in GetAppProperty()
578 int ret = DecodeAppSpawnMsg(msgNode); in GetAppProperty()
[all …]
/ohos5.0/base/startup/appspawn/standard/
H A Dappspawn_msgmgr.c103 void DeleteAppSpawnMsg(AppSpawnMsgNode *msgNode) in DeleteAppSpawnMsg() argument
105 if (msgNode == NULL) { in DeleteAppSpawnMsg()
108 if (msgNode->buffer) { in DeleteAppSpawnMsg()
109 free(msgNode->buffer); in DeleteAppSpawnMsg()
110 msgNode->buffer = NULL; in DeleteAppSpawnMsg()
112 if (msgNode->tlvOffset) { in DeleteAppSpawnMsg()
113 free(msgNode->tlvOffset); in DeleteAppSpawnMsg()
114 msgNode->tlvOffset = NULL; in DeleteAppSpawnMsg()
116 free(msgNode); in DeleteAppSpawnMsg()
H A Dappspawn_service.c1344 AppSpawnMsgNode *msgNode = RebuildAppSpawnMsgNode(message, appInfo); in ProcessSpawnBegetctlMsg() local
1345 APPSPAWN_CHECK(msgNode != NULL, return NULL, "Failed to rebuild app message node"); in ProcessSpawnBegetctlMsg()
1346 int ret = DecodeAppSpawnMsg(msgNode); in ProcessSpawnBegetctlMsg()
1348 DeleteAppSpawnMsg(msgNode); in ProcessSpawnBegetctlMsg()
1351 return msgNode; in ProcessSpawnBegetctlMsg()
1362 AppSpawnMsgNode *msgNode = ProcessSpawnBegetctlMsg(connection, message); in ProcessBegetCmdMsg() local
1363 if (msgNode == NULL) { in ProcessBegetCmdMsg()
1368 ProcessSpawnReqMsg(connection, msgNode); in ProcessBegetCmdMsg()
1370 DeleteAppSpawnMsg(msgNode); in ProcessBegetCmdMsg()
H A Dappspawn_manager.h164 void DeleteAppSpawnMsg(AppSpawnMsgNode *msgNode);
/ohos5.0/drivers/hdf_core/framework/utils/src/
H A Dosal_msg_queue.c85 struct HdfMessage *msgNode = (struct HdfMessage *)HdfSListIteratorNext(&it); in HdfMessageQueueFlush() local
87 HdfMessageRecycle(msgNode); in HdfMessageQueueFlush()
/ohos5.0/base/startup/appspawn/test/unittest/app_spawn_standard_test/
H A Dapp_spawn_appmgr_test.cpp304 AppSpawnMsgNode *msgNode = CreateAppSpawnMsg(); variable
305 EXPECT_EQ(msgNode != nullptr, 1);
306 int ret = CheckAppSpawnMsg(msgNode);
310 DeleteAppSpawnMsg(msgNode);