Searched refs:AddEvent (Results 1 – 11 of 11) sorted by relevance
/system/bt/packet/tests/avrcp/ |
D | get_capabilities_packet_test.cc | 67 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/ |
D | record_lib_test.cpp | 43 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()
|
D | IOEventLoop.cpp | 117 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
|
D | IOEventLoop.h | 80 IOEventRef AddEvent(int fd_or_sig, int16_t events, timeval* timeout,
|
D | record_lib_interface.cpp | 65 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/bt/packet/tests/fuzzers/ |
D | get_capabilities_res_fuzzer.cc | 39 builder->AddEvent(Event::TRACK_CHANGED); in LLVMFuzzerTestOneInput() 40 builder->AddEvent(Event::PLAYBACK_POS_CHANGED); in LLVMFuzzerTestOneInput()
|
/system/extras/simpleperf/include/ |
D | simpleperf.h | 73 virtual bool AddEvent(const std::string& name);
|
/system/bt/packet/avrcp/ |
D | capabilities_packet.h | 89 GetCapabilitiesResponseBuilder* AddEvent(Event event);
|
D | capabilities_packet.cc | 107 GetCapabilitiesResponseBuilder* GetCapabilitiesResponseBuilder::AddEvent( in AddEvent() function in bluetooth::avrcp::GetCapabilitiesResponseBuilder
|
/system/bt/profile/avrcp/ |
D | device.cc | 220 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/ |
D | avrcp_device_test.cc | 1282 request_events_supported_response->AddEvent(Event::TRACK_CHANGED); in TEST_F() 1283 request_events_supported_response->AddEvent(Event::PLAYBACK_POS_CHANGED); in TEST_F()
|