Home
last modified time | relevance | path

Searched refs:callBackId (Results 1 - 16 of 16) sorted by relevance

/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/modules/
H A Djsi_syscap_module.cpp35 void JsiSyscapModule::RemoveCallBack(uint32_t callBackId) in RemoveCallBack() argument
37 if (callBackFuncMap_.find(callBackId) != callBackFuncMap_.end()) { in RemoveCallBack()
38 callBackFuncMap_.erase(callBackId); in RemoveCallBack()
40 if (callBackParamsMap_.find(callBackId) != callBackParamsMap_.end()) { in RemoveCallBack()
41 callBackParamsMap_.erase(callBackId); in RemoveCallBack()
61 bool JsiSyscapModule::GetCallBack(uint32_t callBackId, shared_ptr<JsValue>& func, in GetCallBack() argument
64 auto iterFunc = callBackFuncMap_.find(callBackId); in GetCallBack()
65 auto iterParams = callBackParamsMap_.find(callBackId); in GetCallBack()
H A Djsi_timer_module.cpp128 void JsiTimerModule::RemoveCallBack(uint32_t callBackId) in RemoveCallBack() argument
131 if (callBackFuncMap_.find(callBackId) != callBackFuncMap_.end()) { in RemoveCallBack()
132 callBackFuncMap_.erase(callBackId); in RemoveCallBack()
134 if (callBackParamsMap_.find(callBackId) != callBackParamsMap_.end()) { in RemoveCallBack()
135 callBackParamsMap_.erase(callBackId); in RemoveCallBack()
139 bool JsiTimerModule::GetCallBack(uint32_t callBackId, shared_ptr<JsValue>& func, in GetCallBack() argument
143 auto iterFunc = callBackFuncMap_.find(callBackId); in GetCallBack()
144 auto iterParams = callBackParamsMap_.find(callBackId); in GetCallBack()
H A Djsi_timer_module.h36 void RemoveCallBack(uint32_t callBackId);
37 bool GetCallBack(uint32_t callBackId, shared_ptr<JsValue>& func, std::vector<shared_ptr<JsValue>>& params);
H A Djsi_syscap_module.h34 void RemoveCallBack(uint32_t callBackId);
35 bool GetCallBack(uint32_t callBackId, shared_ptr<JsValue>& func, std::vector<shared_ptr<JsValue>>& params);
/foundation/communication/netmanager_base/interfaces/kits/c/netconnclient/include/
H A Dnet_connection.h259 int32_t OH_NetConn_UnregisterNetConnCallback(uint32_t callBackId);
/foundation/communication/netmanager_base/interfaces/kits/c/netconnclient/src/
H A Dnet_connection.cpp326 int32_t OH_NetConn_UnregisterNetConnCallback(uint32_t callBackId) in OH_NetConn_UnregisterNetConnCallback() argument
328 int32_t ret = NetConnCallbackManager::GetInstance().UnregisterNetConnCallback(callBackId); in OH_NetConn_UnregisterNetConnCallback()
/foundation/arkui/ace_engine/frameworks/bridge/plugin_frontend/
H A Dplugin_frontend_delegate.h169 void SetCallBackResult(const std::string& callBackId, const std::string& result) override;
H A Dplugin_frontend_delegate.cpp1004 void PluginFrontendDelegate::SetCallBackResult(const std::string& callBackId, const std::string& result) in SetCallBackResult() argument
1006 jsCallBackResult_.try_emplace(StringToInt(callBackId), result); in SetCallBackResult()
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/
H A Dfrontend_delegate.h226 virtual void SetCallBackResult(const std::string& callBackId, const std::string& result) = 0;
H A Dfrontend_delegate_impl.h279 void SetCallBackResult(const std::string& callBackId, const std::string& result) override;
H A Dfrontend_delegate_impl.cpp1151 void FrontendDelegateImpl::SetCallBackResult(const std::string& callBackId, const std::string& result) in SetCallBackResult() argument
1153 jsCallBackResult_.try_emplace(StringToInt(callBackId), result); in SetCallBackResult()
/foundation/arkui/ace_engine/test/unittest/core/pattern/plugin/mock/
H A Dmock_plugin_frontend_delegate.cpp253 void PluginFrontendDelegate::SetCallBackResult(const std::string& callBackId, const std::string& result) {} in SetCallBackResult() argument
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/jsi/
H A Djsi_engine.cpp616 shared_ptr<JsValue> callBackId = arg->GetElement(runtime, 1); in GetPackageInfo() local
617 std::string callbackIdStr = callBackId->ToString(runtime); in GetPackageInfo()
1001 std::string callBackId = arg->GetElement(runtime, 0)->ToString(runtime); in SetTimer() local
1003 if (!callBackId.empty() && !delay.empty()) { in SetTimer()
1004 GetFrontendDelegate(runtime)->WaitTimer(callBackId, delay, isInterval, true); in SetTimer()
1017 std::string callBackId = arg->GetElement(runtime, 0)->ToString(runtime); in ClearTimeout() local
1018 if (!callBackId.empty()) { in ClearTimeout()
1019 GetFrontendDelegate(runtime)->ClearTimer(callBackId); in ClearTimeout()
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ng/
H A Dfrontend_delegate_declarative_ng.h177 void SetCallBackResult(const std::string& callBackId, const std::string& result) override {}
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/
H A Dfrontend_delegate_declarative.h243 void SetCallBackResult(const std::string& callBackId, const std::string& result) override;
H A Dfrontend_delegate_declarative.cpp2148 void FrontendDelegateDeclarative::SetCallBackResult(const std::string& callBackId, const std::string& result) in SetCallBackResult() argument
2150 jsCallBackResult_.try_emplace(StringToInt(callBackId), result); in SetCallBackResult()

Completed in 26 milliseconds