Searched refs:reqMgr (Results 1 - 5 of 5) sorted by relevance
/base/startup/appspawn/interfaces/innerkits/client/ |
H A D | appspawn_client.c | 45 int ret = GetParameter("persist.appspawn.reqMgr.timeout", "0", data, sizeof(data)); in GetDefaultTimeout() 212 static int HandleMsgSend(AppSpawnReqMsgMgr *reqMgr, int socketId, AppSpawnReqMsgNode *reqNode) in HandleMsgSend() argument 238 APPSPAWN_STATIC void TryCreateSocket(AppSpawnReqMsgMgr *reqMgr) in TryCreateSocket() argument 241 while (retryCount <= reqMgr->maxRetryCount) { in TryCreateSocket() 242 if (reqMgr->socketId < 0) { in TryCreateSocket() 243 reqMgr->socketId = CreateClientSocket(reqMgr->type, reqMgr->timeout); in TryCreateSocket() 245 if (reqMgr->socketId < 0) { in TryCreateSocket() 255 static int ClientSendMsg(AppSpawnReqMsgMgr *reqMgr, AppSpawnReqMsgNod argument 319 AppSpawnReqMsgMgr *reqMgr = (AppSpawnReqMsgMgr *)handle; AppSpawnClientDestroy() local 341 AppSpawnReqMsgMgr *reqMgr = (AppSpawnReqMsgMgr *)handle; AppSpawnClientSendMsg() local [all...] |
H A D | appspawn_msg.c | 548 AppSpawnReqMsgMgr *reqMgr = (AppSpawnReqMsgMgr *)handle; in AppSpawnClientAddPermission() local 549 APPSPAWN_CHECK(reqMgr != NULL, return APPSPAWN_ARG_INVALID, "Invalid reqMgr"); in AppSpawnClientAddPermission()
|
/base/startup/init/test/systest/ |
H A D | loopclient_systest.c | 143 int ClientDestroy(ReqMsgMgr *reqMgr) in ClientDestroy() argument 145 if (reqMgr == NULL) { in ClientDestroy() 146 printf("Invalid reqMgr \n"); in ClientDestroy() 152 pthread_mutex_destroy(&reqMgr->mutex); in ClientDestroy() 153 if (reqMgr->socketId >= 0) { in ClientDestroy() 154 CloseClientSocket(reqMgr->socketId); in ClientDestroy() 155 reqMgr->socketId = -1; in ClientDestroy() 157 free(reqMgr); in ClientDestroy() 222 static void TryCreateSocket(ReqMsgMgr *reqMgr) in TryCreateSocket() argument 225 while (retryCount <= reqMgr in TryCreateSocket() 291 HandleMsgSend(ReqMsgMgr *reqMgr, int socketId, ReqMsgNode *reqNode) HandleMsgSend() argument 335 ClientSendMsg(ReqMsgMgr *reqMgr, ReqMsgNode *reqNode, Result *result) ClientSendMsg() argument [all...] |
/base/startup/appspawn/interfaces/innerkits/permission/ |
H A D | appspawn_mount_permission.c | 204 AppSpawnReqMsgMgr *reqMgr = (AppSpawnReqMsgMgr *)handle;
in GetPermissionIndex() local 205 return PMGetPermissionIndex(reqMgr->type, permission);
in GetPermissionIndex() 213 AppSpawnReqMsgMgr *reqMgr = (AppSpawnReqMsgMgr *)handle;
in GetMaxPermissionIndex() local 214 return PMGetMaxPermissionIndex(reqMgr->type);
in GetMaxPermissionIndex() 222 AppSpawnReqMsgMgr *reqMgr = (AppSpawnReqMsgMgr *)handle;
in GetPermissionByIndex() local 223 return PMGetPermissionByIndex(reqMgr->type, index);
in GetPermissionByIndex()
|
/base/startup/appspawn/test/mock/ |
H A D | app_spawn_stub.h | 62 void TryCreateSocket(AppSpawnReqMsgMgr *reqMgr);
|
Completed in 4 milliseconds