Searched refs:read_result (Results 1 – 3 of 3) sorted by relevance
65 std::optional<monitor::ReadEventResult> read_result = in ReadLoop() local67 if (!read_result) { in ReadLoop()73 if (read_result->event == monitor::Event::BootStarted) { in ReadLoop()78 if (read_result->event == monitor::Event::BootCompleted) { in ReadLoop()83 if (read_result->event == monitor::Event::ScreenChanged) { in ReadLoop()86 message["metadata"] = read_result->metadata; in ReadLoop()89 if (read_result->event == monitor::Event::DisplayPowerModeChanged) { in ReadLoop()92 message["metadata"] = read_result->metadata; in ReadLoop()
371 std::optional<monitor::ReadEventResult> read_result = in OnBootEvtReceived() local373 if (!read_result) { in OnBootEvtReceived()379 if (read_result->event == monitor::Event::BootCompleted) { in OnBootEvtReceived()382 } else if (read_result->event == monitor::Event::BootFailed) { in OnBootEvtReceived()
129 auto read_result = monitor::ReadEvent(kernel_events_fd); in StartKernelEventMonitor() local130 CHECK(read_result.has_value()) << kernel_events_fd->StrError(); in StartKernelEventMonitor()131 if (read_result->event == monitor::Event::BootloaderLoaded) { in StartKernelEventMonitor()