/base/notification/distributed_notification_service/frameworks/ans/src/ |
D | badge_number_callback_data.cpp | 26 …rCallbackData::BadgeNumberCallbackData(const std::string &bundle, int32_t uid, int32_t badgeNumber) in BadgeNumberCallbackData() argument 27 : bundle_(bundle), uid_(uid), badgeNumber_(badgeNumber) in BadgeNumberCallbackData() 50 void BadgeNumberCallbackData::SetBadgeNumber(int32_t badgeNumber) in SetBadgeNumber() argument 52 badgeNumber_ = badgeNumber; in SetBadgeNumber()
|
D | notification_helper.cpp | 398 ErrCode NotificationHelper::SetBadgeNumber(int32_t badgeNumber) in SetBadgeNumber() argument 400 return DelayedSingleton<AnsNotification>::GetInstance()->SetBadgeNumber(badgeNumber); in SetBadgeNumber()
|
/base/notification/distributed_notification_service/interfaces/inner_api/ |
D | badge_number_callback_data.h | 37 BadgeNumberCallbackData(const std::string &bundle, int32_t uid, int32_t badgeNumber); 52 void SetBadgeNumber(int32_t badgeNumber);
|
D | notification_helper.h | 745 static ErrCode SetBadgeNumber(int32_t badgeNumber);
|
/base/notification/distributed_notification_service/frameworks/js/napi/include/manager/ |
D | napi_display_badge.h | 25 int32_t badgeNumber = 0; member
|
/base/notification/distributed_notification_service/frameworks/js/napi/src/manager/ |
D | napi_display_badge.cpp | 206 napi_get_value_int32(env, argv[PARAM0], ¶ms.badgeNumber); in ParseParameters() 266 ANS_LOGI("option.badgeNumber: %{public}d", asynccallbackinfo->params.badgeNumber); in NapiSetBadgeNumber() 268 asynccallbackinfo->params.badgeNumber); in NapiSetBadgeNumber()
|
/base/notification/distributed_notification_service/frameworks/core/include/ |
D | ans_notification.h | 793 ErrCode SetBadgeNumber(int32_t badgeNumber);
|
D | ans_manager_interface.h | 659 virtual ErrCode SetBadgeNumber(int32_t badgeNumber) = 0;
|
D | ans_manager_proxy.h | 648 ErrCode SetBadgeNumber(int32_t badgeNumber) override;
|
D | ans_manager_stub.h | 669 virtual ErrCode SetBadgeNumber(int32_t badgeNumber) override;
|
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_branch_test/ |
D | ans_notification_branch_test.cpp | 414 ErrCode SetBadgeNumber(int32_t badgeNumber) override in SetBadgeNumber() argument
|
/base/notification/distributed_notification_service/frameworks/core/src/ |
D | ans_notification.cpp | 1310 ErrCode AnsNotification::SetBadgeNumber(int32_t badgeNumber) in SetBadgeNumber() argument 1317 return ansManagerProxy_->SetBadgeNumber(badgeNumber); in SetBadgeNumber()
|
D | ans_manager_stub.cpp | 1759 int32_t badgeNumber = -1; in HandleSetBadgeNumber() local 1760 if (!data.ReadInt32(badgeNumber)) { in HandleSetBadgeNumber() 1765 ErrCode result = SetBadgeNumber(badgeNumber); in HandleSetBadgeNumber() 2232 ErrCode AnsManagerStub::SetBadgeNumber(int32_t badgeNumber) in SetBadgeNumber() argument
|
D | ans_manager_proxy.cpp | 2566 ErrCode AnsManagerProxy::SetBadgeNumber(int32_t badgeNumber) in SetBadgeNumber() argument 2574 if (!data.WriteInt32(badgeNumber)) { in SetBadgeNumber()
|
/base/notification/distributed_notification_service/services/ans/include/ |
D | advanced_notification_service.h | 713 ErrCode SetBadgeNumber(int32_t badgeNumber) override;
|
/base/notification/distributed_notification_service/services/ans/test/unittest/ |
D | advanced_notification_service_test.cpp | 3577 int32_t badgeNumber = 1; variable 3578 EXPECT_EQ(advancedNotificationService_->SetBadgeNumber(badgeNumber), ERR_OK); 3591 int32_t badgeNumber = 1; variable 3595 EXPECT_EQ(advancedNotificationService_->SetBadgeNumber(badgeNumber), ERR_OK);
|
/base/notification/distributed_notification_service/frameworks/js/napi/src/ |
D | common.cpp | 4774 int32_t badgeNumber = 0; in GetNotificationBadgeNumber() local 4785 napi_get_value_int32(env, result, &badgeNumber); in GetNotificationBadgeNumber() 4786 if (badgeNumber < 0) { in GetNotificationBadgeNumber() 4791 request.SetBadgeNumber(badgeNumber); in GetNotificationBadgeNumber()
|
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_manager_proxy_test/ |
D | ans_manager_proxy_unit_test.cpp | 7221 int32_t badgeNumber = 0; variable 7222 int32_t result = proxy->SetBadgeNumber(badgeNumber); 7241 int32_t badgeNumber = 0; variable 7242 int32_t result = proxy->SetBadgeNumber(badgeNumber); 7263 int32_t badgeNumber = 0; variable 7264 int32_t result = proxy->SetBadgeNumber(badgeNumber);
|
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_manager_stub_test/ |
D | ans_manager_stub_test.cpp | 4209 int32_t badgeNumber = 4; variable 4212 data.WriteInt32(badgeNumber);
|
/base/notification/distributed_notification_service/services/ans/src/ |
D | advanced_notification_service.cpp | 4496 ErrCode AdvancedNotificationService::SetBadgeNumber(int32_t badgeNumber) in SetBadgeNumber() argument 4506 bundleName, callingUid, badgeNumber); in SetBadgeNumber()
|