Home
last modified time | relevance | path

Searched refs:AddNotificationSlots (Results 1 – 17 of 17) sorted by relevance

/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/
H A Dpermission_filter_test.cpp62 NotificationPreferences::GetInstance()->AddNotificationSlots(
88 NotificationPreferences::GetInstance()->AddNotificationSlots(
H A Dnotification_preferences_test.cpp74 NotificationPreferences::GetInstance()->AddNotificationSlots(bundleOption_, slots); in TestAddNotificationSlot()
93 …ASSERT_EQ((int)NotificationPreferences::GetInstance()->AddNotificationSlots(bundleOption_, slots),…
106 …ASSERT_EQ((int)NotificationPreferences::GetInstance()->AddNotificationSlots(bundleEmptyOption_, sl…
118 … ASSERT_EQ((int)NotificationPreferences::GetInstance()->AddNotificationSlots(bundleOption_, slots),
133 … ASSERT_EQ((int)NotificationPreferences::GetInstance()->AddNotificationSlots(bundleOption_, slots),
151 …ASSERT_EQ((int)NotificationPreferences::GetInstance()->AddNotificationSlots(bundleOption_, slots),…
164 ASSERT_EQ((int)NotificationPreferences::GetInstance()->AddNotificationSlots(nullptr, slots),
292 …ASSERT_EQ((int)NotificationPreferences::GetInstance()->AddNotificationSlots(bundleOption_, slots),…
470 NotificationPreferences::GetInstance()->AddNotificationSlots(bundleOption_, slots);
H A Dadvanced_notification_slot_service_test.cpp504 NotificationPreferences::GetInstance()->AddNotificationSlots(bundle, slots);
/ohos5.0/base/notification/distributed_notification_service/test/fuzztest/addnotificationslots_fuzzer/
H A Daddnotificationslots_fuzzer.cpp52 return Notification::NotificationHelper::AddNotificationSlots(slots) == ERR_OK; in DoSomethingInterestingWithMyAPI()
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/
H A Dadvanced_notification_slot_service.cpp96 … result = NotificationPreferences::GetInstance()->AddNotificationSlots(bundleOption, addSlots); in AddSlots()
288 (void)NotificationPreferences::GetInstance()->AddNotificationSlots(bundleOption, slots); in RemoveAllSlots()
331 result = NotificationPreferences::GetInstance()->AddNotificationSlots(bundleOption, slots); in AddSlotByType()
483 result = NotificationPreferences::GetInstance()->AddNotificationSlots(bundleOption, slots); in AssignValidNotificationSlot()
H A Dnotification_preferences.cpp65 ErrCode NotificationPreferences::AddNotificationSlots( in AddNotificationSlots() function in OHOS::Notification::NotificationPreferences
H A Dadvanced_notification_publish_service.cpp2228 … result = NotificationPreferences::GetInstance()->AddNotificationSlots(bundle, slots); in SetEnabledForBundleSlot()
2250 result = NotificationPreferences::GetInstance()->AddNotificationSlots(bundle, slots); in SetEnabledForBundleSlot()
H A Dadvanced_notification_service.cpp845 …result = NotificationPreferences::GetInstance()->AddNotificationSlots(record->bundleOption, slots); in UpdateSlotAuthInfo()
/ohos5.0/base/notification/distributed_notification_service/services/ans/include/
H A Dnotification_preferences.h46 ErrCode AddNotificationSlots(
/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dnotification_helper.cpp33 ErrCode NotificationHelper::AddNotificationSlots(const std::vector<NotificationSlot> &slots) in AddNotificationSlots() function in OHOS::Notification::NotificationHelper
35 return DelayedSingleton<AnsNotification>::GetInstance()->AddNotificationSlots(slots); in AddNotificationSlots()
/ohos5.0/base/notification/distributed_notification_service/interfaces/inner_api/
H A Dnotification_helper.h66 static ErrCode AddNotificationSlots(const std::vector<NotificationSlot> &slots);
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/include/
H A Dans_notification.h66 ErrCode AddNotificationSlots(const std::vector<NotificationSlot> &slots);
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/src/
H A Dans_notification.cpp50 return AddNotificationSlots(slots); in AddNotificationSlot()
63 ErrCode AnsNotification::AddNotificationSlots(const std::vector<NotificationSlot> &slots) in AddNotificationSlots() function in OHOS::Notification::AnsNotification
/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
H A Dnotification_helper_test.cpp106 ErrCode ret = notificationHelper.AddNotificationSlots(slots);
/ohos5.0/base/notification/distributed_notification_service/frameworks/js/napi/src/manager/
H A Dnapi_slot.cpp122 …asynccallbackinfo->info.errorCode = NotificationHelper::AddNotificationSlots(asynccallbackinfo->sl… in NapiAddSlots()
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_test/
H A Dans_notification_unit_test.cpp192 ErrCode ret3 = ans_->AddNotificationSlots(nslots);
/ohos5.0/base/notification/distributed_notification_service/frameworks/js/napi/src/
H A Dslot.cpp813 …asynccallbackinfo->info.errorCode = NotificationHelper::AddNotificationSlots(asynccallbackinfo->sl… in AddSlots()