Searched refs:mem_events (Results 1 – 4 of 4) sorted by relevance
124 std::vector<mem_event_t> mem_events; in TEST_F() local125 ASSERT_FALSE(memevent_listener.getMemEvents(mem_events)) in TEST_F()512 std::vector<mem_event_t> mem_events; in TEST_F() local513 ASSERT_TRUE(mem_listener.getMemEvents(mem_events)) << "Failed fetching events"; in TEST_F()514 ASSERT_FALSE(mem_events.empty()) << "Expected for mem_events to have at least 1 mocked event"; in TEST_F()515 ASSERT_EQ(mem_events[0].type, event_type) << "Didn't receive a OOM event"; in TEST_F()516 validateMockedEvent(mem_events[0]); in TEST_F()529 std::vector<mem_event_t> mem_events; in TEST_F() local530 ASSERT_TRUE(mem_listener.getMemEvents(mem_events)) << "Failed fetching events"; in TEST_F()531 ASSERT_FALSE(mem_events.empty()) << "Expected for mem_events to have at least 1 mocked event"; in TEST_F()[all …]
337 bool MemEventListener::getMemEvents(std::vector<mem_event_t>& mem_events) { in getMemEvents() argument344 if (mEventsRegistered[mem_event.type]) mem_events.emplace_back(mem_event); in getMemEvents()
119 bool getMemEvents(std::vector<mem_event_t>& mem_events);
3537 std::vector<mem_event_t> mem_events; in memevent_listener_notification() local3546 if (!memevent_listener->getMemEvents(mem_events)) { in memevent_listener_notification()3553 for (const mem_event_t& mem_event : mem_events) { in memevent_listener_notification()