/base/notification/distributed_notification_service/services/ans/src/ |
H A D | permission_filter.cpp | 34 bool isForceControl = false; in OnPublish() local 53 isForceControl = slot->GetForceControl(); in OnPublish() 63 if (!enable && !isForceControl) { in OnPublish()
|
H A D | advanced_notification_slot_service.cpp | 715 bool enabled, bool isForceControl) in AddSlotThenPublishEvent() 726 slot->SetForceControl(isForceControl); in AddSlotThenPublishEvent() 751 const NotificationConstant::SlotType &slotType, bool enabled, bool isForceControl) in SetEnabledForBundleSlotInner() 763 return AddSlotThenPublishEvent(slot, bundle, enabled, isForceControl); in SetEnabledForBundleSlotInner() 765 if (slot->GetEnable() == enabled && slot->GetForceControl() == isForceControl) { in SetEnabledForBundleSlotInner() 772 return AddSlotThenPublishEvent(slot, bundle, enabled, isForceControl); in SetEnabledForBundleSlotInner() 780 const NotificationConstant::SlotType &slotType, bool enabled, bool isForceControl) in SetEnabledForBundleSlot() 783 ANS_LOGD("slotType: %{public}d, enabled: %{public}d, isForceControl: %{public}d", in SetEnabledForBundleSlot() 784 slotType, enabled, isForceControl); in SetEnabledForBundleSlot() 797 result = SetEnabledForBundleSlotInner(bundleOption, bundle, slotType, enabled, isForceControl); in SetEnabledForBundleSlot() 712 AddSlotThenPublishEvent( const sptr<NotificationSlot> &slot, const sptr<NotificationBundleOption> &bundle, bool enabled, bool isForceControl) AddSlotThenPublishEvent() argument 748 SetEnabledForBundleSlotInner( const sptr<NotificationBundleOption> &bundleOption, const sptr<NotificationBundleOption> &bundle, const NotificationConstant::SlotType &slotType, bool enabled, bool isForceControl) SetEnabledForBundleSlotInner() argument 779 SetEnabledForBundleSlot(const sptr<NotificationBundleOption> &bundleOption, const NotificationConstant::SlotType &slotType, bool enabled, bool isForceControl) SetEnabledForBundleSlot() argument [all...] |
/base/notification/distributed_notification_service/interfaces/inner_api/ |
H A D | notification_slot.h | 310 * @param isForceControl Specifies whether is force control. 312 void SetForceControl(bool isForceControl);
|
H A D | notification_helper.h | 148 * @param isForceControl Indicates whether the slot is affected by the notification switch. 152 const NotificationConstant::SlotType &slotType, bool enabled, bool isForceControl);
|
/base/notification/distributed_notification_service/frameworks/core/src/ |
H A D | ans_manager_proxy_slot.cpp | 387 const NotificationConstant::SlotType &slotType, bool enabled, bool isForceControl) in SetEnabledForBundleSlot() 415 if (!data.WriteBool(isForceControl)) { in SetEnabledForBundleSlot() 416 ANS_LOGE("[SetEnabledForBundleSlot] fail: write isForceControl failed"); in SetEnabledForBundleSlot() 386 SetEnabledForBundleSlot(const sptr<NotificationBundleOption> &bundleOption, const NotificationConstant::SlotType &slotType, bool enabled, bool isForceControl) SetEnabledForBundleSlot() argument
|
H A D | ans_manager_stub_invalid.cpp | 548 const NotificationConstant::SlotType &slotType, bool enabled, bool isForceControl) in SetEnabledForBundleSlot() 547 SetEnabledForBundleSlot(const sptr<NotificationBundleOption> &bundleOption, const NotificationConstant::SlotType &slotType, bool enabled, bool isForceControl) SetEnabledForBundleSlot() argument
|
H A D | ans_manager_stub.cpp | 2219 bool isForceControl = false; in HandleSetEnabledForBundleSlot() local 2220 if (!data.ReadBool(isForceControl)) { in HandleSetEnabledForBundleSlot() 2221 ANS_LOGE("[HandleSetEnabledForBundleSlot] fail: read isForceControl failed."); in HandleSetEnabledForBundleSlot() 2225 ErrCode result = SetEnabledForBundleSlot(bundleOption, slotType, enabled, isForceControl); in HandleSetEnabledForBundleSlot()
|
H A D | ans_notification.cpp | 1668 const NotificationConstant::SlotType &slotType, bool enabled, bool isForceControl) in SetEnabledForBundleSlot() 1683 return proxy->SetEnabledForBundleSlot(bo, slotType, enabled, isForceControl); in SetEnabledForBundleSlot() 1667 SetEnabledForBundleSlot(const NotificationBundleOption &bundleOption, const NotificationConstant::SlotType &slotType, bool enabled, bool isForceControl) SetEnabledForBundleSlot() argument
|
/base/notification/distributed_notification_service/frameworks/ans/src/ |
H A D | notification_slot.cpp | 271 void NotificationSlot::SetForceControl(bool isForceControl) in SetForceControl() argument 273 isForceControl_ = isForceControl; in SetForceControl()
|
H A D | notification_helper.cpp | 461 const NotificationConstant::SlotType &slotType, bool enabled, bool isForceControl) in SetEnabledForBundleSlot() 464 slotType, enabled, isForceControl); in SetEnabledForBundleSlot() 460 SetEnabledForBundleSlot(const NotificationBundleOption &bundleOption, const NotificationConstant::SlotType &slotType, bool enabled, bool isForceControl) SetEnabledForBundleSlot() argument
|
/base/notification/distributed_notification_service/services/ans/test/unittest/notification_subscriber_manager_branch_test/ |
H A D | notification_subscriber_manager_branch_test.cpp | 1148 bool isForceControl = false;
in HWTEST_F() local 1153 ASSERT_EQ(advancedNotificationService.SetEnabledForBundleSlot(bundleOption, slotType, enabled, isForceControl),
in HWTEST_F() 1167 bool isForceControl = false;
in HWTEST_F() local 1173 ASSERT_EQ(advancedNotificationService.SetEnabledForBundleSlot(bundleOption, slotType, enabled, isForceControl),
in HWTEST_F()
|
/base/notification/distributed_notification_service/frameworks/js/napi/include/manager/ |
H A D | napi_slot.h | 147 bool isForceControl = false; member
|
/base/notification/distributed_notification_service/services/ans/include/ |
H A D | advanced_notification_service.h | 837 const NotificationConstant::SlotType &slotType, bool enabled, bool isForceControl) override; 1427 const NotificationConstant::SlotType &slotType, bool enabled, bool isForceControl); 1431 bool enabled, bool isForceControl);
|
/base/notification/distributed_notification_service/frameworks/core/include/ |
H A D | ans_manager_interface.h | 787 const NotificationConstant::SlotType &slotType, bool enabled, bool isForceControl) = 0;
|
H A D | ans_manager_proxy.h | 775 const NotificationConstant::SlotType &slotType, bool enabled, bool isForceControl) override;
|
H A D | ans_notification.h | 922 * @param isForceControl Indicates whether the slot is affected by the notification switch. 926 const NotificationConstant::SlotType &slotType, bool enabled, bool isForceControl);
|
H A D | ans_manager_stub.h | 777 const NotificationConstant::SlotType &slotType, bool enabled, bool isForceControl) override;
|
/base/notification/distributed_notification_service/services/ans/test/unittest/advanced_notification_service_test/ |
H A D | advanced_notification_service_publish_test.cpp | 72 void TestAddLiveViewSlot(bool isForceControl); 161 void AdvancedNotificationServiceTest::TestAddLiveViewSlot(bool isForceControl) in TestAddLiveViewSlot() argument 166 slot->SetForceControl(isForceControl); in TestAddLiveViewSlot()
|
/base/notification/distributed_notification_service/frameworks/js/napi/src/ |
H A D | slot.cpp | 158 bool isForceControl = false; member 1431 // argv[3]: maybe isForceControl or callback in ParseParametersEnableSlot() 1435 napi_get_value_bool(env, argv[PARAM3], ¶ms.isForceControl); in ParseParametersEnableSlot() 1479 asynccallbackinfo->params.isForceControl); in EnableNotificationSlot()
|
/base/notification/distributed_notification_service/services/ans/test/unittest/ |
H A D | advanced_notification_service_test.cpp | 72 void TestAddLiveViewSlot(bool isForceControl); 161 void AdvancedNotificationServiceTest::TestAddLiveViewSlot(bool isForceControl) in TestAddLiveViewSlot() argument 166 slot->SetForceControl(isForceControl); in TestAddLiveViewSlot() 1492 bool isForceControl = false; in HWTEST_F() local
|
H A D | advanced_notification_service_branch_test.cpp | 971 bool isForceControl = false; in HWTEST_F() local
|
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_branch_test/ |
H A D | ans_notification_branch_test.cpp | 470 const NotificationConstant::SlotType &slotType, bool enabled, bool isForceControl) override
|
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_test/ |
H A D | ans_notification_unit_test.cpp | 991 bool isForceControl = false;
in HWTEST_F() local 992 ErrCode ret1 = ans_->SetEnabledForBundleSlot(bundleOption, slotType, enabled, isForceControl);
in HWTEST_F()
|
/base/notification/distributed_notification_service/frameworks/js/napi/src/manager/ |
H A D | napi_slot.cpp | 772 asynccallbackinfo->params.isForceControl); in NapiEnableNotificationSlot()
|
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_manager_stub_test/ |
H A D | ans_manager_stub_test.cpp | 3774 bool isForceControl = false; in HWTEST_F() local 3780 data.WriteBool(isForceControl); in HWTEST_F()
|