Home
last modified time | relevance | path

Searched refs:events_ (Results 1 – 9 of 9) sorted by relevance

/system/core/fastboot/
Dsocket_mock.cpp36 if (!events_.empty()) { in ~SocketMock()
37 ADD_FAILURE() << events_.size() << " event(s) were not handled"; in ~SocketMock()
42 if (events_.empty()) { in Send()
47 if (events_.front().type != EventType::kSend) { in Send()
53 if (events_.front().message != message) { in Send()
54 ADD_FAILURE() << "Send() expected " << events_.front().message << ", but got " << message; in Send()
58 bool return_value = events_.front().status; in Send()
59 events_.pop(); in Send()
74 if (events_.empty()) { in Receive()
79 const Event& event = events_.front(); in Receive()
[all …]
Dsocket_mock.h96 std::queue<Event> events_; variable
/system/core/libappfuse/
DEpollController.cc28 events_.resize(event_count); in Wait()
29 const int result = TEMP_FAILURE_RETRY(epoll_wait(poll_fd_, events_.data(), event_count, -1)); in Wait()
34 events_.resize(result); in Wait()
51 return events_; in events()
/system/extras/simpleperf/
DIOEventLoop.cpp43 events_.clear(); in ~IOEventLoop()
129 events_.push_back(std::move(e)); in AddEvent()
130 return events_.back().get(); in AddEvent()
177 for (auto it = loop->events_.begin(); it != loop->events_.end(); ++it) { in DelEvent()
179 loop->events_.erase(it); in DelEvent()
DIOEventLoop.h82 std::vector<std::unique_ptr<IOEvent>> events_; variable
/system/core/libappfuse/include/libappfuse/
DEpollController.h45 std::vector<epoll_event> events_; variable
/system/extras/perfprofd/quipper/
Dperf_reader.h161 return events_; in events()
264 std::vector<malloced_unique_ptr<event_t>> events_; variable
Dperf_parser.cc63 parsed_events_.resize(events_.size()); in ParseRawEvents()
64 for (size_t i = 0; i < events_.size(); ++i) { in ParseRawEvents()
66 parsed_event.raw_event = events_[i].get(); in ParseRawEvents()
Dperf_reader.cc774 for (size_t i = 0; i < events_.size(); ++i) { in GetFilenamesAsSet()
775 const event_t& event = *events_[i]; in GetFilenamesAsSet()
1101 DLOG(INFO) << "Number of events stored: "<< events_.size(); in ReadData()
1524 events_.push_back(std::move(event_copy)); in ReadPerfEventBlock()
1639 for (size_t i = 0; i < events_.size(); ++i) { in LocalizeMMapFilenames()
1642 event_t* event = events_[i].get(); in LocalizeMMapFilenames()
1682 events_[i] = std::move(new_event); in LocalizeMMapFilenames()
1683 event = events_[i].get(); in LocalizeMMapFilenames()