Home
last modified time | relevance | path

Searched refs:nReason (Results 1 – 2 of 2) sorted by relevance

/foundation/bundlemanager/bundle_framework/interfaces/kits/js/common/
Dcommon_func.cpp1225 napi_value nReason; in ConvertRequestPermission() local
1227 … env, napi_create_string_utf8(env, requestPermission.reason.c_str(), NAPI_AUTO_LENGTH, &nReason)); in ConvertRequestPermission()
1228 NAPI_CALL_RETURN_VOID(env, napi_set_named_property(env, result, "reason", nReason)); in ConvertRequestPermission()
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/bundlemgr/
Dbundle_mgr.cpp793 napi_value nReason; in ConvertRequestPermission() local
795 … env, napi_create_string_utf8(env, requestPermission.reason.c_str(), NAPI_AUTO_LENGTH, &nReason)); in ConvertRequestPermission()
796 NAPI_CALL_RETURN_VOID(env, napi_set_named_property(env, result, "reason", nReason)); in ConvertRequestPermission()