/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/modules/ |
H A D | jsi_syscap_module.cpp | 35 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 D | jsi_timer_module.cpp | 128 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 D | jsi_timer_module.h | 36 void RemoveCallBack(uint32_t callBackId); 37 bool GetCallBack(uint32_t callBackId, shared_ptr<JsValue>& func, std::vector<shared_ptr<JsValue>>& params);
|
H A D | jsi_syscap_module.h | 34 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 D | net_connection.h | 259 int32_t OH_NetConn_UnregisterNetConnCallback(uint32_t callBackId);
|
/foundation/communication/netmanager_base/interfaces/kits/c/netconnclient/src/ |
H A D | net_connection.cpp | 326 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 D | plugin_frontend_delegate.h | 169 void SetCallBackResult(const std::string& callBackId, const std::string& result) override;
|
H A D | plugin_frontend_delegate.cpp | 1004 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 D | frontend_delegate.h | 226 virtual void SetCallBackResult(const std::string& callBackId, const std::string& result) = 0;
|
H A D | frontend_delegate_impl.h | 279 void SetCallBackResult(const std::string& callBackId, const std::string& result) override;
|
H A D | frontend_delegate_impl.cpp | 1151 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 D | mock_plugin_frontend_delegate.cpp | 253 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 D | jsi_engine.cpp | 616 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 D | frontend_delegate_declarative_ng.h | 177 void SetCallBackResult(const std::string& callBackId, const std::string& result) override {}
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ |
H A D | frontend_delegate_declarative.h | 243 void SetCallBackResult(const std::string& callBackId, const std::string& result) override;
|
H A D | frontend_delegate_declarative.cpp | 2148 void FrontendDelegateDeclarative::SetCallBackResult(const std::string& callBackId, const std::string& result) in SetCallBackResult() argument 2150 jsCallBackResult_.try_emplace(StringToInt(callBackId), result); in SetCallBackResult()
|