Home
last modified time | relevance | path

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

/base/notification/distributed_notification_service/services/ans/test/unittest/
Dpermission_filter_test.cpp62 NotificationPreferences::GetInstance().AddNotificationSlots(
88 NotificationPreferences::GetInstance().AddNotificationSlots(
Dnotification_preferences_test.cpp73 NotificationPreferences::GetInstance().AddNotificationSlots(bundleOption_, slots); in TestAddNotificationSlot()
92 …EXPECT_EQ((int)NotificationPreferences::GetInstance().AddNotificationSlots(bundleOption_, slots), …
105 …EXPECT_EQ((int)NotificationPreferences::GetInstance().AddNotificationSlots(bundleEmptyOption_, slo…
117 … EXPECT_EQ((int)NotificationPreferences::GetInstance().AddNotificationSlots(bundleOption_, slots),
132 … EXPECT_EQ((int)NotificationPreferences::GetInstance().AddNotificationSlots(bundleOption_, slots),
150 …EXPECT_EQ((int)NotificationPreferences::GetInstance().AddNotificationSlots(bundleOption_, slots), …
163 EXPECT_EQ((int)NotificationPreferences::GetInstance().AddNotificationSlots(nullptr, slots),
293 …EXPECT_EQ((int)NotificationPreferences::GetInstance().AddNotificationSlots(bundleOption_, slots), …
471 NotificationPreferences::GetInstance().AddNotificationSlots(bundleOption_, slots);
/base/notification/distributed_notification_service/test/fuzztest/addnotificationslots_fuzzer/
Daddnotificationslots_fuzzer.cpp52 return Notification::NotificationHelper::AddNotificationSlots(slots) == ERR_OK; in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/services/ans/include/
Dnotification_preferences.h43 ErrCode AddNotificationSlots(
/base/notification/distributed_notification_service/interfaces/inner_api/
Dnotification_helper.h60 static ErrCode AddNotificationSlots(const std::vector<NotificationSlot> &slots);
/base/notification/distributed_notification_service/frameworks/ans/src/
Dnotification_helper.cpp32 ErrCode NotificationHelper::AddNotificationSlots(const std::vector<NotificationSlot> &slots) in AddNotificationSlots() function in OHOS::Notification::NotificationHelper
34 return DelayedSingleton<AnsNotification>::GetInstance()->AddNotificationSlots(slots); in AddNotificationSlots()
/base/notification/distributed_notification_service/frameworks/core/include/
Dans_notification.h58 ErrCode AddNotificationSlots(const std::vector<NotificationSlot> &slots);
/base/notification/distributed_notification_service/frameworks/core/src/
Dans_notification.cpp33 return AddNotificationSlots(slots); in AddNotificationSlot()
45 ErrCode AnsNotification::AddNotificationSlots(const std::vector<NotificationSlot> &slots) in AddNotificationSlots() function in OHOS::Notification::AnsNotification
/base/notification/distributed_notification_service/services/ans/src/
Dnotification_preferences.cpp44 ErrCode NotificationPreferences::AddNotificationSlots( in AddNotificationSlots() function in OHOS::Notification::NotificationPreferences
Dadvanced_notification_service.cpp166 … result = NotificationPreferences::GetInstance().AddNotificationSlots(record->bundleOption, slots); in AssignValidNotificationSlot()
862 … result = NotificationPreferences::GetInstance().AddNotificationSlots(bundleOption, addSlots); in AddSlots()
2507 … result = NotificationPreferences::GetInstance().AddNotificationSlots(bundleOption, slots); in AddSlotByType()
4062 result = NotificationPreferences::GetInstance().AddNotificationSlots(bundle, slots); in SetEnabledForBundleSlot()
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
Dnotification_helper_test.cpp99 ErrCode ret = notificationHelper.AddNotificationSlots(slots);
/base/notification/distributed_notification_service/frameworks/js/napi/src/manager/
Dnapi_slot.cpp127 …asynccallbackinfo->info.errorCode = NotificationHelper::AddNotificationSlots(asynccallbackinfo->sl… in NapiAddSlots()
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_test/
Dans_notification_unit_test.cpp180 ErrCode ret3 = ans_->AddNotificationSlots(nslots);
/base/notification/distributed_notification_service/frameworks/js/napi/src/
Dslot.cpp580 …asynccallbackinfo->info.errorCode = NotificationHelper::AddNotificationSlots(asynccallbackinfo->sl… in AddSlots()