Home
last modified time | relevance | path

Searched refs:notifications (Results 1 – 20 of 20) sorted by relevance

/base/notification/distributed_notification_service/test/fuzztest/getallactivenotifications_fuzzer/
Dgetallactivenotifications_fuzzer.cpp36 std::vector<sptr<Notification::Notification>> notifications; in DoSomethingInterestingWithMyAPI() local
37 notifications.emplace_back(notification); in DoSomethingInterestingWithMyAPI()
38 Notification::NotificationHelper::GetAllActiveNotifications(notifications); in DoSomethingInterestingWithMyAPI()
42 … return Notification::NotificationHelper::GetAllActiveNotifications(keys, notifications) == ERR_OK; in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/test/fuzztest/ansmanagerstubannextwo_fuzzer/
Dansmanagerstubannextwo_fuzzer.cpp61 std::vector<sptr<Notification::NotificationRequest>> notifications; in DoSomethingInterestingWithMyAPI() local
62 notifications.emplace_back(notificationer); in DoSomethingInterestingWithMyAPI()
63 ansManagerStub.GetActiveNotifications(notifications); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/frameworks/test/moduletest/
Dans_fw_module_test.cpp708 std::vector<sptr<Notification>> notifications; variable
709 EXPECT_EQ(NotificationHelper::GetAllActiveNotifications(notifications), ERR_OK);
710 std::string key = notifications[0]->GetKey().c_str();
754 std::vector<sptr<Notification>> notifications; variable
755 EXPECT_EQ(NotificationHelper::GetAllActiveNotifications(notifications), ERR_OK);
757 std::string key = notifications[0]->GetKey().c_str();
815 std::vector<sptr<Notification>> notifications; variable
816 EXPECT_EQ(NotificationHelper::GetAllActiveNotifications(notifications), ERR_OK);
817 EXPECT_EQ((int)notifications.size(), (int)0);
979 std::vector<sptr<Notification>> notifications; variable
[all …]
/base/notification/distributed_notification_service/frameworks/js/napi/include/
Dget_active.h29 std::vector<sptr<OHOS::Notification::Notification>> notifications; member
/base/notification/distributed_notification_service/test/bechmarktest/notification_services_test/
Dnotification_service_test.cpp326 std::vector<sptr<OHOS::Notification::Notification>> notifications; in BENCHMARK_F() local
328 ErrCode errCode = advancedNotificationService_->GetAllActiveNotifications(notifications); in BENCHMARK_F()
343 std::vector<sptr<OHOS::Notification::Notification>> notifications; in BENCHMARK_F() local
360 std::vector<sptr<OHOS::Notification::Notification>> notifications; in BENCHMARK_F() local
/base/notification/distributed_notification_service/frameworks/js/napi/src/
Dget_active.cpp38 for (auto vec : asynccallbackinfo->notifications) { in AsyncCompleteCallbackGetAllActiveNotifications()
54 if ((count == 0) && (asynccallbackinfo->notifications.size() > 0)) { in AsyncCompleteCallbackGetAllActiveNotifications()
97 NotificationHelper::GetAllActiveNotifications(asynccallbackinfo->notifications); in GetAllActiveNotifications()
/base/notification/distributed_notification_service/frameworks/core/include/
Dans_manager_proxy.h149 ErrCode GetActiveNotifications(std::vector<sptr<NotificationRequest>> &notifications) override;
166 ErrCode GetAllActiveNotifications(std::vector<sptr<Notification>> &notifications) override;
179 … const std::vector<std::string> &key, std::vector<sptr<Notification>> &notifications) override;
Dans_manager_interface.h161 … virtual ErrCode GetActiveNotifications(std::vector<sptr<NotificationRequest>> &notifications) = 0;
178 virtual ErrCode GetAllActiveNotifications(std::vector<sptr<Notification>> &notifications) = 0;
191 const std::vector<std::string> &key, std::vector<sptr<Notification>> &notifications) = 0;
Dans_manager_stub.h165 …virtual ErrCode GetActiveNotifications(std::vector<sptr<NotificationRequest>> &notifications) over…
182 …virtual ErrCode GetAllActiveNotifications(std::vector<sptr<Notification>> &notifications) override;
195 … const std::vector<std::string> &key, std::vector<sptr<Notification>> &notifications) override;
/base/notification/distributed_notification_service/frameworks/js/napi/src/manager/
Dnapi_get_active.cpp40 for (auto vec : asynccallbackinfo->notifications) { in AsyncCompleteCallbackNapiGetAllActiveNotifications()
56 if ((count == 0) && (asynccallbackinfo->notifications.size() > 0)) { in AsyncCompleteCallbackNapiGetAllActiveNotifications()
99 NotificationHelper::GetAllActiveNotifications(asynccallbackinfo->notifications); in NapiGetAllActiveNotifications()
/base/notification/distributed_notification_service/frameworks/core/src/
Dans_manager_stub.cpp501 std::vector<sptr<NotificationRequest>> notifications; in HandleGetActiveNotifications() local
502 ErrCode result = GetActiveNotifications(notifications); in HandleGetActiveNotifications()
503 if (!WriteParcelableVector(notifications, reply, result)) { in HandleGetActiveNotifications()
528 std::vector<sptr<Notification>> notifications; in HandleGetAllActiveNotifications() local
529 ErrCode result = GetAllActiveNotifications(notifications); in HandleGetAllActiveNotifications()
530 if (!WriteParcelableVector(notifications, reply, result)) { in HandleGetAllActiveNotifications()
545 std::vector<sptr<Notification>> notifications; in HandleGetSpecialActiveNotifications() local
546 ErrCode result = GetSpecialActiveNotifications(key, notifications); in HandleGetSpecialActiveNotifications()
547 if (!WriteParcelableVector(notifications, reply, result)) { in HandleGetSpecialActiveNotifications()
1870 …rCode AnsManagerStub::GetActiveNotifications(std::vector<sptr<NotificationRequest>> &notifications) in GetActiveNotifications() argument
[all …]
Dans_manager_proxy.cpp434 …Code AnsManagerProxy::GetActiveNotifications(std::vector<sptr<NotificationRequest>> &notifications) in GetActiveNotifications() argument
450 if (!ReadParcelableVector(notifications, reply, result)) { in GetActiveNotifications()
487 ErrCode AnsManagerProxy::GetAllActiveNotifications(std::vector<sptr<Notification>> &notifications) in GetAllActiveNotifications() argument
503 if (!ReadParcelableVector(notifications, reply, result)) { in GetAllActiveNotifications()
512 const std::vector<std::string> &key, std::vector<sptr<Notification>> &notifications) in GetSpecialActiveNotifications() argument
538 if (!ReadParcelableVector(notifications, reply, result)) { in GetSpecialActiveNotifications()
/base/notification/distributed_notification_service/services/ans/include/
Dadvanced_notification_service.h161 ErrCode GetActiveNotifications(std::vector<sptr<NotificationRequest>> &notifications) override;
178 ErrCode GetAllActiveNotifications(std::vector<sptr<Notification>> &notifications) override;
191 … const std::vector<std::string> &key, std::vector<sptr<Notification>> &notifications) override;
/base/notification/distributed_notification_service/test/fuzztest/ansmanagerstub_fuzzer/
Dansmanagerstub_fuzzer.cpp134 std::vector<sptr<Notification::NotificationRequest>> notifications; in DoSomethingInterestingWithMyAPI() local
135 ansManagerStub.GetActiveNotifications(notifications); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/services/ans/test/unittest/
Dadvanced_notification_service_test.cpp584 std::vector<sptr<NotificationRequest>> notifications; variable
585 … EXPECT_EQ((int)advancedNotificationService_->GetActiveNotifications(notifications), (int)ERR_OK);
923 std::vector<sptr<NotificationRequest>> notifications; variable
924 … EXPECT_EQ((int)advancedNotificationService_->GetActiveNotifications(notifications), (int)ERR_OK);
1013 std::vector<sptr<Notification>> notifications; variable
1014 EXPECT_EQ(advancedNotificationService_->GetAllActiveNotifications(notifications), ERR_OK);
1036 std::vector<sptr<Notification>> notifications; variable
1095 std::vector<sptr<Notification>> notifications; variable
2324 std::vector<sptr<NotificationRequest>> notifications; variable
2325 …EXPECT_EQ(advancedNotificationService_->GetActiveNotifications(notifications), ERR_ANS_INVALID_BUN…
[all …]
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_manager_proxy_test/
Dans_manager_proxy_unit_test.cpp1678 std::vector<sptr<NotificationRequest>> notifications; variable
1679 int32_t result = proxy->GetActiveNotifications(notifications);
1701 std::vector<sptr<NotificationRequest>> notifications; variable
1702 int32_t result = proxy->GetActiveNotifications(notifications);
1704 EXPECT_EQ(1, notifications.size());
1722 std::vector<sptr<NotificationRequest>> notifications; variable
1723 int32_t result = proxy->GetActiveNotifications(notifications);
1744 std::vector<sptr<NotificationRequest>> notifications; variable
1745 int32_t result = proxy->GetActiveNotifications(notifications);
1766 std::vector<sptr<NotificationRequest>> notifications; variable
[all …]
/base/notification/distributed_notification_service/services/ans/src/
Dadvanced_notification_service.cpp780 …dNotificationService::GetActiveNotifications(std::vector<sptr<NotificationRequest>> &notifications) in GetActiveNotifications() argument
791 notifications.clear(); in GetActiveNotifications()
795 notifications.push_back(record->request); in GetActiveNotifications()
1371 …ancedNotificationService::GetAllActiveNotifications(std::vector<sptr<Notification>> &notifications) in GetAllActiveNotifications() argument
1386 notifications.clear(); in GetAllActiveNotifications()
1389 notifications.push_back(record->notification); in GetAllActiveNotifications()
1413 const std::vector<std::string> &key, std::vector<sptr<Notification>> &notifications) in GetSpecialActiveNotifications() argument
1429 notifications.push_back(record->notification); in GetSpecialActiveNotifications()
/base/theme/wallpaper_mgr/
DREADME.md59 …2149"></a>Registers a listener for wallpaper color changes to receive notifications about the chan…
/base/notification/distributed_notification_service/services/test/moduletest/
Dans_module_test.cpp173 std::vector<sptr<Notification>> notifications; variable
182 …EXPECT_EQ((int)g_advancedNotificationService->GetAllActiveNotifications(notifications), (int)ERR_O…
183 EXPECT_EQ((int)notifications.size(), (int)2);
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_manager_stub_test/
Dans_manager_stub_test.cpp3590 std::vector<sptr<Notification>> notifications; variable
3592 notifications.emplace_back(notification);
3594 ErrCode result = ansManagerStub_->GetSpecialActiveNotifications(keys, notifications);