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 D | ans_notification_branch_test.cpp | 197 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 D | remove.h | 33 std::vector<std::string> hashcodes; member
|
/base/notification/distributed_notification_service/frameworks/js/napi/src/subscribe/ |
H A D | napi_remove.cpp | 32 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 D | remove.cpp | 71 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 D | notification_helper.cpp | 258 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 D | notification_helper.h | 551 static ErrCode RemoveNotifications(const std::vector<std::string> hashcodes, int32_t removeReason);
|
/base/notification/distributed_notification_service/frameworks/core/include/ |
H A D | ans_manager_interface.h | 346 virtual ErrCode RemoveNotifications(const std::vector<std::string> &hashcodes, int32_t removeReason) = 0;
|
H A D | ans_manager_proxy.h | 324 ErrCode RemoveNotifications(const std::vector<std::string> &hashcodes, int32_t removeReason) override;
|
H A D | ans_notification.h | 484 ErrCode RemoveNotifications(const std::vector<std::string> hashcodes, int32_t removeReason);
|
/base/notification/distributed_notification_service/frameworks/core/src/ |
H A D | ans_notification.cpp | 802 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