Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to find source code of native java function call

The Android OS has a class called BinderProxy inside android.os.Binder.java. This class has the following function declaration:

public native boolean transact(int code, Parcel data, Parcel reply, int flags) throws RemoteException;

I want to find out what code is executed when this function is called.

How will I do that ?

like image 932
Jake Avatar asked Mar 16 '12 16:03

Jake


Video Answer


1 Answers

Look over here, this is the source code of Binder.cpp, which includes this function.

like image 191
MByD Avatar answered Oct 27 '22 00:10

MByD