/system/bt/packet/avrcp/ |
D | register_notification_packet.cc | 28 Event RegisterNotificationResponse::GetEvent() const { in GetEvent() 30 return static_cast<Event>(value); in GetEvent() 34 CHECK(GetEvent() == Event::VOLUME_CHANGED); in GetVolume() 47 case Event::VOLUME_CHANGED: in IsValid() 78 Event::PLAYBACK_STATUS_CHANGED)); in MakePlaybackStatusBuilder() 88 new RegisterNotificationResponseBuilder(interim, Event::TRACK_CHANGED)); in MakeTrackChangedBuilder() 99 Event::PLAYBACK_POS_CHANGED)); in MakePlaybackPositionBuilder() 109 interim, Event::NOW_PLAYING_CONTENT_CHANGED)); in MakeNowPlayingBuilder() 117 interim, Event::AVAILABLE_PLAYERS_CHANGED)); in MakeAvailablePlayersBuilder() 126 Event::ADDRESSED_PLAYER_CHANGED)); in MakeAddressedPlayerBuilder() [all …]
|
D | register_notification_packet.h | 48 Event GetEvent() const; 89 Event event_; 92 RegisterNotificationResponseBuilder(bool interim, Event event) in RegisterNotificationResponseBuilder() 122 Event GetEventRegistered() const; 138 Event event, uint32_t interval); 145 Event event_; 148 RegisterNotificationRequestBuilder(Event event, uint32_t interval) in RegisterNotificationRequestBuilder()
|
D | capabilities_packet.h | 86 MakeEventsSupportedBuilder(Event event); 89 GetCapabilitiesResponseBuilder* AddEvent(Event event);
|
D | capabilities_packet.cc | 86 GetCapabilitiesResponseBuilder::MakeEventsSupportedBuilder(Event event) { in MakeEventsSupportedBuilder() 108 Event event) { in AddEvent()
|
/system/bt/packet/tests/avrcp/ |
D | get_capabilities_packet_test.cc | 65 Event::PLAYBACK_STATUS_CHANGED); in TEST() 67 builder->AddEvent(Event::TRACK_CHANGED); in TEST() 69 builder->AddEvent(Event::PLAYBACK_POS_CHANGED); in TEST() 81 Event::PLAYBACK_STATUS_CHANGED); in TEST() 83 builder->AddEvent(Event::PLAYBACK_STATUS_CHANGED); in TEST() 90 ASSERT_DEATH(builder->AddEvent(Event::PLAYBACK_STATUS_CHANGED), in TEST() 94 Event::PLAYBACK_STATUS_CHANGED); in TEST() 112 Event::PLAYBACK_STATUS_CHANGED); in TEST() 113 builder->AddEvent(Event::TRACK_CHANGED); in TEST() 114 builder->AddEvent(Event::PLAYBACK_POS_CHANGED); in TEST()
|
D | register_notification_packet_test.cc | 33 ASSERT_EQ(test_packet->GetEventRegistered(), Event::PLAYBACK_STATUS_CHANGED); in TEST() 56 RegisterNotificationRequestBuilder::MakeBuilder(Event::VOLUME_CHANGED, 0); in TEST() 69 ASSERT_EQ(test_packet->GetEvent(), Event::VOLUME_CHANGED); in TEST()
|
/system/core/fastboot/ |
D | socket_mock.cpp | 79 const Event& event = events_.front(); in Receive() 126 events_.push(Event(EventType::kSend, std::move(message), true, nullptr)); in ExpectSend() 130 events_.push(Event(EventType::kSend, std::move(message), false, nullptr)); in ExpectSendFailure() 134 events_.push(Event(EventType::kReceive, std::move(message), false, nullptr)); in AddReceive() 138 events_.push(Event(EventType::kReceive, "", true, nullptr)); in AddReceiveTimeout() 142 events_.push(Event(EventType::kReceive, "", false, nullptr)); in AddReceiveFailure() 146 events_.push(Event(EventType::kAccept, "", false, std::move(sock))); in AddAccept() 149 SocketMock::Event::Event(EventType _type, std::string _message, ssize_t _status, in Event() function in SocketMock::Event
|
D | socket_mock.h | 85 struct Event { struct 86 Event(EventType _type, std::string _message, ssize_t _status, 95 std::queue<Event> events_; argument
|
/system/chre/core/include/chre/core/ |
D | event_ref_queue.h | 47 bool push(Event *event); 57 Event *pop(); 64 ArrayQueue<Event *, kMaxPendingEvents> mQueue;
|
D | event_loop.h | 276 SynchronizedMemoryPool<Event, kMaxEventCount> mEventPool; 294 FixedSizeBlockingQueue<Event *, kMaxUnscheduledEventCount> mEvents; 354 void distributeEvent(Event *event); 376 void freeEvent(Event *event);
|
D | event.h | 39 class Event : public NonCopyable { 41 Event(uint16_t eventType_, uint16_t receivedTimeMillis_, void *eventData_,
|
D | nanoapp.h | 112 void postEvent(Event *event) { in postEvent() 147 Event *processNextEvent();
|
/system/chre/core/ |
D | event_ref_queue.cc | 28 bool EventRefQueue::push(Event *event) { in push() 39 Event *EventRefQueue::pop() { in pop() 42 Event *event = mQueue.front(); in pop()
|
D | event.cc | 22 Event::Event(uint16_t eventType_, uint16_t receivedTimeMillis_, in Event() function in chre::Event
|
D | nanoapp.cc | 79 Event *Nanoapp::processNextEvent() { in processNextEvent() 80 Event *event = mEventQueue.pop(); in processNextEvent()
|
D | event_loop.cc | 348 Event *event = mEventPool.allocate(eventType, receivedTimeMillis, eventData, in allocateAndPostEvent() 375 Event *event = app->processNextEvent(); in deliverNextEvent() 385 void EventLoop::distributeEvent(Event *event) { in distributeEvent() 415 void EventLoop::freeEvent(Event *event) { in freeEvent()
|
/system/core/fastboot/fuzzy_fastboot/ |
D | transport_sniffer.h | 61 struct Event { struct 62 Event(EventType t, const std::vector<char> cbuf) : type(t), buf(cbuf) { in Event() function 78 const std::vector<Event> Transfers(); argument 83 std::vector<Event> transfers_;
|
D | transport_sniffer.cpp | 26 Event e(READ_ERROR, std::move(buf)); in Read() 33 Event e(READ, std::move(buf)); in Read() 47 Event e(WRITE_ERROR, std::move(buf)); in Write() 54 Event e(WRITE, std::move(buf)); in Write() 69 Event e(RESET, std::move(buf)); in Reset() 75 const std::vector<TransportSniffer::Event> TransportSniffer::Transfers() { in Transfers() 188 Event e(SERIAL, std::move(buf)); in ProcessSerial()
|
/system/bt/packet/tests/fuzzers/ |
D | get_capabilities_res_fuzzer.cc | 38 Event::PLAYBACK_STATUS_CHANGED); in LLVMFuzzerTestOneInput() 39 builder->AddEvent(Event::TRACK_CHANGED); in LLVMFuzzerTestOneInput() 40 builder->AddEvent(Event::PLAYBACK_POS_CHANGED); in LLVMFuzzerTestOneInput()
|
/system/bt/include/hardware/avrcp/ |
D | avrcp_logging_helper.h | 113 inline std::string EventText(const Event& event) { in EventText() 115 CASE_RETURN_TEXT(Event::PLAYBACK_STATUS_CHANGED); in EventText() 116 CASE_RETURN_TEXT(Event::TRACK_CHANGED); in EventText() 117 CASE_RETURN_TEXT(Event::PLAYBACK_POS_CHANGED); in EventText() 118 CASE_RETURN_TEXT(Event::PLAYER_APPLICATION_SETTING_CHANGED); in EventText() 119 CASE_RETURN_TEXT(Event::NOW_PLAYING_CONTENT_CHANGED); in EventText() 120 CASE_RETURN_TEXT(Event::AVAILABLE_PLAYERS_CHANGED); in EventText() 121 CASE_RETURN_TEXT(Event::ADDRESSED_PLAYER_CHANGED); in EventText() 122 CASE_RETURN_TEXT(Event::UIDS_CHANGED); in EventText() 123 CASE_RETURN_TEXT(Event::VOLUME_CHANGED); in EventText() [all …]
|
/system/teeui/libteeui/example/ |
D | touch_button_example.cpp | 52 Error tapOk(Event e) { in tapOk() 60 Error tapCancel(Event e) { in tapCancel() 94 Event event{x, y, EventType::KeyUp}; in onEvent() 130 .setCB(makeCallback<Error, Event>( in setDeviceInfo() 131 [](Event e, void* p) -> Error { return reinterpret_cast<GUIStateTouch*>(p)->tapOk(e); }, in setDeviceInfo() 134 .setCB(makeCallback<Error, Event>( in setDeviceInfo() 135 [](Event e, void* p) -> Error { in setDeviceInfo()
|
/system/bt/profile/avrcp/ |
D | device.cc | 114 if (register_notification->GetEvent() != Event::VOLUME_CHANGED) { in VendorPacketHandler() 219 Event::PLAYBACK_STATUS_CHANGED); in HandleGetCapabilities() 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() 256 case Event::TRACK_CHANGED: { in HandleNotification() 262 case Event::PLAYBACK_STATUS_CHANGED: { in HandleNotification() [all …]
|
/system/bt/profile/avrcp/tests/ |
D | avrcp_device_test.cc | 130 RegisterNotificationRequestBuilder::MakeBuilder(Event::TRACK_CHANGED, 0); in TEST_F() 172 Event::PLAYBACK_STATUS_CHANGED, 0); in TEST_F() 216 Event::PLAYBACK_POS_CHANGED, 0); in TEST_F() 275 RegisterNotificationRequestBuilder::MakeBuilder(Event::TRACK_CHANGED, 0); in TEST_F() 326 Event::PLAYBACK_STATUS_CHANGED, 0); in TEST_F() 380 Event::PLAYBACK_POS_CHANGED, 0); in TEST_F() 440 Event::NOW_PLAYING_CONTENT_CHANGED, 0); in TEST_F() 495 Event::ADDRESSED_PLAYER_CHANGED, 0); in TEST_F() 542 Event::NOW_PLAYING_CONTENT_CHANGED, 0); in TEST_F() 1050 RegisterNotificationRequestBuilder::MakeBuilder(Event::VOLUME_CHANGED, 0); in TEST_F() [all …]
|
/system/extras/boottime_tools/io_analysis/ |
D | check_verity.py | 55 class Event: class 92 event = Event(time, block_nr, size)
|
/system/extras/simpleperf/ |
D | report_lib_interface.cpp | 63 struct Event { struct 114 Event* GetEventOfCurrentSample(ReportLib* report_lib) EXPORT; 161 Event* GetEventOfCurrentSample() { return ¤t_event_; } in GetEventOfCurrentSample() 184 Event current_event_; 504 Event* GetEventOfCurrentSample(ReportLib* report_lib) { in GetEventOfCurrentSample()
|