Home
last modified time | relevance | path

Searched refs:event_data (Results 1 – 14 of 14) 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.h69 DisplayError SetEventParser(HWEvent event_type, HWEventData *event_data);
70 pollfd InitializePollFd(HWEventData *event_data);
/hardware/qcom/display/sdm845/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.h71 DisplayError SetEventParser(HWEvent event_type, HWEventData *event_data);
72 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()
99 for (auto &event_data : event_data_list_) { in SetEventParser() local
100 switch (event_data.event_type) { in SetEventParser()
102 event_data.event_parser = &HWEventsDRM::HandleVSync; in SetEventParser()
105 event_data.event_parser = &HWEventsDRM::HandleIdleTimeout; in SetEventParser()
108 event_data.event_parser = &HWEventsDRM::HandleCECMessage; in SetEventParser()
111 event_data.event_parser = &HWEventsDRM::HandleThreadExit; in SetEventParser()
114 event_data.event_parser = &HWEventsDRM::HandleBlank; in SetEventParser()
117 event_data.event_parser = &HWEventsDRM::HandleThermal; in SetEventParser()
[all …]
/hardware/qcom/display/sdm845/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()
98 for (auto &event_data : event_data_list_) { in SetEventParser() local
99 switch (event_data.event_type) { in SetEventParser()
101 event_data.event_parser = &HWEventsDRM::HandleVSync; in SetEventParser()
104 event_data.event_parser = &HWEventsDRM::HandleIdleTimeout; in SetEventParser()
107 event_data.event_parser = &HWEventsDRM::HandleCECMessage; in SetEventParser()
110 event_data.event_parser = &HWEventsDRM::HandleThreadExit; in SetEventParser()
113 event_data.event_parser = &HWEventsDRM::HandleBlank; in SetEventParser()
116 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.c382 int vehicle_event_callback(const vehicle_prop_value_t *event_data) { in vehicle_event_callback() argument
384 printf("Got some value from callback property: %d\n", event_data->prop); in vehicle_event_callback()
385 printf("Timestamp: %" PRId64 "\n", event_data->timestamp); in vehicle_event_callback()
386 print_property(event_data); in vehicle_event_callback()
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/
DIPACM_Netlink.cpp60 #define IPACM_EVENT_COPY_ADDR_v6( event_data, element) \ argument
61 memcpy( event_data, element.__data, sizeof(event_data));
63 #define IPACM_EVENT_COPY_ADDR_v4( event_data, element) \ argument
64 memcpy( &event_data, element.__data, sizeof(event_data));
80 #define IPACM_EVENT_COPY_ADDR_v6( event_data, element) \ argument
81 memcpy( event_data, element.__ss_padding, sizeof(event_data));
83 #define IPACM_EVENT_COPY_ADDR_v4( event_data, element) \ argument
84 memcpy( &event_data, element.__ss_padding, sizeof(event_data));
/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);