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.cc207 response->AddEvent(Event::TRACK_CHANGED); in HandleGetCapabilities()
208 response->AddEvent(Event::PLAYBACK_POS_CHANGED); in HandleGetCapabilities()
211 response->AddEvent(Event::AVAILABLE_PLAYERS_CHANGED); in HandleGetCapabilities()
212 response->AddEvent(Event::ADDRESSED_PLAYER_CHANGED); in HandleGetCapabilities()
213 response->AddEvent(Event::UIDS_CHANGED); in HandleGetCapabilities()
214 response->AddEvent(Event::NOW_PLAYING_CONTENT_CHANGED); in HandleGetCapabilities()
/system/bt/profile/avrcp/tests/
Davrcp_device_test.cc1282 request_events_supported_response->AddEvent(Event::TRACK_CHANGED); in TEST_F()
1283 request_events_supported_response->AddEvent(Event::PLAYBACK_POS_CHANGED); in TEST_F()