Searched refs:outLevel (Results 1 – 4 of 4) sorted by relevance
150 …nsEnumUtil::SlotLevelJSToC(const SlotLevel &inLevel, NotificationSlot::NotificationLevel &outLevel) in SlotLevelJSToC() argument154 outLevel = NotificationSlot::NotificationLevel::LEVEL_NONE; in SlotLevelJSToC()157 outLevel = NotificationSlot::NotificationLevel::LEVEL_MIN; in SlotLevelJSToC()160 outLevel = NotificationSlot::NotificationLevel::LEVEL_LOW; in SlotLevelJSToC()163 outLevel = NotificationSlot::NotificationLevel::LEVEL_DEFAULT; in SlotLevelJSToC()166 outLevel = NotificationSlot::NotificationLevel::LEVEL_HIGH; in SlotLevelJSToC()204 outLevel = SlotLevel::LEVEL_NONE; in SlotLevelCToJS()207 outLevel = SlotLevel::LEVEL_MIN; in SlotLevelCToJS()210 outLevel = SlotLevel::LEVEL_LOW; in SlotLevelCToJS()213 outLevel = SlotLevel::LEVEL_DEFAULT; in SlotLevelCToJS()[all …]
171 …tatic bool SlotLevelJSToC(const SlotLevel &inLevel, NotificationSlot::NotificationLevel &outLevel);189 …tatic bool SlotLevelCToJS(const NotificationSlot::NotificationLevel &inLevel, SlotLevel &outLevel);
148 SlotLevel outLevel = SlotLevel::LEVEL_NONE; in SetNotificationSlot() local149 if (!AnsEnumUtil::SlotLevelCToJS(slot.GetLevel(), outLevel)) { in SetNotificationSlot()152 napi_create_int32(env, static_cast<int32_t>(outLevel), &value); in SetNotificationSlot()878 … NotificationSlot::NotificationLevel outLevel {NotificationSlot::NotificationLevel::LEVEL_NONE}; in GetNotificationSlotByNumber() local879 if (!AnsEnumUtil::SlotLevelJSToC(SlotLevel(inLevel), outLevel)) { in GetNotificationSlotByNumber()882 slot.SetLevel(outLevel); in GetNotificationSlotByNumber()
610 … NotificationSlot::NotificationLevel outLevel {NotificationSlot::NotificationLevel::LEVEL_NONE}; in GetNotificationSlotByNumber() local611 if (!AnsEnumUtil::SlotLevelJSToC(SlotLevel(inLevel), outLevel)) { in GetNotificationSlotByNumber()614 slot.SetLevel(outLevel); in GetNotificationSlotByNumber()