/ohos5.0/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/ |
H A D | neural_network_runtime_compat.cpp | 45 NNRT_API OH_NN_ReturnCode OH_NNExecutor_SetInput(OH_NNExecutor *executor, in OH_NNExecutor_SetInput() argument 48 if (executor == nullptr) { in OH_NNExecutor_SetInput() 72 if (executor == nullptr) { in OH_NNExecutor_SetOutput() 89 NNRT_API OH_NN_ReturnCode OH_NNExecutor_Run(OH_NNExecutor *executor) in OH_NNExecutor_Run() argument 91 if (executor == nullptr) { in OH_NNExecutor_Run() 102 if (executor == nullptr) { in OH_NNExecutor_AllocateInputMemory() 124 if (executor == nullptr) { in OH_NNExecutor_AllocateOutputMemory() 146 if (executor == nullptr) { in OH_NNExecutor_DestroyInputMemory() 171 if (executor == nullptr) { in OH_NNExecutor_DestroyOutputMemory() 197 if (executor == nullptr) { in OH_NNExecutor_SetInputWithMemory() [all …]
|
/ohos5.0/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/ |
H A D | wifi_direct_scheduler.cpp | 38 std::shared_ptr<WifiDirectExecutor> executor; in ConnectDevice() local 42 if (executor != nullptr) { in ConnectDevice() 44 executor->SendEvent(command); in ConnectDevice() 82 if (executor != nullptr) { in DisconnectDevice() 84 executor->SendEvent(command); in DisconnectDevice() 103 if (executor != nullptr) { in ForceDisconnectDevice() 105 executor->SendEvent(command); in ForceDisconnectDevice() 140 executor->SetActive(true); in ProcessNextCommand() 143 executor->SetActive(true); in ProcessNextCommand() 149 executor->SetActive(false); in ProcessNextCommand() [all …]
|
/ohos5.0/base/useriam/user_auth_framework/test/unittest/executors/ |
H A D | executor_unit_test.cpp | 113 ASSERT_NE(executor, nullptr); 114 executor->OnHdiConnect(); 155 ASSERT_NE(executor, nullptr); 156 executor->OnFrameworkReady(); 174 ASSERT_NE(executor, nullptr); 175 executor->OnFrameworkReady(); 198 ASSERT_NE(executor, nullptr); 199 executor->OnFrameworkReady(); 225 ASSERT_NE(executor, nullptr); 226 executor->OnFrameworkReady(); [all …]
|
H A D | auth_command_unit_test.cpp | 84 auto executor = Common::MakeShared<Executor>(nullptr, nullptr, 3); variable 85 ASSERT_NE(executor, nullptr); 105 auto executor = Common::MakeShared<Executor>(nullptr, nullptr, 3); variable 106 ASSERT_NE(executor, nullptr); 134 auto executor = Common::MakeShared<Executor>(nullptr, nullptr, 3); variable 135 ASSERT_NE(executor, nullptr); 152 ASSERT_NE(executor, nullptr); 179 ASSERT_NE(executor, nullptr); 199 ASSERT_NE(executor, nullptr); 226 ASSERT_NE(executor, nullptr); [all …]
|
H A D | identify_command_unit_test.cpp | 84 auto executor = Common::MakeShared<Executor>(nullptr, nullptr, 3); variable 85 ASSERT_NE(executor, nullptr); 106 auto executor = Common::MakeShared<Executor>(nullptr, nullptr, 3); variable 107 ASSERT_NE(executor, nullptr); 135 auto executor = Common::MakeShared<Executor>(nullptr, nullptr, 3); variable 136 ASSERT_NE(executor, nullptr); 153 ASSERT_NE(executor, nullptr); 180 ASSERT_NE(executor, nullptr); 200 ASSERT_NE(executor, nullptr); 227 ASSERT_NE(executor, nullptr); [all …]
|
H A D | enroll_command_unit_test.cpp | 84 auto executor = Common::MakeShared<Executor>(nullptr, nullptr, 3); variable 85 ASSERT_NE(executor, nullptr); 106 auto executor = Common::MakeShared<Executor>(nullptr, nullptr, 3); variable 107 ASSERT_NE(executor, nullptr); 135 auto executor = Common::MakeShared<Executor>(nullptr, nullptr, 3); variable 136 ASSERT_NE(executor, nullptr); 153 ASSERT_NE(executor, nullptr); 180 ASSERT_NE(executor, nullptr); 200 ASSERT_NE(executor, nullptr); 227 ASSERT_NE(executor, nullptr); [all …]
|
/ohos5.0/base/useriam/user_auth_framework/frameworks/native/executors/src/ |
H A 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 …]
|
/ohos5.0/base/hiviewdfx/hidumper/frameworks/native/ |
H A D | BUILD.gn | 30 "src/executor/api_dumper.cpp", 31 "src/executor/cmd_dumper.cpp", 33 "src/executor/cpu_dumper.cpp", 34 "src/executor/dumper_group.cpp", 36 "src/executor/fd_output.cpp", 42 "src/executor/list_dumper.cpp", 44 "src/executor/memory_dumper.cpp", 46 "src/executor/sa_dumper.cpp", 47 "src/executor/traffic_dumper.cpp", 48 "src/executor/version_dumper.cpp", [all …]
|
/ohos5.0/base/useriam/fingerprint_auth/services/src/ |
H A D | sensor_illumination_manager.cpp | 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() 83 IF_FALSE_LOGE_AND_RETURN(executor != nullptr); in OnHdiDisconnect() 87 if (executorInProc_ != executor) { in OnHdiDisconnect() 140 executorInProc_ = executor; in EnableSensorIllumination() 149 if (executorInProc_ != executor) { in DisableSensorIllumination() 171 if (executorInProc_ != executor) { in TurnOnSensorIllumination() [all …]
|
/ohos5.0/base/useriam/user_auth_framework/frameworks/native/executors/src/async_command/ |
H A D | async_command_base.cpp | 39 executor_(executor), in AsyncCommandBase() 58 auto executor = executor_.lock(); in StartProcess() local 59 if (executor == nullptr) { in StartProcess() 156 auto executor = executor_.lock(); in GetAuthType() local 157 if (executor == nullptr) { in GetAuthType() 161 return executor->GetAuthType(); in GetAuthType() 167 auto executor = executor_.lock(); in EndProcess() local 168 if (executor == nullptr) { in EndProcess() 190 auto executor = executor_.lock(); in GetExecutorHdi() local 191 if (executor == nullptr) { in GetExecutorHdi() [all …]
|
/ohos5.0/base/security/access_token/services/tokensyncmanager/src/remote/ |
H A D | remote_command_manager.cpp | 70 if (executor == nullptr) { in AddCommand() 75 int result = executor->AddCommand(command); in AddCommand() 98 if (executor == nullptr) { in ExecuteCommand() 123 auto executor = executorIt->second; in ProcessDeviceCommandImmediately() local 124 if (executor == nullptr) { in ProcessDeviceCommandImmediately() 173 if (executor == nullptr) { in NotifyDeviceOnline() 178 if (executor->GetChannel() == nullptr) { in NotifyDeviceOnline() 184 executor->SetChannel(channel); in NotifyDeviceOnline() 251 return executor; in GetOrCreateRemoteCommandExecutor() 274 if (executor == nullptr) { in GetExecutorChannel() [all …]
|
/ohos5.0/base/useriam/user_auth_framework/frameworks/native/executors/src/framework/ |
H A D | framework_executor_callback.cpp | 40 …ExecutorCallback::FrameworkExecutorCallback(std::weak_ptr<Executor> executor) : executor_(executor) in FrameworkExecutorCallback() argument 103 auto executor = executor_.lock(); in OnMessengerReady() local 104 if (executor == nullptr) { in OnMessengerReady() 161 auto executor = executor_.lock(); in OnSendData() local 162 if (executor == nullptr) { in OnSendData() 203 if (executor == nullptr) { in ProcessAuthCommand() 229 if (executor == nullptr) { in ProcessCancelCommand() 242 if (executor == nullptr) { in ProcessDeleteTemplateCommand() 272 if (executor == nullptr) { in ProcessSetCachedTemplates() 290 if (executor == nullptr) { in ProcessNotifyExecutorReady() [all …]
|
/ohos5.0/drivers/interface/pin_auth/v1_0/ |
H A D | PinAuthTypes.idl | 57 * @brief Enumerates executor roles. 63 /**< Indicates that the executor role is collector. */ 65 /**< Indicates that the executor role is verifier. */ 72 * @brief Enumerates executor secure levels. 78 /**< Indicates that the executor secure level is ESL0. */ 80 /**< Indicates that the executor secure level is ESL1. */ 82 /**< Indicates that the executor secure level is ESL2. */ 101 * @brief Indicates executor information. 109 /**< Indicates the executor type. */ 117 /**< Indicates the public key of the executor. */ [all …]
|
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/pin_auth_v1_0/foo/pin_auth/v1_0/ |
H A D | PinAuthTypes.idl | 57 * @brief Enumerates executor roles. 63 /**< Indicates that the executor role is collector. */ 65 /**< Indicates that the executor role is verifier. */ 72 * @brief Enumerates executor secure levels. 78 /**< Indicates that the executor secure level is ESL0. */ 80 /**< Indicates that the executor secure level is ESL1. */ 82 /**< Indicates that the executor secure level is ESL2. */ 101 * @brief Indicates executor information. 109 /**< Indicates the executor type. */ 117 /**< Indicates the public key of the executor. */ [all …]
|
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/pin_auth_v1_1/foo/pin_auth/v1_0/ |
H A D | PinAuthTypes.idl | 57 * @brief Enumerates executor roles. 63 /**< Indicates that the executor role is collector. */ 65 /**< Indicates that the executor role is verifier. */ 72 * @brief Enumerates executor secure levels. 78 /**< Indicates that the executor secure level is ESL0. */ 80 /**< Indicates that the executor secure level is ESL1. */ 82 /**< Indicates that the executor secure level is ESL2. */ 101 * @brief Indicates executor information. 109 /**< Indicates the executor type. */ 117 /**< Indicates the public key of the executor. */ [all …]
|
/ohos5.0/foundation/ai/neural_network_runtime/example/deep_learning_framework/tflite/nnrt/ |
H A D | nnrt_implementation.h | 63 OH_NN_ReturnCode (*OH_NNExecutor_SetInput)(OH_NNExecutor* executor, uint32_t inputIndex, 65 …OH_NN_ReturnCode (*OH_NNExecutor_SetOutput)(const OH_NNExecutor* executor, uint32_t outputIndex, v… 67 …OH_NN_ReturnCode (*OH_NNExecutor_GetOutputShape)(const OH_NNExecutor* executor, uint32_t outputInd… 69 OH_NN_ReturnCode (*OH_NNExecutor_Run)(OH_NNExecutor* executor); 70 …OH_NN_Memory* (*OH_NNExecutor_AllocateInputMemory)(OH_NNExecutor* executor, uint32_t inputIndex, s… 71 …OH_NN_Memory* (*OH_NNExecutor_AllocateOutputMemory)(OH_NNExecutor* executor, uint32_t outputIndex,… 72 …void (*OH_NNExecutor_DestroyOutputMemory)(OH_NNExecutor* executor, uint32_t outputIndex, OH_NN_Mem… 73 …void (*OH_NNExecutor_DestroyInputMemory)(OH_NNExecutor* executor, uint32_t inputIndex, OH_NN_Memor… 74 … OH_NN_ReturnCode (*OH_NNExecutor_SetInputWithMemory)(OH_NNExecutor* executor, uint32_t inputIndex, 76 …OH_NN_ReturnCode (*OH_NNExecutor_SetOutputWithMemory)(OH_NNExecutor* executor, uint32_t outputInde… [all …]
|
/ohos5.0/base/useriam/face_auth/services/src/ |
H A D | screen_brightness_manager.cpp | 57 …de ScreenBrightnessManager::ProcessSaCommand(std::shared_ptr<FaceAuthAllInOneExecutorHdi> 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<FaceAuthAllInOneExecutorHdi> executor) in OnHdiDisconnect() argument 80 IF_FALSE_LOGE_AND_RETURN(executor != nullptr); in OnHdiDisconnect() 84 if (executorInProc_ != executor) { in OnHdiDisconnect() 99 std::shared_ptr<FaceAuthAllInOneExecutorHdi> executor, const SaCommandParam param) in ProcessScreenBrightnessIncreaseBegin() argument 127 executorInProc_ = executor; in ProcessScreenBrightnessIncreaseBegin() 134 std::shared_ptr<FaceAuthAllInOneExecutorHdi> executor, const SaCommandParam param) in ProcessScreenBrightnessIncreaseEnd() argument [all …]
|
/ohos5.0/drivers/interface/pin_auth/v2_0/ |
H A D | PinAuthTypes.idl | 60 * @brief Enumerates executor roles. 66 /**< Indicates that the executor role is scheduler. */ 68 /**< Indicates that the executor role is collector. */ 70 /**< Indicates that the executor role is verifier. */ 77 * @brief Enumerates executor secure levels. 83 /**< Indicates that the executor secure level is ESL0. */ 85 /**< Indicates that the executor secure level is ESL1. */ 94 * @brief Indicates executor information. 102 /**< Indicates the executor matcher. */ 110 /**< Indicates the public key of the executor. */ [all …]
|
/ohos5.0/drivers/interface/pin_auth/v2_1/ |
H A D | PinAuthTypes.idl | 64 * @brief Enumerates executor roles. 70 /**< Indicates that the executor role is scheduler. */ 72 /**< Indicates that the executor role is collector. */ 74 /**< Indicates that the executor role is verifier. */ 81 * @brief Enumerates executor secure levels. 87 /**< Indicates that the executor secure level is ESL0. */ 89 /**< Indicates that the executor secure level is ESL1. */ 98 * @brief Indicates executor information. 106 /**< Indicates the executor matcher. */ 114 /**< Indicates the public key of the executor. */ [all …]
|
/ohos5.0/docs/en/readme/ |
H A D | user-iam.md | 13 …onsists of the unified user authentication framework and authentication executor. The unified user… 16 …vokes authentication resources in the system through the authentication executor to implement life… 17 - Authentication executor management: provides authentication resource management and authenticatio… 19 …executor, you only need to implement authentication capabilities in a new component and connect th… 23 …executor is the minimum execution unit of a user identity authentication operation. For example, a… 29 …ntication framework, including user authentication, credential management, and executor management. 30 ├── face_auth # Facial authentication component, which interacts with the authentication executor… 31 ├── pin_auth # PIN authentication component, which interacts with the authentication executor to… 38 …tem services can interact with the authentication executor management module to implement the exec… 44 - The unified user authentication framework must work with an authentication executor. [all …]
|
/ohos5.0/foundation/ai/neural_network_runtime/interfaces/kits/c/neural_network_runtime/ |
H A D | neural_network_runtime.h | 423 OH_NN_ReturnCode OH_NNExecutor_SetInput(OH_NNExecutor *executor, 460 OH_NN_ReturnCode OH_NNExecutor_SetOutput(OH_NNExecutor *executor, 479 OH_NN_ReturnCode OH_NNExecutor_Run(OH_NNExecutor *executor); 502 OH_NN_Memory *OH_NNExecutor_AllocateInputMemory(OH_NNExecutor *executor, uint32_t inputIndex, size_… 525 OH_NN_Memory *OH_NNExecutor_AllocateOutputMemory(OH_NNExecutor *executor, uint32_t outputIndex, siz… 550 void OH_NNExecutor_DestroyInputMemory(OH_NNExecutor *executor, uint32_t inputIndex, OH_NN_Memory **… 575 void OH_NNExecutor_DestroyOutputMemory(OH_NNExecutor *executor, uint32_t outputIndex, OH_NN_Memory … 603 OH_NN_ReturnCode OH_NNExecutor_SetInputWithMemory(OH_NNExecutor *executor, 634 OH_NN_ReturnCode OH_NNExecutor_SetOutputWithMemory(OH_NNExecutor *executor,
|
H A D | neural_network_core.h | 844 OH_NN_ReturnCode OH_NNExecutor_GetOutputShape(OH_NNExecutor *executor, 862 void OH_NNExecutor_Destroy(OH_NNExecutor **executor); 878 OH_NN_ReturnCode OH_NNExecutor_GetInputCount(const OH_NNExecutor *executor, size_t *inputCount); 894 OH_NN_ReturnCode OH_NNExecutor_GetOutputCount(const OH_NNExecutor *executor, size_t *outputCount); 909 NN_TensorDesc *OH_NNExecutor_CreateInputTensorDesc(const OH_NNExecutor *executor, size_t index); 924 NN_TensorDesc *OH_NNExecutor_CreateOutputTensorDesc(const OH_NNExecutor *executor, size_t index); 956 OH_NN_ReturnCode OH_NNExecutor_GetInputDimRange(const OH_NNExecutor *executor, 975 OH_NN_ReturnCode OH_NNExecutor_SetOnRunDone(OH_NNExecutor *executor, NN_OnRunDone onRunDone); 991 OH_NN_ReturnCode OH_NNExecutor_SetOnServiceDied(OH_NNExecutor *executor, NN_OnServiceDied onService… 1016 OH_NN_ReturnCode OH_NNExecutor_RunSync(OH_NNExecutor *executor, [all …]
|
/ohos5.0/base/useriam/pin_auth/services/modules/driver/src/ |
H A D | pin_auth_driver_hdi.cpp | 48 auto executor = Common::MakeShared<PinAuthAllInOneHdi>(iAllInOne); in GetAllInOneExecutorList() local 49 if (executor == nullptr) { in GetAllInOneExecutorList() 53 executorList.push_back(executor); in GetAllInOneExecutorList() 66 auto executor = Common::MakeShared<PinAuthCollectorHdi>(iCollector); in GetCollectorExecutorList() local 67 if (executor == nullptr) { in GetCollectorExecutorList() 71 executorList.push_back(executor); in GetCollectorExecutorList() 84 auto executor = Common::MakeShared<PinAuthVerifierHdi>(iVerifier); in GetVerifierExecutorList() local 85 if (executor == nullptr) { in GetVerifierExecutorList() 89 executorList.push_back(executor); in GetVerifierExecutorList()
|
/ohos5.0/base/startup/appspawn/test/moduletest/threadpool/ |
H A D | thread_manager.c | 63 TaskExecutor executor; member 93 TaskExecuteNode *executor = NULL; in PopTaskExecutor() local 103 return executor; in PopTaskExecutor() 116 OH_ListRemove(&executor->executeNode); in AddExecutor() 117 OH_ListInit(&executor->executeNode); in AddExecutor() 136 executor->executor(executor->task->taskId, executor->context); in RunExecutor() 141 executor = PopTaskExecutor(mgr); in RunExecutor() 212 if (!ListEmpty(executor->executeNode)) { in SafeRemoveTask() 214 OH_ListInit(&executor->executeNode); in SafeRemoveTask() 218 free(executor); in SafeRemoveTask() [all …]
|
/ohos5.0/drivers/interface/fingerprint_auth/v1_0/ |
H A D | FingerprintAuthTypes.idl | 54 * Enumerates executor role. 60 COLLECTOR = 1, /**< Indicates executor role is collector. */ 61 VERIFIER = 2, /**< Indicates executor role is verifier. */ 66 * Enumerates executor secure level. 72 ESL0 = 0, /**< Indicates executor secure level is ESL0. */ 73 ESL1 = 1, /**< Indicates executor secure level is ESL1. */ 74 ESL2 = 2, /**< Indicates executor secure level is ESL2. */ 75 ESL3 = 3, /**< Indicates executor secure level is ESL3. */ 109 * Indicates the executor info. 116 unsigned int executorType; /**< Indicates executor type. */ [all …]
|