Searched refs:UEVENT_MSG_LEN (Results 1 - 4 of 4) sorted by relevance

/system/extras/tests/uevents/
H A Duevents.c20 #define UEVENT_MSG_LEN 1024 macro
25 char msg[UEVENT_MSG_LEN+2];
33 while ((n = uevent_kernel_multicast_recv(device_fd, msg, UEVENT_MSG_LEN)) > 0) {
/system/core/healthd/
H A Dhealthd.cpp129 #define UEVENT_MSG_LEN 1024 macro
131 char msg[UEVENT_MSG_LEN+2];
135 n = uevent_kernel_multicast_recv(uevent_fd, msg, UEVENT_MSG_LEN);
138 if (n >= UEVENT_MSG_LEN) /* overflow -- discard */
/system/core/charger/
H A Dcharger.c506 #define UEVENT_MSG_LEN 1024 macro
509 char msg[UEVENT_MSG_LEN+2];
518 n = uevent_kernel_multicast_recv(fd, msg, UEVENT_MSG_LEN);
521 if (n >= UEVENT_MSG_LEN) /* overflow -- discard */
/system/core/init/
H A Ddevices.c818 #define UEVENT_MSG_LEN 1024 macro
821 char msg[UEVENT_MSG_LEN+2];
823 while ((n = uevent_kernel_multicast_recv(device_fd, msg, UEVENT_MSG_LEN)) > 0) {
824 if(n >= UEVENT_MSG_LEN) /* overflow -- discard */

Completed in 79 milliseconds