/system/connectivity/shill/net/ |
D | rtnl_listener_unittest.cc | 50 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()
|
D | rtnl_handler.cc | 51 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 …]
|
D | rtnl_handler_unittest.cc | 82 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 …]
|
D | rtnl_handler.h | 48 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);
|
D | rtnl_listener.h | 26 class RTNLHandler; variable 35 RTNLHandler *rtnl_handler); 43 RTNLHandler *rtnl_handler_;
|
D | rtnl_listener.cc | 27 : RTNLListener{listen_flags, callback, RTNLHandler::GetInstance()} {} in RTNLListener() 31 RTNLHandler* rtnl_handler) in RTNLListener()
|
D | mock_rtnl_handler.h | 29 class MockRTNLHandler : public RTNLHandler {
|
/system/connectivity/dhcp_client/ |
D | device_info.cc | 30 using shill::RTNLHandler; 44 rtnl_handler_(RTNLHandler::GetInstance()) { in DeviceInfo()
|
D | device_info.h | 46 shill::RTNLHandler* rtnl_handler_;
|
/system/connectivity/shill/ |
D | daemon_task.h | 41 class RTNLHandler; variable 115 RTNLHandler* rtnl_handler_;
|
D | routing_table.h | 36 class RTNLHandler; variable 180 RTNLHandler* rtnl_handler_;
|
D | connection_diagnostics.h | 47 class RTNLHandler; variable 335 RTNLHandler* rtnl_handler_;
|
D | connection.h | 38 class RTNLHandler; variable 239 RTNLHandler* rtnl_handler_;
|
D | device_info.cc | 124 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()
|
D | device_info.h | 45 class RTNLHandler; variable 327 RTNLHandler* rtnl_handler_;
|
D | routing_table.cc | 73 rtnl_handler_(RTNLHandler::GetInstance()) { in RoutingTable() 87 new RTNLListener(RTNLHandler::kRequestRoute, route_callback_)); in Start() 88 rtnl_handler_->RequestDump(RTNLHandler::kRequestRoute); in Start()
|
D | device.h | 58 class RTNLHandler; variable 257 RTNLHandler* rtnl_handler() { return rtnl_handler_; } in rtnl_handler() 876 RTNLHandler* rtnl_handler_;
|
D | daemon_task.cc | 109 rtnl_handler_ = RTNLHandler::GetInstance(); in Init()
|
D | connection_diagnostics.cc | 159 rtnl_handler_(RTNLHandler::GetInstance()), in ConnectionDiagnostics() 517 new RTNLListener(RTNLHandler::kRequestNeighbor, in FindNeighborTableEntry() 520 rtnl_handler_->RequestDump(RTNLHandler::kRequestNeighbor); in FindNeighborTableEntry()
|
/system/connectivity/apmanager/ |
D | device_info.h | 35 class RTNLHandler; variable 112 shill::RTNLHandler* rtnl_handler_;
|
D | device_info.cc | 42 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()
|
D | dhcp_server.h | 61 shill::RTNLHandler* rtnl_handler_;
|
D | dhcp_server.cc | 58 rtnl_handler_(shill::RTNLHandler::GetInstance()), in DHCPServer()
|
/system/connectivity/shill/cellular/ |
D | modem.h | 133 RTNLHandler* rtnl_handler_;
|
D | modem.cc | 60 rtnl_handler_(RTNLHandler::GetInstance()), in Modem()
|