Searched refs:jsRequestCode (Results 1 – 2 of 2) sorted by relevance
/ohos5.0/foundation/ability/ability_runtime/frameworks/js/napi/featureAbility/ |
H A D | feature_ability.cpp | 343 napi_value jsRequestCode = nullptr; in OnFinishWithResult() local 344 napi_get_named_property(env, info.argv[0], "resultCode", &jsRequestCode); in OnFinishWithResult() 345 if (!AppExecFwk::IsTypeForNapiValue(env, jsRequestCode, napi_number)) { in OnFinishWithResult() 349 if (!ConvertFromJsValue(env, jsRequestCode, param.requestCode)) { in OnFinishWithResult()
|
/ohos5.0/foundation/ability/ability_runtime/frameworks/js/napi/wantagent/ |
H A D | napi_want_agent.cpp | 920 napi_value jsRequestCode = nullptr; in GetWantAgentParam() local 921 napi_get_named_property(env, argv[0], "requestCode", &jsRequestCode); in GetWantAgentParam() 922 if (!ConvertFromJsValue(env, jsRequestCode, paras.requestCode)) { in GetWantAgentParam()
|