HomeSort by relevance Sort by last modified time
    Searched refs:Pollable (Results 1 - 9 of 9) sorted by null

  /device/generic/goldfish/network/netmgr/
poller.h 21 #include "pollable.h"
27 void addPollable(Pollable* pollable);
32 std::vector<Pollable*> mPollables;
pollable.h 24 /* An interface for pollable classes.
26 class Pollable {
30 virtual ~Pollable() = default;
47 * the pollable. |fd| indicates which fd to read from. If the call returns
51 /* Called when an fd associated with the pollable is closed. |fd| indicates
poller.cpp 32 static struct timespec* calculateTimeout(Pollable::Timestamp deadline,
34 Pollable::Timestamp now = Pollable::Clock::now();
35 if (deadline < Pollable::Timestamp::max()) {
60 void Poller::addPollable(Pollable* pollable) {
61 mPollables.push_back(pollable);
84 std::unordered_map<int, Pollable*> pollables;
88 Pollable::Timestamp deadline = Pollable::Timestamp::max()
120 auto pollable = pollables.find(fd.fd); local
    [all...]
commander.h 19 #include "pollable.h"
27 class Commander : public Pollable {
46 Pollable::Timestamp mDeadline;
wifi_forwarder.h 20 #include "pollable.h"
30 class WifiForwarder : public Pollable {
37 // Pollable interface
49 Pollable::Timestamp mDeadline;
monitor.h 20 #include "pollable.h"
28 class Monitor : public Pollable {
40 // Pollable interface
commander.cpp 66 Pollable::Timestamp Commander::getTimeout() const {
153 mDeadline = Pollable::Clock::now() + std::chrono::minutes(1);
155 mDeadline = Pollable::Timestamp::max();
monitor.cpp 114 Pollable::Timestamp Monitor::getTimeout() const {
115 return Pollable::Timestamp::max();
wifi_forwarder.cpp 116 mDeadline(Pollable::Timestamp::max()),
136 mDeadline = Pollable::Clock::now() + std::chrono::minutes(1);
202 Pollable::Timestamp WifiForwarder::getTimeout() const {
205 return mPipeFd == -1 ? mDeadline : Pollable::Timestamp::max();

Completed in 552 milliseconds