Home
last modified time | relevance | path

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

/ohos5.0/base/notification/distributed_notification_service/frameworks/js/napi/src/manager/
H A Dnapi_slot.cpp377 napi_value nSlot = nullptr; in AsyncCompleteCallbackNapiGetSlots() local
378 napi_create_object(env, &nSlot); in AsyncCompleteCallbackNapiGetSlots()
379 if (!Common::SetNotificationSlot(env, *vec, nSlot)) { in AsyncCompleteCallbackNapiGetSlots()
383 napi_set_element(env, arr, count, nSlot); in AsyncCompleteCallbackNapiGetSlots()
469 napi_value nSlot = nullptr; in AsyncCompleteCallbackNapiGetSlotsByBundle() local
470 napi_create_object(env, &nSlot); in AsyncCompleteCallbackNapiGetSlotsByBundle()
471 if (!Common::SetNotificationSlot(env, *vec, nSlot)) { in AsyncCompleteCallbackNapiGetSlotsByBundle()
474 napi_set_element(env, arr, count, nSlot); in AsyncCompleteCallbackNapiGetSlotsByBundle()
H A Dnapi_enable_notification.cpp428 napi_value nSlot = nullptr; in AsyncCompleteCallbackNapiGetAllNotificationEnableStatus() local
429 napi_create_object(env, &nSlot); in AsyncCompleteCallbackNapiGetAllNotificationEnableStatus()
430 Common::SetNotificationEnableStatus(env, vec, nSlot); in AsyncCompleteCallbackNapiGetAllNotificationEnableStatus()
431 napi_set_element(env, arr, count, nSlot); in AsyncCompleteCallbackNapiGetAllNotificationEnableStatus()
/ohos5.0/base/notification/distributed_notification_service/frameworks/js/napi/src/
H A Dslot.cpp291 napi_value nSlot = nullptr; in ParseParametersByAddSlots() local
292 napi_get_element(env, argv[PARAM0], i, &nSlot); in ParseParametersByAddSlots()
293 NAPI_CALL(env, napi_typeof(env, nSlot, &valuetype)); in ParseParametersByAddSlots()
301 if (!Common::GetNotificationSlot(env, nSlot, slot)) { in ParseParametersByAddSlots()
1072 napi_value nSlot = nullptr; in AsyncCompleteCallbackGetSlots() local
1073 napi_create_object(env, &nSlot); in AsyncCompleteCallbackGetSlots()
1074 if (!Common::SetNotificationSlot(env, *vec, nSlot)) { in AsyncCompleteCallbackGetSlots()
1078 napi_set_element(env, arr, count, nSlot); in AsyncCompleteCallbackGetSlots()
1166 napi_value nSlot = nullptr; in AsyncCompleteCallbackGetSlotsByBundle() local
1167 napi_create_object(env, &nSlot); in AsyncCompleteCallbackGetSlotsByBundle()
[all …]