Home
last modified time | relevance | path

Searched refs:IsNeedSilentInDoNotDisturbMode (Results 1 - 22 of 22) sorted by relevance

/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dnotification_helper.cpp383 ErrCode NotificationHelper::IsNeedSilentInDoNotDisturbMode(const std::string &phoneNumber, int32_t callerType) in IsNeedSilentInDoNotDisturbMode() function in OHOS::Notification::NotificationHelper
385 return DelayedSingleton<AnsNotification>::GetInstance()->IsNeedSilentInDoNotDisturbMode(phoneNumber, callerType); in IsNeedSilentInDoNotDisturbMode()
/base/notification/distributed_notification_service/interfaces/inner_api/
H A Dnotification_helper.h727 static ErrCode IsNeedSilentInDoNotDisturbMode(const std::string &phoneNumber, int32_t callerType);
/base/notification/distributed_notification_service/services/ans/test/unittest/
H A Dadvanced_notification_service_branch_test.cpp1200 * @tc.desc : Test IsNeedSilentInDoNotDisturbMode function return ERR_ANS_NON_SYSTEM_APP.
1209 ASSERT_EQ(advancedNotificationService_->IsNeedSilentInDoNotDisturbMode( in HWTEST_F()
1216 * @tc.desc : Test IsNeedSilentInDoNotDisturbMode function return ERR_ANS_PERMISSION_DENIED.
1225 ASSERT_EQ(advancedNotificationService_->IsNeedSilentInDoNotDisturbMode( in HWTEST_F()
H A Dadvanced_notification_service_test.cpp1561 ASSERT_EQ(advancedNotificationService_->IsNeedSilentInDoNotDisturbMode(phoneNumber, callerType), -1); in HWTEST_F()
2434 * @tc.desc : Test IsNeedSilentInDoNotDisturbMode function when the result is ERR_OK
2444 auto ret = advancedNotificationService_->IsNeedSilentInDoNotDisturbMode(phoneNumber, callerType); in HWTEST_F()
/base/notification/distributed_notification_service/frameworks/core/include/
H A Dans_manager_interface.h585 virtual ErrCode IsNeedSilentInDoNotDisturbMode(const std::string &phoneNumber, int32_t callerType) = 0;
H A Dans_manager_proxy.h573 ErrCode IsNeedSilentInDoNotDisturbMode(const std::string &phoneNumber, int32_t callerType) override;
H A Dans_notification.h712 ErrCode IsNeedSilentInDoNotDisturbMode(const std::string &phoneNumber, int32_t callerType);
H A Dans_manager_stub.h573 virtual ErrCode IsNeedSilentInDoNotDisturbMode(const std::string &phoneNumber, int32_t callerType) override;
/base/notification/distributed_notification_service/frameworks/core/src/
H A Dans_manager_stub_invalid.cpp415 ErrCode AnsManagerStub::IsNeedSilentInDoNotDisturbMode(const std::string &phoneNumber, int32_t callerType) in IsNeedSilentInDoNotDisturbMode() function in OHOS::Notification::AnsManagerStub
417 ANS_LOGE("AnsManagerStub::IsNeedSilentInDoNotDisturbMode called!"); in IsNeedSilentInDoNotDisturbMode()
H A Dans_manager_proxy_disturb.cpp430 ErrCode AnsManagerProxy::IsNeedSilentInDoNotDisturbMode(const std::string &phoneNumber, int32_t callerType) in IsNeedSilentInDoNotDisturbMode() function in OHOS::Notification::AnsManagerProxy
434 ANS_LOGE("[IsNeedSilentInDoNotDisturbMode] fail: write interface token failed."); in IsNeedSilentInDoNotDisturbMode()
439 ANS_LOGE("[IsNeedSilentInDoNotDisturbMode] fail: write phoneNumber failed."); in IsNeedSilentInDoNotDisturbMode()
444 ANS_LOGE("[IsNeedSilentInDoNotDisturbMode] fail: write callerType failed"); in IsNeedSilentInDoNotDisturbMode()
453 ANS_LOGE("[IsNeedSilentInDoNotDisturbMode] fail: transact ErrCode=%{public}d", result); in IsNeedSilentInDoNotDisturbMode()
458 ANS_LOGE("[IsNeedSilentInDoNotDisturbMode] fail: read result failed."); in IsNeedSilentInDoNotDisturbMode()
H A Dans_notification.cpp1164 ErrCode AnsNotification::IsNeedSilentInDoNotDisturbMode(const std::string &phoneNumber, int32_t callerType) in IsNeedSilentInDoNotDisturbMode() function in OHOS::Notification::AnsNotification
1172 return proxy->IsNeedSilentInDoNotDisturbMode(phoneNumber, callerType); in IsNeedSilentInDoNotDisturbMode()
H A Dans_manager_stub.cpp1054 ErrCode result = IsNeedSilentInDoNotDisturbMode(phoneNumber, callerType); in HandleIsNeedSilentInDoNotDisturbMode()
/base/notification/distributed_notification_service/test/fuzztest/advancednotificationservice_fuzzer/
H A Dadvancednotificationservice_fuzzer.cpp189 service->IsNeedSilentInDoNotDisturbMode(phoneNumber, fuzzData.GenerateRandomInt32()); in DoSomethingInterestingWithMyAPI()
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_branch_test/
H A Dans_notification_branch_test.cpp348 ErrCode IsNeedSilentInDoNotDisturbMode(const std::string &phoneNumber, int32_t callerType) override
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/
H A Dnotification_helper_test.cpp1311 * @tc.desc: Test IsNeedSilentInDoNotDisturbMode parameters.
1320 ErrCode ret = notificationHelper.IsNeedSilentInDoNotDisturbMode(phoneNumber, callerType); in HWTEST_F()
/base/notification/distributed_notification_service/services/ans/include/
H A Dadvanced_notification_service.h630 ErrCode IsNeedSilentInDoNotDisturbMode(const std::string &phoneNumber, int32_t callerType) override;
/base/notification/distributed_notification_service/services/ans/test/unittest/notification_subscriber_manager_branch_test/
H A Dnotification_subscriber_manager_branch_test.cpp1322 * @tc.desc : Test IsNeedSilentInDoNotDisturbMode function and CheckPermission is false
1332 ASSERT_EQ(advancedNotificationService.IsNeedSilentInDoNotDisturbMode( in HWTEST_F()
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_test/
H A Dans_notification_unit_test.cpp1515 * @tc.desc: test IsNeedSilentInDoNotDisturbMode.
1528 ErrCode ret = ans_->IsNeedSilentInDoNotDisturbMode(phoneNumber, callerType); in HWTEST_F()
/base/telephony/call_manager/services/call/src/
H A Dcall_status_manager.cpp1582 int ret = Notification::NotificationHelper::IsNeedSilentInDoNotDisturbMode(info.phoneNum, 0); in IsRejectCall()
1583 TELEPHONY_LOGI("IsRejectCall IsNeedSilentInDoNotDisturbMode ret:%{public}d", ret); in IsRejectCall()
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_manager_proxy_test/
H A Dans_manager_proxy_unit_test.cpp8095 * @tc.desc: test IsNeedSilentInDoNotDisturbMode function
8109 int32_t result = proxy->IsNeedSilentInDoNotDisturbMode(phoneNumber, callerType); in HWTEST_F()
8115 * @tc.desc: test IsNeedSilentInDoNotDisturbMode function
8132 int32_t result = proxy->IsNeedSilentInDoNotDisturbMode(phoneNumber, callerType); in HWTEST_F()
8138 * @tc.desc: test IsNeedSilentInDoNotDisturbMode function
8153 int32_t result = proxy->IsNeedSilentInDoNotDisturbMode(phoneNumber, callerType); in HWTEST_F()
8159 * @tc.desc: test IsNeedSilentInDoNotDisturbMode function
8175 int32_t result = proxy->IsNeedSilentInDoNotDisturbMode(phoneNumber, callerType); in HWTEST_F()
8181 * @tc.desc: test IsNeedSilentInDoNotDisturbMode function
8197 int32_t result = proxy->IsNeedSilentInDoNotDisturbMode(phoneNumbe in HWTEST_F()
[all...]
/base/notification/distributed_notification_service/services/ans/src/
H A Dadvanced_notification_publish_service.cpp1772 ErrCode AdvancedNotificationService::IsNeedSilentInDoNotDisturbMode( in IsNeedSilentInDoNotDisturbMode() function in OHOS::Notification::AdvancedNotificationService
1779 ANS_LOGD("IsNeedSilentInDoNotDisturbMode CheckPermission failed."); in IsNeedSilentInDoNotDisturbMode()
1835 ANS_LOGI("IsNeedSilentInDoNotDisturbMode: %{public}d", isNeedSilent); in CheckNeedSilent()
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_manager_stub_test/
H A Dans_manager_stub_test.cpp5465 * @tc.desc: Test IsNeedSilentInDoNotDisturbMode return.
5473 ErrCode result = ansManagerStub_->IsNeedSilentInDoNotDisturbMode(phoneNumber, callerType); in HWTEST_F()

Completed in 68 milliseconds