/base/notification/distributed_notification_service/test/fuzztest/getallactivenotifications_fuzzer/ |
D | getallactivenotifications_fuzzer.cpp | 36 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/ |
D | ansmanagerstubannextwo_fuzzer.cpp | 61 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/ |
D | ans_fw_module_test.cpp | 708 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/ |
D | get_active.h | 29 std::vector<sptr<OHOS::Notification::Notification>> notifications; member
|
/base/notification/distributed_notification_service/test/bechmarktest/notification_services_test/ |
D | notification_service_test.cpp | 326 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/ |
D | get_active.cpp | 38 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/ |
D | ans_manager_proxy.h | 149 ErrCode GetActiveNotifications(std::vector<sptr<NotificationRequest>> ¬ifications) override; 166 ErrCode GetAllActiveNotifications(std::vector<sptr<Notification>> ¬ifications) override; 179 … const std::vector<std::string> &key, std::vector<sptr<Notification>> ¬ifications) override;
|
D | ans_manager_interface.h | 161 … virtual ErrCode GetActiveNotifications(std::vector<sptr<NotificationRequest>> ¬ifications) = 0; 178 virtual ErrCode GetAllActiveNotifications(std::vector<sptr<Notification>> ¬ifications) = 0; 191 const std::vector<std::string> &key, std::vector<sptr<Notification>> ¬ifications) = 0;
|
D | ans_manager_stub.h | 165 …virtual ErrCode GetActiveNotifications(std::vector<sptr<NotificationRequest>> ¬ifications) over… 182 …virtual ErrCode GetAllActiveNotifications(std::vector<sptr<Notification>> ¬ifications) override; 195 … const std::vector<std::string> &key, std::vector<sptr<Notification>> ¬ifications) override;
|
/base/notification/distributed_notification_service/frameworks/js/napi/src/manager/ |
D | napi_get_active.cpp | 40 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/ |
D | ans_manager_stub.cpp | 501 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>> ¬ifications) in GetActiveNotifications() argument [all …]
|
D | ans_manager_proxy.cpp | 434 …Code AnsManagerProxy::GetActiveNotifications(std::vector<sptr<NotificationRequest>> ¬ifications) in GetActiveNotifications() argument 450 if (!ReadParcelableVector(notifications, reply, result)) { in GetActiveNotifications() 487 ErrCode AnsManagerProxy::GetAllActiveNotifications(std::vector<sptr<Notification>> ¬ifications) in GetAllActiveNotifications() argument 503 if (!ReadParcelableVector(notifications, reply, result)) { in GetAllActiveNotifications() 512 const std::vector<std::string> &key, std::vector<sptr<Notification>> ¬ifications) in GetSpecialActiveNotifications() argument 538 if (!ReadParcelableVector(notifications, reply, result)) { in GetSpecialActiveNotifications()
|
/base/notification/distributed_notification_service/services/ans/include/ |
D | advanced_notification_service.h | 161 ErrCode GetActiveNotifications(std::vector<sptr<NotificationRequest>> ¬ifications) override; 178 ErrCode GetAllActiveNotifications(std::vector<sptr<Notification>> ¬ifications) override; 191 … const std::vector<std::string> &key, std::vector<sptr<Notification>> ¬ifications) override;
|
/base/notification/distributed_notification_service/test/fuzztest/ansmanagerstub_fuzzer/ |
D | ansmanagerstub_fuzzer.cpp | 134 std::vector<sptr<Notification::NotificationRequest>> notifications; in DoSomethingInterestingWithMyAPI() local 135 ansManagerStub.GetActiveNotifications(notifications); in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/services/ans/test/unittest/ |
D | advanced_notification_service_test.cpp | 584 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/ |
D | ans_manager_proxy_unit_test.cpp | 1678 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/ |
D | advanced_notification_service.cpp | 780 …dNotificationService::GetActiveNotifications(std::vector<sptr<NotificationRequest>> ¬ifications) in GetActiveNotifications() argument 791 notifications.clear(); in GetActiveNotifications() 795 notifications.push_back(record->request); in GetActiveNotifications() 1371 …ancedNotificationService::GetAllActiveNotifications(std::vector<sptr<Notification>> ¬ifications) 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>> ¬ifications) in GetSpecialActiveNotifications() argument 1429 notifications.push_back(record->notification); in GetSpecialActiveNotifications()
|
/base/theme/wallpaper_mgr/ |
D | README.md | 59 …2149"></a>Registers a listener for wallpaper color changes to receive notifications about the chan…
|
/base/notification/distributed_notification_service/services/test/moduletest/ |
D | ans_module_test.cpp | 173 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/ |
D | ans_manager_stub_test.cpp | 3590 std::vector<sptr<Notification>> notifications; variable 3592 notifications.emplace_back(notification); 3594 ErrCode result = ansManagerStub_->GetSpecialActiveNotifications(keys, notifications);
|