/base/hiviewdfx/hidumper/frameworks/native/ |
D | BUILD.gn | 30 "src/executor/api_dumper.cpp", 31 "src/executor/cmd_dumper.cpp", 32 "src/executor/column_rows_filter.cpp", 33 "src/executor/cpu_dumper.cpp", 34 "src/executor/dumper_group.cpp", 35 "src/executor/env_param_dumper.cpp", 36 "src/executor/fd_output.cpp", 37 "src/executor/file_format_dump_filter.cpp", 38 "src/executor/file_stream_dumper.cpp", 39 "src/executor/hidumper_executor.cpp", [all …]
|
/base/useriam/user_auth_framework/frameworks/native/executors/src/ |
D | driver.cpp | 58 … auto executor = Common::MakeShared<Executor>(executorMgrWrapper, executorHdi, hdiConfig_.id); in OnHdiConnect() local 59 if (executor == nullptr) { in OnHdiConnect() 63 executorList_.push_back(executor); in OnHdiConnect() 64 executor->OnHdiConnect(); in OnHdiConnect() 65 IAM_LOGI("add executor %{public}s success", executor->GetDescription()); in OnHdiConnect() 75 for (const auto &executor : executorList_) { in OnHdiDisconnect() local 76 if (executor == nullptr) { in OnHdiDisconnect() 80 executor->OnHdiDisconnect(); in OnHdiDisconnect() 93 for (const auto &executor : executorList_) { in OnFrameworkReady() local 94 if (executor == nullptr) { in OnFrameworkReady() [all …]
|
/base/useriam/user_auth_framework/frameworks/native/executors/src/async_command/ |
D | async_command_base.cpp | 36 …mandBase::AsyncCommandBase(std::string type, uint64_t scheduleId, std::weak_ptr<Executor> executor, in AsyncCommandBase() argument 39 executor_(executor), in AsyncCommandBase() 58 auto executor = executor_.lock(); in StartProcess() local 59 if (executor == nullptr) { in StartProcess() 63 executor->AddCommand(shared_from_this()); in StartProcess() 103 auto executor = executor_.lock(); in GetAuthType() local 104 if (executor == nullptr) { in GetAuthType() 108 return executor->GetAuthType(); in GetAuthType() 114 auto executor = executor_.lock(); in EndProcess() local 115 if (executor == nullptr) { in EndProcess() [all …]
|
/base/useriam/fingerprint_auth/services/src/ |
D | sensor_illumination_manager.cpp | 55 …e SensorIlluminationManager::ProcessSaCommand(std::shared_ptr<FingerprintAuthExecutorHdi> executor, in ProcessSaCommand() argument 58 IF_FALSE_LOGE_AND_RETURN_VAL(executor != nullptr, UserAuth::GENERAL_ERROR); in ProcessSaCommand() 64 result = EnableSensorIllumination(executor, command.param); in ProcessSaCommand() 67 result = DisableSensorIllumination(executor, command.param); in ProcessSaCommand() 70 result = TurnOnSensorIllumination(executor, command.param); in ProcessSaCommand() 73 result = TurnOffSensorIllumination(executor, command.param); in ProcessSaCommand() 81 …id SensorIlluminationManager::OnHdiDisconnect(std::shared_ptr<FingerprintAuthExecutorHdi> executor) in OnHdiDisconnect() argument 83 IF_FALSE_LOGE_AND_RETURN(executor != nullptr); in OnHdiDisconnect() 87 if (executorInProc_ != executor) { in OnHdiDisconnect() 105 std::shared_ptr<FingerprintAuthExecutorHdi> executor, const SaCommandParam param) in EnableSensorIllumination() argument [all …]
|
D | fingerprint_auth_driver_hdi.cpp | 73 auto executor = Common::MakeShared<FingerprintAuthExecutorHdi>(iExecutor); in GetExecutorList() local 74 if (executor == nullptr) { in GetExecutorList() 78 executorList.push_back(executor); in GetExecutorList() 79 fingerprintAuthExecutorList_.push_back(executor); in GetExecutorList()
|
/base/useriam/face_auth/services/src/ |
D | screen_brightness_manager.cpp | 57 …ResultCode ScreenBrightnessManager::ProcessSaCommand(std::shared_ptr<FaceAuthExecutorHdi> executor, in ProcessSaCommand() argument 60 IF_FALSE_LOGE_AND_RETURN_VAL(executor != nullptr, UserAuth::GENERAL_ERROR); in ProcessSaCommand() 67 result = ProcessScreenBrightnessIncreaseBegin(executor, command.param); in ProcessSaCommand() 70 result = ProcessScreenBrightnessIncreaseEnd(executor, command.param); in ProcessSaCommand() 78 void ScreenBrightnessManager::OnHdiDisconnect(std::shared_ptr<FaceAuthExecutorHdi> executor) in OnHdiDisconnect() argument 80 IF_FALSE_LOGE_AND_RETURN(executor != nullptr); in OnHdiDisconnect() 84 if (executorInProc_ != executor) { in OnHdiDisconnect() 99 std::shared_ptr<FaceAuthExecutorHdi> executor, const SaCommandParam param) in ProcessScreenBrightnessIncreaseBegin() argument 127 executorInProc_ = executor; in ProcessScreenBrightnessIncreaseBegin() 134 std::shared_ptr<FaceAuthExecutorHdi> executor, const SaCommandParam param) in ProcessScreenBrightnessIncreaseEnd() argument [all …]
|
D | face_auth_driver_hdi.cpp | 69 auto executor = Common::MakeShared<FaceAuthExecutorHdi>(iExecutor); in GetExecutorList() local 70 if (executor == nullptr) { in GetExecutorList() 74 executorList.push_back(executor); in GetExecutorList() 75 faceAuthExecutorList_.push_back(executor); in GetExecutorList() 102 for (auto executor : faceAuthExecutorList_) { in SetBufferProducer() local 103 IF_FALSE_LOGE_AND_RETURN_VAL(executor != nullptr, FACE_AUTH_ERROR); in SetBufferProducer() 104 int32_t ret = executor->SetBufferProducer(producer); in SetBufferProducer()
|
D | sa_command_manager.cpp | 67 …Auth::ResultCode SaCommandManager::ProcessSaCommands(std::shared_ptr<FaceAuthExecutorHdi> executor, in ProcessSaCommands() argument 77 UserAuth::ResultCode result = processor->ProcessSaCommand(executor, command); in ProcessSaCommands() 85 void SaCommandManager::OnHdiDisconnect(std::shared_ptr<FaceAuthExecutorHdi> executor) in OnHdiDisconnect() argument 91 processor->OnHdiDisconnect(executor); in OnHdiDisconnect()
|
/base/security/access_token/services/tokensyncmanager/src/remote/ |
D | remote_command_manager.cpp | 61 std::shared_ptr<RemoteCommandExecutor> executor = GetOrCreateRemoteCommandExecutor(udid); in AddCommand() local 62 if (executor == nullptr) { in AddCommand() 67 int result = executor->AddCommand(command); in AddCommand() 89 std::shared_ptr<RemoteCommandExecutor> executor = GetOrCreateRemoteCommandExecutor(udid); in ExecuteCommand() local 90 if (executor == nullptr) { in ExecuteCommand() 95 int result = executor->ProcessOneCommand(command); in ExecuteCommand() 113 auto executor = executorIt->second; in ProcessDeviceCommandImmediately() local 114 if (executor == nullptr) { in ProcessDeviceCommandImmediately() 120 int result = executor->ProcessBufferedCommands(); in ProcessDeviceCommandImmediately() 159 auto executor = GetOrCreateRemoteCommandExecutor(nodeId); in NotifyDeviceOnline() local [all …]
|
/base/useriam/fingerprint_auth/test/unittest/ |
D | fingerprint_auth_sensor_illumination_test.cpp | 105 auto executor = Common::MakeShared<FingerprintAuthExecutorHdi>(nullptr); variable 106 EXPECT_TRUE(executor != nullptr); 109 manager->ProcessSaCommand(executor, enableCommand); 113 manager->ProcessSaCommand(executor, turnOnCommand); 116 manager->ProcessSaCommand(executor, turnOffCommand); 120 manager->ProcessSaCommand(executor, turnOnCommand); 123 manager->ProcessSaCommand(executor, turnOffCommand); 127 manager->ProcessSaCommand(executor, disableCommand);
|
D | fingerprint_auth_driver_hdi_unit_test.cpp | 136 auto executor = sptr<IExecutor>(new (std::nothrow) MockIExecutor()); in __anoneb0b7ca40302() local 137 EXPECT_TRUE(executor != nullptr); in __anoneb0b7ca40302() 138 list.push_back(executor); in __anoneb0b7ca40302() 158 auto executor = sptr<IExecutor>(new (std::nothrow) MockIExecutor()); in __anoneb0b7ca40402() local 159 EXPECT_TRUE(executor != nullptr); in __anoneb0b7ca40402() 160 list.push_back(executor); in __anoneb0b7ca40402() 162 executor = sptr<IExecutor>(new (std::nothrow) MockIExecutor()); in __anoneb0b7ca40402() 163 EXPECT_TRUE(executor != nullptr); in __anoneb0b7ca40402() 164 list.push_back(executor); in __anoneb0b7ca40402() 183 auto executor = sptr<IExecutor>(new (std::nothrow) MockIExecutor()); in __anoneb0b7ca40502() local [all …]
|
/base/useriam/fingerprint_auth/services/inc/ |
D | sensor_illumination_manager.h | 40 UserAuth::ResultCode ProcessSaCommand(std::shared_ptr<FingerprintAuthExecutorHdi> executor, 42 void OnHdiDisconnect(std::shared_ptr<FingerprintAuthExecutorHdi> executor) override; 45 …UserAuth::ResultCode EnableSensorIllumination(std::shared_ptr<FingerprintAuthExecutorHdi> executor, 47 …serAuth::ResultCode DisableSensorIllumination(std::shared_ptr<FingerprintAuthExecutorHdi> executor, 49 …UserAuth::ResultCode TurnOnSensorIllumination(std::shared_ptr<FingerprintAuthExecutorHdi> executor, 51 …serAuth::ResultCode TurnOffSensorIllumination(std::shared_ptr<FingerprintAuthExecutorHdi> executor,
|
/base/useriam/user_auth_framework/test/unittest/executors/ |
D | executor_unit_test.cpp | 111 auto executor = MakeShared<Executor>(executorMgrWrapper, executorHdi, testHdiId); variable 112 ASSERT_NE(executor, nullptr); 113 executor->OnHdiConnect(); 152 auto executor = MakeShared<Executor>(executorMgrWrapper, executorHdi, testHdiId); variable 153 ASSERT_NE(executor, nullptr); 154 executor->OnFrameworkReady(); 171 auto executor = MakeShared<Executor>(executorMgrWrapper, nullptr, testHdiId); variable 172 ASSERT_NE(executor, nullptr); 173 executor->OnFrameworkReady(); 195 auto executor = MakeShared<Executor>(executorMgrWrapper, executorHdi, testHdiId); variable [all …]
|
D | auth_command_unit_test.cpp | 85 auto executor = Common::MakeShared<Executor>(nullptr, nullptr, 3); variable 86 ASSERT_NE(executor, nullptr); 88 auto command = Common::MakeShared<AuthCommand>(executor, testScheduleId, attr, messenger); 106 auto executor = Common::MakeShared<Executor>(nullptr, nullptr, 3); variable 107 ASSERT_NE(executor, nullptr); 109 auto command = Common::MakeShared<AuthCommand>(executor, testScheduleId, attr, messenger); 136 auto executor = Common::MakeShared<Executor>(nullptr, nullptr, 3); variable 137 ASSERT_NE(executor, nullptr); 139 auto command = Common::MakeShared<AuthCommand>(executor, testScheduleId, attr, messenger); 153 auto executor = Common::MakeShared<Executor>(nullptr, nullptr, 3); variable [all …]
|
D | enroll_command_unit_test.cpp | 85 auto executor = Common::MakeShared<Executor>(nullptr, nullptr, 3); variable 86 ASSERT_NE(executor, nullptr); 88 auto command = Common::MakeShared<EnrollCommand>(executor, testScheduleId, attr, messenger); 107 auto executor = Common::MakeShared<Executor>(nullptr, nullptr, 3); variable 108 ASSERT_NE(executor, nullptr); 110 auto command = Common::MakeShared<EnrollCommand>(executor, testScheduleId, attr, messenger); 137 auto executor = Common::MakeShared<Executor>(nullptr, nullptr, 3); variable 138 ASSERT_NE(executor, nullptr); 140 auto command = Common::MakeShared<EnrollCommand>(executor, testScheduleId, attr, messenger); 154 auto executor = Common::MakeShared<Executor>(nullptr, nullptr, 3); variable [all …]
|
D | identify_command_unit_test.cpp | 85 auto executor = Common::MakeShared<Executor>(nullptr, nullptr, 3); variable 86 ASSERT_NE(executor, nullptr); 88 auto command = Common::MakeShared<IdentifyCommand>(executor, testScheduleId, attr, messenger); 107 auto executor = Common::MakeShared<Executor>(nullptr, nullptr, 3); variable 108 ASSERT_NE(executor, nullptr); 110 auto command = Common::MakeShared<IdentifyCommand>(executor, testScheduleId, attr, messenger); 137 auto executor = Common::MakeShared<Executor>(nullptr, nullptr, 3); variable 138 ASSERT_NE(executor, nullptr); 140 auto command = Common::MakeShared<IdentifyCommand>(executor, testScheduleId, attr, messenger); 154 auto executor = Common::MakeShared<Executor>(nullptr, nullptr, 3); variable [all …]
|
/base/useriam/face_auth/test/unittest/ |
D | face_auth_driver_hdi_unit_test.cpp | 136 auto executor = sptr<IExecutor>(new (std::nothrow) MockIExecutor()); in __anon835771320302() local 137 EXPECT_TRUE(executor != nullptr); in __anon835771320302() 138 list.push_back(executor); in __anon835771320302() 158 auto executor = sptr<IExecutor>(new (std::nothrow) MockIExecutor()); in __anon835771320402() local 159 EXPECT_TRUE(executor != nullptr); in __anon835771320402() 160 list.push_back(executor); in __anon835771320402() 162 executor = sptr<IExecutor>(new (std::nothrow) MockIExecutor()); in __anon835771320402() 163 EXPECT_TRUE(executor != nullptr); in __anon835771320402() 164 list.push_back(executor); in __anon835771320402() 183 auto executor = sptr<IExecutor>(new (std::nothrow) MockIExecutor()); in __anon835771320502() local [all …]
|
D | face_auth_screen_brightness_test.cpp | 79 auto executor = Common::MakeShared<FaceAuthExecutorHdi>(nullptr); variable 80 EXPECT_TRUE(executor != nullptr); 84 auto result = manager->ProcessSaCommand(executor, beginCommand); 87 result = manager->ProcessSaCommand(executor, endCommand);
|
/base/useriam/user_auth_framework/frameworks/native/executors/src/framework/ |
D | framework_executor_callback.cpp | 39 …ExecutorCallback::FrameworkExecutorCallback(std::weak_ptr<Executor> executor) : executor_(executor) in FrameworkExecutorCallback() argument 101 auto executor = executor_.lock(); in OnMessengerReady() local 102 if (executor == nullptr) { in OnMessengerReady() 106 auto hdi = executor->GetExecutorHdi(); in OnMessengerReady() 191 auto executor = executor_.lock(); in ProcessCancelCommand() local 192 if (executor == nullptr) { in ProcessCancelCommand() 196 auto hdi = executor->GetExecutorHdi(); in ProcessCancelCommand() 204 auto executor = executor_.lock(); in ProcessDeleteTemplateCommand() local 205 if (executor == nullptr) { in ProcessDeleteTemplateCommand() 209 auto hdi = executor->GetExecutorHdi(); in ProcessDeleteTemplateCommand() [all …]
|
/base/useriam/face_auth/services/inc/ |
D | screen_brightness_manager.h | 41 UserAuth::ResultCode ProcessSaCommand(std::shared_ptr<FaceAuthExecutorHdi> executor, 43 void OnHdiDisconnect(std::shared_ptr<FaceAuthExecutorHdi> executor) override; 48 …uth::ResultCode ProcessScreenBrightnessIncreaseBegin(std::shared_ptr<FaceAuthExecutorHdi> executor, 50 …rAuth::ResultCode ProcessScreenBrightnessIncreaseEnd(std::shared_ptr<FaceAuthExecutorHdi> executor,
|
/base/update/updateservice/services/firmware/upgrade/flow/src/ |
D | firmware_flow_manager.cpp | 129 std::shared_ptr<FirmwareIExecutor> executor = nullptr; in CreateInstance() local 136 executor = std::make_shared<FirmwareCheckExecutor>(checkCallback); in CreateInstance() 141 …executor = std::make_shared<FirmwareDownloadExecutor>(executeMode_->GetDownloadOptions(), download… in CreateInstance() 148 …executor = std::make_shared<FirmwareInstallExecutor>(executeMode_->GetInstallType(), installCallba… in CreateInstance() 153 executor = std::make_shared<FirmwareApplyExecutor>(firmwareApplyCallback); in CreateInstance() 160 return executor; in CreateInstance()
|
/base/useriam/pin_auth/test/unittest/src/ |
D | pin_auth_driver_hdi_unit_test.cpp | 136 auto executor = sptr<IExecutor>(new (std::nothrow) MockIExecutor()); in __anon8f23c9190302() local 137 EXPECT_TRUE(executor != nullptr); in __anon8f23c9190302() 138 list.push_back(executor); in __anon8f23c9190302() 158 auto executor = sptr<IExecutor>(new (std::nothrow) MockIExecutor()); in __anon8f23c9190402() local 159 EXPECT_TRUE(executor != nullptr); in __anon8f23c9190402() 160 list.push_back(executor); in __anon8f23c9190402() 162 executor = sptr<IExecutor>(new (std::nothrow) MockIExecutor()); in __anon8f23c9190402() 163 EXPECT_TRUE(executor != nullptr); in __anon8f23c9190402() 164 list.push_back(executor); in __anon8f23c9190402() 183 auto executor = sptr<IExecutor>(new (std::nothrow) MockIExecutor()); in __anon8f23c9190502() local [all …]
|
/base/startup/init/services/modules/reboot/ |
D | reboot_static.c | 81 static int SetParamCmdInfo(ParamCmdInfo *currInfo, CmdExecutor executor, const char *cmd) in SetParamCmdInfo() argument 90 if (executor != NULL) { in SetParamCmdInfo() 91 int cmdId = AddCmdExecutor(currInfo->cmd, executor); in SetParamCmdInfo() 113 static int AddRebootCmdExecutor_(const char *cmd, CmdExecutor executor) in AddRebootCmdExecutor_() argument 133 return SetParamCmdInfo(&g_rebootParamCmdInfos[g_rebootParamCmdValidNumber], executor, cmd); in AddRebootCmdExecutor_() 136 int AddRebootCmdExecutor(const char *cmd, CmdExecutor executor) in AddRebootCmdExecutor() argument 138 PLUGIN_CHECK(cmd != NULL && executor != NULL, return EINVAL, "Invalid input parameter"); in AddRebootCmdExecutor() 144 return AddRebootCmdExecutor_(cmd, executor); in AddRebootCmdExecutor()
|
/base/useriam/pin_auth/services/modules/driver/src/ |
D | pin_auth_driver_hdi.cpp | 61 auto executor = Common::MakeShared<PinAuthExecutorHdi>(iExecutor); in GetExecutorList() local 62 if (executor == nullptr) { in GetExecutorList() 66 executorList.push_back(executor); in GetExecutorList()
|
/base/time/time_service/framework/js/napi/system_date_time/src/ |
D | napi_system_date_time.cpp | 87 auto executor = [setTimeContext]() { in SetTime() local 95 return NapiWork::AsyncEnqueue(env, setTimeContext, "SetTime", executor, complete); in SetTime() 133 auto executor = [setDateContext]() { in SetDate() local 141 return NapiWork::AsyncEnqueue(env, setDateContext, "SetDate", executor, complete); in SetDate() 165 auto executor = [getRealActiveTimeContext]() { in GetRealActiveTime() local 182 …return NapiWork::AsyncEnqueue(env, getRealActiveTimeContext, "GetRealActiveTime", executor, comple… in GetRealActiveTime() 206 auto executor = [getCurrentTimeContext]() { in GetCurrentTime() local 223 return NapiWork::AsyncEnqueue(env, getCurrentTimeContext, "GetCurrentTime", executor, complete); in GetCurrentTime() 246 auto executor = [getTimeContext]() { in GetTime() local 258 return NapiWork::SyncEnqueue(env, getTimeContext, "GetTime", executor, complete); in GetTime() [all …]
|