summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* camera: Add L-compatible camera feature enumsSteve Kondik2015-11-051-0/+16
| | | | | | | | * These QC-specific features have been renumbered in M, so add a compilation flag to permit using the old versions in case we can't rebuild the driver. Change-Id: I3f5a545fde8b27684b1b8ea490c09bb66e3b4cd9
* cutils: Add support for ioprio cgroupSteve Kondik2015-10-121-0/+2
| | | | Change-Id: I335816304573149c1d96c5e6ea804a49e7695996
* system: core: Add Sensors groupSatya Durga Srinivasu Prabhala2015-10-061-0/+4
| | | | | | | | Defining group for sensors. CRs-Fixed: 431081 Change-Id: I58151f2fd727bded1b16adb3caeac85e27e44036
* diag: Add new qcom_diag group to access /dev/diagSreelakshmi Gownipalli2015-10-061-0/+2
| | | | | | | This change adds the definition of qcom_diag and also modify the /dev/diag node group to qcom_diag. Change-Id: I07bd099c76f3fd2685f3a6698e37314a0a2c8f44
* Allocate a new AIDs for RFS moduleNikhilesh Reddy2015-10-061-0/+6
| | | | | | | | | Allocate new AIDs to allow the RFS module to run as after dropping privelages from ROOT and to enforce strict permissions on shared and private RFS files. Change-Id: Ic4febd565df9f232f6c7571355ec10d8fd2e21bd
* Camera: Add feature extensionsShuzhen Wang2015-10-061-1/+52
| | | | | | | | | | | | | | | | | This change includes below commits: Camera bringup changes system-core Change-Id: I1cf98641eca9096bd27645e07ea802646ea1fb96 system/core: Fix for HAL compilation issues while integrating HAL 1.0 Change-Id: Iead9c1ade279b64c5cbdf4d2de1a8b695939c52a Camera: Add enum to specify the frame type Added enum to specify the frame type of either fd/data buffer CRs-fixed: 654901 Change-Id: I1c0b1a2c6a1425cdb6650cdfc20ca65835a1b81f Change-Id: I654a40661e6e101da2a06986abeceb20639cccd9
* Merge "graphics: update flexible YUV format gralloc requirement" into mnc-devYin-Chia Yeh2015-07-141-1/+1
|\
| * graphics: update flexible YUV format gralloc requirementYin-Chia Yeh2015-07-141-1/+1
| | | | | | | | | | | | | | | | Require gralloc accept flexible YUV when SW READ/WRITE usage is set. Also decouple flexible YUV from camera usage flag. Bug: 22379456 Change-Id: I5a82a8360b08036c31dc03cd639d449ba1e3ed01
* | fs_config: replace getenv('OUT') by new fs_config parameterThierry Strudel2015-07-091-2/+2
|/ | | | | | | | | | | | | | Using a getenv('OUT') in such a deep down function is a wrong design choice. Replacing with explicit parameter that may be NULL in case device specific files can be accessed from /. Since TARGET_COPY_OUT_SYSTEM may be defined to something different than system we also ensure that we use a path relative to TARGET_OUT to compute path to fs_config_* files. Bug: 21989305 Bug: 22048934 Change-Id: Id91bc183b29beac7379d1117ad83bd3346e6897b Signed-off-by: Thierry Strudel <tstrudel@google.com>
* Add |optional_suffix| to StartIteration()Yusuke Sato2015-06-231-1/+3
| | | | | | | | so that PackageManagerService can iterate over files with a specific file extension like ".so". Bug: 21957428 Change-Id: I76ed9560d4d1e00d297a97d518ec357166be1981
* add cpuset support to libcutilsTim Murray2015-06-111-0/+2
| | | | | | bug 21782794 Change-Id: I249531754fb29442dc3c7434d77dbb103f4220a7
* Camera: Add new set video format/dataspace commandEino-Ville Talvala2015-06-081-0/+16
| | | | | | | | | | | | This allows the video encoding subsystem inform the camera what format and dataspace should be used for metadata-mode buffers. This is necessary to allow software encoders and other generic consumers that cannot interpret HAL_PIXEL_FORMAT_IMPLEMENTATION_DEFINED buffers. Bug: 13222807 Change-Id: I01090dc4dce11f075f7d3cd86daca5ecf3d9e995
* liblog: logcat: Add printable format modifierMark Salyzyn2015-06-041-1/+2
| | | | | | | | | | | | | | | (cherry pick from commit b932b2f8bac124b088edc93966281cca4567dc54) - added printable format modifier: logcat -v printable - opencoded borrowed individual utf8 validity checking algorithm from utf8_length() in libutils/Unicode.cpp - if considered basic one-character ASCII, use popular \x escape sequences for non-printable - logprint convert to C comments to drop mixed-mode Bug: 19000361 Change-Id: I122a5b8fb41216fc0bc816178c0b768f3df56586
* Change the 64 bit map address format.Christopher Ferris2015-06-031-7/+5
| | | | | | | | | | | | | | | | Previously, the map printing in tombstones for 64 bit devices uses a variable length value. This means that the maps are not lined up. The new format is to print the map as 00000000'00000000 in all ways. Also fix a bug where the backtrace_map_t did not initialize all parameters. Add unit tests for all of the dump_all_maps function. Bug: 20950813 (cherry picked from commit 862fe029190b6d8344889988fb85526e64b2f4b7) Change-Id: Ife5c48bddeb19006a98f9e87520474e97b97f6d9
* LibNativeBridge: Version 2Andreas Gampe2015-05-311-0/+42
| | | | | | | | | | | | | | | | | | | Add a callback function to retrieve "signal handler" from the bridge, if the bridge wants it to be managed by the runtime. The signal handler will be invoked after the runtime's own one, and before any other chained handler. Add a callback function to check compatibility of the bridge with the library. Add a function to expose the native bridge version. Add a test for this function. Bug: 20217701 (cherry picked from commit a6ac9ce98bd38099a4e89010111d14e4d5fc190e) Change-Id: Ic23a60b949f119c7d8b0e7cb27a61e6c16532a23
* Merge "Graphics depth formats: Add confidence values" into mnc-devEino-Ville Talvala2015-05-271-13/+29
|\
| * Graphics depth formats: Add confidence valuesEino-Ville Talvala2015-05-261-13/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Supplement the dense and sparse depth image formats with confidence values. For {HAL_PIXEL_FORMAT_Y_16, HAL_DATASPACE_DEPTH}, use the 3 MSBs for confidence. For {HAL_PIXEL_FORMAT_BLOB, HAL_DATASPACE_DEPTH}, add a 4th float value for confidence. Bug: 20123879 Change-Id: Idc27081efec682a712ce77ccfec59328f298b944
* | Merge "Adding a build id check to blob cache." into mnc-devMichael Lentine2015-05-271-0/+6
|\ \ | |/ |/|
| * Adding a build id check to blob cache.Michael Lentine2015-05-181-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a build id field to the header structure in blob cache. Add build id support with reading and writing the cache. When the cache gets written it writes the build id at the end of the header. When read it checks to see if there is a match between the current version and the version in the cache. If not, it invalidates the cache which would typically only occur during an ota update. Also remove blob cache from the host build. bug: 18262905 Change-Id: I753b1de1986703a4c1c8691b9d2bb533b2546143
* | Fix gettid() on Windows.Dan Albert2015-05-131-7/+10
| | | | | | | | | | | | | | | | | | | | Accidentally had this all hidden by an #ifndef _WIN32 when I wrote it. Bug: 19517541 (cherry picked from commit b3a36ca5ee79411c18984b85b224d9285b4468af) Change-Id: Ifbd5d19e506e7313700e2e29a2dae5736e049844
* | logcat: liblog: Add "usec" format argumentMark Salyzyn2015-05-131-8/+11
| | | | | | | | | | | | | | | | | | | | (cherry pick from commit e1f2004ecc05ce2d5d4313d16c7791594643f2ef) - Add additional 3 digits of time precision for time output adding in the reporting of usec - Remove trailing space in header file Change-Id: Ifb560850b8e01080e126fbaeab640db71cce3eea
* | liblog: Add kernel log idMark Salyzyn2015-05-131-0/+1
|/ | | | | | (cherry pick from commit 440e109d642b691eb857d14bcd1af76740e305fa) Change-Id: I53002f05a8bdf8d67e1d761c56c8761d3b534a76
* Add offset to map data.Christopher Ferris2015-05-061-0/+1
| | | | | | | | Also, print the offset in the maps section. Bug: 20864928 Change-Id: I71f005726e5ef73cf75bbcb8f829fd5127cb9d61 (cherry picked from commit 5c8856854de4ae7836fc1073d534f4b7b7a03eb9)
* Add load base to map for relocation packing.Christopher Ferris2015-05-011-0/+9
| | | | | | | | | | The new linker relocation packing support uses non-zero load bases, so we better handle them properly. Also print out the load base for a map if it's non-zero. Bug: 20687795 Change-Id: Iec2d1db2051e7b4a278c1dfa57d745128a7f2974
* libusbhost: Add usb_device_get_version()Mike Lockwood2015-04-291-0/+4
| | | | Change-Id: If2161178e9fe94a94faf01c102ef64f2a72d093b
* Merge "Add float support to binary event log." into mnc-devJeff Brown2015-04-291-0/+8
|\
| * Add float support to binary event log.Jeff Brown2015-04-281-0/+8
| | | | | | | | | | Bug: 20664753 Change-Id: Ib4752bd785496dab5bb4d4979d5d80f662adbdfa
* | ANativeWindow: Add NATIVE_WINDOW_BUFFER_AGE queryDan Stoza2015-04-281-1/+10
|/ | | | | | | | | Adds a NATIVE_WINDOW_BUFFER_AGE query, which returns the age of the contents of the most recently dequeued buffer as the number of frames that have elapsed since it was last queued. Change-Id: Ib6fd62945cb62d1e60133a65beee510363218a23 (cherry picked from commit 19df32cd19b7fd940eef01b9c92a485144263495)
* Merge "media: reserve color formats used by flex-YUV422/444 and RGB/A888"Lajos Molnar2015-04-241-4/+60
|\
| * media: reserve color formats used by flex-YUV422/444 and RGB/A888Lajos Molnar2015-04-241-4/+60
| | | | | | | | | | | | | | These are used by Image when MediaCodec produces a non-surface higher-resolution YUV image, or codec-specific ordered RGB/A image Change-Id: Ie5cd8236586b375cbc707d45584bd35415c274fc
* | Move LinearAlloc to libhwuiJohn Reck2015-04-231-97/+0
|/ | | | Change-Id: I83a70959ed0dcab2237faaf1dddc02b5eb0363c9
* am b1e5d2e3: am 68f3a5a0: am f75f16a1: Merge "Fix typos in comments"Richard Uhler2015-04-221-2/+2
|\ | | | | | | | | * commit 'b1e5d2e386d2738ce9415d349f2a71945830d0a6': Fix typos in comments
| * Merge "Fix typos in comments"Richard Uhler2015-04-221-2/+2
| |\
| | * Fix typos in commentsRichard Uhler2015-04-201-2/+2
| | | | | | | | | | | | Change-Id: Ia06ae6bec66e140fb302c650f7d62304864ca840
* | | am 97147ef2: am a7d47092: am a75b3de2: Merge "Mark time conversion functions ↵Michael Wright2015-04-211-15/+17
|\ \ \ | |/ / | | | | | | | | | | | | | | | as constexpr" * commit '97147ef2cd09bef1f348375611905864fa0fd068': Mark time conversion functions as constexpr
| * | Merge "Mark time conversion functions as constexpr"Michael Wright2015-04-211-15/+17
| |\ \
| | * | Mark time conversion functions as constexprMichael Wright2015-04-201-15/+17
| | | | | | | | | | | | | | | | Change-Id: I753c6975a8e1d78978c31175b2e1868eb374c442
* | | | am 9ab15f2f: am 39ce837d: am 9f2944aa: Merge "Remove dead code."Elliott Hughes2015-04-211-26/+0
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit '9ab15f2fd98b052be50045d5f88b4ee5dfbda413': Remove dead code.
| * | | Remove dead code.Elliott Hughes2015-04-211-26/+0
| | | | | | | | | | | | | | | | | | | | | | | | We weren't even building this. Change-Id: I8b2afbc76d784a7b24bbe0be6502b9fbcf0b5c09
* | | | am de165446: am 09495b7f: am eb7d308a: Merge "Remove a declaration for an ↵Elliott Hughes2015-04-211-1/+0
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | unimplemented function." * commit 'de165446ede9f663b24a2aeec91c34a6758db1ad': Remove a declaration for an unimplemented function.
| * | | Remove a declaration for an unimplemented function.Elliott Hughes2015-04-201-1/+0
| |/ / | | | | | | | | | Change-Id: I890cef52e9a8c26d98f227f269a7dcfcb6eaa795
* | | am 4601fbb8: am ec682735: am 0e2d6015: Merge "Revert "cutils: add ↵Greg Hackmann2015-04-161-52/+0
|\ \ \ | |/ / | | | | | | | | | | | | | | | OS-independent endian.h"" * commit '4601fbb8190723be24aab787ee62c2fc29523e30': Revert "cutils: add OS-independent endian.h"
| * | Merge "Revert "cutils: add OS-independent endian.h""Greg Hackmann2015-04-161-52/+0
| |\ \
| | * | Revert "cutils: add OS-independent endian.h"Greg Hackmann2015-04-161-52/+0
| | | | | | | | | | | | | | | | This reverts commit c3bac8b6719332f31140b2a034b70cf7f9eb3e51.
* | | | am 618c2edb: am 47578c68: am 88e03449: Merge "cutils: add OS-independent ↵Greg Hackmann2015-04-161-0/+52
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | endian.h" * commit '618c2edba1a4723e2673d09615a03368a43c9568': cutils: add OS-independent endian.h
| * | | Merge "cutils: add OS-independent endian.h"Greg Hackmann2015-04-161-0/+52
| |\ \ \ | | |/ /
| | * | cutils: add OS-independent endian.hGreg Hackmann2015-04-161-0/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cutils/endian.h provides the helpers defined in endian(3), either by pulling in the OS's built-in endian.h (where available) or recreating them using GCC builtins. Change-Id: Ic8965f67e1efdc03f884dbe6b7fe0276f840e4fc Signed-off-by: Greg Hackmann <ghackmann@google.com>
* | | | am 5808b357: am 972a8de7: am 51e32b52: Merge "Move trace.h to stdatomic."Yabin Cui2015-04-161-3/+3
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit '5808b3578aa871f7cf4eac3dda93604f9a014e50': Move trace.h to stdatomic.
| * | | Merge "Move trace.h to stdatomic."Yabin Cui2015-04-161-3/+3
| |\ \ \ | | |/ / | |/| |
| | * | Move trace.h to stdatomic.Yabin Cui2015-04-161-3/+3
| | | | | | | | | | | | | | | | | | | | Bug: 20262261 Change-Id: Idaf984786804eb76c285f38b11abbbc0d3706509