linux/drivers/android
Tiffany Yang f6544dcdd0 binder: Convert binder_alloc selftests to KUnit
Convert the existing binder_alloc_selftest tests into KUnit tests. These
tests allocate and free an exhaustive combination of buffers with
various sizes and alignments. This change allows them to be run without
blocking or otherwise interfering with other processes in binder.

This test is refactored into more meaningful cases in the subsequent
patch.

Signed-off-by: Tiffany Yang <ynaffit@google.com>
Acked-by: Carlos Llamas <cmllamas@google.com>
Link: https://lore.kernel.org/r/20250714185321.2417234-6-ynaffit@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-07-16 14:11:59 +02:00
..
tests binder: Convert binder_alloc selftests to KUnit 2025-07-16 14:11:59 +02:00
binder.c binder: Convert binder_alloc selftests to KUnit 2025-07-16 14:11:59 +02:00
binder_alloc.c binder: Convert binder_alloc selftests to KUnit 2025-07-16 14:11:59 +02:00
binder_alloc.h binder: Convert binder_alloc selftests to KUnit 2025-07-16 14:11:59 +02:00
binder_internal.h binder: Scaffolding for binder_alloc KUnit tests 2025-07-16 14:11:58 +02:00
binder_trace.h binder: Remove unused binder lock events 2025-06-24 17:23:59 +01:00
binderfs.c binder: use kstrdup() in binderfs_binder_device_create() 2025-07-16 14:11:20 +02:00
dbitmap.h binder: fix descriptor lookup for context manager 2024-07-31 13:47:48 +02:00
Kconfig binder: Convert binder_alloc selftests to KUnit 2025-07-16 14:11:59 +02:00
Makefile binder: Convert binder_alloc selftests to KUnit 2025-07-16 14:11:59 +02:00