Home
last modified time | relevance | path

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

/hardware/interfaces/health/utils/libhealthloop/
DHealthLoop.cpp128 #define UEVENT_MSG_LEN 2048 macro
132 char msg[UEVENT_MSG_LEN + 2]; in UeventEvent()
136 n = uevent_kernel_multicast_recv(uevent_fd_, msg, UEVENT_MSG_LEN); in UeventEvent()
138 if (n >= UEVENT_MSG_LEN) /* overflow -- discard */ in UeventEvent()
/hardware/google/pixel/pixelstats/
DUeventListener.cpp48 constexpr int32_t UEVENT_MSG_LEN = 2048; // it's 2048 in all other users. variable
253 char msg[UEVENT_MSG_LEN + 2]; in ProcessUevent()
268 n = uevent_kernel_multicast_recv(uevent_fd_, msg, UEVENT_MSG_LEN); in ProcessUevent()
269 if (n <= 0 || n >= UEVENT_MSG_LEN) in ProcessUevent()
/hardware/interfaces/usb/1.0/default/
DUsb.h14 #define UEVENT_MSG_LEN 2048 macro
DUsb.cpp320 char msg[UEVENT_MSG_LEN + 2]; in uevent_event()
324 n = uevent_kernel_multicast_recv(payload->uevent_fd, msg, UEVENT_MSG_LEN); in uevent_event()
327 if (n >= UEVENT_MSG_LEN) /* overflow -- discard */ in uevent_event()
/hardware/knowles/athletico/sound_trigger_hal/tests/
Dcrash_event_logger.c34 #define UEVENT_MSG_LEN (1024) macro
593 char msg[UEVENT_MSG_LEN]; in main()
633 n = uevent_kernel_multicast_recv(fds[0].fd, msg, UEVENT_MSG_LEN); in main()
/hardware/knowles/athletico/sound_trigger_hal/
Dsound_trigger_hw_iaxxx.c53 #define UEVENT_MSG_LEN (1024) macro
2198 char msg[UEVENT_MSG_LEN]; in callback_thread_loop()
2291 n = uevent_kernel_multicast_recv(fds[0].fd, msg, UEVENT_MSG_LEN); in callback_thread_loop()