Home
last modified time | relevance | path

Searched refs:AddEvent (Results 1 – 11 of 11) 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/bt/packet/tests/fuzzers/
Dget_capabilities_res_fuzzer.cc39 builder->AddEvent(Event::TRACK_CHANGED); in LLVMFuzzerTestOneInput()
40 builder->AddEvent(Event::PLAYBACK_POS_CHANGED); in LLVMFuzzerTestOneInput()
/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()
95 ASSERT_TRUE(perf->AddEvent("cpu-cycles")); in TEST()
123 ASSERT_TRUE(perf->AddEvent("cpu-cycles")); in TEST()
DIOEventLoop.cpp117 return AddEvent(fd, EV_READ | EV_PERSIST, nullptr, callback); in AddReadEvent()
124 return AddEvent(fd, EV_WRITE | EV_PERSIST, nullptr, callback); in AddWriteEvent()
128 return AddEvent(sig, EV_SIGNAL | EV_PERSIST, nullptr, callback) != nullptr; in AddSignalEvent()
141 return AddEvent(-1, EV_PERSIST, &duration, callback); in AddPeriodicEvent()
144 IOEventRef IOEventLoop::AddEvent(int fd_or_sig, int16_t events, timeval* timeout, in AddEvent() function in simpleperf::IOEventLoop
DIOEventLoop.h82 IOEventRef AddEvent(int fd_or_sig, int16_t events, timeval* timeout,
Drecord_lib_interface.cpp67 bool AddEvent(const std::string& name) override { in AddEvent() function in simpleperf::PerfEventSetImpl
269 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.cc239 response->AddEvent(Event::TRACK_CHANGED); in HandleGetCapabilities()
240 response->AddEvent(Event::PLAYBACK_POS_CHANGED); in HandleGetCapabilities()
243 response->AddEvent(Event::AVAILABLE_PLAYERS_CHANGED); in HandleGetCapabilities()
244 response->AddEvent(Event::ADDRESSED_PLAYER_CHANGED); in HandleGetCapabilities()
245 response->AddEvent(Event::UIDS_CHANGED); in HandleGetCapabilities()
246 response->AddEvent(Event::NOW_PLAYING_CONTENT_CHANGED); in HandleGetCapabilities()
/system/bt/profile/avrcp/tests/
Davrcp_device_test.cc1501 request_events_supported_response->AddEvent(Event::TRACK_CHANGED); in TEST_F()
1502 request_events_supported_response->AddEvent(Event::PLAYBACK_POS_CHANGED); in TEST_F()