Home
last modified time | relevance | path

Searched refs:nUserId (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/base/location/frameworks/js/napi/notification/src/
H A Dnotification_napi.cpp85 napi_value nUserId = nullptr; in GetNotificationSubscriberInfo() local
86 napi_get_named_property(env, value, "userId", &nUserId); in GetNotificationSubscriberInfo()
87 NAPI_CALL(env, napi_typeof(env, nUserId, &valuetype)); in GetNotificationSubscriberInfo()
92 NAPI_CALL(env, napi_get_value_int32(env, nUserId, &subscriberInfo.userId)); in GetNotificationSubscriberInfo()
/ohos5.0/base/notification/distributed_notification_service/frameworks/js/napi/src/
H A Dcommon.cpp335 napi_value nUserId = nullptr; in GetNotificationSubscriberInfo() local
336 napi_get_named_property(env, value, "userId", &nUserId); in GetNotificationSubscriberInfo()
337 NAPI_CALL(env, napi_typeof(env, nUserId, &valuetype)); in GetNotificationSubscriberInfo()
342 NAPI_CALL(env, napi_get_value_int32(env, nUserId, &subscriberInfo.userId)); in GetNotificationSubscriberInfo()
/ohos5.0/foundation/bundlemanager/bundle_framework/interfaces/kits/js/common/
H A Dcommon_func.cpp1980 napi_value nUserId; in ConvertBundleChangeInfo() local
1981 NAPI_CALL_RETURN_VOID(env, napi_create_int32(env, userId, &nUserId)); in ConvertBundleChangeInfo()
1982 NAPI_CALL_RETURN_VOID(env, napi_set_named_property(env, bundleChangeInfo, "userId", nUserId)); in ConvertBundleChangeInfo()