Home
last modified time | relevance | path

Searched refs:Notification (Results 1 – 25 of 493) sorted by relevance

12345678910>>...20

/base/notification/distributed_notification_service/frameworks/ans/src/
Dnotification.cpp23 namespace Notification { namespace
24 Notification::Notification() {}; in Notification() function in OHOS::Notification::Notification
26 Notification::Notification(const sptr<NotificationRequest> &request) in Notification() function in OHOS::Notification::Notification
37 Notification::Notification(const std::string &deviceId, const sptr<NotificationRequest> &request) in Notification() function in OHOS::Notification::Notification
46 Notification::Notification(const Notification &other) in Notification() function in OHOS::Notification::Notification
67 Notification::~Notification() in ~Notification()
70 bool Notification::EnableLight() const in EnableLight()
75 bool Notification::EnableSound() const in EnableSound()
80 bool Notification::EnableVibrate() const in EnableVibrate()
85 std::string Notification::GetBundleName() const in GetBundleName()
[all …]
/base/notification/distributed_notification_service/test/fuzztest/anssubscriberproxy_fuzzer/
Danssubscriberproxy_fuzzer.cpp29 Notification::AnsSubscriberProxy ansSubscriberProxy(impl); in DoSomethingInterestingWithMyAPI()
35 …ansSubscriberProxy.InnerTransact(static_cast<Notification::NotificationInterfaceCode>(code), flags… in DoSomethingInterestingWithMyAPI()
40 sptr<Notification::NotificationRequest> request = new Notification::NotificationRequest(); in DoSomethingInterestingWithMyAPI()
42 sptr<Notification::Notification> notification = new Notification::Notification(request); in DoSomethingInterestingWithMyAPI()
44 …sptr<Notification::NotificationSortingMap> notificationMap = new Notification::NotificationSorting… in DoSomethingInterestingWithMyAPI()
52 …sptr<Notification::NotificationDoNotDisturbDate> date = new Notification::NotificationDoNotDisturb… in DoSomethingInterestingWithMyAPI()
55 …sptr<Notification::EnabledNotificationCallbackData> callbackData = new Notification::EnabledNotifi… in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/test/fuzztest/publishnotification_fuzzer/
Dpublishnotification_fuzzer.cpp29 Notification::NotificationRequest request; in DoSomethingInterestingWithMyAPI()
33 Notification::NotificationRequest::BadgeStyle badgeStyle = in DoSomethingInterestingWithMyAPI()
34 Notification::NotificationRequest::BadgeStyle(style); in DoSomethingInterestingWithMyAPI()
43 std::shared_ptr<Notification::NotificationNormalContent> contentType = in DoSomethingInterestingWithMyAPI()
44 std::make_shared<Notification::NotificationNormalContent>(); in DoSomethingInterestingWithMyAPI()
48 std::shared_ptr<Notification::NotificationContent> content = in DoSomethingInterestingWithMyAPI()
49 std::make_shared<Notification::NotificationContent>(contentType); in DoSomethingInterestingWithMyAPI()
55 std::shared_ptr<Notification::NotificationFlags> notificationFlages = in DoSomethingInterestingWithMyAPI()
56 std::make_shared<Notification::NotificationFlags>(); in DoSomethingInterestingWithMyAPI()
58 Notification::NotificationConstant::FlagStatus sound = in DoSomethingInterestingWithMyAPI()
[all …]
/base/notification/distributed_notification_service/test/fuzztest/publishcontinuoustasknotification_fuzzer/
Dpublishcontinuoustasknotification_fuzzer.cpp29 Notification::NotificationRequest request; in DoSomethingInterestingWithMyAPI()
33 Notification::NotificationRequest::BadgeStyle badgeStyle = in DoSomethingInterestingWithMyAPI()
34 Notification::NotificationRequest::BadgeStyle(style); in DoSomethingInterestingWithMyAPI()
43 std::shared_ptr<Notification::NotificationNormalContent> contentType = in DoSomethingInterestingWithMyAPI()
44 std::make_shared<Notification::NotificationNormalContent>(); in DoSomethingInterestingWithMyAPI()
48 std::shared_ptr<Notification::NotificationContent> content = in DoSomethingInterestingWithMyAPI()
49 std::make_shared<Notification::NotificationContent>(contentType); in DoSomethingInterestingWithMyAPI()
55 std::shared_ptr<Notification::NotificationFlags> notificationFlages = in DoSomethingInterestingWithMyAPI()
56 std::make_shared<Notification::NotificationFlags>(); in DoSomethingInterestingWithMyAPI()
58 Notification::NotificationConstant::FlagStatus sound = in DoSomethingInterestingWithMyAPI()
[all …]
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_subscriber_proxy_branch_test/
Dans_subscriber_proxy_branch_test.cpp31 using namespace OHOS::Notification;
70 std::vector<sptr<OHOS::Notification::Notification>> notifications;
91 …sptr<OHOS::Notification::Notification> notification = new (std::nothrow) OHOS::Notification::Notif…
92 std::vector<sptr<OHOS::Notification::Notification>> notifications;
114 …sptr<OHOS::Notification::Notification> notification = new (std::nothrow) OHOS::Notification::Notif…
115 std::vector<sptr<OHOS::Notification::Notification>> notifications;
136 std::vector<sptr<OHOS::Notification::Notification>> notifications;
155 …sptr<OHOS::Notification::Notification> notification = new (std::nothrow) OHOS::Notification::Notif…
156 std::vector<sptr<OHOS::Notification::Notification>> notifications;
/base/notification/distributed_notification_service/test/fuzztest/reminderhelper_fuzzer/
Dreminderhelper_fuzzer.cpp31 Notification::ReminderRequest reminder; in DoSomethingInterestingWithMyAPI()
34 Notification::ReminderHelper::PublishReminder(reminder); in DoSomethingInterestingWithMyAPI()
36 Notification::ReminderHelper::CancelReminder(reminderId); in DoSomethingInterestingWithMyAPI()
37 sptr<Notification::ReminderRequest> valid = new Notification::ReminderRequest(); in DoSomethingInterestingWithMyAPI()
38 std::vector<sptr<Notification::ReminderRequest>> validReminders; in DoSomethingInterestingWithMyAPI()
40 Notification::ReminderHelper::GetValidReminders(validReminders); in DoSomethingInterestingWithMyAPI()
41 Notification::NotificationSlot notificationSlot; in DoSomethingInterestingWithMyAPI()
45 Notification::ReminderHelper::AddNotificationSlot(notificationSlot); in DoSomethingInterestingWithMyAPI()
47Notification::NotificationConstant::SlotType slotType = Notification::NotificationConstant::SlotTy… in DoSomethingInterestingWithMyAPI()
48 Notification::ReminderHelper::RemoveNotificationSlot(slotType); in DoSomethingInterestingWithMyAPI()
[all …]
/base/notification/distributed_notification_service/test/fuzztest/setdonotdisturbdate_fuzzer/
Dsetdonotdisturbdate_fuzzer.cpp28 Notification::NotificationDoNotDisturbDate disturb; in DoSomethingInterestingWithMyAPI()
29 Notification::NotificationConstant::DoNotDisturbType disturbType = in DoSomethingInterestingWithMyAPI()
30 Notification::NotificationConstant::DoNotDisturbType(type); in DoSomethingInterestingWithMyAPI()
33 Notification::NotificationHelper::SetDoNotDisturbDate(userId, disturb); in DoSomethingInterestingWithMyAPI()
35 Notification::NotificationHelper::GetDoNotDisturbDate(userId, disturb); in DoSomethingInterestingWithMyAPI()
38 Notification::NotificationBundleOption bundleOption; in DoSomethingInterestingWithMyAPI()
42Notification::NotificationConstant::SlotType slotType = Notification::NotificationConstant::SlotTy… in DoSomethingInterestingWithMyAPI()
44Notification::NotificationHelper::SetEnabledForBundleSlot(bundleOption, slotType, enabled, false); in DoSomethingInterestingWithMyAPI()
46 Notification::NotificationHelper::GetEnabledForBundleSlot(bundleOption, slotType, enabled); in DoSomethingInterestingWithMyAPI()
48 Notification::NotificationHelper::SetSyncNotificationEnabledWithoutApp(userId, enabled); in DoSomethingInterestingWithMyAPI()
[all …]
/base/notification/distributed_notification_service/test/fuzztest/ansmanagerstubannextwo_fuzzer/
Dansmanagerstubannextwo_fuzzer.cpp30 Notification::AnsManagerStub ansManagerStub; in DoSomethingInterestingWithMyAPI()
37 … sptr<Notification::NotificationRequest> notification = new Notification::NotificationRequest(); in DoSomethingInterestingWithMyAPI()
46Notification::NotificationConstant::SlotType slotType = Notification::NotificationConstant::SlotTy… in DoSomethingInterestingWithMyAPI()
48 sptr<Notification::NotificationSlot> slot = new Notification::NotificationSlot(); in DoSomethingInterestingWithMyAPI()
49 std::vector<sptr<Notification::NotificationSlot>> slots; in DoSomethingInterestingWithMyAPI()
56 …sptr<Notification::NotificationBundleOption> bundleOption = new Notification::NotificationBundleOp… in DoSomethingInterestingWithMyAPI()
59 … sptr<Notification::NotificationRequest> notificationer = new Notification::NotificationRequest(); in DoSomethingInterestingWithMyAPI()
60 std::vector<sptr<Notification::NotificationRequest>> notifications; in DoSomethingInterestingWithMyAPI()
64 sptr<Notification::Notification> notificatione = new Notification::Notification(); in DoSomethingInterestingWithMyAPI()
65 std::vector<sptr<Notification::Notification>> notificationes; in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/test/fuzztest/notificationcontent_fuzzer/
Dnotificationcontent_fuzzer.cpp26 std::shared_ptr<Notification::NotificationNormalContent> normalContent = in DoSomethingInterestingWithMyAPI()
27 std::make_shared<Notification::NotificationNormalContent>(); in DoSomethingInterestingWithMyAPI()
28 std::shared_ptr<Notification::NotificationLongTextContent> longTextContent = in DoSomethingInterestingWithMyAPI()
29 std::make_shared<Notification::NotificationLongTextContent>(); in DoSomethingInterestingWithMyAPI()
30 std::shared_ptr<Notification::NotificationPictureContent> pictureContent = in DoSomethingInterestingWithMyAPI()
31 std::make_shared<Notification::NotificationPictureContent>(); in DoSomethingInterestingWithMyAPI()
32 Notification::NotificationContent notificationContent(normalContent); in DoSomethingInterestingWithMyAPI()
33 Notification::NotificationContent notificationLongTextContent(longTextContent); in DoSomethingInterestingWithMyAPI()
34 Notification::NotificationContent notificationPictureContent(pictureContent); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/test/fuzztest/advancednotificationservice_fuzzer/
Dadvancednotificationservice_fuzzer.cpp29 Notification::AdvancedNotificationService advancedNotificationService;
34 … sptr<Notification::NotificationRequest> notification = new Notification::NotificationRequest(); in DoSomethingInterestingWithMyAPI()
42Notification::NotificationConstant::SlotType slotType = Notification::NotificationConstant::SlotTy… in DoSomethingInterestingWithMyAPI()
44 std::vector<sptr<Notification::NotificationSlot>> slots; in DoSomethingInterestingWithMyAPI()
48 sptr<Notification::NotificationSlot> slot = new Notification::NotificationSlot(); in DoSomethingInterestingWithMyAPI()
51 …sptr<Notification::NotificationBundleOption> bundleOption = new Notification::NotificationBundleOp… in DoSomethingInterestingWithMyAPI()
54 std::vector<sptr<Notification::NotificationRequest>> notifications; in DoSomethingInterestingWithMyAPI()
57 std::vector<sptr<Notification::Notification>> notificationss; in DoSomethingInterestingWithMyAPI()
86 sptr<Notification::AnsSubscriberStub> subscriber = new Notification::AnsSubscriberStub(); in DoSomethingInterestingWithMyAPI()
87 …sptr<Notification::NotificationSubscribeInfo> info = new Notification::NotificationSubscribeInfo(); in DoSomethingInterestingWithMyAPI()
[all …]
/base/notification/distributed_notification_service/test/fuzztest/cancelgroup_fuzzer/
Dcancelgroup_fuzzer.cpp28 Notification::NotificationHelper::GetShowBadgeEnabled(enabled); in DoSomethingInterestingWithMyAPI()
31 Notification::NotificationHelper::CancelGroup(stringData); in DoSomethingInterestingWithMyAPI()
34 Notification::NotificationDoNotDisturbDate disturb; in DoSomethingInterestingWithMyAPI()
35 Notification::NotificationConstant::DoNotDisturbType disturbType = in DoSomethingInterestingWithMyAPI()
36 Notification::NotificationConstant::DoNotDisturbType(type); in DoSomethingInterestingWithMyAPI()
38 Notification::NotificationHelper::SetDoNotDisturbDate(disturb); in DoSomethingInterestingWithMyAPI()
40 Notification::NotificationHelper::GetDoNotDisturbDate(disturb); in DoSomethingInterestingWithMyAPI()
42 Notification::NotificationHelper::DoesSupportDoNotDisturbMode(enabled); in DoSomethingInterestingWithMyAPI()
44 return Notification::NotificationHelper::IsDistributedEnabled(enabled); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/test/fuzztest/anssubscriberstub_fuzzer/
Danssubscriberstub_fuzzer.cpp27 Notification::AnsSubscriberStub ansSubscriberStub; in DoSomethingInterestingWithMyAPI()
53 sptr<Notification::Notification> notification = new Notification::Notification(); in DoSomethingInterestingWithMyAPI()
54 …sptr<Notification::NotificationSortingMap> notificationMap = new Notification::NotificationSorting… in DoSomethingInterestingWithMyAPI()
62 …sptr<Notification::NotificationDoNotDisturbDate> date = new Notification::NotificationDoNotDisturb… in DoSomethingInterestingWithMyAPI()
65 …sptr<Notification::EnabledNotificationCallbackData> callbackData = new Notification::EnabledNotifi… in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/test/fuzztest/getallactivenotifications_fuzzer/
Dgetallactivenotifications_fuzzer.cpp29 Notification::NotificationBundleOption bundleOption; in DoSomethingInterestingWithMyAPI()
33 Notification::NotificationHelper::IsAllowedNotify(bundleOption, allowed); in DoSomethingInterestingWithMyAPI()
35 sptr<Notification::Notification> notification = nullptr; in DoSomethingInterestingWithMyAPI()
36 std::vector<sptr<Notification::Notification>> notifications; in DoSomethingInterestingWithMyAPI()
38 Notification::NotificationHelper::GetAllActiveNotifications(notifications); in DoSomethingInterestingWithMyAPI()
42 … return Notification::NotificationHelper::GetAllActiveNotifications(keys, notifications) == ERR_OK; in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/test/fuzztest/addnotificationslots_fuzzer/
Daddnotificationslots_fuzzer.cpp30 Notification::NotificationSlot slot; in DoSomethingInterestingWithMyAPI()
37 Notification::NotificationSlot::NotificationLevel notificatoinLevel = in DoSomethingInterestingWithMyAPI()
38 Notification::NotificationSlot::NotificationLevel(level); in DoSomethingInterestingWithMyAPI()
42 Notification::NotificationConstant::VisiblenessType visiblenessType = in DoSomethingInterestingWithMyAPI()
43 Notification::NotificationConstant::VisiblenessType(visibleness); in DoSomethingInterestingWithMyAPI()
47Notification::NotificationConstant::SlotType slotType = Notification::NotificationConstant::SlotTy… in DoSomethingInterestingWithMyAPI()
50 std::vector<Notification::NotificationSlot> slots; in DoSomethingInterestingWithMyAPI()
52 return Notification::NotificationHelper::AddNotificationSlots(slots) == ERR_OK; in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/test/fuzztest/getbundleimportance_fuzzer/
Dgetbundleimportance_fuzzer.cpp28Notification::NotificationHelper::CanPublishNotificationAsBundle(representativeBundle, canPublish); in DoSomethingInterestingWithMyAPI()
30 Notification::NotificationHelper::SetNotificationBadgeNum(); in DoSomethingInterestingWithMyAPI()
33 Notification::NotificationHelper::IsAllowedNotify(allowed); in DoSomethingInterestingWithMyAPI()
35 Notification::NotificationHelper::IsAllowedNotifySelf(allowed); in DoSomethingInterestingWithMyAPI()
38 Notification::NotificationSlot::NotificationLevel level = in DoSomethingInterestingWithMyAPI()
39 Notification::NotificationSlot::NotificationLevel(levels); in DoSomethingInterestingWithMyAPI()
40 return Notification::NotificationHelper::GetBundleImportance(level) == ERR_OK; in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/test/fuzztest/addnotificationslot_fuzzer/
Daddnotificationslot_fuzzer.cpp31 Notification::NotificationSlot slot; in DoSomethingInterestingWithMyAPI()
38 Notification::NotificationSlot::NotificationLevel notificatoinLevel = in DoSomethingInterestingWithMyAPI()
39 Notification::NotificationSlot::NotificationLevel(level); in DoSomethingInterestingWithMyAPI()
43 Notification::NotificationConstant::VisiblenessType visiblenessType = in DoSomethingInterestingWithMyAPI()
44 Notification::NotificationConstant::VisiblenessType(visibleness); in DoSomethingInterestingWithMyAPI()
48Notification::NotificationConstant::SlotType slotType = Notification::NotificationConstant::SlotTy… in DoSomethingInterestingWithMyAPI()
51 return Notification::NotificationHelper::AddNotificationSlot(slot) == ERR_OK; in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/test/fuzztest/ansmanagerstubannexthree_fuzzer/
Dansmanagerstubannexthree_fuzzer.cpp30 Notification::AnsManagerStub ansManagerStub; in DoSomethingInterestingWithMyAPI()
32 …sptr<Notification::NotificationBundleOption> bundleOption = new Notification::NotificationBundleOp… in DoSomethingInterestingWithMyAPI()
41 sptr<Notification::NotificationSlot> slot = new Notification::NotificationSlot(); in DoSomethingInterestingWithMyAPI()
42 std::vector<sptr<Notification::NotificationSlot>> slots; in DoSomethingInterestingWithMyAPI()
61 Notification::NotificationConstant::RemindType remind = in DoSomethingInterestingWithMyAPI()
62 Notification::NotificationConstant::RemindType(remindType); in DoSomethingInterestingWithMyAPI()
64 sptr<Notification::NotificationRequest> request = new Notification::NotificationRequest(); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/test/fuzztest/getnotificationslot_fuzzer/
Dgetnotificationslot_fuzzer.cpp27Notification::NotificationConstant::SlotType slotType = Notification::NotificationConstant::SlotTy… in DoSomethingInterestingWithMyAPI()
28 sptr<Notification::NotificationSlot> slot = nullptr; in DoSomethingInterestingWithMyAPI()
30 std::vector<sptr<Notification::NotificationSlot>> slots; in DoSomethingInterestingWithMyAPI()
32 Notification::NotificationHelper::GetNotificationSlots(slots); in DoSomethingInterestingWithMyAPI()
34 return Notification::NotificationHelper::GetNotificationSlot(slotType, slot) == ERR_OK; in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/test/fuzztest/setnotificationbadgenum_fuzzer/
Dsetnotificationbadgenum_fuzzer.cpp26 sptr<Notification::AnsDialogHostClient> client = nullptr; in DoSomethingInterestingWithMyAPI()
27 Notification::AnsDialogHostClient::CreateIfNullptr(client); in DoSomethingInterestingWithMyAPI()
28 client = Notification::AnsDialogHostClient::GetInstance(); in DoSomethingInterestingWithMyAPI()
29 Notification::NotificationHelper::RequestEnableNotification(deviceId, client, callerToken); in DoSomethingInterestingWithMyAPI()
32 Notification::NotificationHelper::HasNotificationPolicyAccessPermission(hasPermission); in DoSomethingInterestingWithMyAPI()
34 … return Notification::NotificationHelper::SetNotificationBadgeNum(GetU32Data(data)) == ERR_OK; in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/test/fuzztest/readfromparcel_fuzzer/
Dreadfromparcel_fuzzer.cpp33 sptr<Notification::NotificationRequest> request = new Notification::NotificationRequest(); in DoSomethingInterestingWithMyAPI()
37 Notification::Notification notification(request); in DoSomethingInterestingWithMyAPI()
57 Notification::NotificationConstant::VisiblenessType visiblenessType = in DoSomethingInterestingWithMyAPI()
58 Notification::NotificationConstant::VisiblenessType(visibleness); in DoSomethingInterestingWithMyAPI()
66 Notification::NotificationConstant::RemindType remind = in DoSomethingInterestingWithMyAPI()
67 Notification::NotificationConstant::RemindType(remindType); in DoSomethingInterestingWithMyAPI()
71 Notification::NotificationConstant::SourceType sourceType = in DoSomethingInterestingWithMyAPI()
72 Notification::NotificationConstant::SourceType(source); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/test/fuzztest/enabledistributed_fuzzer/
Denabledistributed_fuzzer.cpp28 Notification::NotificationHelper::EnableDistributed(enabled); in DoSomethingInterestingWithMyAPI()
32 Notification::NotificationBundleOption bundleOption; in DoSomethingInterestingWithMyAPI()
35 Notification::NotificationHelper::EnableDistributedByBundle(bundleOption, enabled); in DoSomethingInterestingWithMyAPI()
37 Notification::NotificationHelper::EnableDistributedSelf(enabled); in DoSomethingInterestingWithMyAPI()
39 Notification::NotificationHelper::IsDistributedEnableByBundle(bundleOption, enabled); in DoSomethingInterestingWithMyAPI()
41 …return Notification::NotificationHelper::RemoveNotification(bundleOption, usingData, stringData, u… in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/test/fuzztest/getnotificationslotsforbundle_fuzzer/
Dgetnotificationslotsforbundle_fuzzer.cpp25 Notification::NotificationBundleOption bundleOption; in DoSomethingInterestingWithMyAPI()
28 sptr<Notification::NotificationSlot> slot = nullptr; in DoSomethingInterestingWithMyAPI()
29 std::vector<sptr<Notification::NotificationSlot>> slots; in DoSomethingInterestingWithMyAPI()
32 Notification::NotificationHelper::UpdateNotificationSlots(bundleOption, slots); in DoSomethingInterestingWithMyAPI()
34 Notification::NotificationHelper::GetNotificationSlotsForBundle(bundleOption, slots); in DoSomethingInterestingWithMyAPI()
36 return Notification::NotificationHelper::RemoveGroupByBundle(bundleOption, stringData); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/services/ans/test/unittest/mock/
Dmock_accesstoken_kit.cpp23 namespace Notification { namespace
55 if (!Notification::g_mockVerfyPermisson) { in VerifyAccessToken()
59 if (tokenID == Notification::NON_NATIVE_TOKEN) { in VerifyAccessToken()
67 return Notification::g_mockGetTokenTypeFlagRet; in GetTokenTypeFlag()
72 info.dlpType = Notification::g_mockDlpType; in GetHapTokenInfo()
73 info.apl = Notification::g_mockApl; in GetHapTokenInfo()
/base/notification/distributed_notification_service/test/fuzztest/setnotificationsenabledforallbundles_fuzzer/
Dsetnotificationsenabledforallbundles_fuzzer.cpp29 Notification::NotificationHelper::SetNotificationsEnabledForAllBundles(stringData, enabled); in DoSomethingInterestingWithMyAPI()
31Notification::NotificationHelper::SetNotificationsEnabledForDefaultBundle(stringData, enabled); in DoSomethingInterestingWithMyAPI()
34 Notification::NotificationBundleOption bundleOption; in DoSomethingInterestingWithMyAPI()
37Notification::NotificationHelper::SetNotificationsEnabledForSpecifiedBundle(bundleOption, stringDa… in DoSomethingInterestingWithMyAPI()
39 Notification::NotificationHelper::SetShowBadgeEnabledForBundle(bundleOption, enabled); in DoSomethingInterestingWithMyAPI()
41 … return Notification::NotificationHelper::GetShowBadgeEnabledForBundle(bundleOption, enabled); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
Dnotification_test.cpp29 namespace Notification { namespace
47 auto rrc = std::make_shared<Notification>(request);
72 auto rrc = std::make_shared<Notification>(deviceId, request);
87 auto rrc = std::make_shared<Notification>(request);
101 auto rrc = std::make_shared<Notification>(request);
115 auto rrc = std::make_shared<Notification>(request);
134 auto rrc = std::make_shared<Notification>(request);
150 auto rrc = std::make_shared<Notification>(request);
166 auto rrc = std::make_shared<Notification>(request);
181 auto rrc = std::make_shared<Notification>(request);
[all …]

12345678910>>...20