Home
last modified time | relevance | path

Searched refs:UEVENT_MSG_LEN (Results 1 – 3 of 3) sorted by relevance

/system/extras/tests/uevents/
Duevents.c20 #define UEVENT_MSG_LEN 1024 macro
25 char msg[UEVENT_MSG_LEN+2]; in main()
33 while ((n = uevent_kernel_multicast_recv(device_fd, msg, UEVENT_MSG_LEN)) > 0) { in main()
/system/core/healthd/
Dhealthd.cpp211 #define UEVENT_MSG_LEN 2048 macro
213 char msg[UEVENT_MSG_LEN+2]; in uevent_event()
217 n = uevent_kernel_multicast_recv(uevent_fd, msg, UEVENT_MSG_LEN); in uevent_event()
220 if (n >= UEVENT_MSG_LEN) /* overflow -- discard */ in uevent_event()
/system/core/init/
Ddevices.cpp895 #define UEVENT_MSG_LEN 2048 macro
898 char msg[UEVENT_MSG_LEN+2]; in handle_device_fd()
900 while ((n = uevent_kernel_multicast_recv(device_fd, msg, UEVENT_MSG_LEN)) > 0) { in handle_device_fd()
901 if(n >= UEVENT_MSG_LEN) /* overflow -- discard */ in handle_device_fd()