Lines Matching refs:uevent_data
115 char uevent_data[PAGE_SIZE] = {}; in UEventThread() local
118 int length = uevent_next_event(uevent_data, INT32(sizeof(uevent_data)) - 2); in UEventThread()
124 hwc_uevent->uevent_listener_->UEventHandler(uevent_data, length); in UEventThread()
2373 int GetEventValue(const char *uevent_data, int length, const char *event_info) { in GetEventValue() argument
2374 const char *iterator_str = uevent_data; in GetEventValue()
2375 while (((iterator_str - uevent_data) <= length) && (*iterator_str)) { in GetEventValue()
2386 const char *GetTokenValue(const char *uevent_data, int length, const char *token) { in GetTokenValue() argument
2387 const char *iterator_str = uevent_data; in GetTokenValue()
2389 while (((iterator_str - uevent_data) <= length) && (*iterator_str)) { in GetTokenValue()
2483 void HWCSession::UEventHandler(const char *uevent_data, int length) { in UEventHandler() argument
2488 if (callbacks_.IsClientConnected() && strcasestr(uevent_data, HWC_UEVENT_DRM_EXT_HOTPLUG)) { in UEventHandler()
2491 const char *str_status = GetTokenValue(uevent_data, length, "status="); in UEventHandler()
2492 const char *str_mst = GetTokenValue(uevent_data, length, "MST_HOTPLUG="); in UEventHandler()
2497 hpd_bpp_ = GetEventValue(uevent_data, length, "bpp="); in UEventHandler()
2498 hpd_pattern_ = GetEventValue(uevent_data, length, "pattern="); in UEventHandler()
2499 DLOGI("Uevent = %s, status = %s, MST_HOTPLUG = %s, bpp = %d, pattern = %d", uevent_data, in UEventHandler()