Home
last modified time | relevance | path

Searched refs:cmdMsg (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/base/startup/init/test/unittest/innerkits/
H A Dinnerkits_unittest.cpp392 CmdMessage *cmdMsg = (CmdMessage *)malloc(sizeof(CmdMessage) + strlen("test")); variable
393 cmdMsg->type = ACTION_DUMP;
394 cmdMsg->ptyName[0] = '\0';;
395 CmdOnRecvMessage(testServer, (uint8_t *)(&cmdMsg), 0);
396 cmdMsg->type = ACTION_DUMP;
397 cmdMsg->cmd[0] = 'a';
398 cmdMsg->ptyName[0] = 'a';
399 CmdOnRecvMessage(testServer, (uint8_t *)(&cmdMsg), 0);
402 free(cmdMsg);
/ohos5.0/base/startup/appspawn/modules/common/
H A Dappspawn_begetctl.c77 …const char *cmdMsg = (const char *)GetAppSpawnMsgExtInfo(property->message, MSG_EXT_NAME_BEGET_PTY… in RunBegetctlBootApp() local
78 APPSPAWN_CHECK(cmdMsg != NULL, return -1, "Failed to get extInfo"); in RunBegetctlBootApp()
79 RunAppSandbox(cmdMsg); in RunBegetctlBootApp()
/ohos5.0/base/startup/appspawn/standard/
H A Dappspawn_service.c1340 const char *cmdMsg = (const char *)GetAppSpawnMsgExtInfo(message, MSG_EXT_NAME_BEGET_PID, &len); in ProcessSpawnBegetctlMsg() local
1341 APPSPAWN_CHECK(cmdMsg != NULL, return NULL, "Failed to get extInfo"); in ProcessSpawnBegetctlMsg()
1342 AppSpawnedProcess *appInfo = GetSpawnedProcess(atoi(cmdMsg)); in ProcessSpawnBegetctlMsg()