Fix wrong FUSE-JNI uid and tid

1. During open, the uid used in the struct handle should be the uid
received from MediaProvider over JNI. This allows correct attribution
of the transcoding task

2. During lookup, the tid field was ommitted when calling into
Java. This caused the tid field to be populated with garbage and
mPendingOpenInfo cache was never hit

Test: atest TranscodeTest
Bug: 174655855
Change-Id: I4ffd3c94191d2f86d0ecbda495ef671be841f252
2 files changed