Home
last modified time | relevance | path

Searched refs:GetNotificationSlot (Results 1 – 22 of 22) sorted by relevance

/ohos5.0/base/notification/distributed_notification_service/frameworks/test/moduletest/
H A Dans_innerkits_module_slot_test.cpp103 …EXPECT_EQ(0, NotificationHelper::GetNotificationSlot(NotificationConstant::SOCIAL_COMMUNICATION, s…
123 …EXPECT_EQ(0, NotificationHelper::GetNotificationSlot(NotificationConstant::SOCIAL_COMMUNICATION, s…
148 …EXPECT_EQ(0, NotificationHelper::GetNotificationSlot(NotificationConstant::SERVICE_REMINDER, spSlo…
168 …EXPECT_EQ(0, NotificationHelper::GetNotificationSlot(NotificationConstant::SERVICE_REMINDER, spSlo…
194 …EXPECT_EQ(0, NotificationHelper::GetNotificationSlot(NotificationConstant::CONTENT_INFORMATION, sp…
214 …EXPECT_EQ(0, NotificationHelper::GetNotificationSlot(NotificationConstant::CONTENT_INFORMATION, sp…
239 EXPECT_EQ(0, NotificationHelper::GetNotificationSlot(NotificationConstant::OTHER, spSlot));
259 EXPECT_EQ(0, NotificationHelper::GetNotificationSlot(NotificationConstant::OTHER, spSlot));
286 EXPECT_EQ(0, NotificationHelper::GetNotificationSlot(NotificationConstant::OTHER, spSlot));
308 EXPECT_EQ(0, NotificationHelper::GetNotificationSlot(NotificationConstant::OTHER, spSlot));
[all …]
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/
H A Dadvanced_notification_slot_service.cpp83 result =NotificationPreferences::GetInstance()->GetNotificationSlot(bundleOption, in AddSlots()
197 … result = NotificationPreferences::GetInstance()->GetNotificationSlot(bundle, slotType, slot); in GetSlotByBundle()
269 if (NotificationPreferences::GetInstance()->GetNotificationSlot( in RemoveAllSlots()
317 …result = NotificationPreferences::GetInstance()->GetNotificationSlot(bundleOption, slotType, slot); in AddSlotByType()
355 …result = NotificationPreferences::GetInstance()->GetNotificationSlot(bundleOption, slotType, slot); in GetEnabledForBundleSlotSelf()
471 …ErrCode result = NotificationPreferences::GetInstance()->GetNotificationSlot(bundleOption, slotTyp… in AssignValidNotificationSlot()
589 …ErrCode result = NotificationPreferences::GetInstance()->GetNotificationSlot(bundleOption, slotTyp… in SetRequestBySlotType()
650 NotificationPreferences::GetInstance()->GetNotificationSlot(bundleOption, slotType, slot); in GetSlotByType()
H A Dpermission_filter.cpp50 …result = NotificationPreferences::GetInstance()->GetNotificationSlot(record->bundleOption, slotTyp… in OnPublish()
H A Dadvanced_notification_live_view_service.cpp428 …if (NotificationPreferences::GetInstance()->GetNotificationSlot(bundleOption, slotType, slot) != E… in IsAllowedRemoveSlot()
H A Dnotification_preferences.cpp253 ErrCode NotificationPreferences::GetNotificationSlot(const sptr<NotificationBundleOption> &bundleOp… in GetNotificationSlot() function in OHOS::Notification::NotificationPreferences
H A Dadvanced_notification_publish_service.cpp2212 … result = NotificationPreferences::GetInstance()->GetNotificationSlot(bundle, slotType, slot); in SetEnabledForBundleSlot()
2304 … result = NotificationPreferences::GetInstance()->GetNotificationSlot(bundle, slotType, slot); in GetEnabledForBundleSlot()
/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/notification_subscriber_manager_branch_test/
H A Dmock_notification_preferences.cpp31 ErrCode NotificationPreferences::GetNotificationSlot(const sptr<NotificationBundleOption> &bundleOp… in GetNotificationSlot() function in OHOS::Notification::NotificationPreferences
/ohos5.0/base/notification/distributed_notification_service/test/fuzztest/getnotificationslot_fuzzer/
H A Dgetnotificationslot_fuzzer.cpp34 return Notification::NotificationHelper::GetNotificationSlot(slotType, slot) == ERR_OK; in DoSomethingInterestingWithMyAPI()
/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/
H A Dnotification_preferences_test.cpp379 ASSERT_EQ((int)NotificationPreferences::GetInstance()->GetNotificationSlot(
393 ASSERT_EQ((int)NotificationPreferences::GetInstance()->GetNotificationSlot(
408 ASSERT_EQ((int)NotificationPreferences::GetInstance()->GetNotificationSlot(
423 ASSERT_EQ((int)NotificationPreferences::GetInstance()->GetNotificationSlot(
437 ASSERT_EQ((int)NotificationPreferences::GetInstance()->GetNotificationSlot(
/ohos5.0/base/notification/distributed_notification_service/services/ans/include/
H A Dnotification_preferences.h101 ErrCode GetNotificationSlot(const sptr<NotificationBundleOption> &bundleOption,
/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dnotification_helper.cpp48 ErrCode NotificationHelper::GetNotificationSlot( in GetNotificationSlot() function in OHOS::Notification::NotificationHelper
51 return DelayedSingleton<AnsNotification>::GetInstance()->GetNotificationSlot(slotType, slot); in GetNotificationSlot()
/ohos5.0/base/notification/distributed_notification_service/interfaces/inner_api/
H A Dnotification_helper.h92 …static ErrCode GetNotificationSlot(const NotificationConstant::SlotType &slotType, sptr<Notificati…
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/include/
H A Dans_notification.h92 …ErrCode GetNotificationSlot(const NotificationConstant::SlotType &slotType, sptr<NotificationSlot>…
/ohos5.0/base/notification/distributed_notification_service/frameworks/js/napi/src/
H A Dslot.cpp240 if (!Common::GetNotificationSlot(env, argv[PARAM0], paras.slot)) { in ParseParametersByAddSlot()
301 if (!Common::GetNotificationSlot(env, nSlot, slot)) { in ParseParametersByAddSlots()
360 if (!Common::GetNotificationSlot(env, argv[PARAM1], slot)) { in ParseParametersSetSlotByBundle()
970 … NotificationHelper::GetNotificationSlot(asynccallbackinfo->outType, asynccallbackinfo->slot); in GetSlot()
H A Dcommon.cpp700 napi_value Common::GetNotificationSlot(const napi_env &env, const napi_value &value, NotificationSl… in GetNotificationSlot() function in OHOS::NotificationNapi::Common
/ohos5.0/base/location/frameworks/js/napi/notification/include/
H A Dnotification_napi.h551 static napi_value GetNotificationSlot(
/ohos5.0/base/notification/distributed_notification_service/frameworks/js/napi/include/
H A Dcommon.h941 static napi_value GetNotificationSlot(
/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
H A Dnotification_helper_test.cpp148 ErrCode ret = notificationHelper.GetNotificationSlot(slotType, slot);
/ohos5.0/base/location/frameworks/js/napi/notification/src/
H A Dnotification_napi.cpp429 napi_value NotificationNapi::GetNotificationSlot(const napi_env &env, const napi_value &value, Noti… in GetNotificationSlot() function in OHOS::Location::NotificationNapi
/ohos5.0/base/notification/distributed_notification_service/frameworks/js/napi/src/manager/
H A Dnapi_slot.cpp274 … NotificationHelper::GetNotificationSlot(asynccallbackinfo->outType, asynccallbackinfo->slot); in NapiGetSlot()
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/src/
H A Dans_notification.cpp110 ErrCode AnsNotification::GetNotificationSlot( in GetNotificationSlot() function in OHOS::Notification::AnsNotification
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_test/
H A Dans_notification_unit_test.cpp183 ErrCode ret1 = ans_->GetNotificationSlot(slotType, slot);