2

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?

Onik
  • 19,396
  • 14
  • 68
  • 91
thisEric
  • 486
  • 7
  • 18

1 Answers1

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 :

Reno
  • 33,594
  • 11
  • 89
  • 102
  • 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
  • 1
    The binder driver is now in `drivers/staging/android/binder.c` – Kevin Boos Apr 19 '15 at 20:47