Home
last modified time | relevance | path

Searched refs:notificationSlot (Results 1 - 8 of 8) sorted by relevance

/base/notification/distributed_notification_service/test/fuzztest/notificationslot_fuzzer/
H A Dnotificationslot_fuzzer.cpp29 Notification::NotificationSlot notificationSlot; in DoSomethingInterestingWithMyAPI() local
31 notificationSlot.CanEnableLight(); in DoSomethingInterestingWithMyAPI()
32 notificationSlot.CanVibrate(); in DoSomethingInterestingWithMyAPI()
33 notificationSlot.GetDescription(); in DoSomethingInterestingWithMyAPI()
34 notificationSlot.GetId(); in DoSomethingInterestingWithMyAPI()
35 notificationSlot.GetLedLightColor(); in DoSomethingInterestingWithMyAPI()
36 notificationSlot.GetLevel(); in DoSomethingInterestingWithMyAPI()
37 notificationSlot.GetType(); in DoSomethingInterestingWithMyAPI()
38 notificationSlot.GetLockScreenVisibleness(); in DoSomethingInterestingWithMyAPI()
39 notificationSlot in DoSomethingInterestingWithMyAPI()
[all...]
/base/notification/distributed_notification_service/services/ans/test/unittest/
H A Dnotification_slot_filter_test.cpp52 NotificationSlot notificationSlot(type); in HWTEST_F()
53 auto result = notificationSlot.Marshalling(p); in HWTEST_F()
70 NotificationSlot notificationSlot(type); in HWTEST_F()
71 auto result = notificationSlot.ReadFromParcel(p); in HWTEST_F()
/base/notification/distributed_notification_service/test/fuzztest/reminderhelper_fuzzer/
H A Dreminderhelper_fuzzer.cpp41 Notification::NotificationSlot notificationSlot; in DoSomethingInterestingWithMyAPI() local
43 notificationSlot.SetEnableLight(enabled); in DoSomethingInterestingWithMyAPI()
44 notificationSlot.SetEnableVibration(enabled); in DoSomethingInterestingWithMyAPI()
45 Notification::ReminderHelper::AddNotificationSlot(notificationSlot); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dnotification_slot.cpp457 NotificationSlot *notificationSlot = new (std::nothrow) NotificationSlot(NotificationConstant::SlotType::CUSTOM); in Unmarshalling() local
459 if (notificationSlot && !notificationSlot->ReadFromParcel(parcel)) { in Unmarshalling()
460 delete notificationSlot; in Unmarshalling()
461 notificationSlot = nullptr; in Unmarshalling()
464 return notificationSlot; in Unmarshalling()
/base/notification/distributed_notification_service/frameworks/cj/ffi/src/
H A Dnotification_utils.cpp877 bool SetNotificationSlot(const NotificationSlot &slot, CNotificationSlot &notificationSlot) in SetNotificationSlot() argument
891 notificationSlot.notificationType = static_cast<int32_t>(outType); in SetNotificationSlot()
892 notificationSlot.level = static_cast<int32_t>(outLevel); in SetNotificationSlot()
894 notificationSlot.desc = MallocCString(slot.GetDescription()); // desc?: string in SetNotificationSlot()
895 notificationSlot.badgeFlag = slot.IsShowBadge(); // badgeFlag?: bool in SetNotificationSlot()
896 notificationSlot.bypassDnd = slot.IsEnableBypassDnd(); // bypassDnd?: bool in SetNotificationSlot()
898 notificationSlot.lockscreenVisibility = static_cast<int32_t>(slot.GetLockScreenVisibleness()); in SetNotificationSlot()
899 notificationSlot.vibrationEnabled = slot.CanVibrate(); // vibrationEnabled?: bool in SetNotificationSlot()
900 notificationSlot.sound = MallocCString(slot.GetSound().ToString()); // sound?: string in SetNotificationSlot()
901 notificationSlot in SetNotificationSlot()
[all...]
H A Dnotification_manager_impl.cpp95 CNotificationSlot notificationSlot = { in GetSlot() local
112 return notificationSlot; in GetSlot()
117 if (slot != nullptr && !SetNotificationSlot(*slot, notificationSlot)) { in GetSlot()
120 return notificationSlot; in GetSlot()
/base/notification/distributed_notification_service/frameworks/cj/ffi/include/
H A Dnotification_utils.h298 bool SetNotificationSlot(const OHOS::Notification::NotificationSlot &slot, CNotificationSlot &notificationSlot);
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_test/
H A Dans_notification_unit_test.cpp190 NotificationSlot notificationSlot; in HWTEST_F() local
191 nslots.emplace_back(notificationSlot); in HWTEST_F()

Completed in 8 milliseconds