Searched refs:UEVENT_MSG_LEN (Results 1 – 8 of 8) sorted by relevance
/hardware/interfaces/health/utils/libhealthloop/ |
D | HealthLoop.cpp | 126 #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/ |
D | Usb.h | 14 #define UEVENT_MSG_LEN 2048 macro
|
D | Usb.cpp | 320 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/ |
D | Usb.h | 24 #define UEVENT_MSG_LEN 2048 macro
|
D | Usb.cpp | 595 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/ |
D | UeventListener.cpp | 76 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/ |
D | crash_event_logger.c | 34 #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/ |
D | sound_trigger_hw_iaxxx.c | 53 #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()
|