Home
last modified time | relevance | path

Searched refs:HostapdMonitor (Results 1 – 7 of 7) sorted by relevance

/system/connectivity/apmanager/
Dhostapd_monitor.cc38 const char HostapdMonitor::kLocalPathFormat[] =
41 const char HostapdMonitor::kLocalPathFormat[] =
45 const char HostapdMonitor::kHostapdCmdAttach[] = "ATTACH";
46 const char HostapdMonitor::kHostapdRespOk[] = "OK\n";
47 const char HostapdMonitor::kHostapdEventStationConnected[] = "AP-STA-CONNECTED";
48 const char HostapdMonitor::kHostapdEventStationDisconnected[] =
50 const int HostapdMonitor::kHostapdCtrlIfaceCheckIntervalMs = 500;
51 const int HostapdMonitor::kHostapdCtrlIfaceCheckMaxAttempts = 5;
52 const int HostapdMonitor::kHostapdAttachTimeoutMs = 1000;
53 const int HostapdMonitor::kInvalidSocket = -1;
[all …]
Dhostapd_monitor_unittest.cc50 void(HostapdMonitor::Event event, const std::string& data));
52 const HostapdMonitor::EventCallback event_callback() { in event_callback()
57 HostapdMonitor::EventCallback event_callback_;
81 HostapdMonitor hostapd_monitor_;
102 OnEventCallback(HostapdMonitor::kStationConnected, in TEST_F()
113 OnEventCallback(HostapdMonitor::kStationDisconnected, in TEST_F()
Dhostapd_monitor.h40 class HostapdMonitor {
52 HostapdMonitor(const EventCallback& callback_,
55 virtual ~HostapdMonitor();
98 base::WeakPtrFactory<HostapdMonitor> weak_ptr_factory_;
105 DISALLOW_COPY_AND_ASSIGN(HostapdMonitor);
Dservice.cc161 new HostapdMonitor(base::Bind(&Service::HostapdEventCallback, in StartInternal()
308 void Service::HostapdEventCallback(HostapdMonitor::Event event, in HostapdEventCallback()
311 case HostapdMonitor::kHostapdFailed: in HostapdEventCallback()
314 case HostapdMonitor::kHostapdStarted: in HostapdEventCallback()
317 case HostapdMonitor::kStationConnected: in HostapdEventCallback()
320 case HostapdMonitor::kStationDisconnected: in HostapdEventCallback()
Dservice.h101 void HostapdEventCallback(HostapdMonitor::Event event,
113 std::unique_ptr<HostapdMonitor> hostapd_monitor_;
Dmock_hostapd_monitor.cc22 : HostapdMonitor(EventCallback(), "", "") {} in MockHostapdMonitor()
Dmock_hostapd_monitor.h26 class MockHostapdMonitor : public HostapdMonitor {