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.cpp70 NetlinkManager* nm; in main()
90 if (!(nm = NetlinkManager::Instance())) { in main()
DAndroid.bp117 "NetlinkManager.cpp",
/system/netd/server/
DNetlinkManager.cpp47 const int NetlinkManager::NFLOG_QUOTA_GROUP = 1;
48 const int NetlinkManager::NETFILTER_STRICT_GROUP = 2;
49 const int NetlinkManager::NFLOG_WAKEUP_GROUP = 3;
51 NetlinkManager *NetlinkManager::sInstance = nullptr;
53 NetlinkManager *NetlinkManager::Instance() { in Instance()
55 sInstance = new NetlinkManager(); in Instance()
59 NetlinkManager::NetlinkManager() { in NetlinkManager() function in android::net::NetlinkManager
63 NetlinkManager::~NetlinkManager() { in ~NetlinkManager()
66 NetlinkHandler *NetlinkManager::setupSocket(int *sock, int netlinkFamily, in setupSocket()
131 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;
120 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()
DAndroid.bp83 "NetlinkManager.cpp",
DNetlinkHandler.cpp71 NetlinkHandler::NetlinkHandler(NetlinkManager *nm, int listenerSocket, in NetlinkHandler()
/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_netlink_utils.cpp22 MockNetlinkUtils::MockNetlinkUtils(NetlinkManager* netlink_manager) in MockNetlinkUtils()
Dmock_scan_utils.cpp22 MockScanUtils::MockScanUtils(NetlinkManager* netlink_manager) in MockScanUtils()
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.cpp136 android::wificond::NetlinkManager netlink_manager(event_dispatcher.get()); in main()

12