Home
last modified time | relevance | path

Searched refs:callCtx (Results 1 - 6 of 6) sorted by relevance

/base/security/device_auth/frameworks/src/
H A Dipc_sdk.c123 uintptr_t callCtx = 0x0; in IpcGmRegCallback() local
131 ret = CreateCallCtx(&callCtx, NULL); in IpcGmRegCallback()
137 ret = SetCallRequestParamInfo(callCtx, PARAM_TYPE_APPID, (const uint8_t *)appId, HcStrlen(appId) + 1); in IpcGmRegCallback()
140 DestroyCallCtx(&callCtx, NULL); in IpcGmRegCallback()
143 ret = SetCallRequestParamInfo(callCtx, PARAM_TYPE_DEV_AUTH_CB, (const uint8_t *)callback, sizeof(*callback)); in IpcGmRegCallback()
146 DestroyCallCtx(&callCtx, NULL); in IpcGmRegCallback()
149 SetCbCtxToDataCtx(callCtx, IPC_CALL_BACK_STUB_BIND_ID); in IpcGmRegCallback()
150 ret = DoBinderCall(callCtx, IPC_CALL_ID_REG_CB, true); in IpcGmRegCallback()
154 DestroyCallCtx(&callCtx, NULL); in IpcGmRegCallback()
161 uintptr_t callCtx in IpcGmUnRegCallback() local
192 uintptr_t callCtx = 0x0; IpcGmRegDataChangeListener() local
230 uintptr_t callCtx = 0x0; IpcGmUnRegDataChangeListener() local
259 EncodeCreateGroupParams(uintptr_t callCtx, int32_t osAccountId, int64_t requestId, const char *appId, const char *createParams) EncodeCreateGroupParams() argument
289 uintptr_t callCtx = 0x0; IpcGmCreateGroup() local
324 EncodeDeleteGroupParams(uintptr_t callCtx, int32_t osAccountId, int64_t requestId, const char *appId, const char *delParams) EncodeDeleteGroupParams() argument
353 uintptr_t callCtx = 0x0; IpcGmDeleteGroup() local
388 EncodeAddMemberParams(uintptr_t callCtx, int32_t osAccountId, int64_t requestId, const char *appId, const char *addParams) EncodeAddMemberParams() argument
417 uintptr_t callCtx = 0x0; IpcGmAddMemberToGroup() local
452 EncodeDeleteMemberParams(uintptr_t callCtx, int32_t osAccountId, int64_t requestId, const char *appId, const char *delParams) EncodeDeleteMemberParams() argument
481 uintptr_t callCtx = 0x0; IpcGmDelMemberFromGroup() local
523 uintptr_t callCtx = 0x0; IpcGmAddMultiMembersToGroup() local
571 uintptr_t callCtx = 0x0; IpcGmDelMultiMembersFromGroup() local
614 uintptr_t callCtx = 0x0; IpcGmProcessData() local
658 uintptr_t callCtx = 0x0; IpcGmGetRegisterInfo() local
710 uintptr_t callCtx = 0x0; IpcGmCheckAccessToGroup() local
785 uintptr_t callCtx = 0x0; IpcGmGetPkInfoList() local
856 uintptr_t callCtx = 0x0; IpcGmGetGroupInfoById() local
933 uintptr_t callCtx = 0x0; IpcGmGetGroupInfo() local
1010 uintptr_t callCtx = 0x0; IpcGmGetJoinedGroups() local
1087 uintptr_t callCtx = 0x0; IpcGmGetRelatedGroups() local
1159 FormParamsForGettingDeviceInfo(int32_t osAccountId, const char *appId, const char *peerUdid, const char *groupId, uintptr_t callCtx) FormParamsForGettingDeviceInfo() argument
1191 uintptr_t callCtx = 0x0; IpcGmGetDeviceInfoById() local
1258 uintptr_t callCtx = 0x0; IpcGmGetTrustedDevices() local
1310 uintptr_t callCtx = 0x0; IpcGmIsDeviceInGroup() local
1372 uintptr_t callCtx = 0x0; IpcGmCancelRequest() local
1434 EncodeProcessDataParams(uintptr_t callCtx, int64_t authReqId, const uint8_t *data, uint32_t dataLen, const DeviceAuthCallback *callback) EncodeProcessDataParams() argument
1459 uintptr_t callCtx = 0x0; IpcGaProcessData() local
1494 EncodeAuthDeviceParams(uintptr_t callCtx, int32_t osAccountId, int64_t authReqId, const char *authParams, const DeviceAuthCallback *callback) EncodeAuthDeviceParams() argument
1526 uintptr_t callCtx = 0x0; IpcGaAuthDevice() local
1563 uintptr_t callCtx = 0x0; IpcGaCancelRequest() local
1612 uintptr_t callCtx = 0x0; IpcGaGetRealInfo() local
1658 uintptr_t callCtx = 0x0; IpcGaGetPseudonymId() local
1713 uintptr_t callCtx = IPC_CALL_CONTEXT_INIT; ProcessCredential() local
1759 uintptr_t callCtx = IPC_CALL_CONTEXT_INIT; ProcessAuthDevice() local
1813 uintptr_t callCtx = IPC_CALL_CONTEXT_INIT; StartAuthDevice() local
1866 uintptr_t callCtx = IPC_CALL_CONTEXT_INIT; CancelAuthRequest() local
[all...]
/base/security/device_auth/frameworks/inc/lite/
H A Dipc_adapt.h66 void SetCbCtxToDataCtx(uintptr_t callCtx, int32_t cbIdx);
67 int32_t CreateCallCtx(uintptr_t *callCtx, uintptr_t *cbCtx);
68 void DestroyCallCtx(uintptr_t *callCtx, uintptr_t *cbCtx);
69 int32_t DoBinderCall(uintptr_t callCtx, int32_t methodId, bool withSync);
70 int32_t SetCallRequestParamInfo(uintptr_t callCtx, int32_t type, const uint8_t *param, int32_t paramSz);
76 void DecodeCallReply(uintptr_t callCtx, IpcDataInfo *replyCache, int32_t cacheNum);
/base/security/device_auth/frameworks/inc/standard/
H A Dipc_adapt.h58 void SetCbCtxToDataCtx(uintptr_t callCtx, int32_t cbIdx);
59 int32_t CreateCallCtx(uintptr_t *callCtx, uintptr_t *cbCtx);
60 void DestroyCallCtx(uintptr_t *callCtx, uintptr_t *cbCtx);
61 int32_t DoBinderCall(uintptr_t callCtx, int32_t methodId, bool withSync);
62 int32_t SetCallRequestParamInfo(uintptr_t callCtx, int32_t type, const uint8_t *param, int32_t paramSz);
68 void DecodeCallReply(uintptr_t callCtx, IpcDataInfo *replyCache, int32_t cacheNum);
/base/security/device_auth/frameworks/src/lite/
H A Dipc_dev_auth_stub.c192 int32_t (*callCtx)(void *origin, IpcIo *req, IpcIo *reply); member
202 int32_t (*callCtx)(void *origin, IpcIo *req, IpcIo *reply) = NULL; in OnRemoteInvoke()
213 callCtx = g_reqCallMaps[i].callCtx; in OnRemoteInvoke()
219 if (callCtx) { in OnRemoteInvoke()
220 ret = callCtx(origin, req, &replyTmp); in OnRemoteInvoke()
H A Dipc_adapt.c1344 int32_t CreateCallCtx(uintptr_t *callCtx, uintptr_t *cbCtx) in CreateCallCtx() argument
1349 if (callCtx == NULL) { in CreateCallCtx()
1367 *callCtx = (uintptr_t)(dataCache); in CreateCallCtx()
1371 void DestroyCallCtx(uintptr_t *callCtx, uintptr_t *cbCtx) in DestroyCallCtx() argument
1376 if ((callCtx != NULL) && (*callCtx != 0)) { in DestroyCallCtx()
1377 dataCache = (ProxyDevAuthData *)(*callCtx); in DestroyCallCtx()
1391 *callCtx = 0; in DestroyCallCtx()
1396 void SetCbCtxToDataCtx(uintptr_t callCtx, int32_t cbIdx) in SetCbCtxToDataCtx() argument
1406 dataCache = (ProxyDevAuthData *)(callCtx); in SetCbCtxToDataCtx()
1411 SetCallRequestParamInfo(uintptr_t callCtx, int32_t type, const uint8_t *param, int32_t paramSz) SetCallRequestParamInfo() argument
1418 DoBinderCall(uintptr_t callCtx, int32_t methodId, bool withSync) DoBinderCall() argument
1499 DecodeCallReply(uintptr_t callCtx, IpcDataInfo *replyCache, int32_t cacheNum) DecodeCallReply() argument
[all...]
/base/security/device_auth/frameworks/src/standard/
H A Dipc_adapt.cpp1258 int32_t CreateCallCtx(uintptr_t *callCtx, uintptr_t *cbCtx) in CreateCallCtx() argument
1263 if (callCtx == nullptr) { in CreateCallCtx()
1272 *callCtx = reinterpret_cast<uintptr_t>(dataCache); in CreateCallCtx()
1276 void DestroyCallCtx(uintptr_t *callCtx, uintptr_t *cbCtx) in DestroyCallCtx() argument
1281 if ((callCtx != nullptr) && (*callCtx != 0)) { in DestroyCallCtx()
1282 dataCache = reinterpret_cast<ProxyDevAuthData *>(*callCtx); in DestroyCallCtx()
1284 *callCtx = 0; in DestroyCallCtx()
1289 void SetCbCtxToDataCtx(uintptr_t callCtx, int32_t cbIdx) in SetCbCtxToDataCtx() argument
1293 dataCache = reinterpret_cast<ProxyDevAuthData *>(callCtx); in SetCbCtxToDataCtx()
1298 SetCallRequestParamInfo(uintptr_t callCtx, int32_t type, const uint8_t *param, int32_t paramSz) SetCallRequestParamInfo() argument
1305 DoBinderCall(uintptr_t callCtx, int32_t methodId, bool withSync) DoBinderCall() argument
1419 DecodeCallReply(uintptr_t callCtx, IpcDataInfo *replyCache, int32_t cacheNum) DecodeCallReply() argument
[all...]

Completed in 7 milliseconds