/hardware/qcom/display/msm8909w_3100/hdmi_cec/ |
D | qhdmi_cec.cpp | 77 static int get_event_value(const char *uevent_data, int length, const char *event_info); 632 char uevent_data[PAGE_SIZE]; in handle_hdmihotplug_event() local 636 count = static_cast<int> (recv(ctx->poll_fds[node_event].fd, uevent_data, in handle_hdmihotplug_event() 637 (INT32(sizeof(uevent_data))) - 2, 0)); in handle_hdmihotplug_event() 639 if ((count > 0) && (strcasestr(UEVENT_SWITCH_HDMI, uevent_data))) { in handle_hdmihotplug_event() 640 int connected = get_event_value(uevent_data, count, "SWITCH_STATE="); in handle_hdmihotplug_event() 666 static int get_event_value(const char *uevent_data, int length, const char *event_info) { in get_event_value() argument 667 const char *iterator_str = uevent_data; in get_event_value() 668 while (((iterator_str - uevent_data) <= length) && (*iterator_str)) { in get_event_value()
|
/hardware/qcom/display/msm8909/hdmi_cec/ |
D | qhdmi_cec.cpp | 77 static int get_event_value(const char *uevent_data, int length, const char *event_info); 632 char uevent_data[PAGE_SIZE]; in handle_hdmihotplug_event() local 636 count = static_cast<int> (recv(ctx->poll_fds[node_event].fd, uevent_data, in handle_hdmihotplug_event() 637 (INT32(sizeof(uevent_data))) - 2, 0)); in handle_hdmihotplug_event() 639 if ((count > 0) && (strcasestr(UEVENT_SWITCH_HDMI, uevent_data))) { in handle_hdmihotplug_event() 640 int connected = get_event_value(uevent_data, count, "SWITCH_STATE="); in handle_hdmihotplug_event() 666 static int get_event_value(const char *uevent_data, int length, const char *event_info) { in get_event_value() argument 667 const char *iterator_str = uevent_data; in get_event_value() 668 while (((iterator_str - uevent_data) <= length) && (*iterator_str)) { in get_event_value()
|
/hardware/qcom/sdm845/display/sdm/libs/hwc2/ |
D | hwc_session.cpp | 104 char uevent_data[PAGE_SIZE] = {}; in UEventThread() local 107 int length = uevent_next_event(uevent_data, INT32(sizeof(uevent_data)) - 2); in UEventThread() 113 hwc_uevent->uevent_listener_->UEventHandler(uevent_data, length); in UEventThread() 1965 void HWCSession::UEventHandler(const char *uevent_data, int length) { in UEventHandler() argument 1966 if (strcasestr(uevent_data, HWC_UEVENT_SWITCH_HDMI)) { in UEventHandler() 1967 DLOGI("Uevent HDMI = %s", uevent_data); in UEventHandler() 1968 int connected = GetEventValue(uevent_data, length, "SWITCH_STATE="); in UEventHandler() 1975 } else if (strcasestr(uevent_data, HWC_UEVENT_GRAPHICS_FB0)) { in UEventHandler() 1976 DLOGI("Uevent FB0 = %s", uevent_data); in UEventHandler() 1977 int panel_reset = GetEventValue(uevent_data, length, "PANEL_ALIVE="); in UEventHandler() [all …]
|
D | hwc_session.h | 66 virtual void UEventHandler(const char *uevent_data, int length) = 0; 203 virtual void UEventHandler(const char *uevent_data, int length); 204 int GetEventValue(const char *uevent_data, int length, const char *event_info); 205 void HandleExtHPD(const char *uevent_data, int length);
|
/hardware/qcom/display/msm8996/sdm/libs/hwc/ |
D | hwc_session.cpp | 1302 static char uevent_data[PAGE_SIZE]; in HWCUeventThreadHandler() local 1314 length = uevent_next_event(uevent_data, INT32(sizeof(uevent_data)) - 2); in HWCUeventThreadHandler() 1316 if (strcasestr(HWC_UEVENT_SWITCH_HDMI, uevent_data)) { in HWCUeventThreadHandler() 1317 DLOGI("Uevent HDMI = %s", uevent_data); in HWCUeventThreadHandler() 1318 int connected = GetEventValue(uevent_data, length, "SWITCH_STATE="); in HWCUeventThreadHandler() 1325 } else if (strcasestr(HWC_UEVENT_GRAPHICS_FB0, uevent_data)) { in HWCUeventThreadHandler() 1326 DLOGI("Uevent FB0 = %s", uevent_data); in HWCUeventThreadHandler() 1327 int panel_reset = GetEventValue(uevent_data, length, "PANEL_ALIVE="); in HWCUeventThreadHandler() 1343 int HWCSession::GetEventValue(const char *uevent_data, int length, const char *event_info) { in GetEventValue() argument 1344 const char *iterator_str = uevent_data; in GetEventValue() [all …]
|
D | hwc_session.h | 81 int GetEventValue(const char *uevent_data, int length, const char *event_info);
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/ |
D | hwc_session.cpp | 96 char uevent_data[PAGE_SIZE] = {}; in UEventThread() local 99 int length = uevent_next_event(uevent_data, INT32(sizeof(uevent_data)) - 2); in UEventThread() 105 hwc_uevent->uevent_listener_->UEventHandler(uevent_data, length); in UEventThread() 1332 void HWCSession::UEventHandler(const char *uevent_data, int length) { in UEventHandler() argument 1333 if (strcasestr(uevent_data, HWC_UEVENT_SWITCH_HDMI)) { in UEventHandler() 1334 DLOGI("Uevent HDMI = %s", uevent_data); in UEventHandler() 1335 int connected = GetEventValue(uevent_data, length, "SWITCH_STATE="); in UEventHandler() 1342 } else if (strcasestr(uevent_data, HWC_UEVENT_GRAPHICS_FB0)) { in UEventHandler() 1343 DLOGI("Uevent FB0 = %s", uevent_data); in UEventHandler() 1344 int panel_reset = GetEventValue(uevent_data, length, "PANEL_ALIVE="); in UEventHandler() [all …]
|
D | hwc_session.h | 49 virtual void UEventHandler(const char *uevent_data, int length) = 0; 159 virtual void UEventHandler(const char *uevent_data, int length); 160 int GetEventValue(const char *uevent_data, int length, const char *event_info);
|
/hardware/qcom/display/msm8909/sdm/libs/hwc/ |
D | hwc_session.cpp | 1427 static char uevent_data[PAGE_SIZE]; in HWCUeventThreadHandler() local 1446 length = uevent_next_event(uevent_data, INT32(sizeof(uevent_data)) - 2); in HWCUeventThreadHandler() 1448 if (strcasestr(HWC_UEVENT_SWITCH_HDMI, uevent_data)) { in HWCUeventThreadHandler() 1449 DLOGI("Uevent HDMI = %s", uevent_data); in HWCUeventThreadHandler() 1450 int connected = GetEventValue(uevent_data, length, "SWITCH_STATE="); in HWCUeventThreadHandler() 1457 } else if (strcasestr(HWC_UEVENT_GRAPHICS_FB0, uevent_data)) { in HWCUeventThreadHandler() 1458 DLOGI("Uevent FB0 = %s", uevent_data); in HWCUeventThreadHandler() 1459 int panel_reset = GetEventValue(uevent_data, length, "PANEL_ALIVE="); in HWCUeventThreadHandler() 1475 int HWCSession::GetEventValue(const char *uevent_data, int length, const char *event_info) { in GetEventValue() argument 1476 const char *iterator_str = uevent_data; in GetEventValue() [all …]
|
D | hwc_session.h | 82 int GetEventValue(const char *uevent_data, int length, const char *event_info);
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc/ |
D | hwc_session.cpp | 1427 static char uevent_data[PAGE_SIZE]; in HWCUeventThreadHandler() local 1446 length = uevent_next_event(uevent_data, INT32(sizeof(uevent_data)) - 2); in HWCUeventThreadHandler() 1448 if (strcasestr(HWC_UEVENT_SWITCH_HDMI, uevent_data)) { in HWCUeventThreadHandler() 1449 DLOGI("Uevent HDMI = %s", uevent_data); in HWCUeventThreadHandler() 1450 int connected = GetEventValue(uevent_data, length, "SWITCH_STATE="); in HWCUeventThreadHandler() 1457 } else if (strcasestr(HWC_UEVENT_GRAPHICS_FB0, uevent_data)) { in HWCUeventThreadHandler() 1458 DLOGI("Uevent FB0 = %s", uevent_data); in HWCUeventThreadHandler() 1459 int panel_reset = GetEventValue(uevent_data, length, "PANEL_ALIVE="); in HWCUeventThreadHandler() 1475 int HWCSession::GetEventValue(const char *uevent_data, int length, const char *event_info) { in GetEventValue() argument 1476 const char *iterator_str = uevent_data; in GetEventValue() [all …]
|
D | hwc_session.h | 82 int GetEventValue(const char *uevent_data, int length, const char *event_info);
|
/hardware/qcom/display/msm8909/sdm/libs/hwc2/ |
D | hwc_session.cpp | 98 char uevent_data[PAGE_SIZE] = {}; in UEventThread() local 101 int length = uevent_next_event(uevent_data, INT32(sizeof(uevent_data)) - 2); in UEventThread() 107 hwc_uevent->uevent_listener_->UEventHandler(uevent_data, length); in UEventThread() 1408 void HWCSession::UEventHandler(const char *uevent_data, int length) { in UEventHandler() argument 1409 if (!strcasecmp(uevent_data, HWC_UEVENT_SWITCH_HDMI)) { in UEventHandler() 1410 DLOGI("Uevent HDMI = %s", uevent_data); in UEventHandler() 1411 int connected = GetEventValue(uevent_data, length, "SWITCH_STATE="); in UEventHandler() 1418 } else if (!strcasecmp(uevent_data, HWC_UEVENT_GRAPHICS_FB0)) { in UEventHandler() 1419 DLOGI("Uevent FB0 = %s", uevent_data); in UEventHandler() 1420 int panel_reset = GetEventValue(uevent_data, length, "PANEL_ALIVE="); in UEventHandler() [all …]
|
D | hwc_session.h | 58 virtual void UEventHandler(const char *uevent_data, int length) = 0; 169 virtual void UEventHandler(const char *uevent_data, int length); 170 int GetEventValue(const char *uevent_data, int length, const char *event_info);
|
/hardware/qcom/display/msm8996/sdm/libs/hwc2/ |
D | hwc_session.cpp | 1398 static char uevent_data[PAGE_SIZE]; in HWCUeventThreadHandler() local 1410 length = uevent_next_event(uevent_data, INT32(sizeof(uevent_data)) - 2); in HWCUeventThreadHandler() 1412 if (strcasestr(HWC_UEVENT_SWITCH_HDMI, uevent_data)) { in HWCUeventThreadHandler() 1413 DLOGI("Uevent HDMI = %s", uevent_data); in HWCUeventThreadHandler() 1414 int connected = GetEventValue(uevent_data, length, "SWITCH_STATE="); in HWCUeventThreadHandler() 1421 } else if (strcasestr(HWC_UEVENT_GRAPHICS_FB0, uevent_data)) { in HWCUeventThreadHandler() 1422 DLOGI("Uevent FB0 = %s", uevent_data); in HWCUeventThreadHandler() 1423 int panel_reset = GetEventValue(uevent_data, length, "PANEL_ALIVE="); in HWCUeventThreadHandler() 1435 int HWCSession::GetEventValue(const char *uevent_data, int length, const char *event_info) { in GetEventValue() argument 1436 const char *iterator_str = uevent_data; in GetEventValue() [all …]
|
D | hwc_session.h | 129 int GetEventValue(const char *uevent_data, int length, const char *event_info);
|
/hardware/qcom/display/msm8998/sdm/libs/hwc2/ |
D | hwc_session.cpp | 1443 static char uevent_data[PAGE_SIZE]; in HWCUeventThreadHandler() local 1455 length = uevent_next_event(uevent_data, INT32(sizeof(uevent_data)) - 2); in HWCUeventThreadHandler() 1457 if (strcasestr(HWC_UEVENT_SWITCH_HDMI, uevent_data)) { in HWCUeventThreadHandler() 1458 DLOGI("Uevent HDMI = %s", uevent_data); in HWCUeventThreadHandler() 1459 int connected = GetEventValue(uevent_data, length, "SWITCH_STATE="); in HWCUeventThreadHandler() 1466 } else if (strcasestr(HWC_UEVENT_GRAPHICS_FB0, uevent_data)) { in HWCUeventThreadHandler() 1467 DLOGI("Uevent FB0 = %s", uevent_data); in HWCUeventThreadHandler() 1468 int panel_reset = GetEventValue(uevent_data, length, "PANEL_ALIVE="); in HWCUeventThreadHandler() 1480 int HWCSession::GetEventValue(const char *uevent_data, int length, const char *event_info) { in GetEventValue() argument 1481 const char *iterator_str = uevent_data; in GetEventValue() [all …]
|
D | hwc_session.h | 128 int GetEventValue(const char *uevent_data, int length, const char *event_info);
|
/hardware/qcom/sm8150/display/sdm/libs/hwc2/ |
D | hwc_session.cpp | 124 char uevent_data[PAGE_SIZE] = {}; in UEventThread() local 127 int length = uevent_next_event(uevent_data, INT32(sizeof(uevent_data)) - 2); in UEventThread() 133 hwc_uevent->uevent_listener_->UEventHandler(uevent_data, length); in UEventThread() 2411 int GetEventValue(const char *uevent_data, int length, const char *event_info) { in GetEventValue() argument 2412 const char *iterator_str = uevent_data; in GetEventValue() 2413 while (((iterator_str - uevent_data) <= length) && (*iterator_str)) { in GetEventValue() 2424 const char *GetTokenValue(const char *uevent_data, int length, const char *token) { in GetTokenValue() argument 2425 const char *iterator_str = uevent_data; in GetTokenValue() 2427 while (((iterator_str - uevent_data) <= length) && (*iterator_str)) { in GetTokenValue() 2482 void HWCSession::UEventHandler(const char *uevent_data, int length) { in UEventHandler() argument [all …]
|
D | hwc_session.h | 96 virtual void UEventHandler(const char *uevent_data, int length) = 0; 265 virtual void UEventHandler(const char *uevent_data, int length);
|