summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* Merge tag 'android-6.0.1_r74' into HEADJessica Wagantall2016-11-091-0/+5
|\ | | | | | | | | | | | | | | CYNGNOS-3303 Android 6.0.1 release 74 Change-Id: I2dade45f30d4ca2fa8c6efa5c7242de1a02f5c15
| * liblog: add __android_log_close()Mark Salyzyn2016-09-271-0/+5
| | | | | | | | | | | | | | | | | | Bug: 30963384 (cherry picked from commit df7a4c6bae5f85532d79a93b7d9197a2aab17825) Change-Id: I2255486e84dd55af0f4e7fbbfb616c2deb1765d0 (cherry picked from commit 2d149691552676968b7de337f543463b920578b0)
| * Fix vold vulnerability in FrameworkListenerConnor O'Brien2016-08-251-0/+1
| | | | | | | | | | | | | | | | | | | | | | Modify FrameworkListener to ignore commands that exceed the maximum buffer length and send an error message. Bug: 29831647 Change-Id: I9e57d1648d55af2ca0191bb47868e375ecc26950 Signed-off-by: Connor O'Brien <connoro@google.com> (cherry picked from commit baa126dc158a40bc83c17c6d428c760e5b93fb1a) (cherry picked from commit 470484d2a25ad432190a01d1c763b4b36db33c7e)
* | Merge tag 'android-6.0.1_r72' into HEADJessica Wagantall2016-10-061-0/+1
|\ \ | | | | | | | | | | | | | | | | | | Android 6.0.1 Release 72 (M4B30X) # gpg: Signature made Tue 04 Oct 2016 09:47:47 AM PDT using DSA key ID 9AB10E78 # gpg: Can't check signature: public key not found
| * | Fix vold vulnerability in FrameworkListenerConnor O'Brien2016-08-261-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Modify FrameworkListener to ignore commands that exceed the maximum buffer length and send an error message. Bug: 29831647 Change-Id: I9e57d1648d55af2ca0191bb47868e375ecc26950 Signed-off-by: Connor O'Brien <connoro@google.com> (cherry picked from commit baa126dc158a40bc83c17c6d428c760e5b93fb1a) (cherry picked from commit 470484d2a25ad432190a01d1c763b4b36db33c7e)
| * | libutils/Unicode.cpp: Correct length computation and add checks for utf16->utf8Sergio Giro2016-08-161-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Inconsistent behaviour between utf16_to_utf8 and utf16_to_utf8_length is causing a heap overflow. Correcting the length computation and adding bound checks to the conversion functions. Test: ran libutils_tests Bug: 29250543 Change-Id: I6115e3357141ed245c63c6eb25fc0fd0a9a7a2bb (cherry picked from commit c4966a363e46d2e1074d1a365e232af0dcedd6a1)
* | | Merge tag 'android-6.0.1_r66' into HEADJessica Wagantall2016-09-071-2/+2
|\ \ \ | | |/ | |/| | | | | | | | | | Android 6.0.1 release 66 Change-Id: I5ccc6e68283e30b8d0419eb7512c7183e58ec5ed
| * | libutils/Unicode.cpp: Correct length computation and add checks for utf16->utf8Sergio Giro2016-07-211-2/+2
| |/ | | | | | | | | | | | | | | | | | | | | | | | | Inconsistent behaviour between utf16_to_utf8 and utf16_to_utf8_length is causing a heap overflow. Correcting the length computation and adding bound checks to the conversion functions. Test: ran libutils_tests Bug: 29250543 Change-Id: I6115e3357141ed245c63c6eb25fc0fd0a9a7a2bb (cherry picked from commit c4966a363e46d2e1074d1a365e232af0dcedd6a1)
* | Use fsck.f2fs -a instead of -f for faster bootYusuke Sato2016-05-051-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and run fsck with -f on clean shutdown instead. With -f, fsck.f2fs always performs a full scan of the /data partition regardless of whether the partition is clean or not. The full scan takes more than 2 seconds on volantis-userdebug and delays the OS boot. With -a, the command does almost nothing when the partition is clean and finishes within 20-30ms on volantis-userdebug. When the partition has an error or its check point has CP_FSCK_FLAG (aka "need_fsck"), the command does exactly the same full scan as -f to fix it. Bug: 21853106 Change-Id: I126263caf34c0f5bb8f5e6794454d4e72526ce38
* | Merge tag 'android-6.0.1_r10' into HEADJessica Wagantall2016-01-051-0/+9
|\ \ | |/ | | | | | | Ticket: CYNGNOS-1404 Android 6.0.1 release 10
| * Add macro to call event logger for errors.William Luh2015-12-011-0/+9
| | | | | | | | | | Bug:23180694 Change-Id: I566a290334345f48013029534efef3e08e726e40
* | 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