[Android] Add the bridge code to evaluate javascript code for test.

This patch is to add bridge code to evaluate javascript code for
test according to the upstream's change in native code.