/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() 46 case Event::VOLUME_CHANGED: in IsValid() 77 Event::PLAYBACK_STATUS_CHANGED)); in MakePlaybackStatusBuilder() 87 new RegisterNotificationResponseBuilder(interim, Event::TRACK_CHANGED)); in MakeTrackChangedBuilder() 98 Event::PLAYBACK_POS_CHANGED)); in MakePlaybackPositionBuilder() 108 interim, Event::NOW_PLAYING_CONTENT_CHANGED)); in MakeNowPlayingBuilder() 116 interim, Event::AVAILABLE_PLAYERS_CHANGED)); in MakeAvailablePlayersBuilder() 125 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 | 86 struct Event { struct 87 Event(EventType _type, std::string _message, ssize_t _status, 96 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 | 274 SynchronizedMemoryPool<Event, kMaxEventCount> mEventPool; 292 FixedSizeBlockingQueue<Event *, kMaxUnscheduledEventCount> mEvents; 345 void distributeEvent(Event *event); 367 void freeEvent(Event *event);
|
D | nanoapp.h | 84 void postEvent(Event *event); 115 Event *processNextEvent();
|
D | event.h | 39 class Event : public NonCopyable { 41 Event(uint16_t eventType, void *eventData,
|
/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_, void *eventData_, in Event() function in chre::Event
|
D | nanoapp.cc | 53 void Nanoapp::postEvent(Event *event) { in postEvent() 81 Event *Nanoapp::processNextEvent() { in processNextEvent() 82 Event *event = mEventQueue.pop(); in processNextEvent()
|
D | event_loop.cc | 332 Event *event = mEventPool.allocate(eventType, eventData, freeCallback, in allocateAndPostEvent() 357 Event *event = app->processNextEvent(); in deliverNextEvent() 367 void EventLoop::distributeEvent(Event *event) { in distributeEvent() 397 void EventLoop::freeEvent(Event *event) { in freeEvent()
|
/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/extras/simpleperf/ |
D | report_lib_interface.cpp | 47 struct Event { struct 95 Event* GetEventOfCurrentSample(ReportLib* report_lib) EXPORT; 140 Event* GetEventOfCurrentSample(); 159 Event current_event_; 277 Event* ReportLib::GetEventOfCurrentSample() { in GetEventOfCurrentSample() 443 Event* GetEventOfCurrentSample(ReportLib* report_lib) { in GetEventOfCurrentSample()
|
D | report_sample.proto | 40 // Event type can be cpu-cycles, cpu-clock, sched:sched_switch or other types.
|
/system/bt/profile/avrcp/ |
D | device.cc | 77 if (register_notification->GetEvent() != Event::VOLUME_CHANGED) { in VendorPacketHandler() 161 Event::PLAYBACK_STATUS_CHANGED); in HandleGetCapabilities() 162 response->AddEvent(Event::TRACK_CHANGED); in HandleGetCapabilities() 163 response->AddEvent(Event::PLAYBACK_POS_CHANGED); in HandleGetCapabilities() 166 response->AddEvent(Event::AVAILABLE_PLAYERS_CHANGED); in HandleGetCapabilities() 167 response->AddEvent(Event::ADDRESSED_PLAYER_CHANGED); in HandleGetCapabilities() 168 response->AddEvent(Event::UIDS_CHANGED); in HandleGetCapabilities() 169 response->AddEvent(Event::NOW_PLAYING_CONTENT_CHANGED); in HandleGetCapabilities() 190 case Event::TRACK_CHANGED: { in HandleNotification() 197 case Event::PLAYBACK_STATUS_CHANGED: { in HandleNotification() [all …]
|
/system/bt/profile/avrcp/tests/ |
D | avrcp_device_test.cc | 129 RegisterNotificationRequestBuilder::MakeBuilder(Event::TRACK_CHANGED, 0); in TEST_F() 171 Event::PLAYBACK_STATUS_CHANGED, 0); in TEST_F() 213 Event::PLAYBACK_STATUS_CHANGED, 0); in TEST_F() 256 Event::NOW_PLAYING_CONTENT_CHANGED, 0); in TEST_F() 739 RegisterNotificationRequestBuilder::MakeBuilder(Event::VOLUME_CHANGED, 0); in TEST_F() 756 RegisterNotificationRequestBuilder::MakeBuilder(Event::VOLUME_CHANGED, 0); in TEST_F() 777 RegisterNotificationRequestBuilder::MakeBuilder(Event::VOLUME_CHANGED, 0); in TEST_F() 796 RegisterNotificationRequestBuilder::MakeBuilder(Event::VOLUME_CHANGED, 0); in TEST_F() 813 RegisterNotificationRequestBuilder::MakeBuilder(Event::VOLUME_CHANGED, 0); in TEST_F() 970 Event::PLAYBACK_STATUS_CHANGED); 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/core/adb/ |
D | test_adb.py | 107 stdout_event = threading.Event() 114 stderr_event = threading.Event()
|
/system/vold/bench/ |
D | benchgen.py | 34 class Event: class 125 events.append(Event(thread, time, call, args, ret))
|
/system/iot/attestation/at-factory-tool/ |
D | atft.py | 246 class Event(wx.PyCommandEvent): class 1162 event = Event(self.select_file_event, value=data) 1302 Event( 1364 evt = Event(self.alert_event, wx.ID_ANY, msg) 1382 evt = Event(self.print_event, wx.ID_ANY, msg) 1416 wx.QueueEvent(self, Event(self.dev_listed_event)) 1424 wx.QueueEvent(self, Event(self.low_key_alert_event)) 1553 wx.QueueEvent(self, Event(self.dev_listed_event, wx.ID_ANY)) 1657 wx.QueueEvent(self, Event(self.dev_listed_event, wx.ID_ANY))
|