/base/notification/distributed_notification_service/frameworks/ans/src/ |
H A D | notification_helper.cpp | 383 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 D | notification_helper.h | 727 static ErrCode IsNeedSilentInDoNotDisturbMode(const std::string &phoneNumber, int32_t callerType);
|
/base/notification/distributed_notification_service/services/ans/test/unittest/ |
H A D | advanced_notification_service_branch_test.cpp | 1200 * @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 D | advanced_notification_service_test.cpp | 1561 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 D | ans_manager_interface.h | 585 virtual ErrCode IsNeedSilentInDoNotDisturbMode(const std::string &phoneNumber, int32_t callerType) = 0;
|
H A D | ans_manager_proxy.h | 573 ErrCode IsNeedSilentInDoNotDisturbMode(const std::string &phoneNumber, int32_t callerType) override;
|
H A D | ans_notification.h | 712 ErrCode IsNeedSilentInDoNotDisturbMode(const std::string &phoneNumber, int32_t callerType);
|
H A D | ans_manager_stub.h | 573 virtual ErrCode IsNeedSilentInDoNotDisturbMode(const std::string &phoneNumber, int32_t callerType) override;
|
/base/notification/distributed_notification_service/frameworks/core/src/ |
H A D | ans_manager_stub_invalid.cpp | 415 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 D | ans_manager_proxy_disturb.cpp | 430 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 D | ans_notification.cpp | 1164 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 D | ans_manager_stub.cpp | 1054 ErrCode result = IsNeedSilentInDoNotDisturbMode(phoneNumber, callerType); in HandleIsNeedSilentInDoNotDisturbMode()
|
/base/notification/distributed_notification_service/test/fuzztest/advancednotificationservice_fuzzer/ |
H A D | advancednotificationservice_fuzzer.cpp | 189 service->IsNeedSilentInDoNotDisturbMode(phoneNumber, fuzzData.GenerateRandomInt32()); in DoSomethingInterestingWithMyAPI()
|
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_branch_test/ |
H A D | ans_notification_branch_test.cpp | 348 ErrCode IsNeedSilentInDoNotDisturbMode(const std::string &phoneNumber, int32_t callerType) override
|
/base/notification/distributed_notification_service/frameworks/ans/test/unittest/ |
H A D | notification_helper_test.cpp | 1311 * @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 D | advanced_notification_service.h | 630 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 D | notification_subscriber_manager_branch_test.cpp | 1322 * @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 D | ans_notification_unit_test.cpp | 1515 * @tc.desc: test IsNeedSilentInDoNotDisturbMode.
1528 ErrCode ret = ans_->IsNeedSilentInDoNotDisturbMode(phoneNumber, callerType);
in HWTEST_F()
|
/base/telephony/call_manager/services/call/src/ |
H A D | call_status_manager.cpp | 1582 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 D | ans_manager_proxy_unit_test.cpp | 8095 * @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 D | advanced_notification_publish_service.cpp | 1772 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 D | ans_manager_stub_test.cpp | 5465 * @tc.desc: Test IsNeedSilentInDoNotDisturbMode return. 5473 ErrCode result = ansManagerStub_->IsNeedSilentInDoNotDisturbMode(phoneNumber, callerType); in HWTEST_F()
|