/ohos5.0/base/notification/distributed_notification_service/frameworks/test/moduletest/ |
H A D | ans_innerkits_module_slot_test.cpp | 103 …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 D | advanced_notification_slot_service.cpp | 83 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 D | permission_filter.cpp | 50 …result = NotificationPreferences::GetInstance()->GetNotificationSlot(record->bundleOption, slotTyp… in OnPublish()
|
H A D | advanced_notification_live_view_service.cpp | 428 …if (NotificationPreferences::GetInstance()->GetNotificationSlot(bundleOption, slotType, slot) != E… in IsAllowedRemoveSlot()
|
H A D | notification_preferences.cpp | 253 ErrCode NotificationPreferences::GetNotificationSlot(const sptr<NotificationBundleOption> &bundleOp… in GetNotificationSlot() function in OHOS::Notification::NotificationPreferences
|
H A D | advanced_notification_publish_service.cpp | 2212 … 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 D | mock_notification_preferences.cpp | 31 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 D | getnotificationslot_fuzzer.cpp | 34 return Notification::NotificationHelper::GetNotificationSlot(slotType, slot) == ERR_OK; in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/ |
H A D | notification_preferences_test.cpp | 379 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 D | notification_preferences.h | 101 ErrCode GetNotificationSlot(const sptr<NotificationBundleOption> &bundleOption,
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/src/ |
H A D | notification_helper.cpp | 48 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 D | notification_helper.h | 92 …static ErrCode GetNotificationSlot(const NotificationConstant::SlotType &slotType, sptr<Notificati…
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/include/ |
H A D | ans_notification.h | 92 …ErrCode GetNotificationSlot(const NotificationConstant::SlotType &slotType, sptr<NotificationSlot>…
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/js/napi/src/ |
H A D | slot.cpp | 240 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 D | common.cpp | 700 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 D | notification_napi.h | 551 static napi_value GetNotificationSlot(
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/js/napi/include/ |
H A D | common.h | 941 static napi_value GetNotificationSlot(
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/ans/test/unittest/ |
H A D | notification_helper_test.cpp | 148 ErrCode ret = notificationHelper.GetNotificationSlot(slotType, slot);
|
/ohos5.0/base/location/frameworks/js/napi/notification/src/ |
H A D | notification_napi.cpp | 429 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 D | napi_slot.cpp | 274 … NotificationHelper::GetNotificationSlot(asynccallbackinfo->outType, asynccallbackinfo->slot); in NapiGetSlot()
|
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/src/ |
H A D | ans_notification.cpp | 110 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 D | ans_notification_unit_test.cpp | 183 ErrCode ret1 = ans_->GetNotificationSlot(slotType, slot);
|