Searched refs:NapiUncaughtExceptionCallback (Results 1 – 8 of 8) sorted by relevance
/ohos5.0/foundation/ability/ability_runtime/js_environment/test/unittest/uncaught_exception_callback_test/ |
H A D | uncaught_exception_callback_test.cpp | 68 NapiUncaughtExceptionCallback callback(task, nullptr, env); 74 NapiUncaughtExceptionCallback callback2(task, nullptr, env); 91 NapiUncaughtExceptionCallback callback3(task, nullptr, env); 123 NapiUncaughtExceptionCallback callback(task, nullptr, env); 147 NapiUncaughtExceptionCallback callback(task, nullptr, env); 159 NapiUncaughtExceptionCallback callback1(task, nullptr, env); 193 NapiUncaughtExceptionCallback callback(task, nullptr, env); 238 NapiUncaughtExceptionCallback callback(task, nullptr, env);
|
/ohos5.0/foundation/ability/ability_runtime/js_environment/interfaces/inner_api/ |
H A D | uncaught_exception_callback.h | 38 class NapiUncaughtExceptionCallback final { 40 NapiUncaughtExceptionCallback( in NapiUncaughtExceptionCallback() function 46 ~NapiUncaughtExceptionCallback() = default;
|
/ohos5.0/foundation/ability/ability_runtime/js_environment/frameworks/js_environment/src/ |
H A D | uncaught_exception_callback.cpp | 29 std::string NapiUncaughtExceptionCallback::GetNativeStrFromJsTaggedObj(napi_value obj, const char* … in GetNativeStrFromJsTaggedObj() 55 void NapiUncaughtExceptionCallback::operator()(napi_value obj) in operator ()() 103 std::string NapiUncaughtExceptionCallback::GetBuildId(std::string nativeStack) in GetBuildId()
|
H A D | js_environment.cpp | 161 …engine_->RegisterNapiUncaughtExceptionHandler(NapiUncaughtExceptionCallback(uncaughtExceptionInfo.… in RegisterUncaughtExceptionHandler()
|
/ohos5.0/foundation/arkui/napi/native_engine/impl/ark/ |
H A D | ark_native_engine.h | 301 void RegisterNapiUncaughtExceptionHandler(NapiUncaughtExceptionCallback callback) override; 342 NapiUncaughtExceptionCallback GetNapiUncaughtExceptionCallback() override in GetNapiUncaughtExceptionCallback() 408 NapiUncaughtExceptionCallback napiUncaughtExceptionCallback_ { nullptr };
|
H A D | ark_native_engine.cpp | 2277 void ArkNativeEngine::RegisterNapiUncaughtExceptionHandler(NapiUncaughtExceptionCallback callback) in RegisterNapiUncaughtExceptionHandler()
|
/ohos5.0/foundation/arkui/napi/native_engine/ |
H A D | native_engine.h | 80 using NapiUncaughtExceptionCallback = std::function<void(napi_value value)>; variable 378 virtual void RegisterNapiUncaughtExceptionHandler(NapiUncaughtExceptionCallback callback) = 0; 392 virtual NapiUncaughtExceptionCallback GetNapiUncaughtExceptionCallback() = 0;
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/engine/jsi/ |
H A D | jsi_view_register.cpp | 1289 NapiUncaughtExceptionCallback callback = arkNativeEngine->GetNapiUncaughtExceptionCallback(); in JSHandleUncaughtException()
|