/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, spSlot)); in HWTEST_F() 123 EXPECT_EQ(0, NotificationHelper::GetNotificationSlot(NotificationConstant::SOCIAL_COMMUNICATION, spSlot)); in HWTEST_F() 148 EXPECT_EQ(0, NotificationHelper::GetNotificationSlot(NotificationConstant::SERVICE_REMINDER, spSlot)); in HWTEST_F() 168 EXPECT_EQ(0, NotificationHelper::GetNotificationSlot(NotificationConstant::SERVICE_REMINDER, spSlot)); in HWTEST_F() 194 EXPECT_EQ(0, NotificationHelper::GetNotificationSlot(NotificationConstant::CONTENT_INFORMATION, spSlot)); in HWTEST_F() 214 EXPECT_EQ(0, NotificationHelper::GetNotificationSlot(NotificationConstant::CONTENT_INFORMATION, spSlot)); in HWTEST_F() 239 EXPECT_EQ(0, NotificationHelper::GetNotificationSlot(NotificationConstant::OTHER, spSlot)); in HWTEST_F() 259 EXPECT_EQ(0, NotificationHelper::GetNotificationSlot(NotificationConstant::OTHER, spSlot)); in HWTEST_F() 286 EXPECT_EQ(0, NotificationHelper::GetNotificationSlot(NotificationConstant::OTHER, spSlot)); in HWTEST_F() 308 EXPECT_EQ(0, NotificationHelper::GetNotificationSlot(NotificationConstan in HWTEST_F() [all...] |
/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> &bundleOption,
in GetNotificationSlot() function in OHOS::Notification::NotificationPreferences
|
/base/notification/distributed_notification_service/test/fuzztest/getnotificationslot_fuzzer/ |
H A D | getnotificationslot_fuzzer.cpp | 33 // test GetNotificationSlot function in DoSomethingInterestingWithMyAPI() 34 return Notification::NotificationHelper::GetNotificationSlot(slotType, slot) == ERR_OK; in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/services/ans/src/ |
H A D | advanced_notification_slot_service.cpp | 81 result =NotificationPreferences::GetInstance()->GetNotificationSlot(bundleOption, in AddSlots() 195 result = NotificationPreferences::GetInstance()->GetNotificationSlot(bundle, slotType, slot); in GetSlotByBundle() 267 if (NotificationPreferences::GetInstance()->GetNotificationSlot( in RemoveAllSlots() 315 result = NotificationPreferences::GetInstance()->GetNotificationSlot(bundleOption, slotType, slot); in AddSlotByType() 353 result = NotificationPreferences::GetInstance()->GetNotificationSlot(bundleOption, slotType, slot); in GetEnabledForBundleSlotSelf() 355 ANS_LOGE("Get enable slot self: GetNotificationSlot failed"); in GetEnabledForBundleSlotSelf() 461 ErrCode result = NotificationPreferences::GetInstance()->GetNotificationSlot(bundleOption, slotType, slot); in AssignValidNotificationSlot() 576 ErrCode result = NotificationPreferences::GetInstance()->GetNotificationSlot(bundleOption, slotType, slot); in SetRequestBySlotType() 637 NotificationPreferences::GetInstance()->GetNotificationSlot(bundleOption, slotType, slot); in GetSlotByType() 754 ErrCode result = NotificationPreferences::GetInstance()->GetNotificationSlot(bundl in SetEnabledForBundleSlotInner() [all...] |
H A D | permission_filter.cpp | 50 result = NotificationPreferences::GetInstance()->GetNotificationSlot(record->bundleOption, slotType, slot); in OnPublish()
|
H A D | advanced_notification_live_view_service.cpp | 431 if (NotificationPreferences::GetInstance()->GetNotificationSlot(bundleOption, slotType, slot) != ERR_OK) { in IsAllowedRemoveSlot()
|
H A D | notification_preferences.cpp | 242 ErrCode NotificationPreferences::GetNotificationSlot(const sptr<NotificationBundleOption> &bundleOption, in GetNotificationSlot() function in OHOS::Notification::NotificationPreferences
|
/base/notification/distributed_notification_service/services/ans/test/unittest/ |
H A D | notification_preferences_test.cpp | 379 ASSERT_EQ((int)NotificationPreferences::GetInstance()->GetNotificationSlot( in HWTEST_F() 393 ASSERT_EQ((int)NotificationPreferences::GetInstance()->GetNotificationSlot( in HWTEST_F() 408 ASSERT_EQ((int)NotificationPreferences::GetInstance()->GetNotificationSlot( in HWTEST_F() 423 ASSERT_EQ((int)NotificationPreferences::GetInstance()->GetNotificationSlot( in HWTEST_F() 437 ASSERT_EQ((int)NotificationPreferences::GetInstance()->GetNotificationSlot( in HWTEST_F()
|
/base/notification/distributed_notification_service/frameworks/ans/src/ |
H A D | notification_helper.cpp | 47 ErrCode NotificationHelper::GetNotificationSlot( in GetNotificationSlot() function in OHOS::Notification::NotificationHelper 50 return DelayedSingleton<AnsNotification>::GetInstance()->GetNotificationSlot(slotType, slot); in GetNotificationSlot()
|
/base/notification/distributed_notification_service/interfaces/inner_api/ |
H A D | notification_helper.h | 101 static ErrCode GetNotificationSlot(const NotificationConstant::SlotType &slotType, sptr<NotificationSlot> &slot);
|
/base/notification/distributed_notification_service/services/ans/include/ |
H A D | notification_preferences.h | 101 ErrCode GetNotificationSlot(const sptr<NotificationBundleOption> &bundleOption,
|
/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, NotificationSlot &slot) in GetNotificationSlot() function in OHOS::NotificationNapi::Common
|
/base/notification/distributed_notification_service/frameworks/cj/ffi/src/ |
H A D | notification_manager_impl.cpp | 116 errCode = ErrorToExternal(NotificationHelper::GetNotificationSlot(slotType, slot)); in GetSlot()
|
/base/notification/distributed_notification_service/frameworks/core/include/ |
H A D | ans_notification.h | 90 ErrCode GetNotificationSlot(const NotificationConstant::SlotType &slotType, sptr<NotificationSlot> &slot);
|
/base/location/frameworks/js/napi/notification/include/ |
H A D | notification_napi.h | 551 static napi_value GetNotificationSlot(
|
/base/notification/distributed_notification_service/frameworks/js/napi/include/ |
H A D | common.h | 939 static napi_value GetNotificationSlot(
|
/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, NotificationSlot &slot) in GetNotificationSlot() function in OHOS::Location::NotificationNapi
|
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/ |
H A D | notification_helper_test.cpp | 139 * @tc.desc: Test GetNotificationSlot parameters. 148 ErrCode ret = notificationHelper.GetNotificationSlot(slotType, slot); in HWTEST_F()
|
/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()
|
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_test/ |
H A D | ans_notification_unit_test.cpp | 169 * @tc.desc: test GetNotificationSlot ErrCode ERR_ANS_SERVICE_NOT_CONNECTED.
183 ErrCode ret1 = ans_->GetNotificationSlot(slotType, slot);
in HWTEST_F()
|
/base/notification/distributed_notification_service/frameworks/core/src/ |
H A D | ans_notification.cpp | 108 ErrCode AnsNotification::GetNotificationSlot( in GetNotificationSlot() function in OHOS::Notification::AnsNotification
|