Home
last modified time | relevance | path

Searched refs:inLevel (Results 1 - 6 of 6) sorted by relevance

/base/notification/distributed_notification_service/frameworks/core/common/include/
H A Dans_convert_enum.h171 static bool SlotLevelJSToC(const SlotLevel &inLevel, NotificationSlot::NotificationLevel &outLevel);
189 static bool SlotLevelCToJS(const NotificationSlot::NotificationLevel &inLevel, SlotLevel &outLevel);
/base/notification/distributed_notification_service/frameworks/core/common/src/
H A Dans_convert_enum.cpp150 bool AnsEnumUtil::SlotLevelJSToC(const SlotLevel &inLevel, NotificationSlot::NotificationLevel &outLevel) 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 &outLevel) in SlotLevelCToJS() argument
201 switch (inLevel) { in SlotLevelCToJS()
219 ANS_LOGE("SlotLevel %{public}d is an invalid value", inLevel); in SlotLevelCToJS()
/base/location/frameworks/js/napi/notification/src/
H A Dnotification_napi.cpp600 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()
/base/notification/distributed_notification_service/frameworks/cj/ffi/include/
H A Dnotification_utils.h291 bool SlotLevelCToCJ(const OHOS::Notification::NotificationSlot::NotificationLevel &inLevel, SlotLevel &outLevel);
/base/notification/distributed_notification_service/frameworks/js/napi/src/
H A Dcommon.cpp868 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()
/base/notification/distributed_notification_service/frameworks/cj/ffi/src/
H A Dnotification_utils.cpp710 bool SlotLevelCToCJ(const NotificationSlot::NotificationLevel &inLevel, SlotLevel &outLevel) in SlotLevelCToCJ() argument
712 switch (inLevel) { in SlotLevelCToCJ()
730 LOGE("SlotLevel %{public}d is an invalid value", inLevel); in SlotLevelCToCJ()

Completed in 10 milliseconds