Home
last modified time | relevance | path

Searched refs:event_data (Results 1 – 21 of 21) 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/sdm845/display/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.h73 DisplayError SetEventParser(HWEvent event_type, HWEventData *event_data);
74 pollfd InitializePollFd(HWEventData *event_data);
/hardware/qcom/display/msm8909/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::HandleThreadExit; in SetEventParser()
96 event_data->event_parser = &HWEvents::HandleBlank; in SetEventParser()
99 event_data->event_parser = &HWEvents::HandleThermal; in SetEventParser()
[all …]
Dhw_events.h67 DisplayError SetEventParser(HWEvent event_type, HWEventData *event_data);
68 pollfd InitializePollFd(HWEventData *event_data);
/hardware/qcom/display/msm8909w_3100/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::HandleThreadExit; in SetEventParser()
96 event_data->event_parser = &HWEvents::HandleBlank; in SetEventParser()
99 event_data->event_parser = &HWEvents::HandleThermal; 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()
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/msm8909w_3100/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::HandleThreadExit; in SetEventParser()
109 event_data.event_parser = &HWEventsDRM::HandleBlank; in SetEventParser()
112 event_data.event_parser = &HWEventsDRM::HandleThermal; in SetEventParser()
115 event_data.event_parser = &HWEventsDRM::HandleIdlePowerCollapse; in SetEventParser()
[all …]
/hardware/qcom/display/msm8909/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::HandleThreadExit; in SetEventParser()
109 event_data.event_parser = &HWEventsDRM::HandleBlank; in SetEventParser()
112 event_data.event_parser = &HWEventsDRM::HandleThermal; in SetEventParser()
115 event_data.event_parser = &HWEventsDRM::HandleIdlePowerCollapse; in SetEventParser()
[all …]
/hardware/qcom/sdm845/display/sdm/libs/core/drm/
Dhw_events_drm.cpp61 HWEventData &event_data = event_data_list_[i]; in InitializePollFd() local
65 switch (event_data.event_type) { in InitializePollFd()
130 for (auto &event_data : event_data_list_) { in SetEventParser() local
131 switch (event_data.event_type) { in SetEventParser()
133 event_data.event_parser = &HWEventsDRM::HandleVSync; in SetEventParser()
136 event_data.event_parser = &HWEventsDRM::HandleIdleTimeout; in SetEventParser()
139 event_data.event_parser = &HWEventsDRM::HandleCECMessage; in SetEventParser()
142 event_data.event_parser = &HWEventsDRM::HandleThreadExit; in SetEventParser()
145 event_data.event_parser = &HWEventsDRM::HandleBlank; in SetEventParser()
148 event_data.event_parser = &HWEventsDRM::HandleThermal; in SetEventParser()
[all …]
/hardware/qcom/display/msm8909/hdmi_cec/
Dqhdmi_cec.cpp82 static int set_event_params(cec_context_t* ctx, uint32_t node_event, eventData *event_data);
569 eventData event_data; in populate_event_data() local
570 event_data.event_name = event_name; in populate_event_data()
571 err = set_event_params(ctx, event, &event_data); in populate_event_data()
577 event_data_list->push_back(event_data); in populate_event_data()
583 static int set_event_params(cec_context_t* ctx, uint32_t node_event, eventData *event_data) { in set_event_params() argument
587 if (!strncmp(event_data->event_name, "cec_msg_event", strlen("cec_msg_event"))) { in set_event_params()
601 event_data->event_parser = &handle_cec_msg_event; in set_event_params()
602 } else if (!strncmp(event_data->event_name, "hotplug_event", strlen("hotplug_event"))) { in set_event_params()
609 event_data->event_parser = &handle_hdmihotplug_event; in set_event_params()
[all …]
/hardware/qcom/display/msm8909w_3100/hdmi_cec/
Dqhdmi_cec.cpp82 static int set_event_params(cec_context_t* ctx, uint32_t node_event, eventData *event_data);
569 eventData event_data; in populate_event_data() local
570 event_data.event_name = event_name; in populate_event_data()
571 err = set_event_params(ctx, event, &event_data); in populate_event_data()
577 event_data_list->push_back(event_data); in populate_event_data()
583 static int set_event_params(cec_context_t* ctx, uint32_t node_event, eventData *event_data) { in set_event_params() argument
587 if (!strncmp(event_data->event_name, "cec_msg_event", strlen("cec_msg_event"))) { in set_event_params()
601 event_data->event_parser = &handle_cec_msg_event; in set_event_params()
602 } else if (!strncmp(event_data->event_name, "hotplug_event", strlen("hotplug_event"))) { in set_event_params()
609 event_data->event_parser = &handle_hdmihotplug_event; in set_event_params()
[all …]
/hardware/google/av/media/sfplugin/
DC2OMXNode.cpp309 if (msg.u.event_data.event != OMX_EventDataSpaceChanged) { in dispatchMessage()
312 android_dataspace dataSpace = (android_dataspace)msg.u.event_data.data1; in dispatchMessage()
313 uint32_t pixelFormat = msg.u.event_data.data3; in dispatchMessage()
/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/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/qcom/sdm845/data/ipacfg-mgr/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));