Home
last modified time | relevance | path

Searched refs:NetlinkManager (Results 1 – 25 of 34) sorted by relevance

12

/system/connectivity/shill/net/
Dnetlink_manager.cc52 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 …]
Dnetlink_manager_unittest.cc118 : 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 …]
Dnetlink_manager.h108 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);
Dmock_netlink_manager.h31 class MockNetlinkManager : public NetlinkManager {
/system/vold/
DNetlinkManager.cpp36 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()
DNetlinkManager.h25 class NetlinkManager {
27 static NetlinkManager *sInstance;
35 virtual ~NetlinkManager();
43 static NetlinkManager *Instance();
46 NetlinkManager();
Dmain.cpp66 NetlinkManager *nm; in main()
90 if (!(nm = NetlinkManager::Instance())) { in main()
/system/netd/server/
DNetlinkManager.cpp49 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()
DNetlinkManager.h26 class NetlinkManager {
28 static NetlinkManager *sInstance;
42 virtual ~NetlinkManager();
50 static NetlinkManager *Instance();
58 NetlinkManager();
DNetlinkHandler.h25 NetlinkManager *mNm;
28 NetlinkHandler(NetlinkManager *nm, int listenerSocket, int format);
Dmain.cpp72 NetlinkManager *nm = NetlinkManager::Instance(); in main()
/system/connectivity/shill/wifi/
Dscan_session.h38 class NetlinkManager; variable
112 ScanSession(NetlinkManager* netlink_manager,
195 void OnTriggerScanErrorResponse(NetlinkManager::AuxilliaryMessageType type,
204 NetlinkManager* netlink_manager_;
Dmock_scan_session.h33 class NetlinkManager; variable
37 MockScanSession(NetlinkManager* netlink_manager,
Dscan_session.cc55 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()
Dmock_wake_on_wifi.cc23 MockWakeOnWiFi::MockWakeOnWiFi(NetlinkManager* netlink_manager, in MockWakeOnWiFi()
Dcallback80211_metrics.h32 class NetlinkManager; variable
Dmock_scan_session.cc25 MockScanSession::MockScanSession(NetlinkManager* netlink_manager, in MockScanSession()
Dwake_on_wifi.h186 WakeOnWiFi(NetlinkManager* netlink_manager, EventDispatcher* dispatcher,
446 NetlinkManager::AuxilliaryMessageType type,
519 NetlinkManager* netlink_manager_;
Dmock_wake_on_wifi.h32 MockWakeOnWiFi(NetlinkManager* netlink_manager, EventDispatcher* dispatcher,
Dwake_on_wifi.cc91 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/
Ddevice_info.cc39 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()
Ddevice_info.h33 class NetlinkManager; variable
111 shill::NetlinkManager* netlink_manager_;
/system/connectivity/shill/
DNETLINK_MESSAGES.txt11 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 …]
Ddaemon_task.h44 class NetlinkManager; variable
120 NetlinkManager* netlink_manager_;
Ddevice_info.h50 class NetlinkManager; variable
329 NetlinkManager* netlink_manager_;

12