Searched refs:nobj (Results 1 - 2 of 2) sorted by relevance
/base/location/frameworks/js/napi/notification/src/ |
H A D | notification_napi.cpp | 433 napi_value nobj = nullptr; in GetNotificationSlot() local 442 napi_get_named_property(env, value, "notificationType", &nobj); in GetNotificationSlot() 443 NAPI_CALL(env, napi_typeof(env, nobj, &valuetype)); in GetNotificationSlot() 449 napi_get_named_property(env, value, "type", &nobj); in GetNotificationSlot() 450 NAPI_CALL(env, napi_typeof(env, nobj, &valuetype)); in GetNotificationSlot() 460 if (nobj != nullptr) { in GetNotificationSlot() 461 napi_get_value_int32(env, nobj, &slotType); in GetNotificationSlot() 490 napi_value nobj = nullptr; in GetNotificationSlotByString() local 500 napi_get_named_property(env, value, "desc", &nobj); in GetNotificationSlotByString() 501 NAPI_CALL(env, napi_typeof(env, nobj, in GetNotificationSlotByString() 536 napi_value nobj = nullptr; GetNotificationSlotByBool() local 593 napi_value nobj = nullptr; GetNotificationSlotByNumber() local 653 napi_value nobj = nullptr; GetNotificationSlotByVibration() local [all...] |
/base/notification/distributed_notification_service/frameworks/js/napi/src/ |
H A D | common.cpp | 704 napi_value nobj = nullptr; in GetNotificationSlot() local 713 napi_get_named_property(env, value, "notificationType", &nobj); in GetNotificationSlot() 714 NAPI_CALL(env, napi_typeof(env, nobj, &valuetype)); in GetNotificationSlot() 720 napi_get_named_property(env, value, "type", &nobj); in GetNotificationSlot() 721 NAPI_CALL(env, napi_typeof(env, nobj, &valuetype)); in GetNotificationSlot() 731 if (nobj != nullptr) { in GetNotificationSlot() 732 napi_get_value_int32(env, nobj, &slotType); in GetNotificationSlot() 760 napi_value nobj = nullptr; in GetNotificationSlotByString() local 770 napi_get_named_property(env, value, "desc", &nobj); in GetNotificationSlotByString() 771 NAPI_CALL(env, napi_typeof(env, nobj, in GetNotificationSlotByString() 805 napi_value nobj = nullptr; GetNotificationSlotByBool() local 861 napi_value nobj = nullptr; GetNotificationSlotByNumber() local 920 napi_value nobj = nullptr; GetNotificationSlotByVibration() local [all...] |
Completed in 4 milliseconds