Home
last modified time | relevance | path

Searched refs:RTNLHandler (Results 1 – 25 of 31) sorted by relevance

12

/system/connectivity/shill/net/
Drtnl_listener_unittest.cc50 RTNLHandler::GetInstance()->listeners_.clear(); in SetUp()
59 RTNLListener listener(RTNLHandler::kRequestAddr, callback_); in TEST_F()
60 EXPECT_EQ(1, RTNLHandler::GetInstance()->listeners_.size()); in TEST_F()
63 listener.NotifyEvent(RTNLHandler::kRequestLink, message); in TEST_F()
65 EXPECT_EQ(0, RTNLHandler::GetInstance()->listeners_.size()); in TEST_F()
71 RTNLHandler::kRequestLink | RTNLHandler::kRequestAddr, in TEST_F()
73 EXPECT_EQ(1, RTNLHandler::GetInstance()->listeners_.size()); in TEST_F()
76 listener.NotifyEvent(RTNLHandler::kRequestLink, message); in TEST_F()
78 EXPECT_EQ(0, RTNLHandler::GetInstance()->listeners_.size()); in TEST_F()
Drtnl_handler.cc51 const int RTNLHandler::kReceiveBufferSize = 512 * 1024;
52 const int RTNLHandler::kInvalidSocket = -1;
53 const int RTNLHandler::kErrorWindowSize = 16;
56 base::LazyInstance<RTNLHandler> g_rtnl_handler = LAZY_INSTANCE_INITIALIZER;
59 RTNLHandler::RTNLHandler() in RTNLHandler() function in shill::RTNLHandler
66 rtnl_callback_(Bind(&RTNLHandler::ParseRTNL, Unretained(this))), in RTNLHandler()
73 RTNLHandler::~RTNLHandler() { in ~RTNLHandler()
78 RTNLHandler* RTNLHandler::GetInstance() { in GetInstance()
82 void RTNLHandler::Start(uint32_t netlink_groups_mask) { in Start()
115 Bind(&RTNLHandler::OnReadError, Unretained(this)))); in Start()
[all …]
Drtnl_handler_unittest.cc82 RTNLHandler::GetInstance()->io_handler_factory_ = &io_handler_factory_; in SetUp()
83 RTNLHandler::GetInstance()->sockets_.reset(sockets_); in SetUp()
87 RTNLHandler::GetInstance()->Stop(); in TearDown()
91 return RTNLHandler::GetInstance()->request_sequence_; in GetRequestSequence()
95 RTNLHandler::GetInstance()->request_sequence_ = sequence; in SetRequestSequence()
99 return RTNLHandler::GetInstance()->IsSequenceInErrorMaskWindow(sequence); in IsSequenceInErrorMaskWindow()
103 const RTNLHandler::ErrorMask& error_mask) { in SetErrorMask()
104 return RTNLHandler::GetInstance()->SetErrorMask(sequence, error_mask); in SetErrorMask()
107 RTNLHandler::ErrorMask GetAndClearErrorMask(uint32_t sequence) { in GetAndClearErrorMask()
108 return RTNLHandler::GetInstance()->GetAndClearErrorMask(sequence); in GetAndClearErrorMask()
[all …]
Drtnl_handler.h48 class SHILL_EXPORT RTNLHandler {
60 virtual ~RTNLHandler();
63 static RTNLHandler* GetInstance();
126 RTNLHandler();
129 friend struct base::DefaultLazyInstanceTraits<RTNLHandler>;
194 DISALLOW_COPY_AND_ASSIGN(RTNLHandler);
Drtnl_listener.h26 class RTNLHandler; variable
35 RTNLHandler *rtnl_handler);
43 RTNLHandler *rtnl_handler_;
Drtnl_listener.cc27 : RTNLListener{listen_flags, callback, RTNLHandler::GetInstance()} {} in RTNLListener()
31 RTNLHandler* rtnl_handler) in RTNLListener()
Dmock_rtnl_handler.h29 class MockRTNLHandler : public RTNLHandler {
/system/connectivity/dhcp_client/
Ddevice_info.cc30 using shill::RTNLHandler;
44 rtnl_handler_(RTNLHandler::GetInstance()) { in DeviceInfo()
Ddevice_info.h46 shill::RTNLHandler* rtnl_handler_;
/system/connectivity/shill/
Ddaemon_task.h41 class RTNLHandler; variable
115 RTNLHandler* rtnl_handler_;
Drouting_table.h36 class RTNLHandler; variable
180 RTNLHandler* rtnl_handler_;
Dconnection_diagnostics.h47 class RTNLHandler; variable
335 RTNLHandler* rtnl_handler_;
Dconnection.h38 class RTNLHandler; variable
239 RTNLHandler* rtnl_handler_;
Ddevice_info.cc124 rtnl_handler_(RTNLHandler::GetInstance()), in DeviceInfo()
140 rtnl_handler_->RequestDump(RTNLHandler::kRequestLink); in AddDeviceToBlackList()
150 rtnl_handler_->RequestDump(RTNLHandler::kRequestLink); in RemoveDeviceFromBlackList()
160 new RTNLListener(RTNLHandler::kRequestLink, link_callback_)); in Start()
162 new RTNLListener(RTNLHandler::kRequestAddr, address_callback_)); in Start()
164 new RTNLListener(RTNLHandler::kRequestRdnss, rdnss_callback_)); in Start()
165 rtnl_handler_->RequestDump(RTNLHandler::kRequestLink | in Start()
166 RTNLHandler::kRequestAddr); in Start()
1209 rtnl_handler_->RequestDump(RTNLHandler::kRequestLink); in RequestLinkStatistics()
Ddevice_info.h45 class RTNLHandler; variable
327 RTNLHandler* rtnl_handler_;
Drouting_table.cc73 rtnl_handler_(RTNLHandler::GetInstance()) { in RoutingTable()
87 new RTNLListener(RTNLHandler::kRequestRoute, route_callback_)); in Start()
88 rtnl_handler_->RequestDump(RTNLHandler::kRequestRoute); in Start()
Ddevice.h58 class RTNLHandler; variable
257 RTNLHandler* rtnl_handler() { return rtnl_handler_; } in rtnl_handler()
876 RTNLHandler* rtnl_handler_;
Ddaemon_task.cc109 rtnl_handler_ = RTNLHandler::GetInstance(); in Init()
Dconnection_diagnostics.cc159 rtnl_handler_(RTNLHandler::GetInstance()), in ConnectionDiagnostics()
517 new RTNLListener(RTNLHandler::kRequestNeighbor, in FindNeighborTableEntry()
520 rtnl_handler_->RequestDump(RTNLHandler::kRequestNeighbor); in FindNeighborTableEntry()
/system/connectivity/apmanager/
Ddevice_info.h35 class RTNLHandler; variable
112 shill::RTNLHandler* rtnl_handler_;
Ddevice_info.cc42 using shill::RTNLHandler;
59 rtnl_handler_(RTNLHandler::GetInstance()), in DeviceInfo()
85 new RTNLListener(RTNLHandler::kRequestLink, link_callback_)); in Start()
87 rtnl_handler_->RequestDump(RTNLHandler::kRequestLink); in Start()
Ddhcp_server.h61 shill::RTNLHandler* rtnl_handler_;
Ddhcp_server.cc58 rtnl_handler_(shill::RTNLHandler::GetInstance()), in DHCPServer()
/system/connectivity/shill/cellular/
Dmodem.h133 RTNLHandler* rtnl_handler_;
Dmodem.cc60 rtnl_handler_(RTNLHandler::GetInstance()), in Modem()

12