Home
last modified time | relevance | path

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

/hardware/interfaces/health/utils/libhealthloop/
DHealthLoop.cpp126 #define UEVENT_MSG_LEN 2048 macro
130 char msg[UEVENT_MSG_LEN + 2]; in UeventEvent()
134 n = uevent_kernel_multicast_recv(uevent_fd_, msg, UEVENT_MSG_LEN); in UeventEvent()
136 if (n >= UEVENT_MSG_LEN) /* overflow -- discard */ in UeventEvent()
/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/interfaces/usb/aidl/default/
DUsb.h24 #define UEVENT_MSG_LEN 2048 macro
DUsb.cpp595 char msg[UEVENT_MSG_LEN + 2]; in uevent_event()
599 n = uevent_kernel_multicast_recv(payload->uevent_fd, msg, UEVENT_MSG_LEN); in uevent_event()
602 if (n >= UEVENT_MSG_LEN) /* overflow -- discard */ in uevent_event()
648 uevent_fd = uevent_open_socket(UEVENT_MAX_EVENTS * UEVENT_MSG_LEN, true); in work()
/hardware/google/pixel/pixelstats/
DUeventListener.cpp76 constexpr int32_t UEVENT_MSG_LEN = 2048; // it's 2048 in all other users. variable
399 char msg[UEVENT_MSG_LEN + 2]; in ProcessUevent()
426 n = uevent_kernel_multicast_recv(uevent_fd_, msg, UEVENT_MSG_LEN); in ProcessUevent()
427 if (n <= 0 || n >= UEVENT_MSG_LEN) in ProcessUevent()
/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
2196 char msg[UEVENT_MSG_LEN]; in callback_thread_loop()
2308 n = uevent_kernel_multicast_recv(fds[0].fd, msg, UEVENT_MSG_LEN); in callback_thread_loop()