You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This seems possible, I can think of a few ways to do it - 1) you can override native methods from parent classes with non-parent subclasses, and 2) You could code generate a native library and load that, and have it provide a faked implementation.
Where it gets more difficult is with the binder example you mentioned - Note that you can't mock final or static methods before Android P (where the mockito-inline support was added). I'm not sure the JVMTI implementation would play with native methods, that still needs more investigation.
I don't know when we'll have time to work on this however. I'll take this to my team and see if anyone can work on it, but also if anyone is interested in trying it out we're open to PRs!
For example, Binder.getCallindUid()
The text was updated successfully, but these errors were encountered: