Home
last modified time | relevance | path

Searched refs:events_ (Results 1 – 11 of 11) 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.h95 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/netd/tests/
DTestUnsolService.cpp84 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()
DTestUnsolService.h51 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/
DIOEventLoop.cpp47 events_.clear(); in ~IOEventLoop()
163 events_.push_back(std::move(e)); in AddEvent()
164 return events_.back().get(); in AddEvent()
218 for (auto it = loop->events_.begin(); it != loop->events_.end(); ++it) { in DelEvent()
220 loop->events_.erase(it); in DelEvent()
Dreport_lib_interface.cpp173 std::vector<EventInfo> events_; member in simpleperf::ReportLib
311 if (events_.empty()) { in FindEventOfCurrentSample()
321 return &events_[attr_index]; in FindEventOfCurrentSample()
326 events_.resize(attrs.size()); in CreateEvents()
328 events_[i].attr = *attrs[i].attr; in CreateEvents()
329 events_[i].name = GetEventNameByAttr(events_[i].attr); in CreateEvents()
330 EventInfo::TracingInfo& tracing_info = events_[i].tracing_info; in CreateEvents()
331 if (events_[i].attr.type == PERF_TYPE_TRACEPOINT && tracing_) { in CreateEvents()
332 TracingFormat format = tracing_->GetTracingFormatHavingId(events_[i].attr.config); in CreateEvents()
DIOEventLoop.h87 std::vector<std::unique_ptr<IOEvent>> events_; variable
Dcmd_dumprecord.cpp216 std::vector<EventInfo> events_; member in simpleperf::__anonc4eafc3f0111::DumpRecordCommand
387 if (!events_.empty()) { in ProcessSampleRecord()
389 auto& event = events_[attr_index]; in ProcessSampleRecord()
434 events_.resize(attrs.size()); in ProcessTracingData()
437 auto& event = events_[i]; in ProcessTracingData()
/system/core/libappfuse/include/libappfuse/
DEpollController.h45 std::vector<epoll_event> events_; variable
/system/bt/gd/cert/
Dcert_self_test_lib.py72 self.events_ = events
79 for event in self.events_: