Home
last modified time | relevance | path

Searched refs:event_data (Results 1 – 10 of 10) sorted by relevance

/hardware/qcom/display/msm8998/sdm/libs/core/fb/
Dhw_events.cpp52 pollfd HWEvents::InitializePollFd(HWEventData *event_data) { in InitializePollFd() argument
58 if (event_data->event_type == HWEvent::EXIT) { in InitializePollFd()
66 map_event_to_node_[event_data->event_type]); in InitializePollFd()
73 map_event_to_node_[event_data->event_type], strerror(errno)); in InitializePollFd()
83 DisplayError HWEvents::SetEventParser(HWEvent event_type, HWEventData *event_data) { in SetEventParser() argument
87 event_data->event_parser = &HWEvents::HandleVSync; in SetEventParser()
90 event_data->event_parser = &HWEvents::HandleIdleTimeout; in SetEventParser()
93 event_data->event_parser = &HWEvents::HandleCECMessage; in SetEventParser()
96 event_data->event_parser = &HWEvents::HandleThreadExit; in SetEventParser()
99 event_data->event_parser = &HWEvents::HandleBlank; in SetEventParser()
[all …]
Dhw_events.h67 DisplayError SetEventParser(HWEvent event_type, HWEventData *event_data);
68 pollfd InitializePollFd(HWEventData *event_data);
/hardware/qcom/display/msm8996/sdm/libs/core/fb/
Dhw_events.cpp80 pollfd HWEvents::InitializePollFd(HWEventData *event_data) { in InitializePollFd() argument
86 if (!strncmp(event_data->event_name, "thread_exit", strlen("thread_exit"))) { in InitializePollFd()
93 snprintf(node_path, sizeof(node_path), "%s%d/%s", fb_path_, fb_num_, event_data->event_name); in InitializePollFd()
99 DLOGW("open failed for display=%d event=%s, error=%s", fb_num_, event_data->event_name, in InitializePollFd()
110 DisplayError HWEvents::SetEventParser(const char *event_name, HWEventData *event_data) { in SetEventParser() argument
114 event_data->event_parser = &HWEvents::HandleVSync; in SetEventParser()
116 event_data->event_parser = &HWEvents::HandleBlank; in SetEventParser()
118 event_data->event_parser = &HWEvents::HandleIdleTimeout; in SetEventParser()
120 event_data->event_parser = &HWEvents::HandleThermal; in SetEventParser()
122 event_data->event_parser = &HWEvents::HandleCECMessage; in SetEventParser()
[all …]
Dhw_events.h66 DisplayError SetEventParser(const char *event_name, HWEventData *event_data);
67 pollfd InitializePollFd(HWEventData *event_data);
/hardware/qcom/display/msm8998/sdm/libs/core/drm/
Dhw_events_drm.cpp60 HWEventData &event_data = event_data_list_[i]; in InitializePollFd() local
63 switch (event_data.event_type) { in InitializePollFd()
97 for (auto &event_data : event_data_list_) { in SetEventParser() local
98 switch (event_data.event_type) { in SetEventParser()
100 event_data.event_parser = &HWEventsDRM::HandleVSync; in SetEventParser()
103 event_data.event_parser = &HWEventsDRM::HandleIdleTimeout; in SetEventParser()
106 event_data.event_parser = &HWEventsDRM::HandleCECMessage; in SetEventParser()
109 event_data.event_parser = &HWEventsDRM::HandleThreadExit; in SetEventParser()
112 event_data.event_parser = &HWEventsDRM::HandleBlank; in SetEventParser()
115 event_data.event_parser = &HWEventsDRM::HandleThermal; in SetEventParser()
[all …]
/hardware/libhardware/tests/vehicle/
Dvehicle_test_fixtures.h49 int VehicleEventCallback(const vehicle_prop_value_t* event_data) { in VehicleEventCallback() argument
52 << event_data->prop in VehicleEventCallback()
54 << event_data->value.int32_value << "\n"; in VehicleEventCallback()
Dvehicle-hal-tool.c380 int vehicle_event_callback(const vehicle_prop_value_t *event_data) { in vehicle_event_callback() argument
382 printf("Got some value from callback property: %d\n", event_data->prop); in vehicle_event_callback()
383 printf("Timestamp: %" PRId64 "\n", event_data->timestamp); in vehicle_event_callback()
384 print_property(event_data); in vehicle_event_callback()
/hardware/interfaces/bluetooth/1.0/default/test/
Dmct_protocol_unittest.cc46 static char event_data[100] = "The edges of a surface are lines."; variable
190 WriteAndExpectInboundEvent(event_data); in TEST_F()
Dh4_protocol_unittest.cc49 static char event_data[100] = "The edges of a surface are lines."; variable
206 WriteAndExpectInboundEvent(event_data); in TEST_F()
/hardware/libhardware/include/hardware/
Dvehicle.h2458 typedef int (*vehicle_event_callback_fn)(const vehicle_prop_value_t *event_data);