Home
last modified time | relevance | path

Searched refs:MonitoredEventType (Results 1 – 4 of 4) sorted by relevance

/hardware/google/gfxstream/guest/android-emu/aemu/base/
DAndroidHealthMonitor.cpp42 auto event = std::make_unique<MonitoredEvent>(typename MonitoredEventType::EndMonitoring{}); in ~HealthMonitor()
66 auto event = std::make_unique<MonitoredEvent>(typename MonitoredEventType::Start{ in startMonitoringTask()
80 typename MonitoredEventType::Touch{.id = id, .timeOccurred = Clock::now()}); in touchMonitoredTask()
88 typename MonitoredEventType::Stop{.id = id, .timeOccurred = Clock::now()}); in stopMonitoringTask()
95 auto event = std::make_unique<MonitoredEvent>(typename MonitoredEventType::Poll{}); in poll()
97 std::get<typename MonitoredEventType::Poll>(*event).complete.get_future(); in poll()
138 [this, &events](typename MonitoredEventType::Start& event) { in main()
166 [this, &events](typename MonitoredEventType::Touch& event) { in main()
179 &events](typename MonitoredEventType::Stop& event) { in main()
195 [&keepMonitoring](typename MonitoredEventType::EndMonitoring&) { in main()
[all …]
DAndroidHealthMonitor.h108 struct MonitoredEventType { struct
133 std::variant<std::monostate, typename MonitoredEventType::Start, argument
134 typename MonitoredEventType::Touch, typename MonitoredEventType::Stop,
135 typename MonitoredEventType::EndMonitoring, typename MonitoredEventType::Poll>;
/hardware/google/aemu/base/
DHealthMonitor.cpp50 auto event = std::make_unique<MonitoredEvent>(typename MonitoredEventType::EndMonitoring{}); in ~HealthMonitor()
73 auto event = std::make_unique<MonitoredEvent>(typename MonitoredEventType::Start{ in startMonitoringTask()
87 typename MonitoredEventType::Touch{.id = id, .timeOccurred = Clock::now()}); in touchMonitoredTask()
95 typename MonitoredEventType::Stop{.id = id, .timeOccurred = Clock::now()}); in stopMonitoringTask()
102 auto event = std::make_unique<MonitoredEvent>(typename MonitoredEventType::Poll{}); in poll()
104 std::get<typename MonitoredEventType::Poll>(*event).complete.get_future(); in poll()
144 [this, &events](typename MonitoredEventType::Start& event) { in main()
171 [this, &events](typename MonitoredEventType::Touch& event) { in main()
183 &events](typename MonitoredEventType::Stop& event) { in main()
198 [&keepMonitoring](typename MonitoredEventType::EndMonitoring& event) { in main()
[all …]
/hardware/google/aemu/base/include/aemu/base/
DHealthMonitor.h109 struct MonitoredEventType { struct
134 std::variant<std::monostate, typename MonitoredEventType::Start, argument
135 typename MonitoredEventType::Touch, typename MonitoredEventType::Stop,
136 typename MonitoredEventType::EndMonitoring, typename MonitoredEventType::Poll>;