Home
last modified time | relevance | path

Searched refs:AddEvent (Results 1 – 10 of 10) sorted by relevance

/system/bt/packet/tests/avrcp/
Dget_capabilities_packet_test.cc67 builder->AddEvent(Event::TRACK_CHANGED); in TEST()
69 builder->AddEvent(Event::PLAYBACK_POS_CHANGED); in TEST()
83 builder->AddEvent(Event::PLAYBACK_STATUS_CHANGED); in TEST()
90 ASSERT_DEATH(builder->AddEvent(Event::PLAYBACK_STATUS_CHANGED), in TEST()
113 builder->AddEvent(Event::TRACK_CHANGED); in TEST()
114 builder->AddEvent(Event::PLAYBACK_POS_CHANGED); in TEST()
/system/extras/simpleperf/
Drecord_lib_test.cpp43 ASSERT_TRUE(perf->AddEvent("cpu-cycles")); in TEST()
44 ASSERT_TRUE(perf->AddEvent("cpu-cycles:u")); in TEST()
45 ASSERT_TRUE(perf->AddEvent("cpu-cycles:k")); in TEST()
69 ASSERT_TRUE(perf->AddEvent("cpu-cycles")); in TEST()
100 ASSERT_TRUE(perf->AddEvent("cpu-cycles")); in TEST()
128 ASSERT_TRUE(perf->AddEvent("cpu-cycles")); in TEST()
DIOEventLoop.cpp117 return AddEvent(fd, EV_READ | EV_PERSIST, nullptr, callback); in AddReadEvent()
125 return AddEvent(fd, EV_WRITE | EV_PERSIST, nullptr, callback); in AddWriteEvent()
130 return AddEvent(sig, EV_SIGNAL | EV_PERSIST, nullptr, callback) != nullptr; in AddSignalEvent()
144 return AddEvent(-1, EV_PERSIST, &duration, callback); in AddPeriodicEvent()
147 IOEventRef IOEventLoop::AddEvent(int fd_or_sig, int16_t events, timeval* timeout, in AddEvent() function in IOEventLoop
DIOEventLoop.h80 IOEventRef AddEvent(int fd_or_sig, int16_t events, timeval* timeout,
Drecord_lib_interface.cpp65 bool AddEvent(const std::string& name) override { in AddEvent() function in simpleperf::PerfEventSetImpl
267 bool PerfEventSet::AddEvent(const std::string&) { in AddEvent() function in simpleperf::PerfEventSet
/system/extras/simpleperf/include/
Dsimpleperf.h73 virtual bool AddEvent(const std::string& name);
/system/bt/packet/avrcp/
Dcapabilities_packet.h89 GetCapabilitiesResponseBuilder* AddEvent(Event event);
Dcapabilities_packet.cc107 GetCapabilitiesResponseBuilder* GetCapabilitiesResponseBuilder::AddEvent( in AddEvent() function in bluetooth::avrcp::GetCapabilitiesResponseBuilder
/system/bt/profile/avrcp/
Ddevice.cc220 response->AddEvent(Event::TRACK_CHANGED); in HandleGetCapabilities()
221 response->AddEvent(Event::PLAYBACK_POS_CHANGED); in HandleGetCapabilities()
224 response->AddEvent(Event::AVAILABLE_PLAYERS_CHANGED); in HandleGetCapabilities()
225 response->AddEvent(Event::ADDRESSED_PLAYER_CHANGED); in HandleGetCapabilities()
226 response->AddEvent(Event::UIDS_CHANGED); in HandleGetCapabilities()
227 response->AddEvent(Event::NOW_PLAYING_CONTENT_CHANGED); in HandleGetCapabilities()
/system/bt/profile/avrcp/tests/
Davrcp_device_test.cc1320 request_events_supported_response->AddEvent(Event::TRACK_CHANGED); in TEST_F()
1321 request_events_supported_response->AddEvent(Event::PLAYBACK_POS_CHANGED); in TEST_F()