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()
DNetlinkManager.h25 class NetlinkManager {
27 static NetlinkManager* sInstance;
35 virtual ~NetlinkManager();
42 static NetlinkManager* Instance();
45 NetlinkManager();
Dmain.cpp80 NetlinkManager* nm; in main()
102 if (!(nm = NetlinkManager::Instance())) { in main()
DAndroid.bp129 "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.cpp69 using android::net::NetlinkManager;
154 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); in execIptables()
DWakeupControllerTest.cpp73 subscribe(NetlinkManager::NFLOG_WAKEUP_GROUP, kDefaultPacketCopyRange, _)) in WakeupControllerTest()
76 unsubscribe(NetlinkManager::NFLOG_WAKEUP_GROUP)).WillOnce(Return(ok)); in WakeupControllerTest()
DAndroid.bp58 "NetlinkManager.cpp",
DNetlinkHandler.cpp71 NetlinkHandler::NetlinkHandler(NetlinkManager *nm, int listenerSocket, in NetlinkHandler()
/system/connectivity/wificond/net/
Dnetlink_manager.cpp83 NetlinkManager::NetlinkManager(EventLoop* event_loop) in NetlinkManager() function in android::wificond::NetlinkManager
89 NetlinkManager::~NetlinkManager() { in ~NetlinkManager()
92 uint32_t NetlinkManager::GetSequenceNumber() { in GetSequenceNumber()
99 void NetlinkManager::ReceivePacketAndRunHandler(int fd) { in ReceivePacketAndRunHandler()
176 void NetlinkManager::OnNewFamily(unique_ptr<const NL80211Packet> packet) { in OnNewFamily()
223 bool NetlinkManager::Start() { in Start()
266 bool NetlinkManager::IsStarted() const { in IsStarted()
270 bool NetlinkManager::RegisterHandlerAndSendMessage( in RegisterHandlerAndSendMessage()
284 bool NetlinkManager::SendMessageAndGetResponses( in SendMessageAndGetResponses()
335 bool NetlinkManager::SendMessageAndGetSingleResponse( in SendMessageAndGetSingleResponse()
[all …]
Dnetlink_manager.h130 class NetlinkManager {
132 explicit NetlinkManager(EventLoop* event_loop);
133 virtual ~NetlinkManager();
343 DISALLOW_COPY_AND_ASSIGN(NetlinkManager);
Dnetlink_utils.h185 class NetlinkManager; variable
197 explicit NetlinkUtils(NetlinkManager* netlink_manager);
341 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.h66 explicit ScanUtils(NetlinkManager* netlink_manager);
204 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