Searched refs:lightEnabled (Results 1 - 5 of 5) sorted by relevance
/base/location/frameworks/js/napi/notification/src/ |
H A D | notification_napi.cpp | 570 // lightEnabled?: boolean in GetNotificationSlotByBool() 571 NAPI_CALL(env, napi_has_named_property(env, value, "lightEnabled", &hasProperty)); in GetNotificationSlotByBool() 573 bool lightEnabled = false; in GetNotificationSlotByBool() local 574 napi_get_named_property(env, value, "lightEnabled", &nobj); in GetNotificationSlotByBool() 580 napi_get_value_bool(env, nobj, &lightEnabled); in GetNotificationSlotByBool() 581 LBSLOGI(NAPI_UTILS, "lightEnabled is: %{public}d", lightEnabled); in GetNotificationSlotByBool() 582 slot.SetEnableLight(lightEnabled); in GetNotificationSlotByBool()
|
/base/notification/distributed_notification_service/frameworks/cj/ffi/include/ |
H A D | notification_utils.h | 222 bool lightEnabled; member
|
/base/notification/distributed_notification_service/frameworks/js/napi/src/ |
H A D | common.cpp | 180 // lightEnabled?: boolean in SetNotificationSlot() 182 napi_set_named_property(env, result, "lightEnabled", value); in SetNotificationSlot() 839 // lightEnabled?: boolean in GetNotificationSlotByBool() 840 NAPI_CALL(env, napi_has_named_property(env, value, "lightEnabled", &hasProperty)); in GetNotificationSlotByBool() 842 bool lightEnabled = false; in GetNotificationSlotByBool() local 843 napi_get_named_property(env, value, "lightEnabled", &nobj); in GetNotificationSlotByBool() 849 napi_get_value_bool(env, nobj, &lightEnabled); in GetNotificationSlotByBool() 850 ANS_LOGI("lightEnabled is: %{public}d", lightEnabled); in GetNotificationSlotByBool() 851 slot.SetEnableLight(lightEnabled); in GetNotificationSlotByBool() [all...] |
/base/notification/distributed_notification_service/frameworks/cj/ffi/src/ |
H A D | notification_manager_impl.cpp | 104 .lightEnabled = false, in GetSlot()
|
H A D | notification_utils.cpp | 901 notificationSlot.lightEnabled = slot.CanEnableLight(); // lightEnabled?: bool in SetNotificationSlot()
|
Completed in 8 milliseconds