Searched refs:cmdMsg (Results 1 - 3 of 3) sorted by relevance
/base/startup/appspawn/modules/common/ |
H A D | appspawn_begetctl.c | 77 const char *cmdMsg = (const char *)GetAppSpawnMsgExtInfo(property->message, MSG_EXT_NAME_BEGET_PTY_NAME, &len); in RunBegetctlBootApp() local 78 APPSPAWN_CHECK(cmdMsg != NULL, return -1, "Failed to get extInfo"); in RunBegetctlBootApp() 79 RunAppSandbox(cmdMsg); in RunBegetctlBootApp()
|
/base/startup/init/test/unittest/innerkits/ |
H A D | innerkits_unittest.cpp | 392 CmdMessage *cmdMsg = (CmdMessage *)malloc(sizeof(CmdMessage) + strlen("test")); in HWTEST_F() local 393 cmdMsg->type = ACTION_DUMP; in HWTEST_F() 394 cmdMsg->ptyName[0] = '\0';; in HWTEST_F() 395 CmdOnRecvMessage(testServer, (uint8_t *)(&cmdMsg), 0); in HWTEST_F() 396 cmdMsg->type = ACTION_DUMP; in HWTEST_F() 397 cmdMsg->cmd[0] = 'a'; in HWTEST_F() 398 cmdMsg->ptyName[0] = 'a'; in HWTEST_F() 399 CmdOnRecvMessage(testServer, (uint8_t *)(&cmdMsg), 0); in HWTEST_F() 402 free(cmdMsg); in HWTEST_F()
|
/base/startup/appspawn/standard/ |
H A D | appspawn_service.c | 1351 const char *cmdMsg = (const char *)GetAppSpawnMsgExtInfo(message, MSG_EXT_NAME_BEGET_PID, &len); in ProcessSpawnBegetctlMsg() local 1352 APPSPAWN_CHECK(cmdMsg != NULL, return NULL, "Failed to get extInfo"); in ProcessSpawnBegetctlMsg() 1353 AppSpawnedProcess *appInfo = GetSpawnedProcess(atoi(cmdMsg)); in ProcessSpawnBegetctlMsg()
|
Completed in 5 milliseconds