/ohos5.0/base/notification/common_event_service/services/test/unittest/ |
H A D | common_event_freeze_test.cpp | 79 void AsyncProcess(); 118 …std::function<void()> asyncProcessFunc = std::bind(&SubscriberTest::AsyncProcess, this, commonEven… in ProcessSubscriberTestCase1() 128 void AsyncProcess(OHOS::sptr<OHOS::IRemoteObject> commonEventListener) in AsyncProcess() function in __anonb9c819750110::SubscriberTest 173 …std::function<void()> asyncProcessFunc = std::bind(&SubscriberTest2::AsyncProcess, this, commonEve… in ProcessSubscriberTest2Case1() 183 void AsyncProcess(OHOS::sptr<OHOS::IRemoteObject> commonEventListener) in AsyncProcess() function in __anonb9c819750110::SubscriberTest2 236 std::bind(&SubscriberTestLast::AsyncProcess, this, commonEventListener3); in ProcessSubscriberTestLastCase1() 242 void AsyncProcess(OHOS::sptr<OHOS::IRemoteObject> commonEventListener) in AsyncProcess() function in __anonb9c819750110::SubscriberTestLast 364 void CommonEventFreezeTest::AsyncProcess() in AsyncProcess() function in __anonb9c819750110::CommonEventFreezeTest 418 std::function<void()> asyncProcessFunc = std::bind(&CommonEventFreezeTest::AsyncProcess, this); 480 std::function<void()> asyncProcessFunc = std::bind(&CommonEventFreezeTest::AsyncProcess, this);
|
H A D | common_event_dump_test.cpp | 109 void AsyncProcess(); 164 …std::function<void()> asyncProcessFunc = std::bind(&SubscriberTest::AsyncProcess, this, commonEven… in ProcessSubscriberTestCase1() 171 …std::function<void()> asyncProcessFunc = std::bind(&SubscriberTest::AsyncProcess, this, commonEven… in ProcessSubscriberTestCase2() 175 void AsyncProcess(OHOS::sptr<OHOS::IRemoteObject> commonEventListener) in AsyncProcess() function in __anon4c4d788a0110::SubscriberTest 222 …std::function<void()> asyncProcessFunc = std::bind(&SubscriberTest2::AsyncProcess, this, commonEve… in ProcessSubscriberTest2Case1() 229 …std::function<void()> asyncProcessFunc = std::bind(&SubscriberTest2::AsyncProcess, this, commonEve… in ProcessSubscriberTest2Case2() 234 void AsyncProcess(OHOS::sptr<OHOS::IRemoteObject> commonEventListener) in AsyncProcess() function in __anon4c4d788a0110::SubscriberTest2 276 std::bind(&SubscriberTestLast::AsyncProcess, this, commonEventListener3); in ProcessSubscriberTestLastCase1() 284 void AsyncProcess(OHOS::sptr<OHOS::IRemoteObject> commonEventListener) in AsyncProcess() function in __anon4c4d788a0110::SubscriberTestLast
|
/ohos5.0/foundation/ai/ai_engine/services/server/plugin/ |
H A D | i_plugin.h | 65 virtual int AsyncProcess(IRequest *request, IPluginCallback *callback) = 0;
|
/ohos5.0/foundation/ai/ai_engine/test/sample/include/ |
H A D | sample_plugin_1.h | 37 int AsyncProcess(IRequest *request, IPluginCallback *callback) override;
|
H A D | sample_plugin_2.h | 39 int AsyncProcess(IRequest *request, IPluginCallback *callback) override;
|
/ohos5.0/base/notification/common_event_service/test/systemtest/common/ces/common_event_services_publish_ordered_system_test/ |
H A D | common_event_services_publish_ordered_system_test.cpp | 185 std::bind(&SubscriberTest::AsyncProcess, this, result, TIME_OUT_SECONDS_MIDDLE); in ProcessSubscriberTestCase4() 216 std::bind(&SubscriberTest::AsyncProcess, this, result, TIME_OUT_SECONDS_MIDDLE); in ProcessSubscriberTestCase6() 220 void AsyncProcess(const std::shared_ptr<AsyncCommonEventResult> &result, time_t outtime) in AsyncProcess() function in SubscriberTest 344 std::bind(&SubscriberAnotherTest::AsyncProcess, this, result, TIME_OUT_SECONDS_MIDDLE); in ProcessSubscriberAnotherTestCase6() 348 void AsyncProcess(const std::shared_ptr<AsyncCommonEventResult> &result, time_t outtime) in AsyncProcess() function in SubscriberAnotherTest
|
/ohos5.0/foundation/ai/ai_engine/services/server/plugin/cv/image_classification/include/ |
H A D | ic_plugin.h | 46 int32_t AsyncProcess(IRequest *request, IPluginCallback *callback) override;
|
/ohos5.0/foundation/ai/ai_engine/services/server/server_executor/source/ |
H A D | async_msg_handler.cpp | 47 return pluginAlgorithm_->AsyncProcess(request, this); in Process()
|
/ohos5.0/docs/zh-cn/device-dev/subsystems/ |
H A D | subsys-ai-aiframework-devguide.md | 259 …推理类型、同步执行算法、异步执行算法、加载算法插件、卸载算法插件、设置算法配置信息、获取指定算法配置信息等功能。(同步算法实现SyncProcess接口,异步算法实现AsyncProcess接口)。 272 | int AsyncProcess(IRequest \*request,<br/>IPluginAlgorithmCallback \*callback); | *… 279 算法插件类接口:Prepare、SyncProcess、AsyncProcess、Release、SetOption、GetOption分别于客户端接口AieClientPrepare、AieCli… 441 int32_t AsyncProcess(IRequest *request, IPluginCallback*callback) override; 453 | AieClientAsyncProcess | AsyncProcess | 提供异步执行推理算法的能力,当前唤醒词识别场景不涉及,但开发者可根据具体场景自行实现。 |
|
/ohos5.0/foundation/ai/ai_engine/services/server/plugin/asr/keyword_spotting/include/ |
H A D | kws_plugin.h | 55 int32_t AsyncProcess(IRequest *request, IPluginCallback *callback) override;
|
/ohos5.0/base/notification/common_event_service/services/test/moduletest/common_event_services_publish_ordered_module_test/ |
H A D | common_event_services_publish_ordered_module_test.cpp | 196 std::bind(&SubscriberTest::AsyncProcess, this, result, TIME_OUT_SECONDS_MIDDLE); in ProcessSubscriberTestCase4() 229 std::bind(&SubscriberTest::AsyncProcess, this, result, TIME_OUT_SECONDS_MIDDLE); in ProcessSubscriberTestCase6() 233 void AsyncProcess(const std::shared_ptr<AsyncCommonEventResult> &result, time_t outtime) in AsyncProcess() function in SubscriberTest 357 std::bind(&SubscriberAnotherTest::AsyncProcess, this, result, TIME_OUT_SECONDS_MIDDLE); in ProcessSubscriberAnotherTestCase6() 361 void AsyncProcess(const std::shared_ptr<AsyncCommonEventResult> &result, time_t outtime) in AsyncProcess() function in SubscriberAnotherTest
|
/ohos5.0/docs/zh-cn/readme/ |
H A D | AI业务子系统.md | 99 int32_t AsyncProcess(IRequest *request, IPluginCallback*callback) override; 107 >**注意**:SyncProcess和AsyncProcess接口只需要根据算法实际情况实现一个接口即可,另一个用空方法占位(这里KWS插件为同步算法,故异步接口为空实现)。 133 int32_t KWSPlugin::AsyncProcess(IRequest *request, IPluginCallback *callback)
|
/ohos5.0/foundation/ai/ai_engine/ |
H A D | README_zh.md | 99 int32_t AsyncProcess(IRequest *request, IPluginCallback*callback) override; 107 **注意**:SyncProcess和AsyncProcess接口只需要根据算法实际情况实现一个接口即可,另一个用空方法占位(这里KWS插件为同步算法,故异步接口为空实现)。 133 int32_t KWSPlugin::AsyncProcess(IRequest *request, IPluginCallback *callback)
|
H A D | README.md | 99 int32_t AsyncProcess(IRequest *request, IPluginCallback*callback) override; 107 …orithm in use, you only need to implement the **SyncProcess** or **AsyncProcess** API. Use an … 133 int32_t KWSPlugin::AsyncProcess(IRequest *request, IPluginCallback *callback)
|
/ohos5.0/foundation/ai/ai_engine/test/sample/source/ |
H A D | sample_plugin_1.cpp | 110 int SamplePlugin1::AsyncProcess(IRequest *request, IPluginCallback *callback) in AsyncProcess() function in OHOS::AI::SamplePlugin1
|
H A D | sample_plugin_2.cpp | 97 int SamplePlugin2::AsyncProcess(IRequest *request, IPluginCallback *callback) in AsyncProcess() function in OHOS::AI::SamplePlugin2
|
/ohos5.0/foundation/window/window_manager/interfaces/kits/napi/screenshot/ |
H A D | native_screenshot_module.cpp | 341 return AsyncProcess<Param>(env, __PRETTY_FUNCTION__, AsyncGetScreenshot, Resolve, ref, param); in PickFunc() 379 … return AsyncProcess<Param>(env, __PRETTY_FUNCTION__, AsyncGetScreenCapture, Resolve, ref, param); in CaptureFunc() 421 return AsyncProcess<Param>(env, __PRETTY_FUNCTION__, AsyncGetScreenshot, Resolve, ref, param); in MainFunc()
|
/ohos5.0/docs/en/readme/ |
H A D | ai.md | 92 int32_t AsyncProcess(IRequest *request, IPluginCallback*callback) override; 100 …orithm in use, you only need to implement the **SyncProcess** or **AsyncProcess** API. Use an … 126 int32_t KWSPlugin::AsyncProcess(IRequest *request, IPluginCallback *callback)
|
/ohos5.0/foundation/window/window_manager/interfaces/kits/napi/common/ |
H A D | dm_napi_common.h | 121 napi_value AsyncProcess(napi_env env, in AsyncProcess() function
|
/ohos5.0/foundation/ai/ai_engine/services/server/plugin/asr/keyword_spotting/source/ |
H A D | kws_plugin.cpp | 241 int32_t KWSPlugin::AsyncProcess(IRequest *request, IPluginCallback *callback) in AsyncProcess() function in KWSPlugin
|
/ohos5.0/foundation/ai/ai_engine/services/server/plugin/cv/image_classification/source/ |
H A D | ic_plugin.cpp | 337 int32_t ICPlugin::AsyncProcess(IRequest *request, IPluginCallback *callback) in AsyncProcess() function in OHOS::AI::ICPlugin
|
/ohos5.0/docs/en/device-dev/subsystems/ |
H A D | subsys-ai-aiframework-devguide.md | 260 …ement the **SyncProcess** API for the synchronous algorithm and the **AsyncProcess** API for the a… 273 | int AsyncProcess(IRequest \*request,<br>IPluginAlgorithmCallback \*callback); | **… 280 Algorithm plug-in APIs including **Prepare**, **SyncProcess**, **AsyncProcess**, **Release**, **Set… 442 int32_t AsyncProcess(IRequest *request, IPluginCallback*callback) override; 454 | AieClientAsyncProcess | AsyncProcess | Executes the inference algorithm asynchronously. Currently…
|