/base/notification/distributed_notification_service/interfaces/inner_api/ |
D | notification_subscriber.h | 95 virtual void OnBadgeChanged(const std::shared_ptr<BadgeNumberCallbackData> &badgeData) = 0; 135 void OnBadgeChanged(const sptr<BadgeNumberCallbackData> &badgeData) override;
|
/base/notification/distributed_notification_service/frameworks/core/include/ |
D | ans_subscriber_interface.h | 98 virtual void OnBadgeChanged(const sptr<BadgeNumberCallbackData> &badgeData) = 0;
|
D | ans_subscriber_proxy.h | 89 void OnBadgeChanged(const sptr<BadgeNumberCallbackData> &badgeData) override;
|
D | ans_subscriber_stub.h | 100 void OnBadgeChanged(const sptr<BadgeNumberCallbackData> &badgeData) override;
|
/base/notification/distributed_notification_service/frameworks/ans/src/ |
D | notification_subscriber.cpp | 110 …ificationSubscriber::SubscriberImpl::OnBadgeChanged(const sptr<BadgeNumberCallbackData> &badgeData) in OnBadgeChanged() argument 113 subscriber_.OnBadgeChanged(std::make_shared<BadgeNumberCallbackData>(*badgeData)); in OnBadgeChanged()
|
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_subscriber_proxy_test/ |
D | ans_subscriber_proxy_unit_test.cpp | 542 sptr<BadgeNumberCallbackData> badgeData = new (std::nothrow) BadgeNumberCallbackData(); variable 543 ASSERT_NE(nullptr, badgeData); 544 proxy->OnBadgeChanged(badgeData); 562 sptr<BadgeNumberCallbackData> badgeData = new (std::nothrow) BadgeNumberCallbackData(); variable 563 ASSERT_NE(nullptr, badgeData); 564 proxy->OnBadgeChanged(badgeData);
|
/base/notification/distributed_notification_service/frameworks/core/src/ |
D | ans_subscriber_proxy.cpp | 308 void AnsSubscriberProxy::OnBadgeChanged(const sptr<BadgeNumberCallbackData> &badgeData) in OnBadgeChanged() argument 316 if (!data.WriteParcelable(badgeData)) { in OnBadgeChanged()
|
D | ans_subscriber_stub.cpp | 282 void AnsSubscriberStub::OnBadgeChanged(const sptr<BadgeNumberCallbackData> &badgeData) in OnBadgeChanged() argument
|
/base/notification/distributed_notification_service/services/ans/include/ |
D | notification_subscriber_manager.h | 112 void SetBadgeNumber(const sptr<BadgeNumberCallbackData> &badgeData);
|
/base/notification/distributed_notification_service/services/ans/src/ |
D | notification_subscriber_manager.cpp | 478 void NotificationSubscriberManager::SetBadgeNumber(const sptr<BadgeNumberCallbackData> &badgeData) in SetBadgeNumber() argument 484 std::function<void()> setBadgeNumberFunc = [badgeData] () { in SetBadgeNumber() 486 record->subscriber->OnBadgeChanged(badgeData); in SetBadgeNumber()
|
D | advanced_notification_service.cpp | 4510 sptr<BadgeNumberCallbackData> badgeData = new (std::nothrow) BadgeNumberCallbackData( in SetBadgeNumber() local 4512 if (badgeData == nullptr) { in SetBadgeNumber() 4519 NotificationSubscriberManager::GetInstance()->SetBadgeNumber(badgeData); in SetBadgeNumber()
|
/base/notification/distributed_notification_service/frameworks/js/napi/include/ |
D | subscribe.h | 95 void OnBadgeChanged(const std::shared_ptr<BadgeNumberCallbackData> &badgeData) override;
|
/base/notification/distributed_notification_service/services/ans/test/unittest/ |
D | notification_subscriber_manager_test.cpp | 57 void OnBadgeChanged(const std::shared_ptr<BadgeNumberCallbackData> &badgeData) override in OnBadgeChanged() argument
|
D | advanced_notification_service_branch_test.cpp | 108 void OnBadgeChanged(const std::shared_ptr<BadgeNumberCallbackData> &badgeData) override in OnBadgeChanged() argument
|
D | advanced_notification_service_test.cpp | 119 void OnBadgeChanged(const std::shared_ptr<BadgeNumberCallbackData> &badgeData) override in OnBadgeChanged() argument
|
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_subscriber_stub_test/ |
D | ans_subscriber_stub_unit_test.cpp | 455 sptr<BadgeNumberCallbackData> badgeData = new BadgeNumberCallbackData(); variable 456 data.WriteParcelable(badgeData);
|
/base/notification/distributed_notification_service/test/bechmarktest/notification_services_test/ |
D | notification_service_test.cpp | 85 void OnBadgeChanged(const std::shared_ptr<BadgeNumberCallbackData> &badgeData) override in OnBadgeChanged() argument
|
/base/notification/distributed_notification_service/frameworks/js/napi/src/ |
D | subscribe.cpp | 843 const std::shared_ptr<BadgeNumberCallbackData> &badgeData) in OnBadgeChanged() argument 852 if (badgeData == nullptr) { in OnBadgeChanged() 870 dataWorker->badge = *badgeData; in OnBadgeChanged()
|
/base/notification/distributed_notification_service/frameworks/test/moduletest/ |
D | ans_innerkits_module_publish_test.cpp | 157 void OnBadgeChanged(const std::shared_ptr<BadgeNumberCallbackData> &badgeData) override in OnBadgeChanged() argument 159 GTEST_LOG_(INFO) << "ANS_Interface_MT::OnBadgeChanged badgeData : " << badgeData->Dump(); in OnBadgeChanged() 161 EXPECT_EQ(badgeData->GetBadgeNumber(), BADGE_NUMBER); in OnBadgeChanged()
|
D | ans_fw_module_test.cpp | 333 const std::shared_ptr<BadgeNumberCallbackData> &badgeData) override in OnBadgeChanged() argument
|
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_test/ |
D | ans_notification_unit_test.cpp | 95 void OnBadgeChanged(const std::shared_ptr<BadgeNumberCallbackData> &badgeData) override in OnBadgeChanged() argument
|
/base/notification/distributed_notification_service/services/test/moduletest/ |
D | ans_module_test.cpp | 75 void OnBadgeChanged(const std::shared_ptr<BadgeNumberCallbackData> &badgeData) override in OnBadgeChanged() argument
|
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_manager_proxy_test/ |
D | ans_manager_proxy_unit_test.cpp | 125 void OnBadgeChanged(const std::shared_ptr<BadgeNumberCallbackData> &badgeData) override in OnBadgeChanged() argument
|