summaryrefslogtreecommitdiffstats
path: root/libs/utils/FileMap.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Change assets to use 64-bit APIKenny Root2010-12-081-3/+4
| | | | | | | | | | | | | The asset system and supporting libraries were using off_t instead of off64_t to access files larger than 2GB (32-bit signed). This change replaces all off_t with off64_t and lseek64. There is a new utils/Compat.h added for Mac OS compatibility. Also fixed some size-related compiler warnings. Bug: 3205336 Change-Id: I9097b3cb7a602e811fe52f245939d8975da55e9e
* Improve support for external keyboards.Jeff Brown2010-12-021-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | Use Vendor ID, Product ID and optionally the Version to locate keymaps and configuration files for external devices. Moved virtual key definition parsing to native code so that EventHub can identify touch screens with virtual keys and load the appropriate key layout file. Cleaned up a lot of old code in EventHub. Fixed a regression in ViewRoot's fallback event handling. Fixed a minor bug in FileMap that caused it to try to munmap or close invalid handled when released if the attempt to map the file failed. Added a couple of new String8 conveniences for formatting strings. Modified Tokenizer to fall back to open+read when mmap fails since we can't mmap sysfs files as needed to open the virtual key definition files in /sys/board_properties/. Change-Id: I6ca5e5f9547619fd082ddac47e87ce185da69ee6
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+222
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-222/+0
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+222