Searched refs:startupValue (Results 1 – 2 of 2) sorted by relevance
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/appkit/app_startup/ |
H A D | js_startup_task_executor.cpp | 92 napi_value startupValue = startup->GetNapiValue(); in CallStartupInit() local 93 if (!CheckTypeForNapiValue(env, startupValue, napi_object)) { in CallStartupInit() 99 napi_get_named_property(env, startupValue, "init", &startupInit); in CallStartupInit() 113 napi_call_function(env, startupValue, startupInit, 1, argv, &returnVal); in CallStartupInit()
|
H A D | js_startup_task.cpp | 141 napi_value startupValue = startupJsRef_->GetNapiValue(); in RunTaskOnDependencyCompleted() local 142 if (!CheckTypeForNapiValue(env, startupValue, napi_object)) { in RunTaskOnDependencyCompleted() 147 napi_get_named_property(env, startupValue, "onDependencyCompleted", &startupOnDepCompleted); in RunTaskOnDependencyCompleted() 164 napi_call_function(env, startupValue, startupOnDepCompleted, argc, argv, nullptr); in RunTaskOnDependencyCompleted()
|