Home
last modified time | relevance | path

Searched refs:Event (Results 1 – 25 of 33) sorted by relevance

12

/system/bt/packet/avrcp/
Dregister_notification_packet.cc28 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 …]
Dregister_notification_packet.h48 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()
Dcapabilities_packet.h86 MakeEventsSupportedBuilder(Event event);
89 GetCapabilitiesResponseBuilder* AddEvent(Event event);
Dcapabilities_packet.cc86 GetCapabilitiesResponseBuilder::MakeEventsSupportedBuilder(Event event) { in MakeEventsSupportedBuilder()
108 Event event) { in AddEvent()
/system/bt/packet/tests/avrcp/
Dget_capabilities_packet_test.cc65 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()
Dregister_notification_packet_test.cc33 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/
Dsocket_mock.cpp79 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
Dsocket_mock.h86 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/
Devent_ref_queue.h47 bool push(Event *event);
57 Event *pop();
64 ArrayQueue<Event *, kMaxPendingEvents> mQueue;
Devent_loop.h274 SynchronizedMemoryPool<Event, kMaxEventCount> mEventPool;
292 FixedSizeBlockingQueue<Event *, kMaxUnscheduledEventCount> mEvents;
345 void distributeEvent(Event *event);
367 void freeEvent(Event *event);
Dnanoapp.h84 void postEvent(Event *event);
115 Event *processNextEvent();
Devent.h39 class Event : public NonCopyable {
41 Event(uint16_t eventType, void *eventData,
/system/chre/core/
Devent_ref_queue.cc28 bool EventRefQueue::push(Event *event) { in push()
39 Event *EventRefQueue::pop() { in pop()
42 Event *event = mQueue.front(); in pop()
Devent.cc22 Event::Event(uint16_t eventType_, void *eventData_, in Event() function in chre::Event
Dnanoapp.cc53 void Nanoapp::postEvent(Event *event) { in postEvent()
81 Event *Nanoapp::processNextEvent() { in processNextEvent()
82 Event *event = mEventQueue.pop(); in processNextEvent()
Devent_loop.cc332 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/
Davrcp_logging_helper.h113 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/
Dreport_lib_interface.cpp47 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()
Dreport_sample.proto40 // Event type can be cpu-cycles, cpu-clock, sched:sched_switch or other types.
/system/bt/profile/avrcp/
Ddevice.cc77 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/
Davrcp_device_test.cc129 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/
Dcheck_verity.py55 class Event: class
92 event = Event(time, block_nr, size)
/system/core/adb/
Dtest_adb.py107 stdout_event = threading.Event()
114 stderr_event = threading.Event()
/system/vold/bench/
Dbenchgen.py34 class Event: class
125 events.append(Event(thread, time, call, args, ret))
/system/iot/attestation/at-factory-tool/
Datft.py246 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))

12