summaryrefslogtreecommitdiffstats
path: root/media/libmedia/MediaScannerClient.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Use CharacterEncodingDetector in metadataretrieverMarco Nelissen2014-09-021-24/+5
| | | | | | | | | | | instead of media scanner. This way the java MediaMetadataRetriever API will give the same result as the media scanner. Also apply some tweaks to the encoding detector to improve handling of ISO-8859-1 tags. Bug: 16302581, 17205395 Change-Id: I1682a7a6a8bf04cffaa455044ba72dd7fd152d49
* Better character set encoding detectionMarco Nelissen2013-12-111-181/+21
| | | | | | | | | | Id3 tags are supposed to be ISO-8859-1 or unicode, but often aren't. To better detect the real encoding we now use ICU to detect possible encodings for a given byte sequence, then apply additional heuristics to determine the most likely one. b/5564857 Change-Id: I53bc83b006433da5c2f2ccfcd770ddb3a26b64d0
* libutils clean-upMathias Agopian2013-05-071-1/+1
| | | | Change-Id: I3bf32d72aa8eec627249a675c130c91a8aff6710
* Whitespace and indentationGlenn Kasten2012-03-131-1/+0
| | | | | | | | | | | | | | Fix indentation to be multiple of 4. Make it easier to search: sp< not sp < to "switch (...)" instead of "switch(...)" (also "if" and "while") Remove redundant blank line at start or EOF. Remove whitespace at end of line. Remove extra blank lines where they don't add value. Use git diff -b or -w to verify. Change-Id: I966b7ba852faa5474be6907fb212f5e267c2874e
* No newline or space at end of ALOG format stringGlenn Kasten2012-02-081-3/+3
| | | | Change-Id: I0bef580cbc818cb7c87aea23919d26f1446cec32
* libmedia new can't fail on AndroidGlenn Kasten2012-01-111-0/+1
| | | | Change-Id: Ie79dd5abb8078b35474bf0f1b3a6ff994a3a3360
* Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGESteve Block2012-01-081-3/+3
| | | | | | | See https://android-git.corp.google.com/g/#/c/157220 Bug: 5449033 Change-Id: Ic9c19d30693bd56755f55906127cd6bd7126096c
* status_t != boolMarco Nelissen2011-11-181-1/+1
| | | | | | b/5567433 Change-Id: I255ab8c3b0b5e0ea6a5cc7c05df757c667f3855e
* Untangle MediaScanner error handling.Jeff Brown2011-07-201-2/+4
| | | | | | Bug: 5056917 Change-Id: I1a7a73579e3ba4e9709459329fc1901a28b0f4b1
* Revert "Do autodetection even if no locale was specified, and use the"Marco Nelissen2010-03-111-39/+35
| | | | This reverts commit b45b0845a6db32848ad08ac1037ef67a68ec2d39.
* Do autodetection even if no locale was specified, and use theMarco Nelissen2010-02-101-35/+39
| | | | detected encoding if it is unambiguous.
* Refactor MediaScanner. Some steps on the way towards being able to build the ↵Andreas Huber2009-12-031-0/+228
tree without OpenCore.