Home
last modified time | relevance | path

Searched refs:badgeData (Results 1 – 23 of 23) sorted by relevance

/base/notification/distributed_notification_service/interfaces/inner_api/
Dnotification_subscriber.h95 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/
Dans_subscriber_interface.h98 virtual void OnBadgeChanged(const sptr<BadgeNumberCallbackData> &badgeData) = 0;
Dans_subscriber_proxy.h89 void OnBadgeChanged(const sptr<BadgeNumberCallbackData> &badgeData) override;
Dans_subscriber_stub.h100 void OnBadgeChanged(const sptr<BadgeNumberCallbackData> &badgeData) override;
/base/notification/distributed_notification_service/frameworks/ans/src/
Dnotification_subscriber.cpp110 …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/
Dans_subscriber_proxy_unit_test.cpp542 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/
Dans_subscriber_proxy.cpp308 void AnsSubscriberProxy::OnBadgeChanged(const sptr<BadgeNumberCallbackData> &badgeData) in OnBadgeChanged() argument
316 if (!data.WriteParcelable(badgeData)) { in OnBadgeChanged()
Dans_subscriber_stub.cpp282 void AnsSubscriberStub::OnBadgeChanged(const sptr<BadgeNumberCallbackData> &badgeData) in OnBadgeChanged() argument
/base/notification/distributed_notification_service/services/ans/include/
Dnotification_subscriber_manager.h112 void SetBadgeNumber(const sptr<BadgeNumberCallbackData> &badgeData);
/base/notification/distributed_notification_service/services/ans/src/
Dnotification_subscriber_manager.cpp478 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()
Dadvanced_notification_service.cpp4510 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/
Dsubscribe.h95 void OnBadgeChanged(const std::shared_ptr<BadgeNumberCallbackData> &badgeData) override;
/base/notification/distributed_notification_service/services/ans/test/unittest/
Dnotification_subscriber_manager_test.cpp57 void OnBadgeChanged(const std::shared_ptr<BadgeNumberCallbackData> &badgeData) override in OnBadgeChanged() argument
Dadvanced_notification_service_branch_test.cpp108 void OnBadgeChanged(const std::shared_ptr<BadgeNumberCallbackData> &badgeData) override in OnBadgeChanged() argument
Dadvanced_notification_service_test.cpp119 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/
Dans_subscriber_stub_unit_test.cpp455 sptr<BadgeNumberCallbackData> badgeData = new BadgeNumberCallbackData(); variable
456 data.WriteParcelable(badgeData);
/base/notification/distributed_notification_service/test/bechmarktest/notification_services_test/
Dnotification_service_test.cpp85 void OnBadgeChanged(const std::shared_ptr<BadgeNumberCallbackData> &badgeData) override in OnBadgeChanged() argument
/base/notification/distributed_notification_service/frameworks/js/napi/src/
Dsubscribe.cpp843 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/
Dans_innerkits_module_publish_test.cpp157 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()
Dans_fw_module_test.cpp333 const std::shared_ptr<BadgeNumberCallbackData> &badgeData) override in OnBadgeChanged() argument
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_test/
Dans_notification_unit_test.cpp95 void OnBadgeChanged(const std::shared_ptr<BadgeNumberCallbackData> &badgeData) override in OnBadgeChanged() argument
/base/notification/distributed_notification_service/services/test/moduletest/
Dans_module_test.cpp75 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/
Dans_manager_proxy_unit_test.cpp125 void OnBadgeChanged(const std::shared_ptr<BadgeNumberCallbackData> &badgeData) override in OnBadgeChanged() argument