Lines Matching refs:reqHandle

312 int AppSpawnReqMsgAddFd(AppSpawnReqMsgHandle reqHandle, const char* fdName, int fd)
314 APPSPAWN_CHECK(reqHandle != NULL, return APPSPAWN_ARG_INVALID, "Invalid reqHandle");
315 AppSpawnReqMsgNode *reqNode = (AppSpawnReqMsgNode *)reqHandle;
321 return AppSpawnReqMsgAddStringInfo(reqHandle, MSG_EXT_NAME_APP_FD, (void *)fdName);
342 int AppSpawnReqMsgCreate(AppSpawnMsgType msgType, const char *processName, AppSpawnReqMsgHandle *reqHandle)
344 APPSPAWN_CHECK(reqHandle != NULL, return APPSPAWN_ARG_INVALID, "Invalid request handle");
352 *reqHandle = (AppSpawnReqMsgHandle)(reqNode);
356 void AppSpawnReqMsgFree(AppSpawnReqMsgHandle reqHandle)
358 AppSpawnReqMsgNode *reqNode = (AppSpawnReqMsgNode *)reqHandle;
363 int AppSpawnReqMsgSetAppDacInfo(AppSpawnReqMsgHandle reqHandle, const AppDacInfo *dacInfo)
365 AppSpawnReqMsgNode *reqNode = (AppSpawnReqMsgNode *)reqHandle;
379 int AppSpawnReqMsgSetBundleInfo(AppSpawnReqMsgHandle reqHandle, uint32_t bundleIndex, const char *bundleName)
381 AppSpawnReqMsgNode *reqNode = (AppSpawnReqMsgNode *)reqHandle;
406 int AppSpawnReqMsgSetAppFlag(AppSpawnReqMsgHandle reqHandle, AppFlagsIndex flagIndex)
408 AppSpawnReqMsgNode *reqNode = (AppSpawnReqMsgNode *)reqHandle;
423 int AppSpawnReqMsgAddExtInfo(AppSpawnReqMsgHandle reqHandle, const char *name, const uint8_t *value, uint32_t valueLen)
425 AppSpawnReqMsgNode *reqNode = (AppSpawnReqMsgNode *)reqHandle;
439 int AppSpawnReqMsgAddStringInfo(AppSpawnReqMsgHandle reqHandle, const char *name, const char *value)
441 AppSpawnReqMsgNode *reqNode = (AppSpawnReqMsgNode *)reqHandle;
456 int AppSpawnReqMsgAddPermission(AppSpawnReqMsgHandle reqHandle, const char *permission)
458 AppSpawnReqMsgNode *reqNode = (AppSpawnReqMsgNode *)reqHandle;
473 int AppSpawnReqMsgSetAppDomainInfo(AppSpawnReqMsgHandle reqHandle, uint32_t hapFlags, const char *apl)
475 AppSpawnReqMsgNode *reqNode = (AppSpawnReqMsgNode *)reqHandle;
491 int AppSpawnReqMsgSetAppInternetPermissionInfo(AppSpawnReqMsgHandle reqHandle, uint8_t allow, uint8_t setAllow)
493 AppSpawnReqMsgNode *reqNode = (AppSpawnReqMsgNode *)reqHandle;
505 int AppSpawnReqMsgSetAppOwnerId(AppSpawnReqMsgHandle reqHandle, const char *ownerId)
507 AppSpawnReqMsgNode *reqNode = (AppSpawnReqMsgNode *)reqHandle;
519 int AppSpawnReqMsgSetAppAccessToken(AppSpawnReqMsgHandle reqHandle, uint64_t accessTokenIdEx)
521 AppSpawnReqMsgNode *reqNode = (AppSpawnReqMsgNode *)reqHandle;
530 int AppSpawnTerminateMsgCreate(pid_t pid, AppSpawnReqMsgHandle *reqHandle)
532 APPSPAWN_CHECK(reqHandle != NULL, return APPSPAWN_ARG_INVALID, "Invalid request handle");
542 *reqHandle = (AppSpawnReqMsgHandle)(reqNode);
546 int AppSpawnClientAddPermission(AppSpawnClientHandle handle, AppSpawnReqMsgHandle reqHandle, const char *permission)
550 AppSpawnReqMsgNode *reqNode = (AppSpawnReqMsgNode *)reqHandle;