Home
last modified time | relevance | path

Searched refs:hashcodes (Results 1 - 10 of 10) sorted by relevance

/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_branch_test/
H A Dans_notification_branch_test.cpp197 ErrCode RemoveNotifications(const std::vector<std::string> &hashcodes, int32_t removeReason) override
617 * @tc.desc: Test RemoveNotifications and hashcodes is empty
625 std::vector<std::string> hashcodes; in HWTEST_F() local
627 ErrCode ret = ansNotification->RemoveNotifications(hashcodes, removeReason); in HWTEST_F()
633 * @tc.desc: 1.Test RemoveNotifications and hashcodes is not empty
643 std::vector<std::string> hashcodes; in HWTEST_F() local
644 hashcodes.emplace_back(hashcode); in HWTEST_F()
646 ErrCode ret = ansNotification->RemoveNotifications(hashcodes, removeReason); in HWTEST_F()
652 * @tc.desc: 1.Test RemoveNotifications and hashcodes is not empty
662 std::vector<std::string> hashcodes; in HWTEST_F() local
[all...]
/base/notification/distributed_notification_service/frameworks/js/napi/include/
H A Dremove.h33 std::vector<std::string> hashcodes; member
/base/notification/distributed_notification_service/frameworks/js/napi/src/subscribe/
H A Dnapi_remove.cpp32 if (!removeInfo->params.hashcodes.empty()) { in NapiRemoveExecuteCallback()
33 removeInfo->info.errorCode = NotificationHelper::RemoveNotifications(removeInfo->params.hashcodes, in NapiRemoveExecuteCallback()
/base/notification/distributed_notification_service/frameworks/js/napi/src/
H A Dremove.cpp71 std::vector<std::string> hashcodes; in ParseHashcodeTypeParams() local
72 auto retValue = Common::GetHashCodes(env, argv[PARAM0], hashcodes); in ParseHashcodeTypeParams()
77 params.hashcodes = hashcodes; in ParseHashcodeTypeParams()
/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dnotification_helper.cpp258 ErrCode NotificationHelper::RemoveNotifications(const std::vector<std::string> hashcodes, int32_t removeReason) in RemoveNotifications() argument
260 return DelayedSingleton<AnsNotification>::GetInstance()->RemoveNotifications(hashcodes, removeReason); in RemoveNotifications()
/base/notification/distributed_notification_service/interfaces/inner_api/
H A Dnotification_helper.h551 static ErrCode RemoveNotifications(const std::vector<std::string> hashcodes, int32_t removeReason);
/base/notification/distributed_notification_service/frameworks/core/include/
H A Dans_manager_interface.h346 virtual ErrCode RemoveNotifications(const std::vector<std::string> &hashcodes, int32_t removeReason) = 0;
H A Dans_manager_proxy.h324 ErrCode RemoveNotifications(const std::vector<std::string> &hashcodes, int32_t removeReason) override;
H A Dans_notification.h484 ErrCode RemoveNotifications(const std::vector<std::string> hashcodes, int32_t removeReason);
/base/notification/distributed_notification_service/frameworks/core/src/
H A Dans_notification.cpp802 ErrCode AnsNotification::RemoveNotifications(const std::vector<std::string> hashcodes, int32_t removeReason) in RemoveNotifications() argument
805 if (hashcodes.empty()) { in RemoveNotifications()
816 return proxy->RemoveNotifications(hashcodes, removeReason); in RemoveNotifications()

Completed in 12 milliseconds