Add getNativeTid function

Add a function to get native thread id for java Thread.

Bug: 139521784
Test: CtsLibcoreTestCases, device boot to home, thread priority set
      as expected.
Change-Id: Ic13c1380374044754f007136666dc0928ce1f143
1 file changed