Home
last modified time | relevance | path

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

12

/system/vold/
DNetlinkManager.cpp34 NetlinkManager* NetlinkManager::sInstance = NULL;
36 NetlinkManager* NetlinkManager::Instance() { in Instance()
37 if (!sInstance) sInstance = new NetlinkManager(); in Instance()
41 NetlinkManager::NetlinkManager() { in NetlinkManager() function in NetlinkManager
45 NetlinkManager::~NetlinkManager() {} in ~NetlinkManager()
47 int NetlinkManager::start() { in start()
94 int NetlinkManager::stop() { in stop()
DNetlinkManager.h25 class NetlinkManager {
27 static NetlinkManager* sInstance;
35 virtual ~NetlinkManager();
43 static NetlinkManager* Instance();
46 NetlinkManager();
Dmain.cpp75 NetlinkManager* nm; in main()
95 if (!(nm = NetlinkManager::Instance())) { in main()
DAndroid.bp127 "NetlinkManager.cpp",
/system/netd/server/
DNetlinkManager.cpp48 const int NetlinkManager::NFLOG_QUOTA_GROUP = 1;
49 const int NetlinkManager::NETFILTER_STRICT_GROUP = 2;
50 const int NetlinkManager::NFLOG_WAKEUP_GROUP = 3;
52 NetlinkManager *NetlinkManager::sInstance = nullptr;
54 NetlinkManager *NetlinkManager::Instance() { in Instance()
56 sInstance = new NetlinkManager(); in Instance()
60 NetlinkManager::NetlinkManager() { in NetlinkManager() function in android::net::NetlinkManager
64 NetlinkManager::~NetlinkManager() { in ~NetlinkManager()
67 NetlinkHandler *NetlinkManager::setupSocket(int *sock, int netlinkFamily, in setupSocket()
132 int NetlinkManager::start() { in start()
[all …]
DNetlinkManager.h28 class NetlinkManager {
30 static NetlinkManager *sInstance;
44 virtual ~NetlinkManager();
52 static NetlinkManager *Instance();
62 NetlinkManager();
DNetlinkHandler.h32 NetlinkManager *mNm;
35 NetlinkHandler(NetlinkManager *nm, int listenerSocket, int format);
Dmain.cpp62 using android::net::NetlinkManager;
126 NetlinkManager *nm = NetlinkManager::Instance(); in main()
DWakeupController.cpp117 expectOk(mListener->unsubscribe(NetlinkManager::NFLOG_WAKEUP_GROUP)); in ~WakeupController()
190 return mListener->subscribe(NetlinkManager::NFLOG_WAKEUP_GROUP, in init()
215 prefix.c_str(), NetlinkManager::NFLOG_WAKEUP_GROUP, kBatch, mark, mask, kRateLimit); in execIptables()
DWakeupControllerTest.cpp73 subscribe(NetlinkManager::NFLOG_WAKEUP_GROUP, kDefaultPacketCopyRange, _)) in WakeupControllerTest()
76 unsubscribe(NetlinkManager::NFLOG_WAKEUP_GROUP)).WillOnce(Return(ok)); in WakeupControllerTest()
DNetlinkHandler.cpp71 NetlinkHandler::NetlinkHandler(NetlinkManager *nm, int listenerSocket, in NetlinkHandler()
DAndroid.bp129 "NetlinkManager.cpp",
/system/connectivity/wificond/net/
Dnetlink_manager.cpp80 NetlinkManager::NetlinkManager(EventLoop* event_loop) in NetlinkManager() function in android::wificond::NetlinkManager
86 NetlinkManager::~NetlinkManager() { in ~NetlinkManager()
89 uint32_t NetlinkManager::GetSequenceNumber() { in GetSequenceNumber()
96 void NetlinkManager::ReceivePacketAndRunHandler(int fd) { in ReceivePacketAndRunHandler()
170 void NetlinkManager::OnNewFamily(unique_ptr<const NL80211Packet> packet) { in OnNewFamily()
217 bool NetlinkManager::Start() { in Start()
259 bool NetlinkManager::IsStarted() const { in IsStarted()
263 bool NetlinkManager::RegisterHandlerAndSendMessage( in RegisterHandlerAndSendMessage()
277 bool NetlinkManager::SendMessageAndGetResponses( in SendMessageAndGetResponses()
326 bool NetlinkManager::SendMessageAndGetSingleResponse( in SendMessageAndGetSingleResponse()
[all …]
Dnetlink_manager.h128 class NetlinkManager {
130 explicit NetlinkManager(EventLoop* event_loop);
131 virtual ~NetlinkManager();
333 DISALLOW_COPY_AND_ASSIGN(NetlinkManager);
Dnetlink_utils.h155 class NetlinkManager; variable
167 explicit NetlinkUtils(NetlinkManager* netlink_manager);
289 NetlinkManager* netlink_manager_;
/system/connectivity/wificond/tests/
Dmock_netlink_manager.cpp23 : NetlinkManager(nullptr) { in MockNetlinkManager()
Dmock_scan_utils.cpp22 MockScanUtils::MockScanUtils(NetlinkManager* netlink_manager) in MockScanUtils()
Dmock_netlink_utils.cpp22 MockNetlinkUtils::MockNetlinkUtils(NetlinkManager* netlink_manager) in MockNetlinkUtils()
Dnetlink_manager_unittest.cpp37 NetlinkManager netlink_manager(event_loop_.get()); in TEST_F()
Dmock_netlink_manager.h30 class MockNetlinkManager : public NetlinkManager {
Dmock_scan_utils.h29 MockScanUtils(NetlinkManager* netlink_manager);
Dmock_netlink_utils.h29 MockNetlinkUtils(NetlinkManager* netlink_manager);
/system/connectivity/wificond/scanning/
Dscan_utils.h68 explicit ScanUtils(NetlinkManager* netlink_manager);
201 NetlinkManager* netlink_manager_;
Dscan_utils.cpp49 ScanUtils::ScanUtils(NetlinkManager* netlink_manager) in ScanUtils()
/system/connectivity/wificond/
Dmain.cpp120 android::wificond::NetlinkManager netlink_manager(event_dispatcher.get()); in main()

12