Searched refs:nReason (Results 1 – 2 of 2) sorted by relevance
/foundation/bundlemanager/bundle_framework/interfaces/kits/js/common/ |
D | common_func.cpp | 1225 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/ |
D | bundle_mgr.cpp | 793 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()
|