Home
last modified time | relevance | path

Searched refs:MemEventListener (Results 1 – 4 of 4) sorted by relevance

/system/memory/libmeminfo/libmemevents/
Dmemevents.cpp157 bool MemEventListener::isValidEventType(mem_event_type_t event_type) const { in isValidEventType()
163 MemEventListener::MemEventListener(MemEventClient client, bool attachTpForTests) { in MemEventListener() function in android::bpf::memevents::MemEventListener
205 MemEventListener::~MemEventListener() { in ~MemEventListener()
209 bool MemEventListener::ok() { in ok()
213 bool MemEventListener::registerEvent(mem_event_type_t event_type) { in registerEvent()
272 bool MemEventListener::listen(int timeout_ms) { in listen()
285 bool MemEventListener::deregisterEvent(mem_event_type_t event_type) { in deregisterEvent()
326 void MemEventListener::deregisterAllEvents() { in deregisterAllEvents()
337 bool MemEventListener::getMemEvents(std::vector<mem_event_t>& mem_events) { in getMemEvents()
355 int MemEventListener::getRingBufferFd() { in getRingBufferFd()
Dmemevents_test.cpp64 MemEventListener memevent_listener = MemEventListener(mem_test_client);
84 std::unique_ptr<MemEventListener> listener = in TEST_F()
85 std::make_unique<MemEventListener>(MemEventClient::AMS); in TEST_F()
194 MemEventListener memevent_listener = MemEventListener(mem_test_client);
216 EXPECT_DEATH(MemEventListener listener(MemEventClient::NR_CLIENTS), ""); in TEST_F()
217 EXPECT_DEATH(MemEventListener listener(static_cast<MemEventClient>(-1)), ""); in TEST_F()
227 EXPECT_DEATH(MemEventListener listener(valid_client, true), "") in TEST_F()
237 std::unique_ptr<MemEventListener> listener; in TEST_F()
240 listener = std::make_unique<MemEventListener>(client); in TEST_F()
401 MemEventListener mem_listener = MemEventListener(mem_test_client);
[all …]
/system/memory/libmeminfo/libmemevents/include/memevents/
Dmemevents.h48 class MemEventListener final {
59 MemEventListener(MemEventClient client, bool attachTpForTests = false);
60 ~MemEventListener();
/system/memory/lmkd/
Dlmkd.cpp207 static std::unique_ptr<android::bpf::memevents::MemEventListener> memevent_listener(nullptr);
3584 memevent_listener = std::make_unique<android::bpf::memevents::MemEventListener>( in init_memevent_listener_monitoring()