Implement FUSE readdir Function
Returns the buffer with directory entries. readdir gets most of the
directory entries by querying MediaProvider database. Paths that are not
indexed by MediaProvider database are handled by querying the lower file
system.
Bug: 142806973
Bug: 142475473
Test: ls -R /storage/emulated/0/ Returns a list of files and directories filtered
based on the visibility of the app to the corresponding file/directory.
Change-Id: Ic9840d71483d7abe1b950c90f06f96ef9895ca61
7 files changed