Signed-off-by: youliang_1314 <youliang4@huawei.com>
Change-Id: If4059158006b47afbce5d1c72e291263bc9cc3db
This commit is contained in:
youliang_1314 2022-04-28 16:43:39 +08:00
parent 4ae8faf12a
commit 46aad993a8
11 changed files with 14 additions and 12 deletions

View File

@ -96,21 +96,21 @@
"name": "//base/user_iam/user_auth/frameworks/co_auth:coauth_framework",
"header": {
"header_files": [
"frameworks/co_auth/inc/auth_executor_registry.h",
"frameworks/co_auth/inc/auth_message.h",
"frameworks/co_auth/inc/coauth_callback.h",
"frameworks/co_auth/inc/coauth_info_define.h",
"frameworks/co_auth/inc/query_callback.h",
"frameworks/co_auth/inc/set_prop_callback.h",
"interfaces/inner_api/co_auth/auth_attributes.h",
"interfaces/inner_api/co_auth/auth_executor.h",
"frameworks/co_auth/inc/auth_executor_registry.h",
"interfaces/inner_api/co_auth/auth_info.h",
"frameworks/co_auth/inc/auth_message.h",
"frameworks/co_auth/inc/co_auth.h",
"interfaces/inner_api/co_auth/coauth_callback.h",
"interfaces/inner_api/co_auth/coauth_info_define.h",
"interfaces/inner_api/co_auth/co_auth.h",
"interfaces/inner_api/co_auth/executor_callback.h",
"services/co_auth/inc/executor_messenger.h",
"interfaces/inner_api/co_auth/query_callback.h",
"interfaces/inner_api/co_auth/set_prop_callback.h",
"interfaces/inner_api/co_auth/co_auth_defines.h",
"interfaces/inner_api/co_auth/executor_callback.h",
"interfaces/inner_api/co_auth/executor_mgr.h"
"interfaces/inner_api/co_auth/executor_mgr.h",
"services/co_auth/inc/executor_messenger.h"
],
"header_base": "//base/user_iam/user_auth/"
}

View File

@ -34,16 +34,16 @@ ohos_shared_library("coauth_framework") {
"src/coauth_callback_proxy.cpp",
"src/coauth_callback_stub.cpp",
"src/coauth_proxy.cpp",
"src/executor_callback.cpp",
"src/executor_callback_proxy.cpp",
"src/executor_callback_stub.cpp",
"src/executor_messenger_proxy.cpp",
"src/executor_messenger_stub.cpp",
"src/executor_mgr.cpp",
"src/query_callback_proxy.cpp",
"src/query_callback_stub.cpp",
"src/set_prop_callback_proxy.cpp",
"src/set_prop_callback_stub.cpp",
"src/executor_mgr.cpp",
"src/executor_callback.cpp",
]
external_deps = [

View File

@ -19,6 +19,9 @@
namespace OHOS {
namespace UserIAM {
namespace AuthResPool {
ExecutorMgr::ExecutorMgr() = default;
ExecutorMgr::~ExecutorMgr() = default;
void ExecutorMgr::Register(const ExecutorInfo &info, std::shared_ptr<ExecutorCallback> callback)
{
std::shared_ptr<AuthResPool::AuthExecutor> executorInfo = std::make_shared<AuthResPool::AuthExecutor>();

View File

@ -20,7 +20,6 @@ ohos_unittest("user_auth_test") {
]
sources = [
"//base/user_iam/user_auth/frameworks/user_idm/src/user_idm.cpp",
"src/user_idm_callback_test.cpp",
"src/user_idm_ut_test.cpp",
"src/userauth_test.cpp",