Home
last modified time | relevance | path

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

/base/notification/distributed_notification_service/frameworks/test/moduletest/
H A Dans_innerkits_module_slot_test.cpp103 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 Dmock_notification_preferences.cpp31 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 Dgetnotificationslot_fuzzer.cpp33 // 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 Dadvanced_notification_slot_service.cpp81 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 Dpermission_filter.cpp50 result = NotificationPreferences::GetInstance()->GetNotificationSlot(record->bundleOption, slotType, slot); in OnPublish()
H A Dadvanced_notification_live_view_service.cpp431 if (NotificationPreferences::GetInstance()->GetNotificationSlot(bundleOption, slotType, slot) != ERR_OK) { in IsAllowedRemoveSlot()
H A Dnotification_preferences.cpp242 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 Dnotification_preferences_test.cpp379 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 Dnotification_helper.cpp47 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 Dnotification_helper.h101 static ErrCode GetNotificationSlot(const NotificationConstant::SlotType &slotType, sptr<NotificationSlot> &slot);
/base/notification/distributed_notification_service/services/ans/include/
H A Dnotification_preferences.h101 ErrCode GetNotificationSlot(const sptr<NotificationBundleOption> &bundleOption,
/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, NotificationSlot &slot) in GetNotificationSlot() function in OHOS::NotificationNapi::Common
/base/notification/distributed_notification_service/frameworks/cj/ffi/src/
H A Dnotification_manager_impl.cpp116 errCode = ErrorToExternal(NotificationHelper::GetNotificationSlot(slotType, slot)); in GetSlot()
/base/notification/distributed_notification_service/frameworks/core/include/
H A Dans_notification.h90 ErrCode GetNotificationSlot(const NotificationConstant::SlotType &slotType, sptr<NotificationSlot> &slot);
/base/location/frameworks/js/napi/notification/include/
H A Dnotification_napi.h551 static napi_value GetNotificationSlot(
/base/notification/distributed_notification_service/frameworks/js/napi/include/
H A Dcommon.h939 static napi_value GetNotificationSlot(
/base/location/frameworks/js/napi/notification/src/
H A Dnotification_napi.cpp429 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 Dnotification_helper_test.cpp139 * @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 Dnapi_slot.cpp274 NotificationHelper::GetNotificationSlot(asynccallbackinfo->outType, asynccallbackinfo->slot); in NapiGetSlot()
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_test/
H A Dans_notification_unit_test.cpp169 * @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 Dans_notification.cpp108 ErrCode AnsNotification::GetNotificationSlot( in GetNotificationSlot() function in OHOS::Notification::AnsNotification

Completed in 34 milliseconds