/system/connectivity/shill/net/ |
D | netlink_manager.cc | 52 LazyInstance<NetlinkManager> g_netlink_manager = LAZY_INSTANCE_INITIALIZER; 55 const char NetlinkManager::kEventTypeConfig[] = "config"; 56 const char NetlinkManager::kEventTypeScan[] = "scan"; 57 const char NetlinkManager::kEventTypeRegulatory[] = "regulatory"; 58 const char NetlinkManager::kEventTypeMlme[] = "mlme"; 59 const long NetlinkManager::kMaximumNewFamilyWaitSeconds = 1; // NOLINT 60 const long NetlinkManager::kMaximumNewFamilyWaitMicroSeconds = 0; // NOLINT 61 const long NetlinkManager::kResponseTimeoutSeconds = 5; // NOLINT 62 const long NetlinkManager::kResponseTimeoutMicroSeconds = 0; // NOLINT 63 const long NetlinkManager::kPendingDumpTimeoutMilliseconds = 500; // NOLINT [all …]
|
D | netlink_manager_unittest.cc | 118 : netlink_manager_(NetlinkManager::GetInstance()), in NetlinkManagerTest() 207 const NetlinkManager::NetlinkMessageHandler& on_netlink_message() const { in on_netlink_message() 211 NetlinkManager::NetlinkMessageHandler on_netlink_message_; 222 void(NetlinkManager::AuxilliaryMessageType type, 224 const NetlinkManager::NetlinkAuxilliaryMessageHandler& on_netlink_message() in on_netlink_message() 229 NetlinkManager::NetlinkAuxilliaryMessageHandler on_netlink_message_; 239 const NetlinkManager::Nl80211MessageHandler& on_netlink_message() const { in on_netlink_message() 243 NetlinkManager::Nl80211MessageHandler on_netlink_message_; 253 const NetlinkManager::NetlinkAckHandler& on_netlink_message() const { in on_netlink_message() 257 NetlinkManager::NetlinkAckHandler on_netlink_message_; [all …]
|
D | netlink_manager.h | 108 class SHILL_EXPORT NetlinkManager { 192 static NetlinkManager* GetInstance(); 194 virtual ~NetlinkManager(); 273 friend struct base::DefaultLazyInstanceTraits<NetlinkManager>; 275 NetlinkManager(); 436 base::WeakPtrFactory<NetlinkManager> weak_ptr_factory_; 449 DISALLOW_COPY_AND_ASSIGN(NetlinkManager);
|
D | mock_netlink_manager.h | 31 class MockNetlinkManager : public NetlinkManager {
|
/system/vold/ |
D | NetlinkManager.cpp | 36 NetlinkManager *NetlinkManager::sInstance = NULL; 38 NetlinkManager *NetlinkManager::Instance() { in Instance() 40 sInstance = new NetlinkManager(); in Instance() 44 NetlinkManager::NetlinkManager() { in NetlinkManager() function in NetlinkManager 48 NetlinkManager::~NetlinkManager() { in ~NetlinkManager() 51 int NetlinkManager::start() { in start() 95 int NetlinkManager::stop() { in stop()
|
D | NetlinkManager.h | 25 class NetlinkManager { 27 static NetlinkManager *sInstance; 35 virtual ~NetlinkManager(); 43 static NetlinkManager *Instance(); 46 NetlinkManager();
|
D | main.cpp | 66 NetlinkManager *nm; in main() 90 if (!(nm = NetlinkManager::Instance())) { in main()
|
/system/netd/server/ |
D | NetlinkManager.cpp | 49 const int NetlinkManager::NFLOG_QUOTA_GROUP = 1; 50 const int NetlinkManager::NETFILTER_STRICT_GROUP = 2; 52 NetlinkManager *NetlinkManager::sInstance = NULL; 54 NetlinkManager *NetlinkManager::Instance() { in Instance() 56 sInstance = new NetlinkManager(); in Instance() 60 NetlinkManager::NetlinkManager() { in NetlinkManager() function in NetlinkManager 64 NetlinkManager::~NetlinkManager() { in ~NetlinkManager() 67 NetlinkHandler *NetlinkManager::setupSocket(int *sock, int netlinkFamily, in setupSocket() 127 int NetlinkManager::start() { in start() 158 int NetlinkManager::stop() { in stop()
|
D | NetlinkManager.h | 26 class NetlinkManager { 28 static NetlinkManager *sInstance; 42 virtual ~NetlinkManager(); 50 static NetlinkManager *Instance(); 58 NetlinkManager();
|
D | NetlinkHandler.h | 25 NetlinkManager *mNm; 28 NetlinkHandler(NetlinkManager *nm, int listenerSocket, int format);
|
D | main.cpp | 72 NetlinkManager *nm = NetlinkManager::Instance(); in main()
|
/system/connectivity/shill/wifi/ |
D | scan_session.h | 38 class NetlinkManager; variable 112 ScanSession(NetlinkManager* netlink_manager, 195 void OnTriggerScanErrorResponse(NetlinkManager::AuxilliaryMessageType type, 204 NetlinkManager* netlink_manager_;
|
D | mock_scan_session.h | 33 class NetlinkManager; variable 37 MockScanSession(NetlinkManager* netlink_manager,
|
D | scan_session.cc | 55 NetlinkManager* netlink_manager, in ScanSession() 218 Bind(&NetlinkManager::OnAckDoNothing), in DoScan() 231 NetlinkManager::AuxilliaryMessageType type, in OnTriggerScanErrorResponse() 234 case NetlinkManager::kErrorFromKernel: { in OnTriggerScanErrorResponse() 279 case NetlinkManager::kUnexpectedResponseType: in OnTriggerScanErrorResponse() 288 case NetlinkManager::kTimeoutWaitingForResponse: in OnTriggerScanErrorResponse()
|
D | mock_wake_on_wifi.cc | 23 MockWakeOnWiFi::MockWakeOnWiFi(NetlinkManager* netlink_manager, in MockWakeOnWiFi()
|
D | callback80211_metrics.h | 32 class NetlinkManager; variable
|
D | mock_scan_session.cc | 25 MockScanSession::MockScanSession(NetlinkManager* netlink_manager, in MockScanSession()
|
D | wake_on_wifi.h | 186 WakeOnWiFi(NetlinkManager* netlink_manager, EventDispatcher* dispatcher, 446 NetlinkManager::AuxilliaryMessageType type, 519 NetlinkManager* netlink_manager_;
|
D | mock_wake_on_wifi.h | 32 MockWakeOnWiFi(NetlinkManager* netlink_manager, EventDispatcher* dispatcher,
|
D | wake_on_wifi.cc | 91 NetlinkManager* netlink_manager, EventDispatcher* dispatcher, in WakeOnWiFi() 867 NetlinkManager::AuxilliaryMessageType type, in OnWakeOnWiFiSettingsErrorResponse() 871 case NetlinkManager::kErrorFromKernel: in OnWakeOnWiFiSettingsErrorResponse() 885 case NetlinkManager::kUnexpectedResponseType: in OnWakeOnWiFiSettingsErrorResponse() 890 case NetlinkManager::kTimeoutWaitingForResponse: in OnWakeOnWiFiSettingsErrorResponse() 927 Bind(&NetlinkManager::OnAckDoNothing), in RequestWakeOnPacketSettings() 928 Bind(&NetlinkManager::OnNetlinkMessageError)); in RequestWakeOnPacketSettings() 979 Bind(&NetlinkManager::OnAckDoNothing), in ApplyWakeOnWiFiSettings() 1011 Bind(&NetlinkManager::OnAckDoNothing), in DisableWakeOnWiFi()
|
/system/connectivity/apmanager/ |
D | device_info.cc | 39 using shill::NetlinkManager; 58 netlink_manager_(NetlinkManager::GetInstance()), in DeviceInfo() 102 Bind(&NetlinkManager::OnAckDoNothing), in EnumerateDevices() 103 Bind(&NetlinkManager::OnNetlinkMessageError)); in EnumerateDevices() 231 Bind(&NetlinkManager::OnAckDoNothing), in GetWiFiInterfaceInfo() 232 Bind(&NetlinkManager::OnNetlinkMessageError)); in GetWiFiInterfaceInfo() 276 Bind(&NetlinkManager::OnAckDoNothing), in GetWiFiInterfacePhyInfo() 277 Bind(&NetlinkManager::OnNetlinkMessageError)); in GetWiFiInterfacePhyInfo()
|
D | device_info.h | 33 class NetlinkManager; variable 111 shill::NetlinkManager* netlink_manager_;
|
/system/connectivity/shill/ |
D | NETLINK_MESSAGES.txt | 11 Shill defines a NetlinkManager class for dealing with the netlink sockets and 156 NetlinkManager::AuxilliaryMessageType type, 159 case NetlinkManager::kErrorFromKernel: { 161 LOG(ERROR) << __func__ << ": Message failed: NetlinkManager Error."; 180 case NetlinkManager::kUnexpectedResponseType: 189 case NetlinkManager::kTimeoutWaitingForResponse: 207 NetlinkManager::GetInstance()->SendNl80211Message( 222 void NetlinkManager::OnNewFamilyMessage(const ControlNetlinkMessage& message) { 290 Broadcast handlers are installed to the NetlinkManager as follows: 292 NetlinkManager::GetInstance()->AddBroadcastHandler(handler); [all …]
|
D | daemon_task.h | 44 class NetlinkManager; variable 120 NetlinkManager* netlink_manager_;
|
D | device_info.h | 50 class NetlinkManager; variable 329 NetlinkManager* netlink_manager_;
|