Home
last modified time | relevance | path

Searched refs:moduleType (Results 1 – 18 of 18) sorted by relevance

/base/security/device_auth/services/frameworks/src/module/
Ddev_auth_module_manager.c32 int32_t CheckMsgRepeatability(const CJson *in, int moduleType) in CheckMsgRepeatability() argument
38 switch (moduleType) { in CheckMsgRepeatability()
44 LOGE("Unsupported module type: %d.", moduleType); in CheckMsgRepeatability()
50 static AuthModuleBase *GetModule(int moduleType) in GetModule() argument
56 if (moduleType == ((AuthModuleBase *)(*module))->moduleType) { in GetModule()
61 LOGE("There is no matched module, moduleType: %d.", moduleType); in GetModule()
66 int userType, int moduleType) in IsParamsForDasTokenManagerValid() argument
68 if (moduleType != DAS_MODULE) { in IsParamsForDasTokenManagerValid()
69 LOGE("Unsupported method in the module, moduleType: %d.", moduleType); in IsParamsForDasTokenManagerValid()
89 int moduleType) in RegisterLocalIdentity() argument
[all …]
/base/security/device_auth/services/frameworks/inc/module/
Ddev_auth_module_manager.h27 int moduleType; member
44 int32_t CreateTask(int32_t *taskId, const CJson *in, CJson *out, int moduleType);
45 int32_t ProcessTask(int taskId, const CJson *in, CJson *out, int32_t *status, int moduleType);
46 void DestroyTask(int taskId, int moduleType);
47 int32_t CheckMsgRepeatability(const CJson *in, int moduleType);
51 int moduleType);
53 int moduleType);
55 int moduleType);
56 int32_t GetPublicKey(int moduleType, AuthModuleParams *params, Uint8Buff *returnPk);
/base/security/device_auth/services/group_auth/src/session/auth_session/
Dauth_session_util.c28 int moduleType = INVALID_MODULE_TYPE; in AuthFormToModuleType() local
30 moduleType = DAS_MODULE; in AuthFormToModuleType()
32 moduleType = ACCOUNT_MODULE; in AuthFormToModuleType()
36 return moduleType; in AuthFormToModuleType()
Dauth_session_server.c144 static int32_t ProcessServerAuthTask(AuthSession *session, int32_t moduleType, CJson *in, CJson *ou… in ProcessServerAuthTask() argument
152 int32_t res = ProcessTask(session->curTaskId, in, out, &status, moduleType); in ProcessServerAuthTask()
230 int32_t moduleType = GetAuthModuleType(paramInSession); in ProcessServerAuthSession() local
231 res = ProcessServerAuthTask(realSession, moduleType, in, out); in ProcessServerAuthSession()
Dauth_session_client.c45 static int32_t ProcessClientAuthTask(AuthSession *session, int32_t moduleType, CJson *in, CJson *ou… in ProcessClientAuthTask() argument
53 int32_t res = ProcessTask(session->curTaskId, in, out, &status, moduleType); in ProcessClientAuthTask()
56 DestroyTask(session->curTaskId, moduleType); in ProcessClientAuthTask()
Dauth_session_common.c663 int32_t moduleType = GetAuthModuleType(paramInSession); in CreateAndProcessTask() local
664 if (moduleType == DAS_MODULE) { in CreateAndProcessTask()
676 int32_t res = CreateTask(&(session->curTaskId), paramInSession, out, moduleType); in CreateAndProcessTask()
681 res = ProcessTask(session->curTaskId, paramInSession, out, status, moduleType); in CreateAndProcessTask()
/base/security/device_auth/services/group_manager/src/session/
Dbind_session_common_util.c94 session->moduleType = DAS_MODULE; in CreateBaseBindSession()
109 DestroyTask(realSession->curTaskId, realSession->moduleType); in DestroyBindSession()
175 LOGI("Start to create and process module task! [ModuleType]: %d", session->moduleType); in CreateAndProcessModule()
176 int32_t res = CreateTask(&(session->curTaskId), in, out, session->moduleType); in CreateAndProcessModule()
181 res = ProcessTask(session->curTaskId, in, out, &status, session->moduleType); in CreateAndProcessModule()
192 LOGI("Start to process module task! [ModuleType]: %d", session->moduleType); in ProcessModule()
193 int32_t res = ProcessTask(session->curTaskId, in, out, status, session->moduleType); in ProcessModule()
/base/useriam/user_auth_framework/services/context/src/
Dbase_context.cpp89 void BaseContext::OnScheduleProcessed(ExecutorRole src, int32_t moduleType, const std::vector<uint8… in OnScheduleProcessed() argument
93 callback_->OnAcquireInfo(src, moduleType, acquireMsg); in OnScheduleProcessed()
Dcontext_callback_impl.cpp38 void ContextCallbackImpl::OnAcquireInfo(ExecutorRole src, int32_t moduleType, in OnAcquireInfo() argument
51 iamCallback_->OnAcquireInfo(moduleType, acquireInfo, attr); in OnAcquireInfo()
Dcontext_callback_impl.h32 …void OnAcquireInfo(ExecutorRole src, int32_t moduleType, const std::vector<uint8_t> &acquireMsg) c…
/base/security/device_auth/services/group_manager/inc/session/
Dbind_session_common_defines.h31 int32_t moduleType; member
/base/useriam/user_auth_framework/services/core/inc/
Dschedule_node_callback.h33 …virtual void OnScheduleProcessed(ExecutorRole src, int32_t moduleType, const std::vector<uint8_t> …
/base/useriam/user_auth_framework/test/unittest/services/mocks/
Dmock_schedule_node_callback.h31 void(ExecutorRole src, int32_t moduleType, const std::vector<uint8_t> &acquireMsg));
Dmock_context.h35 …OnAcquireInfo, void(ExecutorRole src, int32_t moduleType, const std::vector<uint8_t> &acquireMsg));
/base/useriam/user_auth_framework/services/context/inc/
Dbase_context.h44 …void OnScheduleProcessed(ExecutorRole src, int32_t moduleType, const std::vector<uint8_t> &acquire…
Dcontext_callback.h65 …virtual void OnAcquireInfo(ExecutorRole src, int32_t moduleType, const std::vector<uint8_t> &acqui…
/base/security/device_auth/services/authenticators/src/account_unrelated/
Ddas_module.c148 g_dasModule.moduleBase.moduleType = DAS_MODULE; in CreateDasModule()
/base/security/device_auth/services/authenticators/src/account_related/
Daccount_module.c199 g_module.moduleBase.moduleType = ACCOUNT_MODULE; in CreateAccountModule()