Searched refs:FlowControlService (Results 1 – 6 of 6) sorted by relevance
/ohos5.0/base/notification/distributed_notification_service/services/ans/test/unittest/ |
H A D | advanced_notification_flow_control_service_test.cpp | 66 result = FlowControlService::GetInstance()->FlowControl(record, callingUid, false); 69 result = FlowControlService::GetInstance()->FlowControl(record, callingUid, false); 76 result = FlowControlService::GetInstance()->FlowControl(record, callingUid, false); 79 result = FlowControlService::GetInstance()->FlowControl(record, callingUid, false); 86 result = FlowControlService::GetInstance()->FlowControl(record, callingUid, true); 89 result = FlowControlService::GetInstance()->FlowControl(record, callingUid, true); 96 result = FlowControlService::GetInstance()->FlowControl(record, callingUid, true); 99 result = FlowControlService::GetInstance()->FlowControl(record, callingUid, true);
|
/ohos5.0/base/notification/distributed_notification_service/services/ans/src/ |
H A D | advanced_notification_flow_control_service.cpp | 24 std::mutex FlowControlService::flowControlMutex_; 25 std::mutex FlowControlService::systemFlowControlMutex_; 26 std::mutex FlowControlService::singleAppFlowControlMutex_; 28 FlowControlService::FlowControlService() in FlowControlService() function in OHOS::Notification::FlowControlService 33 ErrCode FlowControlService::FlowControl(const std::shared_ptr<NotificationRecord> &record, in FlowControl() 50 ErrCode FlowControlService::PublishFlowCtrl(const std::shared_ptr<NotificationRecord> &record, in PublishFlowCtrl() 71 ErrCode FlowControlService::PublishGlobalFlowCtrl(const std::shared_ptr<NotificationRecord> &record, in PublishGlobalFlowCtrl() 127 void FlowControlService::PublishRecordTimestamp(const std::shared_ptr<NotificationRecord> &record, in PublishRecordTimestamp() 162 ErrCode FlowControlService::UpdateFlowCtrl(const std::shared_ptr<NotificationRecord> &record, in UpdateFlowCtrl() 183 ErrCode FlowControlService::UpdateGlobalFlowCtrl(const std::shared_ptr<NotificationRecord> &record, in UpdateGlobalFlowCtrl() [all …]
|
H A D | advanced_notification_utils.cpp | 972 … result = FlowControlService::GetInstance()->FlowControl(record, callingUid, isNotificationExists); in OnDistributedPublish() 1051 … result = FlowControlService::GetInstance()->FlowControl(record, callingUid, isNotificationExists); in OnDistributedUpdate()
|
H A D | advanced_notification_publish_service.cpp | 237 … result = FlowControlService::GetInstance()->FlowControl(record, ipcUid, isNotificationExists); in PublishNotificationForIndirectProxy() 2436 … result = FlowControlService::GetInstance()->FlowControl(record, ipcUid, isNotificationExists); in PublishNotificationBySa()
|
H A D | advanced_notification_service.cpp | 674 result = FlowControlService::GetInstance()->FlowControl(record, uid, isNotificationExists); in PublishPreparedNotification()
|
/ohos5.0/base/notification/distributed_notification_service/services/ans/include/ |
H A D | advanced_notification_flow_control_service.h | 38 class FlowControlService : public DelayedSingleton<FlowControlService> { 40 FlowControlService();
|