Home
last modified time | relevance | path

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

/base/notification/distributed_notification_service/frameworks/ans/src/
Dbadge_number_callback_data.cpp26 …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()
Dnotification_helper.cpp398 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/
Dbadge_number_callback_data.h37 BadgeNumberCallbackData(const std::string &bundle, int32_t uid, int32_t badgeNumber);
52 void SetBadgeNumber(int32_t badgeNumber);
Dnotification_helper.h745 static ErrCode SetBadgeNumber(int32_t badgeNumber);
/base/notification/distributed_notification_service/frameworks/js/napi/include/manager/
Dnapi_display_badge.h25 int32_t badgeNumber = 0; member
/base/notification/distributed_notification_service/frameworks/js/napi/src/manager/
Dnapi_display_badge.cpp206 napi_get_value_int32(env, argv[PARAM0], &params.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/
Dans_notification.h793 ErrCode SetBadgeNumber(int32_t badgeNumber);
Dans_manager_interface.h659 virtual ErrCode SetBadgeNumber(int32_t badgeNumber) = 0;
Dans_manager_proxy.h648 ErrCode SetBadgeNumber(int32_t badgeNumber) override;
Dans_manager_stub.h669 virtual ErrCode SetBadgeNumber(int32_t badgeNumber) override;
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_branch_test/
Dans_notification_branch_test.cpp414 ErrCode SetBadgeNumber(int32_t badgeNumber) override in SetBadgeNumber() argument
/base/notification/distributed_notification_service/frameworks/core/src/
Dans_notification.cpp1310 ErrCode AnsNotification::SetBadgeNumber(int32_t badgeNumber) in SetBadgeNumber() argument
1317 return ansManagerProxy_->SetBadgeNumber(badgeNumber); in SetBadgeNumber()
Dans_manager_stub.cpp1759 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
Dans_manager_proxy.cpp2566 ErrCode AnsManagerProxy::SetBadgeNumber(int32_t badgeNumber) in SetBadgeNumber() argument
2574 if (!data.WriteInt32(badgeNumber)) { in SetBadgeNumber()
/base/notification/distributed_notification_service/services/ans/include/
Dadvanced_notification_service.h713 ErrCode SetBadgeNumber(int32_t badgeNumber) override;
/base/notification/distributed_notification_service/services/ans/test/unittest/
Dadvanced_notification_service_test.cpp3577 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/
Dcommon.cpp4774 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/
Dans_manager_proxy_unit_test.cpp7221 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/
Dans_manager_stub_test.cpp4209 int32_t badgeNumber = 4; variable
4212 data.WriteInt32(badgeNumber);
/base/notification/distributed_notification_service/services/ans/src/
Dadvanced_notification_service.cpp4496 ErrCode AdvancedNotificationService::SetBadgeNumber(int32_t badgeNumber) in SetBadgeNumber() argument
4506 bundleName, callingUid, badgeNumber); in SetBadgeNumber()