Home
last modified time | relevance | path

Searched refs:SetNotificationAgent (Results 1 - 23 of 23) sorted by relevance

/base/notification/distributed_notification_service/test/fuzztest/getactivenotificationnums_fuzzer/
H A Dgetactivenotificationnums_fuzzer.cpp28 // test SetNotificationAgent function in DoSomethingInterestingWithMyAPI()
30 Notification::NotificationHelper::SetNotificationAgent(stringData); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/test/fuzztest/ansmanagerstubannextwo_fuzzer/
H A Dansmanagerstubannextwo_fuzzer.cpp71 ansManagerStub.SetNotificationAgent(stringData); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dnotification_helper.cpp129 ErrCode NotificationHelper::SetNotificationAgent(const std::string &agent) in SetNotificationAgent() function in OHOS::Notification::NotificationHelper
131 return DelayedSingleton<AnsNotification>::GetInstance()->SetNotificationAgent(agent); in SetNotificationAgent()
/base/notification/distributed_notification_service/interfaces/inner_api/
H A Dnotification_helper.h299 static ErrCode SetNotificationAgent(const std::string &agent);
/base/notification/distributed_notification_service/frameworks/core/include/
H A Dans_manager_interface.h243 virtual ErrCode SetNotificationAgent(const std::string &agent) = 0;
H A Dans_manager_proxy.h230 ErrCode SetNotificationAgent(const std::string &agent) override;
H A Dans_notification.h234 ErrCode SetNotificationAgent(const std::string &agent);
H A Dans_manager_stub.h234 virtual ErrCode SetNotificationAgent(const std::string &agent) override;
/base/notification/distributed_notification_service/frameworks/core/src/
H A Dans_manager_stub_invalid.cpp148 ErrCode AnsManagerStub::SetNotificationAgent(const std::string &agent) in SetNotificationAgent() function in OHOS::Notification::AnsManagerStub
150 ANS_LOGE("AnsManagerStub::SetNotificationAgent called!"); in SetNotificationAgent()
H A Dans_notification.cpp369 ErrCode AnsNotification::SetNotificationAgent(const std::string &agent) in SetNotificationAgent() function in OHOS::Notification::AnsNotification
376 return proxy->SetNotificationAgent(agent); in SetNotificationAgent()
H A Dans_manager_proxy.cpp480 ErrCode AnsManagerProxy::SetNotificationAgent(const std::string &agent) in SetNotificationAgent() function in OHOS::Notification::AnsManagerProxy
483 ANS_LOGE("[SetNotificationAgent] fail: agent is null."); in SetNotificationAgent()
489 ANS_LOGE("[SetNotificationAgent] fail: write interface token failed."); in SetNotificationAgent()
494 ANS_LOGE("[SetNotificationAgent] fail:: write agent failed."); in SetNotificationAgent()
502 ANS_LOGE("[SetNotificationAgent] fail: transact ErrCode=%{public}d", result); in SetNotificationAgent()
507 ANS_LOGE("[SetNotificationAgent] fail: read result failed."); in SetNotificationAgent()
H A Dans_manager_stub.cpp883 ErrCode result = SetNotificationAgent(agent); in HandleSetNotificationAgent()
/base/notification/distributed_notification_service/test/fuzztest/advancednotificationservice_fuzzer/
H A Dadvancednotificationservice_fuzzer.cpp81 service->SetNotificationAgent(stringData); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/test/fuzztest/ansmanagerstubannexthree_fuzzer/
H A Dansmanagerstubannexthree_fuzzer.cpp348 ansManagerStub.SetNotificationAgent(stringData); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_branch_test/
H A Dans_notification_branch_test.cpp145 ErrCode SetNotificationAgent(const std::string &agent) override
/base/notification/distributed_notification_service/test/fuzztest/ansmanagerstubannex_fuzzer/
H A Dansmanagerstubannex_fuzzer.cpp356 ansManagerStub.SetNotificationAgent(stringData); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/test/fuzztest/ansmanagerstub_fuzzer/
H A Dansmanagerstub_fuzzer.cpp357 ansManagerStub.SetNotificationAgent(stringData); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
H A Dnotification_helper_test.cpp315 * @tc.desc: Test SetNotificationAgent parameters.
323 ErrCode ret = notificationHelper.SetNotificationAgent(agent); in HWTEST_F()
/base/notification/distributed_notification_service/services/ans/include/
H A Dadvanced_notification_service.h282 ErrCode SetNotificationAgent(const std::string &agent) override;
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_test/
H A Dans_notification_unit_test.cpp557 ErrCode ret4 = ans_->SetNotificationAgent(agent); in HWTEST_F()
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_manager_proxy_test/
H A Dans_manager_proxy_unit_test.cpp2448 * @tc.desc: test SetNotificationAgent function
2462 int32_t result = proxy->SetNotificationAgent(agent); in HWTEST_F()
2468 * @tc.desc: test SetNotificationAgent function
2482 int32_t result = proxy->SetNotificationAgent(agent); in HWTEST_F()
2488 * @tc.desc: test SetNotificationAgent function
2504 int32_t result = proxy->SetNotificationAgent(agent); in HWTEST_F()
2509 * @tc.desc: test SetNotificationAgent function
2524 int32_t result = proxy->SetNotificationAgent(agent); in HWTEST_F()
2530 * @tc.desc: test SetNotificationAgent function
2546 int32_t result = proxy->SetNotificationAgent(agen in HWTEST_F()
[all...]
/base/notification/distributed_notification_service/services/ans/src/
H A Dadvanced_notification_service.cpp1147 ErrCode AdvancedNotificationService::SetNotificationAgent(const std::string &agent) in SetNotificationAgent() function in OHOS::Notification::AdvancedNotificationService
/base/notification/distributed_notification_service/services/ans/test/unittest/
H A Dadvanced_notification_service_test.cpp1458 * @tc.desc : Test SetNotificationAgent and GetNotificationAgent function with bundle option is null
1466 ASSERT_EQ(advancedNotificationService_->SetNotificationAgent(agent), ERR_INVALID_OPERATION); in HWTEST_F()

Completed in 54 milliseconds