Searched refs:msgNode (Results 1 – 7 of 7) sorted by relevance
/ohos5.0/foundation/communication/dsoftbus/sdk/bus_center/manager/src/ |
H A D | client_bus_center_manager.c | 321 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 D | app_spawn_test_helper.cpp | 530 …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 D | appspawn_msgmgr.c | 103 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 D | appspawn_service.c | 1344 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 D | appspawn_manager.h | 164 void DeleteAppSpawnMsg(AppSpawnMsgNode *msgNode);
|
/ohos5.0/drivers/hdf_core/framework/utils/src/ |
H A D | osal_msg_queue.c | 85 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 D | app_spawn_appmgr_test.cpp | 304 AppSpawnMsgNode *msgNode = CreateAppSpawnMsg(); variable 305 EXPECT_EQ(msgNode != nullptr, 1); 306 int ret = CheckAppSpawnMsg(msgNode); 310 DeleteAppSpawnMsg(msgNode);
|