Properly serialize access to FileSource::getSize by acquiring the mutex

Both ::getSize and ::read call into lseek64, if this happens simultaneously
from multiple threads the results are undefined if not properly serialized.

Change-Id: I737cafebd836f3d8eb702beac557b4731f69c6f6
related-to-bug: 5196490
1 file changed
tree: a99d1e91d87550a46a523acfc0734a72f56db917
  1. camera/
  2. cmds/
  3. drm/
  4. include/
  5. media/
  6. services/