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/
Dans_notification_branch_test.cpp180 …ErrCode RemoveNotifications(const std::vector<std::string> &hashcodes, int32_t removeReason) overr… in RemoveNotifications() argument
459 std::vector<std::string> hashcodes; variable
461 ErrCode ret = ansNotification->RemoveNotifications(hashcodes, removeReason);
477 std::vector<std::string> hashcodes; variable
478 hashcodes.emplace_back(hashcode);
481 ErrCode ret = ansNotification->RemoveNotifications(hashcodes, removeReason);
497 std::vector<std::string> hashcodes; variable
498 hashcodes.emplace_back(hashcode);
502 ansNotification->RemoveNotifications(hashcodes, removeReason);
/base/notification/distributed_notification_service/frameworks/js/napi/src/subscribe/
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/include/
Dremove.h33 std::vector<std::string> hashcodes; member
/base/notification/distributed_notification_service/frameworks/js/napi/src/
Dremove.cpp70 std::vector<std::string> hashcodes; in ParseHashcodeTypeParams() local
71 auto retValue = Common::GetHashCodes(env, argv[PARAM0], hashcodes); in ParseHashcodeTypeParams()
76 params.hashcodes = hashcodes; in ParseHashcodeTypeParams()
/base/notification/distributed_notification_service/interfaces/inner_api/
Dnotification_helper.h384 …static ErrCode RemoveNotifications(const std::vector<std::string> hashcodes, int32_t removeReason);
/base/notification/distributed_notification_service/frameworks/ans/src/
Dnotification_helper.cpp201 ErrCode NotificationHelper::RemoveNotifications(const std::vector<std::string> hashcodes, int32_t r… in RemoveNotifications() argument
203 …return DelayedSingleton<AnsNotification>::GetInstance()->RemoveNotifications(hashcodes, removeReas… in RemoveNotifications()
/base/notification/distributed_notification_service/frameworks/core/include/
Dans_notification.h382 ErrCode RemoveNotifications(const std::vector<std::string> hashcodes, int32_t removeReason);
Dans_manager_interface.h278 …virtual ErrCode RemoveNotifications(const std::vector<std::string> &hashcodes, int32_t removeReaso…
Dans_manager_proxy.h258 …ErrCode RemoveNotifications(const std::vector<std::string> &hashcodes, int32_t removeReason) overr…
/base/notification/distributed_notification_service/frameworks/core/src/
Dans_notification.cpp491 ErrCode AnsNotification::RemoveNotifications(const std::vector<std::string> hashcodes, int32_t remo… in RemoveNotifications() argument
493 if (hashcodes.empty()) { in RemoveNotifications()
503 return ansManagerProxy_->RemoveNotifications(hashcodes, removeReason); in RemoveNotifications()