Implement JNI methods to support multiple nodes with same name

JNI methods were added in I39cf223d5bb5f7b959dbb59ec3035083f6b3b384,
here we add the implementation for transcoding.

Test: Manual && fsstress for ~24hrs
Bug: 158466177
Change-Id: I601e90551dd81dade4f5164a4f78cd62f777a8f5
3 files changed