I am trying to read Android source code to learn about binder, but I am not able to find the part of binder driver as described in the Android system architecture. Any idea where the binder code resides in Android source?
Asked
Active
Viewed 2,615 times
1 Answers
2
The binder driver can be found in the kernel source code:
It's location can vary depending on the source code you have access to. It is usually at :
/kernel/drivers/misc/binder.c
Other binder reading :
![](../../users/profiles/68805.webp)
Reno
- 32,851
- 11
- 85
- 99
-
Thanks Reno, I downloaded android source from android website, but I cannot find the directory you said, anyway, thanks very much – thisEric Jul 05 '11 at 08:36
-
Maybe the source does not contain kernel code. If you only want to read it, [you can online](http://os1a.cs.columbia.edu/lxr/source/drivers/staging/android/binder.c?a=x86) – Reno Jul 05 '11 at 09:04
-
1The binder driver is now in `drivers/staging/android/binder.c` – Kevin Boos Apr 19 '15 at 20:47