Home
last modified time | relevance | path

Searched refs:operationCode (Results 1 - 25 of 64) sorted by relevance

123

/base/security/device_auth/services/legacy/group_manager/src/callback_manager/
H A Dcallback_manager.c125 void ProcessFinishCallback(int64_t reqId, int operationCode, const char *returnData, in ProcessFinishCallback() argument
130 callback->onFinish(reqId, operationCode, returnData); in ProcessFinishCallback()
137 static void FaultReportWithOpCode(int operationCode, int errorCode) in FaultReportWithOpCode() argument
141 if (operationCode < 0 || (unsigned int)operationCode >= sizeof(g_opCodeToEvent) / sizeof(g_opCodeToEvent[0])) { in FaultReportWithOpCode()
145 DEV_AUTH_REPORT_FAULT_EVENT_WITH_ERR_CODE(g_opCodeToEvent[operationCode], in FaultReportWithOpCode()
149 void ProcessErrorCallback(int64_t reqId, int operationCode, int errorCode, const char *errorReturn, in ProcessErrorCallback() argument
154 callback->onError(reqId, operationCode, errorCode, errorReturn); in ProcessErrorCallback()
155 FaultReportWithOpCode(operationCode, errorCode); in ProcessErrorCallback()
162 char *ProcessRequestCallback(int64_t reqId, int operationCode, cons argument
[all...]
/base/security/device_auth/services/legacy/authenticators/src/account_related/
H A Daccount_version_util.c91 const AccountVersionInfo *GetNegotiatedVersionInfo(int32_t operationCode, int32_t credentialType) in GetNegotiatedVersionInfo() argument
94 if (operationCode != AUTHENTICATE) { in GetNegotiatedVersionInfo()
95 LOGE("operationCode is not auth, not supported."); in GetNegotiatedVersionInfo()
101 uint64_t GetSupportedVersionNo(int32_t operationCode) in GetSupportedVersionNo() argument
103 (void)operationCode; // Now, only support auth negotiate. in GetSupportedVersionNo()
H A Daccount_task_main.c142 int32_t operationCode = MapSubTaskTypeToOpCode(task->subTask->getTaskType()); in ProcessTaskT() local
143 AccountSendErrMsgToOut(out, operationCode, res); in ProcessTaskT()
150 int32_t operationCode = 0; in NegotiateAndCreateSubTask() local
152 if (GetIntFromJson(in, FIELD_OPERATION_CODE, &operationCode) != CLIB_SUCCESS) { in NegotiateAndCreateSubTask()
153 LOGE("Get operationCode from json failed."); in NegotiateAndCreateSubTask()
160 const AccountVersionInfo *verInfo = GetNegotiatedVersionInfo(operationCode, credentialType); in NegotiateAndCreateSubTask()
184 int32_t operationCode = CODE_NULL; in AccountSendCreateError() local
185 if (GetIntFromJson(in, FIELD_OPERATION_CODE, &operationCode) != CLIB_SUCCESS) { in AccountSendCreateError()
186 LOGE("Get operationCode from json failed."); in AccountSendCreateError()
188 AccountSendErrMsgToOut(out, operationCode, errCod in AccountSendCreateError()
[all...]
/base/security/device_auth/services/legacy/group_manager/inc/callback_manager/
H A Dcallback_manager.h26 char *ProcessRequestCallback(int64_t reqId, int operationCode, const char *reqParams,
28 void ProcessFinishCallback(int64_t reqId, int operationCode, const char *returnData,
32 void ProcessErrorCallback(int64_t reqId, int operationCode, int errorCode, const char *errorReturn,
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservregcallback_fuzzer/
H A Ddevauthservregcallback_fuzzer.cpp23 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
34 static char *OnRequest(int64_t requestId, int operationCode, const char* reqParam) in OnRequest() argument
/base/security/device_auth/test/fuzztest/group_auth/processauthdata_fuzzer/
H A Dprocessauthdata_fuzzer.cpp19 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
30 char *onRequest(int64_t requestId, int operationCode, const char* reqParam) in onRequest() argument
/base/security/device_auth/test/fuzztest/group_manage/registercallback_fuzzer/
H A Dregistercallback_fuzzer.cpp19 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
30 char *onRequest(int64_t requestId, int operationCode, const char* reqParam) in onRequest() argument
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservcheckaccesstogroup_fuzzer/
H A Ddevauthservcheckaccesstogroup_fuzzer.cpp28 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
36 if (operationCode == GROUP_CREATE) { in OnFinish()
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/
H A Ddevauthservcreategroup_fuzzer.cpp28 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
36 if (operationCode == GROUP_CREATE) { in OnFinish()
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/
H A Ddevauthservgetdeviceinfobyid_fuzzer.cpp28 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
36 if (operationCode == GROUP_CREATE) { in OnFinish()
56 static char *OnRequest(int64_t requestId, int operationCode, const char* reqParam) in OnRequest() argument
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservgetgroupinfobyid_fuzzer/
H A Ddevauthservgetgroupinfobyid_fuzzer.cpp28 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
36 if (operationCode == GROUP_CREATE) { in OnFinish()
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/
H A Ddevauthservgetjoinedgroups_fuzzer.cpp28 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
36 if (operationCode == GROUP_CREATE) { in OnFinish()
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/
H A Ddevauthservgetrelatedgroups_fuzzer.cpp28 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
36 if (operationCode == GROUP_CREATE) { in OnFinish()
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/
H A Ddevauthservgettrusteddevices_fuzzer.cpp28 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
36 if (operationCode == GROUP_CREATE) { in OnFinish()
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/
H A Ddevauthservisdeviceingroup_fuzzer.cpp28 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
36 if (operationCode == GROUP_CREATE) { in OnFinish()
56 static char *OnRequest(int64_t requestId, int operationCode, const char* reqParam) in OnRequest() argument
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservprocessauthdata_fuzzer/
H A Ddevauthservprocessauthdata_fuzzer.cpp27 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
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/
H A Ddevauthservprocessbinddata_fuzzer.cpp27 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
44 static char *OnRequest(int64_t requestId, int operationCode, const char* reqParam) in OnRequest() argument
/base/security/device_auth/test/fuzztest/group_auth/authdevice_fuzzer/
H A Dauthdevice_fuzzer.cpp19 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
30 char *onRequest(int64_t requestId, int operationCode, const char* reqParam) in onRequest() argument
/base/security/device_auth/services/legacy/authenticators/inc/account_related/
H A Daccount_version_util.h62 uint64_t GetSupportedVersionNo(int32_t operationCode);
63 const AccountVersionInfo *GetNegotiatedVersionInfo(int32_t operationCode, int32_t credentialType);
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservaddmembertogroup_fuzzer/
H A Ddevauthservaddmembertogroup_fuzzer.cpp28 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
36 if (operationCode == GROUP_CREATE) { in OnFinish()
56 static char *OnRequest(int64_t requestId, int operationCode, const char* reqParam) in OnRequest() argument
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservaddmultimemberstogroup_fuzzer/
H A Ddevauthservaddmultimemberstogroup_fuzzer.cpp28 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
36 if (operationCode == GROUP_CREATE) { in OnFinish()
56 static char *OnRequest(int64_t requestId, int operationCode, const char* reqParam) in OnRequest() argument
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservauthdevice_fuzzer/
H A Ddevauthservauthdevice_fuzzer.cpp30 static void OnError(int64_t requestId, int operationCode, int errorCode, const char *errorReturn) in OnError() argument
35 static void OnFinish(int64_t requestId, int operationCode, const char *authReturn) in OnFinish() argument
38 if (operationCode == GROUP_CREATE) { in OnFinish()
58 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/
H A Ddevauthservdeletegroup_fuzzer.cpp28 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
36 if (operationCode == GROUP_CREATE) { in OnFinish()
56 static char *OnRequest(int64_t requestId, int operationCode, const char* reqParam) in OnRequest() argument
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservdeletemultimembersfromgroup_fuzzer/
H A Ddevauthservdeletemultimembersfromgroup_fuzzer.cpp28 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
36 if (operationCode == GROUP_CREATE) { in OnFinish()
56 static char *OnRequest(int64_t requestId, int operationCode, const char* reqParam) in OnRequest() argument
/base/security/device_auth/test/fuzztest/device_auth_service/devauthservdeletememberfromgroup_fuzzer/
H A Ddevauthservdeletememberfromgroup_fuzzer.cpp28 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
36 if (operationCode == GROUP_CREATE) { in OnFinish()
56 static char *OnRequest(int64_t requestId, int operationCode, const char* reqParam) in OnRequest() argument

Completed in 13 milliseconds

123