Home
last modified time | relevance | path

Searched refs:NetPolicyFileEventHandler (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/communication/netmanager_base/services/netpolicymanager/src/common/
H A Dnet_policy_file_event_handler.cpp42 NetPolicyFileEventHandler::NetPolicyFileEventHandler(const char *queueName) : netPolicyFileEventQue… in NetPolicyFileEventHandler() function in OHOS::NetManagerStandard::NetPolicyFileEventHandler
44 void NetPolicyFileEventHandler::SendWriteEvent(AppExecFwk::InnerEvent::Pointer &event) in SendWriteEvent()
49 void NetPolicyFileEventHandler::SendEvent(const AppExecFwk::InnerEvent::Pointer &event, uint32_t de… in SendEvent()
57 void NetPolicyFileEventHandler::ProcessEvent(uint32_t eventId, std::shared_ptr<PolicyFileEvent> eve… in ProcessEvent()
90 bool NetPolicyFileEventHandler::Write() in Write()
115 bool NetPolicyFileEventHandler::DeleteBak() in DeleteBak()
/ohos5.0/foundation/communication/netmanager_base/services/netpolicymanager/include/
H A Dnet_policy_file_event_handler.h33 class NetPolicyFileEventHandler {
39 explicit NetPolicyFileEventHandler(const char *queueName);
40 virtual ~NetPolicyFileEventHandler() = default;
H A Dnet_policy_file.h175 std::shared_ptr<NetPolicyFileEventHandler> GetHandler();
/ohos5.0/foundation/communication/netmanager_base/services/netpolicymanager/src/core/
H A Dnet_policy_file.cpp90 … auto event = AppExecFwk::InnerEvent::Get(NetPolicyFileEventHandler::MSG_POLICY_FILE_WRITE, data); in WriteFile()
530 std::shared_ptr<NetPolicyFileEventHandler> NetPolicyFile::GetHandler() in GetHandler()
532 static auto handler = [this]() -> std::shared_ptr<NetPolicyFileEventHandler> { in GetHandler()
533 return std::make_shared<NetPolicyFileEventHandler>(NET_POLICY_WORK_THREAD); in GetHandler()