/base/notification/distributed_notification_service/services/ans/src/ |
H A D | reminder_swing_decision_center.cpp | 152 if (ERR_OK != NotificationPreferences::GetInstance()->IsSmartReminderEnabled(enableSwingDeviceType_, in SwingExecuteDecision()
|
H A D | notification_preferences.cpp | 1062 ErrCode NotificationPreferences::IsSmartReminderEnabled(const std::string &deviceType, bool &enabled) in IsSmartReminderEnabled() function in OHOS::Notification::NotificationPreferences 1071 storeDBResult = preferncesDB_->IsSmartReminderEnabled(deviceType, enabled); in IsSmartReminderEnabled()
|
H A D | advanced_notification_publish_service.cpp | 2547 ErrCode AdvancedNotificationService::IsSmartReminderEnabled(const std::string &deviceType, bool &enabled) in IsSmartReminderEnabled() function in OHOS::Notification::AdvancedNotificationService 2561 return NotificationPreferences::GetInstance()->IsSmartReminderEnabled(deviceType, enabled); in IsSmartReminderEnabled()
|
/base/notification/distributed_notification_service/services/ans/test/unittest/ |
H A D | advanced_notification_publish_service_test.cpp | 990 * @tc.desc: test IsSmartReminderEnabled with parameters 998 ErrCode result = advancedNotificationService_->IsSmartReminderEnabled("testDeviceType1111", enable); in HWTEST_F() 1004 * @tc.desc: test IsSmartReminderEnabled with parameters 1014 ret = advancedNotificationService_->IsSmartReminderEnabled("testDeviceType", enable); in HWTEST_F() 1021 * @tc.desc: test IsSmartReminderEnabled with parameters, expect errorCode ERR_ANS_NON_SYSTEM_APP. 1029 ErrCode result = advancedNotificationService_->IsSmartReminderEnabled("testDeviceType1111", enable); in HWTEST_F() 1035 * @tc.desc: test IsSmartReminderEnabled with parameters, expect errorCode ERR_ANS_PERMISSION_DENIED. 1044 ErrCode result = advancedNotificationService_->IsSmartReminderEnabled("testDeviceType1111", enable); in HWTEST_F()
|
H A D | notification_preferences_test.cpp | 1230 * @tc.desc: test IsSmartReminderEnabled with parameters 1236 ErrCode result = NotificationPreferences::GetInstance()->IsSmartReminderEnabled("testDeviceType1", in HWTEST_F() 1243 * @tc.desc: test IsSmartReminderEnabled with parameters, expect errorCode ERR_ANS_INVALID_PARAM. 1249 ErrCode result = NotificationPreferences::GetInstance()->IsSmartReminderEnabled("", enable); in HWTEST_F()
|
H A D | notification_preferences_database_test.cpp | 889 * @tc.desc: test IsSmartReminderEnabled with parameters, expect errorCode ERR_ANS_SERVICE_NOT_CONNECTED 895 bool result = preferncesDB_->IsSmartReminderEnabled("testDeviceType1111", enable); in HWTEST_F()
|
/base/notification/distributed_notification_service/frameworks/ans/src/ |
H A D | notification_helper.cpp | 536 ErrCode NotificationHelper::IsSmartReminderEnabled(const std::string &deviceType, bool &enabled) in IsSmartReminderEnabled() function in OHOS::Notification::NotificationHelper 538 return DelayedSingleton<AnsNotification>::GetInstance()->IsSmartReminderEnabled(deviceType, enabled); in IsSmartReminderEnabled()
|
/base/notification/distributed_notification_service/interfaces/inner_api/ |
H A D | notification_helper.h | 978 static ErrCode IsSmartReminderEnabled(const std::string &deviceType, bool &enabled);
|
/base/notification/distributed_notification_service/services/ans/include/ |
H A D | notification_preferences.h | 327 ErrCode IsSmartReminderEnabled(const std::string &deviceType, bool &enabled);
|
H A D | notification_preferences_database.h | 129 bool IsSmartReminderEnabled(const std::string deviceType, bool &enabled);
|
H A D | advanced_notification_service.h | 1045 ErrCode IsSmartReminderEnabled(const std::string &deviceType, bool &enabled) override;
|
/base/notification/distributed_notification_service/frameworks/core/include/ |
H A D | ans_manager_interface.h | 916 virtual ErrCode IsSmartReminderEnabled(const std::string &deviceType, bool &enabled) = 0;
|
H A D | ans_manager_proxy.h | 918 ErrCode IsSmartReminderEnabled(const std::string &deviceType, bool &enabled) override;
|
H A D | ans_notification.h | 1067 ErrCode IsSmartReminderEnabled(const std::string &deviceType, bool &enabled);
|
H A D | ans_manager_stub.h | 929 ErrCode IsSmartReminderEnabled(const std::string &deviceType, bool &enabled) override;
|
/base/notification/distributed_notification_service/frameworks/core/src/ |
H A D | ans_manager_stub_invalid.cpp | 637 ErrCode AnsManagerStub::IsSmartReminderEnabled(const std::string &deviceType, bool &enabled) in IsSmartReminderEnabled() function in OHOS::Notification::AnsManagerStub 639 ANS_LOGE("IsSmartReminderEnabled called!"); in IsSmartReminderEnabled()
|
H A D | ans_manager_proxy_disturb.cpp | 395 ErrCode AnsManagerProxy::IsSmartReminderEnabled(const std::string &deviceType, bool &enabled) in IsSmartReminderEnabled() function in OHOS::Notification::AnsManagerProxy 400 ANS_LOGE("[IsSmartReminderEnabled] fail: write interface token failed."); in IsSmartReminderEnabled() 405 ANS_LOGE("[IsSmartReminderEnabled] fail: write deviceType failed"); in IsSmartReminderEnabled() 413 ANS_LOGE("[IsSmartReminderEnabled] fail: transact ErrCode=%{public}d", result); in IsSmartReminderEnabled() 418 ANS_LOGE("[IsSmartReminderEnabled] fail: read result failed."); in IsSmartReminderEnabled() 423 ANS_LOGE("[IsSmartReminderEnabled] fail: read enabled failed."); in IsSmartReminderEnabled()
|
H A D | ans_notification.cpp | 1903 ErrCode AnsNotification::IsSmartReminderEnabled(const std::string &deviceType, bool &enabled) in IsSmartReminderEnabled() function in OHOS::Notification::AnsNotification 1912 return proxy->IsSmartReminderEnabled(deviceType, enabled); in IsSmartReminderEnabled()
|
H A D | ans_manager_stub.cpp | 2619 ErrCode result = IsSmartReminderEnabled(deviceType, enabled); in HandleIsSmartReminderEnabled()
|
/base/notification/distributed_notification_service/frameworks/js/napi/src/manager/ |
H A D | napi_distributed_enable.cpp | 271 ANS_LOGI("IsSmartReminderEnabled napi_create_async_work end"); in AsyncCompleteCallbackNapiIsSmartReminderEnabled() 320 asynccallbackinfo->info.errorCode = NotificationHelper::IsSmartReminderEnabled( in NapiIsSmartReminderEnabled()
|
/base/notification/distributed_notification_service/services/ans/src/notification_smart_reminder/ |
H A D | smart_reminder_center.cpp | 301 if (NotificationPreferences::GetInstance()->IsSmartReminderEnabled(deviceType, isEnable) != ERR_OK || !isEnable) { in IsNeedSynergy()
|
/base/notification/distributed_notification_service/test/fuzztest/advancednotificationservice_fuzzer/ |
H A D | advancednotificationservice_fuzzer.cpp | 200 service->IsSmartReminderEnabled(deviceType, enabled); in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_branch_test/ |
H A D | ans_notification_branch_test.cpp | 563 ErrCode IsSmartReminderEnabled(const std::string &deviceType, bool &enabled) override
|
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/ |
H A D | notification_helper_test.cpp | 1142 * @tc.desc: test IsSmartReminderEnabled with parameters 1150 ErrCode ret = notificationHelper.IsSmartReminderEnabled(deviceType, enable); in HWTEST_F()
|
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_test/ |
H A D | ans_notification_unit_test.cpp | 1245 * @tc.desc: test IsSmartReminderEnabled with parameters, expect errorCode ERR_ANS_SERVICE_NOT_CONNECTED
1258 ErrCode result = ans_->IsSmartReminderEnabled("testDeviceType1111", enable);
in HWTEST_F()
|