Home
last modified time | relevance | path

Searched refs:Monitor (Results 1 – 3 of 3) sorted by relevance

/device/generic/goldfish/network/netmgr/
Dmonitor.cpp31 Monitor::Monitor() : mSocketFd(-1) { in Monitor() function in Monitor
35 Monitor::~Monitor() { in ~Monitor()
39 Result Monitor::init() { in init()
47 void Monitor::setOnInterfaceState(OnInterfaceStateCallback callback) { in setOnInterfaceState()
51 bool Monitor::onReadAvailable(int /*fd*/, int* /*status*/) { in onReadAvailable()
96 bool Monitor::onClose(int /*fd*/, int* status) { in onClose()
108 bool Monitor::onTimeout(int* /*status*/) { in onTimeout()
112 void Monitor::getPollData(std::vector<pollfd>* fds) const { in getPollData()
118 Pollable::Timestamp Monitor::getTimeout() const { in getTimeout()
122 Result Monitor::openSocket() { in openSocket()
[all …]
Dmonitor.h28 class Monitor : public Pollable {
33 Monitor();
34 ~Monitor();
Dmain.cpp102 Monitor monitor; in main()