Lines Matching refs:appMgr
47 AppSpawnMgr *appMgr = (AppSpawnMgr *)calloc(1, sizeof(AppSpawnMgr));
48 APPSPAWN_CHECK(appMgr != NULL, return NULL, "Failed to alloc memory for appspawn");
49 appMgr->content.longProcName = NULL;
50 appMgr->content.longProcNameLen = 0;
51 appMgr->content.mode = mode;
52 appMgr->content.sandboxNsFlags = 0;
53 appMgr->content.wdgOpened = 0;
54 appMgr->servicePid = getpid();
55 appMgr->server = NULL;
56 appMgr->sigHandler = NULL;
57 OH_ListInit(&appMgr->appQueue);
58 OH_ListInit(&appMgr->diedQueue);
59 OH_ListInit(&appMgr->appSpawnQueue);
60 appMgr->diedAppCount = 0;
61 OH_ListInit(&appMgr->extData);
62 g_appSpawnMgr = appMgr;
65 return appMgr;