Searched refs:ans_ (Results 1 - 7 of 7) sorted by relevance
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_test/ |
H A D | ans_notification_unit_test.cpp | 58 std::shared_ptr<AnsNotification> ans_;
member in OHOS::Notification::AnsNotificationUnitTest 74 if (!ans_) {
in SetUp() 75 ans_ = DelayedSingleton<AnsNotification>::GetInstance();
in SetUp() 124 bool res = ans_->GetAnsManagerProxy();
in HWTEST_F() 141 ans_->GetAnsManagerProxy();
in HWTEST_F() 143 ErrCode ret1 = ans_->AddSlotByType(slotType);
in HWTEST_F() 145 ErrCode ret3 = ans_->RemoveNotificationSlot(slotType);
in HWTEST_F() 162 ans_->GetAnsManagerProxy();
in HWTEST_F() 163 ErrCode ret1 = ans_->RemoveAllSlots();
in HWTEST_F() 180 ans_ in HWTEST_F() [all...] |
/base/notification/distributed_notification_service/test/systemtest/acts/ansDump/ |
H A D | ansDumpTest.cpp | 39 std::shared_ptr<AnsNotification> ans_; member in OHOS::Notification::AnsDumpTest 50 if (!ans_) { in SetUp() 51 ans_ = DelayedSingleton<AnsNotification>::GetInstance(); in SetUp() 82 if (ans_) { in HWTEST_F() 83 auto ret = ans_->ShellDump("active", infos); in HWTEST_F()
|
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_annex_test/ |
H A D | ans_notification_annex_test.cpp | 54 std::shared_ptr<AnsNotification> ans_;
member in OHOS::Notification::AnsNotificationUnitAnnexTest 64 if (!ans_) {
in SetUp() 65 ans_ = DelayedSingleton<AnsNotification>::GetInstance();
in SetUp() 79 bool res = ans_->GetAnsManagerProxy();
in HWTEST_F() 85 ErrCode ret1 = ans_->GetNotificationSlotNumAsBundle(bundleOption, num);
in HWTEST_F() 101 ErrCode ret1 = ans_->PublishNotification(label, request);
in HWTEST_F() 116 ErrCode ret5 = ans_->PublishNotificationAsBundle(representativeBundle, request);
in HWTEST_F() 133 ErrCode ret5 = ans_->PublishNotificationAsBundle(representativeBundle, request);
in HWTEST_F() 151 ErrCode ret3 = ans_->RemoveNotification(bundleOption, notificationId, label, removeReason);
in HWTEST_F() 166 ErrCode ret3 = ans_ in HWTEST_F() [all...] |
/base/notification/distributed_notification_service/tools/dump/src/ |
H A D | notification_shell_command.cpp | 103 if (!ans_) { in Init() 104 ans_ = DelayedSingleton<AnsNotification>::GetInstance(); in Init() 106 if (!ans_) { in Init() 184 if (ans_ != nullptr) { in RunDumpCmd() 185 ErrCode ret = ans_->ShellDump(cmd, bundle, userId, recvUserId, infos); in RunDumpCmd() 311 if (ans_ == nullptr) { in RunSetEnableCmd() 331 ErrCode ret = ans_->SetNotificationsEnabledForSpecifiedBundle(bundleOption, "", enable); in RunSetEnableCmd() 342 if (ans_ == nullptr) { in RunSetDeviceStatusCmd() 360 ErrCode ret = ans_->SetTargetDeviceStatus(deviceType, status); in RunSetDeviceStatusCmd()
|
/base/notification/distributed_notification_service/tools/dump/include/ |
H A D | notification_shell_command.h | 56 std::shared_ptr<AnsNotification> ans_; member in OHOS::Notification::NotificationShellCommand
|
/base/notification/distributed_notification_service/services/ans/src/ |
H A D | notification_dialog_manager.cpp | 65 : ans_(ans) in NotificationDialogManager() 239 ErrCode result = ans_.SetNotificationsEnabledForSpecialBundle( in OnDialogButtonClicked() 258 ErrCode result = ans_.SetNotificationsEnabledForSpecialBundle( in OnDialogCrashed()
|
/base/notification/distributed_notification_service/services/ans/include/ |
H A D | notification_dialog_manager.h | 133 AdvancedNotificationService& ans_; member in OHOS::Notification::final
|
Completed in 5 milliseconds