summaryrefslogtreecommitdiffstats
path: root/find_file.cpp (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-05-31Fix missing closedir() in Find_File::Find_Internal()Vojtech Bocek1-1/+2
Change-Id: Ie74570d3203be347390ca74bd00429bde87d6741 Signed-off-by: Vojtech Bocek <vbocek@gmail.com>
2014-04-15Add find file class to search for filesEthan Yonker1-0/+89
Scan a folder for a file based on file name. First scan the files in the current path, then search real directories and finally search symlinks in that order. Goal is to locate important sysfs files for things like brightness, battery capacity, lun files, etc This implementation just scans for the brightness file for the LCD Change-Id: I8ed3e74a2e2851d58b443718b6e92b50a5491f08