Searched refs:inLevel (Results 1 – 4 of 4) sorted by relevance
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/common/src/ |
H A D | ans_convert_enum.cpp | 150 bool AnsEnumUtil::SlotLevelJSToC(const SlotLevel &inLevel, NotificationSlot::NotificationLevel &out… in SlotLevelJSToC() argument 152 switch (inLevel) { in SlotLevelJSToC() 169 ANS_LOGE("SlotLevel %{public}d is an invalid value", inLevel); in SlotLevelJSToC() 199 bool AnsEnumUtil::SlotLevelCToJS(const NotificationSlot::NotificationLevel &inLevel, SlotLevel &out… in SlotLevelCToJS() argument 201 switch (inLevel) { in SlotLevelCToJS() 219 ANS_LOGE("SlotLevel %{public}d is an invalid value", inLevel); in SlotLevelCToJS()
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/common/include/ |
H A D | ans_convert_enum.h | 171 …static bool SlotLevelJSToC(const SlotLevel &inLevel, NotificationSlot::NotificationLevel &outLevel… 189 …static bool SlotLevelCToJS(const NotificationSlot::NotificationLevel &inLevel, SlotLevel &outLevel…
|
/ohos5.0/base/location/frameworks/js/napi/notification/src/ |
H A D | notification_napi.cpp | 600 int inLevel = 0; in GetNotificationSlotByNumber() local 607 napi_get_value_int32(env, nobj, &inLevel); in GetNotificationSlotByNumber() 608 LBSLOGI(NAPI_UTILS, "level is: %{public}d", inLevel); in GetNotificationSlotByNumber() 611 if (!AnsEnumUtil::SlotLevelJSToC(SlotLevel(inLevel), outLevel)) { in GetNotificationSlotByNumber()
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/js/napi/src/ |
H A D | common.cpp | 868 int inLevel = 0; in GetNotificationSlotByNumber() local 875 napi_get_value_int32(env, nobj, &inLevel); in GetNotificationSlotByNumber() 876 ANS_LOGI("level is: %{public}d", inLevel); in GetNotificationSlotByNumber() 879 if (!AnsEnumUtil::SlotLevelJSToC(SlotLevel(inLevel), outLevel)) { in GetNotificationSlotByNumber()
|