Fix MediaPlayer trigerring transcoding

Only mp4 files which are located at "/storage/emulated/<user
id>/DCIM/Camera/" can be transcoded. Unfortunately, filepaths
from file descriptors which apps get via uri starts with
"/mnt/user/<user id>/emulated/". So the filepath should be converted to
filepath for lower fs.

Also lightly refactored the MediaProvider#getFuseFile method into
FileUtils#[to|from]FuseFile

Bug: 201389568
Test: atest MediaProviderTest && atest FileUtilsTest
Change-Id: Icf56aee0a6cf8a09d0f93c2de5e8f17854299805
Merged-In: Icf56aee0a6cf8a09d0f93c2de5e8f17854299805
4 files changed