/base/security/device_auth/services/frameworks/src/session/ |
D | session_manager.c | 30 int64_t requestId; member 59 static int32_t GetSessionId(int64_t requestId, int64_t *sessionId) in GetSessionId() argument 64 if ((requestInfo != NULL) && (requestInfo->requestId == requestId)) { in GetSessionId() 72 static int32_t GetSessionIdByType(int64_t requestId, int32_t type, int64_t *sessionId) in GetSessionIdByType() argument 77 if ((requestInfo != NULL) && (requestInfo->requestId == requestId)) { in GetSessionIdByType() 89 static void DestroyRequest(int64_t requestId) in DestroyRequest() argument 94 if ((request != NULL) && (request->requestId == requestId)) { in DestroyRequest() 122 bool IsRequestExist(int64_t requestId) in IsRequestExist() argument 125 return (GetSessionId(requestId, &sessionId) == HC_SUCCESS) ? true : false; in IsRequestExist() 134 int64_t requestId = 0; in InformTimeOutAndDestroyRequest() local [all …]
|
/base/security/device_auth/services/frameworks/inc/session/ |
D | session_manager.h | 29 bool IsRequestExist(int64_t requestId); 31 int32_t CreateSession(int64_t requestId, SessionTypeValue sessionType, CJson *params, 33 int32_t ProcessSession(int64_t requestId, int32_t type, CJson *in); 34 void DestroySession(int64_t requestId); 35 void DestroySessionByType(int64_t requestId, const char *appId, int cancelType); 36 void OnChannelOpened(int64_t requestId, int64_t channelId);
|
/base/security/device_auth/services/group_manager/src/channel_manager/soft_bus_channel/ |
D | soft_bus_channel.c | 30 int64_t requestId; member 36 int64_t requestId; member 52 *returnReqId = entry->requestId; in GetReqIdByChannelId() 61 static int32_t AddChannelEntry(int64_t requestId, int64_t channelId) in AddChannelEntry() argument 70 .requestId = requestId in AddChannelEntry() 102 OnChannelOpened(task->requestId, task->channelId); in DoOnChannelOpened() 105 static void InitSoftBusTask(SoftBusTask *task, int64_t requestId, int64_t channelId) in InitSoftBusTask() argument 110 task->requestId = requestId; in InitSoftBusTask() 113 static char *GenRecvData(int64_t channelId, const void *data, uint32_t dataLen, int64_t *requestId) in GenRecvData() argument 131 if (GetInt64FromJson(recvData, FIELD_REQUEST_ID, requestId) != HC_SUCCESS) { in GenRecvData() [all …]
|
/base/security/device_auth/services/group_manager/src/ |
D | group_manager.c | 22 int32_t CreateGroupImpl(int32_t osAccountId, int64_t requestId, const char *appId, const char *crea… in CreateGroupImpl() argument 24 …return IsGroupSupport() ? GetGroupImplInstance()->createGroup(osAccountId, requestId, appId, creat… in CreateGroupImpl() 28 int32_t DeleteGroupImpl(int32_t osAccountId, int64_t requestId, const char *appId, const char *disb… in DeleteGroupImpl() argument 30 …return IsGroupSupport() ? GetGroupImplInstance()->deleteGroup(osAccountId, requestId, appId, disba… in DeleteGroupImpl() 34 int32_t AddMemberToGroupImpl(int32_t osAccountId, int64_t requestId, const char *appId, const char … in AddMemberToGroupImpl() argument 36 …return IsGroupSupport() ? GetGroupImplInstance()->addMember(osAccountId, requestId, appId, addPara… in AddMemberToGroupImpl() 40 int32_t DeleteMemberFromGroupImpl(int32_t osAccountId, int64_t requestId, const char *appId, const … in DeleteMemberFromGroupImpl() argument 42 …return IsGroupSupport() ? GetGroupImplInstance()->deleteMember(osAccountId, requestId, appId, dele… in DeleteMemberFromGroupImpl() 58 int32_t ProcessBindDataImpl(int64_t requestId, const uint8_t *data, uint32_t dataLen) in ProcessBindDataImpl() argument 60 …return IsGroupSupport() ? GetGroupImplInstance()->processBindData(requestId, data, dataLen) : HC_E… in ProcessBindDataImpl() [all …]
|
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservregcallback_fuzzer/ |
D | devauthservregcallback_fuzzer.cpp | 23 …static void OnError(int64_t requestId, int operationCode, int errorCode, const char *errorReturn) … in OnError() argument 25 static void OnFinish(int64_t requestId, int operationCode, const char *authReturn) {} in OnFinish() argument 27 …static void OnSessionKeyReturned(int64_t requestId, const uint8_t *sessionKey, uint32_t sessionKey… in OnSessionKeyReturned() argument 29 static bool OnTransmit(int64_t requestId, const uint8_t *data, uint32_t dataLen) in OnTransmit() argument 34 static char *OnRequest(int64_t requestId, int operationCode, const char* reqParam) in OnRequest() argument
|
/base/security/device_auth/interfaces/innerkits/ |
D | device_auth.h | 146 bool (*onTransmit)(int64_t requestId, const uint8_t *data, uint32_t dataLen); 147 …void (*onSessionKeyReturned)(int64_t requestId, const uint8_t *sessionKey, uint32_t sessionKeyLen); 148 void (*onFinish)(int64_t requestId, int operationCode, const char *returnData); 149 void (*onError)(int64_t requestId, int operationCode, int errorCode, const char *errorReturn); 150 char *(*onRequest)(int64_t requestId, int operationCode, const char *reqParams); 158 void (*cancelRequest)(int64_t requestId, const char *appId); 166 …int32_t (*createGroup)(int32_t osAccountId, int64_t requestId, const char *appId, const char *crea… 167 …int32_t (*deleteGroup)(int32_t osAccountId, int64_t requestId, const char *appId, const char *disb… 168 …int32_t (*addMemberToGroup)(int32_t osAccountId, int64_t requestId, const char *appId, const char … 169 int32_t (*deleteMemberFromGroup)(int32_t osAccountId, int64_t requestId, const char *appId, [all …]
|
/base/security/device_auth/frameworks/src/standard/ |
D | ipc_adapt.cpp | 47 int64_t requestId; member 279 if ((reqId == g_ipcCallBackList.ctx[i].requestId) && in GetIpcCallBackByReqId() 302 node->requestId = reqId; in AddReqIdByAppId() 370 node->requestId = reqId; in AddIpcCallBackByReqId() 413 int64_t requestId = 0; in OnTransmitStub() local 421 inOutLen = sizeof(requestId); in OnTransmitStub() 423 reinterpret_cast<uint8_t *>(&requestId), &inOutLen); in OnTransmitStub() 426 bRet = onTransmitHook(requestId, data, dataLen); in OnTransmitStub() 433 int64_t requestId = 0; in OnSessKeyStub() local 441 inOutLen = sizeof(requestId); in OnSessKeyStub() [all …]
|
/base/security/device_auth/test/fuzztest/group_auth/processauthdata_fuzzer/ |
D | processauthdata_fuzzer.cpp | 19 void OnError(int64_t requestId, int operationCode, int errorCode, const char *errorReturn) {} in OnError() argument 21 void OnFinish(int64_t requestId, int operationCode, const char *authReturn) {} in OnFinish() argument 23 … void OnSessionKeyReturned(int64_t requestId, const uint8_t *sessionKey, uint32_t sessionKeyLen) {} in OnSessionKeyReturned() argument 25 bool onTransmit(int64_t requestId, const uint8_t *data, uint32_t dataLen) in onTransmit() argument 30 char *onRequest(int64_t requestId, int operationCode, const char* reqParam) in onRequest() argument
|
/base/security/device_auth/test/fuzztest/group_manage/registercallback_fuzzer/ |
D | registercallback_fuzzer.cpp | 19 void OnError(int64_t requestId, int operationCode, int errorCode, const char *errorReturn) {} in OnError() argument 21 void OnFinish(int64_t requestId, int operationCode, const char *authReturn) {} in OnFinish() argument 23 … void OnSessionKeyReturned(int64_t requestId, const uint8_t *sessionKey, uint32_t sessionKeyLen) {} in OnSessionKeyReturned() argument 25 bool onTransmit(int64_t requestId, const uint8_t *data, uint32_t dataLen) in onTransmit() argument 30 char *onRequest(int64_t requestId, int operationCode, const char* reqParam) in onRequest() argument
|
/base/security/device_auth/test/fuzztest/group_auth/authdevice_fuzzer/ |
D | authdevice_fuzzer.cpp | 19 void OnError(int64_t requestId, int operationCode, int errorCode, const char *errorReturn) {} in OnError() argument 21 void OnFinish(int64_t requestId, int operationCode, const char *authReturn) {} in OnFinish() argument 23 … void OnSessionKeyReturned(int64_t requestId, const uint8_t *sessionKey, uint32_t sessionKeyLen) {} in OnSessionKeyReturned() argument 25 bool onTransmit(int64_t requestId, const uint8_t *data, uint32_t dataLen) in onTransmit() argument 30 char *onRequest(int64_t requestId, int operationCode, const char* reqParam) in onRequest() argument
|
/base/security/device_auth/frameworks/src/lite/ |
D | ipc_adapt.c | 43 int64_t requestId; member 296 if ((reqId == g_ipcCallBackList.ctx[i].requestId) && in GetIpcCallBackByReqId() 320 node->requestId = reqId; in AddReqIdByAppId() 395 node->requestId = reqId; in AddIpcCallBackByReqId() 441 int64_t requestId = 0; in OnTransmitStub() local 449 inOutLen = sizeof(requestId); in OnTransmitStub() 450 …(void)GetIpcRequestParamByType(cbDataCache, cacheNum, PARAM_TYPE_REQID, (uint8_t *)(&requestId), &… in OnTransmitStub() 453 bRet = onTransmitHook(requestId, data, dataLen); in OnTransmitStub() 460 int64_t requestId = 0; in OnSessKeyStub() local 467 inOutLen = sizeof(requestId); in OnSessKeyStub() [all …]
|
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservprocessauthdata_fuzzer/ |
D | devauthservprocessauthdata_fuzzer.cpp | 27 … static void OnError(int64_t requestId, int operationCode, int errorCode, const char *errorReturn) in OnError() argument 32 static void OnFinish(int64_t requestId, int operationCode, const char *authReturn) in OnFinish() argument 37 …static void OnSessionKeyReturned(int64_t requestId, const uint8_t *sessionKey, uint32_t sessionKey… in OnSessionKeyReturned() argument 39 static bool OnTransmit(int64_t requestId, const uint8_t *data, uint32_t dataLen) in OnTransmit() argument 44 static char *OnRequest(int64_t requestId, int operationCode, const char* reqParam) in OnRequest() argument
|
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservprocessbinddata_fuzzer/ |
D | devauthservprocessbinddata_fuzzer.cpp | 27 … static void OnError(int64_t requestId, int operationCode, int errorCode, const char *errorReturn) in OnError() argument 32 static void OnFinish(int64_t requestId, int operationCode, const char *authReturn) in OnFinish() argument 37 …static void OnSessionKeyReturned(int64_t requestId, const uint8_t *sessionKey, uint32_t sessionKey… in OnSessionKeyReturned() argument 39 static bool OnTransmit(int64_t requestId, const uint8_t *data, uint32_t dataLen) in OnTransmit() argument 44 static char *OnRequest(int64_t requestId, int operationCode, const char* reqParam) in OnRequest() argument
|
/base/security/device_auth/services/group_manager/inc/ |
D | group_manager.h | 29 int32_t CreateGroupImpl(int32_t osAccountId, int64_t requestId, const char *appId, const char *crea… 30 int32_t DeleteGroupImpl(int32_t osAccountId, int64_t requestId, const char *appId, const char *disb… 31 int32_t AddMemberToGroupImpl(int32_t osAccountId, int64_t requestId, const char *appId, const char … 32 int32_t DeleteMemberFromGroupImpl(int32_t osAccountId, int64_t requestId, const char *appId, const … 35 int32_t ProcessBindDataImpl(int64_t requestId, const uint8_t *data, uint32_t dataLen); 55 void CancelRequestImpl(int64_t requestId, const char *appId);
|
D | group_operation.h | 27 …int32_t (*createGroup)(int32_t osAccountId, int64_t requestId, const char *appId, const char *crea… 28 …int32_t (*deleteGroup)(int32_t osAccountId, int64_t requestId, const char *appId, const char *disb… 29 …int32_t (*addMember)(int32_t osAccountId, int64_t requestId, const char *appId, const char *addPar… 30 …int32_t (*deleteMember)(int32_t osAccountId, int64_t requestId, const char *appId, const char *del… 33 int32_t (*processBindData)(int64_t requestId, const uint8_t *data, uint32_t dataLen); 53 void (*cancelGroupRequest)(int64_t requestId, const char *appId);
|
D | peer_to_peer_group.h | 27 int32_t (*addMember)(int32_t osAccountId, int64_t requestId, CJson *jsonParams, 29 int32_t (*deleteMember)(int32_t osAccountId, int64_t requestId, CJson *jsonParams, 31 int32_t (*processData)(int64_t requestId, CJson *jsonParams,
|
/base/hiviewdfx/hidumper/services/native/src/ |
D | dump_manager_service.cpp | 165 uint32_t requestId = 0; in AddRequestRawParam() local 167 requestId = GetRequestId(); in AddRequestRawParam() 168 } while (requestRawParamMap_.count(requestId) > 0); in AddRequestRawParam() 174 requestId, calllingUid, calllingPid); in AddRequestRawParam() 176 std::make_shared<RawParam>(calllingUid, calllingPid, requestId, args, outfd); in AddRequestRawParam() 177 requestRawParamMap_.insert(std::make_pair(requestId, requestHandle)); in AddRequestRawParam() 188 uint32_t requestId = rawParam->GetRequestId(); in EraseRequestRawParam() local 189 DUMPER_HILOGD(MODULE_SERVICE, "debug|requestId=%{public}u", requestId); in EraseRequestRawParam() 190 if (requestRawParamMap_.count(requestId) > 0) { in EraseRequestRawParam() 191 requestRawParamMap_.erase(requestId); in EraseRequestRawParam()
|
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservcheckaccesstogroup_fuzzer/ |
D | devauthservcheckaccesstogroup_fuzzer.cpp | 28 … static void OnError(int64_t requestId, int operationCode, int errorCode, const char *errorReturn) in OnError() argument 33 static void OnFinish(int64_t requestId, int operationCode, const char *authReturn) in OnFinish() argument 49 …static void OnSessionKeyReturned(int64_t requestId, const uint8_t *sessionKey, uint32_t sessionKey… in OnSessionKeyReturned() argument 51 static bool OnTransmit(int64_t requestId, const uint8_t *data, uint32_t dataLen) in OnTransmit() argument 56 static char *OnRequest(int64_t requestId, int operationCode, const char* reqParam) in OnRequest() argument
|
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservcreategroup_fuzzer/ |
D | devauthservcreategroup_fuzzer.cpp | 28 … static void OnError(int64_t requestId, int operationCode, int errorCode, const char *errorReturn) in OnError() argument 33 static void OnFinish(int64_t requestId, int operationCode, const char *authReturn) in OnFinish() argument 49 …static void OnSessionKeyReturned(int64_t requestId, const uint8_t *sessionKey, uint32_t sessionKey… in OnSessionKeyReturned() argument 51 static bool OnTransmit(int64_t requestId, const uint8_t *data, uint32_t dataLen) in OnTransmit() argument 56 static char *OnRequest(int64_t requestId, int operationCode, const char* reqParam) in OnRequest() argument
|
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservisdeviceingroup_fuzzer/ |
D | devauthservisdeviceingroup_fuzzer.cpp | 28 … static void OnError(int64_t requestId, int operationCode, int errorCode, const char *errorReturn) in OnError() argument 33 static void OnFinish(int64_t requestId, int operationCode, const char *authReturn) in OnFinish() argument 49 …static void OnSessionKeyReturned(int64_t requestId, const uint8_t *sessionKey, uint32_t sessionKey… in OnSessionKeyReturned() argument 51 static bool OnTransmit(int64_t requestId, const uint8_t *data, uint32_t dataLen) in OnTransmit() argument 56 static char *OnRequest(int64_t requestId, int operationCode, const char* reqParam) in OnRequest() argument
|
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservgetrelatedgroups_fuzzer/ |
D | devauthservgetrelatedgroups_fuzzer.cpp | 28 … static void OnError(int64_t requestId, int operationCode, int errorCode, const char *errorReturn) in OnError() argument 33 static void OnFinish(int64_t requestId, int operationCode, const char *authReturn) in OnFinish() argument 49 …static void OnSessionKeyReturned(int64_t requestId, const uint8_t *sessionKey, uint32_t sessionKey… in OnSessionKeyReturned() argument 51 static bool OnTransmit(int64_t requestId, const uint8_t *data, uint32_t dataLen) in OnTransmit() argument 56 static char *OnRequest(int64_t requestId, int operationCode, const char* reqParam) in OnRequest() argument
|
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservdeletegroup_fuzzer/ |
D | devauthservdeletegroup_fuzzer.cpp | 28 … static void OnError(int64_t requestId, int operationCode, int errorCode, const char *errorReturn) in OnError() argument 33 static void OnFinish(int64_t requestId, int operationCode, const char *authReturn) in OnFinish() argument 49 …static void OnSessionKeyReturned(int64_t requestId, const uint8_t *sessionKey, uint32_t sessionKey… in OnSessionKeyReturned() argument 51 static bool OnTransmit(int64_t requestId, const uint8_t *data, uint32_t dataLen) in OnTransmit() argument 56 static char *OnRequest(int64_t requestId, int operationCode, const char* reqParam) in OnRequest() argument
|
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservgetjoinedgroups_fuzzer/ |
D | devauthservgetjoinedgroups_fuzzer.cpp | 28 … static void OnError(int64_t requestId, int operationCode, int errorCode, const char *errorReturn) in OnError() argument 33 static void OnFinish(int64_t requestId, int operationCode, const char *authReturn) in OnFinish() argument 49 …static void OnSessionKeyReturned(int64_t requestId, const uint8_t *sessionKey, uint32_t sessionKey… in OnSessionKeyReturned() argument 51 static bool OnTransmit(int64_t requestId, const uint8_t *data, uint32_t dataLen) in OnTransmit() argument 56 static char *OnRequest(int64_t requestId, int operationCode, const char* reqParam) in OnRequest() argument
|
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservgettrusteddevices_fuzzer/ |
D | devauthservgettrusteddevices_fuzzer.cpp | 28 … static void OnError(int64_t requestId, int operationCode, int errorCode, const char *errorReturn) in OnError() argument 33 static void OnFinish(int64_t requestId, int operationCode, const char *authReturn) in OnFinish() argument 49 …static void OnSessionKeyReturned(int64_t requestId, const uint8_t *sessionKey, uint32_t sessionKey… in OnSessionKeyReturned() argument 51 static bool OnTransmit(int64_t requestId, const uint8_t *data, uint32_t dataLen) in OnTransmit() argument 56 static char *OnRequest(int64_t requestId, int operationCode, const char* reqParam) in OnRequest() argument
|
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservgetdeviceinfobyid_fuzzer/ |
D | devauthservgetdeviceinfobyid_fuzzer.cpp | 28 … static void OnError(int64_t requestId, int operationCode, int errorCode, const char *errorReturn) in OnError() argument 33 static void OnFinish(int64_t requestId, int operationCode, const char *authReturn) in OnFinish() argument 49 …static void OnSessionKeyReturned(int64_t requestId, const uint8_t *sessionKey, uint32_t sessionKey… in OnSessionKeyReturned() argument 51 static bool OnTransmit(int64_t requestId, const uint8_t *data, uint32_t dataLen) in OnTransmit() argument 56 static char *OnRequest(int64_t requestId, int operationCode, const char* reqParam) in OnRequest() argument
|