Home
last modified time | relevance | path

Searched refs:GetAllActiveNotifications (Results 1 - 25 of 33) sorted by relevance

12

/base/notification/distributed_notification_service/test/fuzztest/getallactivenotifications_fuzzer/
H A Dgetallactivenotifications_fuzzer.cpp38 Notification::NotificationHelper::GetAllActiveNotifications(notifications); in DoSomethingInterestingWithMyAPI()
42 return Notification::NotificationHelper::GetAllActiveNotifications(keys, notifications) == ERR_OK; in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/frameworks/js/napi/include/
H A Dget_active.h34 napi_value GetAllActiveNotifications(napi_env env, napi_callback_info info);
/base/notification/distributed_notification_service/frameworks/js/napi/src/
H A Dinit.cpp49 DECLARE_NAPI_FUNCTION("getAllActiveNotifications", GetAllActiveNotifications), in NotificationInit()
H A Dget_active.cpp22 ANS_LOGI("GetAllActiveNotifications napi_create_async_work end"); in AsyncCompleteCallbackGetAllActiveNotifications()
71 napi_value GetAllActiveNotifications(napi_env env, napi_callback_info info) in GetAllActiveNotifications() function
97 ANS_LOGD("GetAllActiveNotifications work excute."); in GetAllActiveNotifications()
101 NotificationHelper::GetAllActiveNotifications(asynccallbackinfo->notifications); in GetAllActiveNotifications()
/base/notification/distributed_notification_service/test/fuzztest/ansmanagerstubannextwo_fuzzer/
H A Dansmanagerstubannextwo_fuzzer.cpp67 ansManagerStub.GetAllActiveNotifications(notificationes); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dnotification_helper.cpp292 ErrCode NotificationHelper::GetAllActiveNotifications(std::vector<sptr<Notification>> &notification) in GetAllActiveNotifications() function in OHOS::Notification::NotificationHelper
294 return DelayedSingleton<AnsNotification>::GetInstance()->GetAllActiveNotifications(notification); in GetAllActiveNotifications()
297 ErrCode NotificationHelper::GetAllActiveNotifications( in GetAllActiveNotifications() function in OHOS::Notification::NotificationHelper
300 return DelayedSingleton<AnsNotification>::GetInstance()->GetAllActiveNotifications(key, notification); in GetAllActiveNotifications()
/base/notification/distributed_notification_service/interfaces/inner_api/
H A Dnotification_helper.h576 static ErrCode GetAllActiveNotifications(std::vector<sptr<Notification>> &notification);
588 static ErrCode GetAllActiveNotifications(
/base/notification/distributed_notification_service/frameworks/test/moduletest/
H A Dans_fw_module_test.cpp714 EXPECT_EQ(NotificationHelper::GetAllActiveNotifications(notifications), ERR_OK); in HWTEST_F()
760 EXPECT_EQ(NotificationHelper::GetAllActiveNotifications(notifications), ERR_OK); in HWTEST_F()
821 EXPECT_EQ(NotificationHelper::GetAllActiveNotifications(notifications), ERR_OK); in HWTEST_F()
985 EXPECT_EQ(NotificationHelper::GetAllActiveNotifications(notifications), ERR_OK); in HWTEST_F()
1036 EXPECT_EQ(NotificationHelper::GetAllActiveNotifications(notifications), ERR_OK); in HWTEST_F()
2334 EXPECT_EQ(NotificationHelper::GetAllActiveNotifications(notifications), ERR_OK); in HWTEST_F()
2338 EXPECT_EQ(NotificationHelper::GetAllActiveNotifications(notifications), ERR_OK); in HWTEST_F()
2370 EXPECT_EQ(NotificationHelper::GetAllActiveNotifications(notifications), ERR_OK); in HWTEST_F()
2376 EXPECT_EQ(NotificationHelper::GetAllActiveNotifications(notifications), ERR_OK); in HWTEST_F()
2408 EXPECT_EQ(NotificationHelper::GetAllActiveNotifications(notification in HWTEST_F()
[all...]
/base/notification/distributed_notification_service/frameworks/core/include/
H A Dans_notification.h542 ErrCode GetAllActiveNotifications(std::vector<sptr<Notification>> &notification);
554 ErrCode GetAllActiveNotifications(
H A Dans_manager_interface.h207 virtual ErrCode GetAllActiveNotifications(std::vector<sptr<Notification>> &notifications) = 0;
H A Dans_manager_proxy.h193 ErrCode GetAllActiveNotifications(std::vector<sptr<Notification>> &notifications) override;
H A Dans_manager_stub.h208 virtual ErrCode GetAllActiveNotifications(std::vector<sptr<Notification>> &notifications) override;
/base/notification/distributed_notification_service/test/bechmarktest/notification_services_test/
H A Dnotification_service_test.cpp327 * @tc.desc: GetAllActiveNotifications
335 ErrCode errCode = advancedNotificationService_->GetAllActiveNotifications(notifications); in BENCHMARK_F()
/base/notification/distributed_notification_service/frameworks/core/src/
H A Dans_manager_stub_invalid.cpp127 ErrCode AnsManagerStub::GetAllActiveNotifications(std::vector<sptr<Notification>> &notifications) in GetAllActiveNotifications() function in OHOS::Notification::AnsManagerStub
129 ANS_LOGE("AnsManagerStub::GetAllActiveNotifications called!"); in GetAllActiveNotifications()
H A Dans_notification.cpp902 ErrCode AnsNotification::GetAllActiveNotifications(std::vector<sptr<Notification>> &notification) in GetAllActiveNotifications() function in OHOS::Notification::AnsNotification
909 return proxy->GetAllActiveNotifications(notification); in GetAllActiveNotifications()
912 ErrCode AnsNotification::GetAllActiveNotifications( in GetAllActiveNotifications() function in OHOS::Notification::AnsNotification
/base/notification/distributed_notification_service/frameworks/js/napi/src/manager/
H A Dnapi_get_active.cpp107 NotificationHelper::GetAllActiveNotifications(asynccallbackinfo->notifications); in NapiGetAllActiveNotifications()
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
H A Dnotification_helper_test.cpp577 * @tc.desc: Test GetAllActiveNotifications parameters.
585 ErrCode ret = notificationHelper.GetAllActiveNotifications(notification); in HWTEST_F()
591 * @tc.desc: Test GetAllActiveNotifications parameters.
600 ErrCode ret = notificationHelper.GetAllActiveNotifications(key, notification); in HWTEST_F()
/base/notification/distributed_notification_service/test/fuzztest/advancednotificationservice_fuzzer/
H A Dadvancednotificationservice_fuzzer.cpp78 service->GetAllActiveNotifications(notificationss); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/test/fuzztest/ansmanagerstubannexthree_fuzzer/
H A Dansmanagerstubannexthree_fuzzer.cpp345 ansManagerStub.GetAllActiveNotifications(notificationss); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_branch_test/
H A Dans_notification_branch_test.cpp134 ErrCode GetAllActiveNotifications(std::vector<sptr<Notification>> &notifications) override
/base/notification/distributed_notification_service/services/ans/test/unittest/
H A Dadvanced_notification_service_branch_test.cpp478 * @tc.desc : Test GetAllActiveNotifications function return ERR_ANS_PERMISSION_DENIED.
487 ASSERT_EQ(advancedNotificationService_->GetAllActiveNotifications(allNotifications), ERR_ANS_PERMISSION_DENIED); in HWTEST_F()
H A Dadvanced_notification_service_test.cpp701 * @tc.desc : Test GetAllActiveNotifications function
706 ASSERT_EQ(advancedNotificationService_->GetAllActiveNotifications(notifications), ERR_OK); in HWTEST_F()
1498 ASSERT_EQ(advancedNotificationService_->GetAllActiveNotifications(notifications), ERR_OK); in HWTEST_F()
3297 ret = advancedNotificationService_->GetAllActiveNotifications(notifications); in HWTEST_F()
/base/notification/distributed_notification_service/test/fuzztest/ansmanagerstubannex_fuzzer/
H A Dansmanagerstubannex_fuzzer.cpp353 ansManagerStub.GetAllActiveNotifications(notificationss); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/test/fuzztest/ansmanagerstub_fuzzer/
H A Dansmanagerstub_fuzzer.cpp354 ansManagerStub.GetAllActiveNotifications(notificationss); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_test/
H A Dans_notification_unit_test.cpp1092 * @tc.desc: test GetAllActiveNotifications return false.
1107 ErrCode ret1 = ans_->GetAllActiveNotifications(notification); in HWTEST_F()
1113 * @tc.desc: test GetAllActiveNotifications return false.
1129 ErrCode ret1 = ans_->GetAllActiveNotifications(key, notification); in HWTEST_F()

Completed in 38 milliseconds

12