Searched refs:events_ (Results 1 – 9 of 9) sorted by relevance
/system/core/fastboot/ |
D | socket_mock.cpp | 36 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 …]
|
D | socket_mock.h | 95 std::queue<Event> events_; variable
|
/system/core/libappfuse/ |
D | EpollController.cc | 28 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/netd/tests/ |
D | TestUnsolService.cpp | 84 events_.push_back(StringPrintf("onInterfaceClassActivityChanged %d %d %" PRId64 "%d", isActive, in onInterfaceClassActivityChanged() 91 events_.push_back(StringPrintf("onQuotaLimitReached %s %s", alertName.c_str(), ifName.c_str())); in onQuotaLimitReached() 98 events_.push_back(StringPrintf("onInterfaceDnsServerInfo %s %" PRId64 "%s", ifName.c_str(), in onInterfaceDnsServerInfo() 112 events_.push_back(StringPrintf("onInterfaceAddressRemoved %s %s %d %d", addr.c_str(), in onInterfaceAddressRemoved() 128 events_.push_back(StringPrintf("onInterfaceChanged %s %d", ifName.c_str(), status)); in onInterfaceChanged() 144 events_.push_back(StringPrintf("onStrictCleartextDetected %d %s", uid, hex.c_str())); in onStrictCleartextDetected()
|
D | TestUnsolService.h | 51 const std::vector<std::string>& getEvents() const { return events_; } in getEvents() 52 void clearEvents() { events_.clear(); } in clearEvents() 80 std::vector<std::string> events_; variable
|
/system/extras/simpleperf/ |
D | IOEventLoop.cpp | 46 events_.clear(); in ~IOEventLoop() 166 events_.push_back(std::move(e)); in AddEvent() 167 return events_.back().get(); in AddEvent() 221 for (auto it = loop->events_.begin(); it != loop->events_.end(); ++it) { in DelEvent() 223 loop->events_.erase(it); in DelEvent()
|
D | report_lib_interface.cpp | 189 std::vector<EventInfo> events_; member in ReportLib 358 if (events_.empty()) { in FindEventOfCurrentSample() 368 return &events_[attr_index]; in FindEventOfCurrentSample() 373 events_.resize(attrs.size()); in CreateEvents() 375 events_[i].attr = *attrs[i].attr; in CreateEvents() 376 events_[i].name = GetEventNameByAttr(events_[i].attr); in CreateEvents() 377 EventInfo::TracingInfo& tracing_info = events_[i].tracing_info; in CreateEvents() 378 if (events_[i].attr.type == PERF_TYPE_TRACEPOINT && tracing_) { in CreateEvents() 379 TracingFormat format = tracing_->GetTracingFormatHavingId(events_[i].attr.config); in CreateEvents()
|
D | IOEventLoop.h | 85 std::vector<std::unique_ptr<IOEvent>> events_; variable
|
/system/core/libappfuse/include/libappfuse/ |
D | EpollController.h | 45 std::vector<epoll_event> events_; variable
|