summaryrefslogtreecommitdiffstats
path: root/include/cutils
Commit message (Collapse)AuthorAgeFilesLines
...
* | Add trace tag for power management.Jeff Brown2014-08-141-1/+2
| | | | | | | | | | Bug: 17004602 Change-Id: Iecd79e6e0417c02b902cde468b0e842f9348b386
* | Remove <cutils/tztime.h>.Elliott Hughes2014-07-241-24/+0
| | | | | | | | | | | | | | (cherry picked from commit f2e4b411e6e1a90209a4c815c37a36f0af1af120) Bug: 15765976 Change-Id: I758acdb18d75ea601a06d02b53f1df9f1ad17a26
* | Do not typedef char16_t if it is a keyword.Hans Boehm2014-07-181-1/+4
| | | | | | | | | | | | | | | | Don't define char16_t on platforms where char16_t is a keyword, as C11 and C++11 define it to be. (cherry picked from commit dfdbe61d28dbf3e45b6108d739170482ca19a03c) Change-Id: I6717bc2133c1363ecd85861f3869e1eabd2ce96a
* | am e6b0c566: am 981dcd79: Merge "Add comment to discourage use of ↵Hans Boehm2014-07-121-2/+33
|\ \ | |/ | | | | | | | | | | cutils/atomic.h." * commit 'e6b0c566762dbea1c45198d15ecc5e8a59378d73': Add comment to discourage use of cutils/atomic.h.
| * Add comment to discourage use of cutils/atomic.h.Hans Boehm2014-07-111-2/+33
| | | | | | | | Change-Id: Ib05c745158fdf5a11fd4697c3665a6370ffc04f5
* | am 8e1f3f58: am 2c2fdae7: am 633be1f3: Merge "Remove android_atomic_swap ↵Elliott Hughes2014-06-232-34/+0
|\ \ | |/ | | | | | | | | | | from mips & mips64." * commit '8e1f3f58e41e97cb6cf131d8bcd75e3ad2e733ad': Remove android_atomic_swap from mips & mips64.
| * Remove android_atomic_swap from mips & mips64.Elliott Hughes2014-06-232-34/+0
| | | | | | | | | | | | | | | | Looks like this got left behind in mips by mistake, and 84c3e9923108122045d689f1d2412359ad5208eb carried this over to mips64. Clean up before it wastes any more time... Change-Id: I6aeaa6e68be81f94065589337e2f7d3483e6e43c
* | am bad62c53: am ba467827: am 29705171: Merge "[MIPS64] add atomic-mips64"Elliott Hughes2014-06-232-0/+253
|\ \ | |/ | | | | | | * commit 'bad62c532c8fabbada924c617d983fbfc94623e3': [MIPS64] add atomic-mips64
| * Merge "[MIPS64] add atomic-mips64"Elliott Hughes2014-06-232-0/+253
| |\
| | * [MIPS64] add atomic-mips64Duane Sand2014-06-032-0/+253
| | | | | | | | | | | | | | | | | | Supplied by Broadcom. Change-Id: Ica8f4f6e713623e372a68e1dc11086ceb52516da
| * | cutils: Add property_get_bool, _get_int32, _get_int64Igor Murashkin2014-06-201-0/+59
| |/ | | | | | | | | | | | | | | | | * Read out system properties with same syntax as SystemProperties.java * Also adds unit test suite to validate correctness of properties * Also fixes buffer overrun in property_get (cherry picked from commit d4507e9246e4855c5431cac5c3d1a9155caebc87) Change-Id: Ifd42911f93e17da09e6ff1298e8875e02f3b6608
* | am b3697ec2: am c752d6dd: am bf082ffb: Merge "Updated trace.h to recognize ↵Elliott Hughes2014-05-281-1/+2
|\ \ | |/ | | | | | | | | | | ATRACE_TAG_BIONIC." * commit 'b3697ec2cb75d4f13c22a54b0ef90f4e8fb46e02': Updated trace.h to recognize ATRACE_TAG_BIONIC.
| * Merge "Updated trace.h to recognize ATRACE_TAG_BIONIC."Elliott Hughes2014-05-281-1/+2
| |\
| | * Updated trace.h to recognize ATRACE_TAG_BIONIC.Brigid Smith2014-05-271-1/+2
| | | | | | | | | | | | | | | Bug: 15116468 Change-Id: If8d4971505ffe5cbc193c6ad71618a5adb8192b6
* | | am 7aa8cdfb: am 21157abc: am 8814bd1d: Merge "include: cleanup for ↵Mark Salyzyn2014-05-233-2/+4
|\ \ \ | |/ / | | | | | | | | | | | | | | | -Wsystem-header" * commit '7aa8cdfb317dcb7efb7127b070526df09da05377': include: cleanup for -Wsystem-header
| * | include: cleanup for -Wsystem-headerMark Salyzyn2014-05-233-2/+4
| | | | | | | | | | | | | | | | | | | | | - warnings as errors, or errors introduced when -Wsystem-header was experimentally introduced. Change-Id: Ia8f5b3c1c1096e191741223d52526aa48c7f1cc4
* | | am 2113474a: am 17c3a227: am 617c28b8: Merge "Fix list_for_each_safe macro"Colin Cross2014-05-231-3/+3
|\ \ \ | |/ / | | | | | | | | | * commit '2113474ae090ee4c6a06864011ce8a4e4cae9673': Fix list_for_each_safe macro
| * | Merge "Fix list_for_each_safe macro"Colin Cross2014-05-221-3/+3
| |\ \
| | * | Fix list_for_each_safe macroThierry Escande2014-05-101-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The second macro parameter is named 'next' like listnode structure 'next' field. Since the precompiler will expand all 'next' occurrences in the macro definition with what is passed by the caller, it is not possible to call this macro with something else than 'next' as second parameter. This patch replaces the 'next' parameter with 'n' allowing use of a next node not named 'next'. Change-Id: I78c859caf8193f21fe0bedaeaa8342d6e89ad14b Signed-off-by: Thierry Escande <thierry.escande@linux.intel.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
* | | | am fcc81e3c: am 184eecf0: am 4ecbda41: Merge "Add list_add_head to libcutils"Colin Cross2014-05-231-0/+8
|\ \ \ \ | |/ / / | | | | | | | | | | | | * commit 'fcc81e3c6f0724b3b360b19071005e559334bc58': Add list_add_head to libcutils
| * | | Merge "Add list_add_head to libcutils"Colin Cross2014-05-221-0/+8
| |\ \ \ | | |_|/ | |/| |
| | * | Add list_add_head to libcutilsSamuel Ortiz2014-05-131-0/+8
| | |/ | | | | | | | | | | | | | | | | | | | | | Adds a node to the head of the linked list. Change-Id: I03fc81f348c5c4fdab8680928b6e353413e4bc3c Signed-off-by: Samuel Ortiz <sameo@linux.intel.com> Signed-off-by: Yong Yao <yong.yao@intel.com>
* | | am b42f1413: am 0e71e3ab: am 9cae50b3: Merge "Bound the ADB connect time ↵Elliott Hughes2014-05-201-0/+2
|\ \ \ | |/ / | | | | | | | | | | | | | | | with a non-blocking connect" * commit 'b42f141315ae0929325335645d397db04a500c88': Bound the ADB connect time with a non-blocking connect
| * | Bound the ADB connect time with a non-blocking connectKen Lierman2014-05-191-0/+2
| |/ | | | | | | | | | | | | | | | | | | | | | | | | After a disconnect, the initial blocking connect takes a long time to return, while subsequent calls return quicks. Switch to a non-blocking connect to make the re-connect time more consistent and faster overall. Change-Id: I21d02b22a8eb9a457c2f1fa95eb17894d5612ccd Signed-off-by: Ken Lierman <ken.lierman@windriver.com> Reviewed-by: Gumbel, Matthew K <matthew.k.gumbel@intel.com> Reviewed-by: Jovanovic, Radivoje <radivoje.jovanovic@intel.com> Reviewed-by: Boie, Andrew P <andrew.p.boie@intel.com>
* | am 29941ec8: am f8db4afb: am ab3d49b0: Merge "Use the si_code value bionic ↵Elliott Hughes2014-04-261-0/+1
|\ \ | |/ | | | | | | | | | | passes us." * commit '29941ec81705bdcad2b43f0059e1288304c523e8': Use the si_code value bionic passes us.
| * Use the si_code value bionic passes us.Elliott Hughes2014-04-251-0/+1
| | | | | | | | | | | | | | | | | | Bionic needs to re-raise various signals, which means the si_code debuggerd sees has been clobbered. If bionic sends us the original si_code value, we can use that instead of the one we see when the ptrace the crashed process' siginfo. Change-Id: If116a6bc667d55a6fb39b74f96673292af4e4c8c
* | cutils: Add property_get_bool, _get_int32, _get_int64Igor Murashkin2014-04-111-0/+59
| | | | | | | | | | | | | | | | * Read out system properties with same syntax as SystemProperties.java * Also adds unit test suite to validate correctness of properties * Also fixes buffer overrun in property_get Change-Id: Ifd42911f93e17da09e6ff1298e8875e02f3b6608
* | Adding a handy predicate function (str_parms_has_key()Paul McLean2014-03-251-0/+6
| | | | | | Change-Id: I1af5c260a1a820b65f0850ea9adb38b01fcb183c
* | am 3f4855c1: am 46f3ebba: am 28171447: Merge "cutils: trace 64-bit compile ↵Mark Salyzyn2014-03-201-9/+10
|\ \ | |/ | | | | | | | | | | issues" * commit '3f4855c11889470691673c15f05361df61ea95b2': cutils: trace 64-bit compile issues
| * cutils: trace 64-bit compile issuesMark Salyzyn2014-03-201-9/+10
| | | | | | | | | | | | | | - switch format to PRId64 for int64_t - switch format to PRId32 for int32_t Change-Id: I1e66db06810000936d584ed49234550abd96cdff
* | am db480f75: am 6a58c4f3: am 33e86e00: Merge "libcutils: add method to get ↵Alex Ray2014-03-081-0/+1
|\ \ | |/ | | | | | | | | | | klog level" * commit 'db480f7516977123a0c5c6f6705b282d2e55ab89': libcutils: add method to get klog level
| * libcutils: add method to get klog levelAlex Ray2014-03-071-0/+1
| | | | | | | | Change-Id: I55e8311bae97703be26e57b415a8ab0a6d9b4361
* | am f10492d8: am 066cde92: am 223e0798: Merge "Enable building init with ↵Nick Kralevich2014-02-191-5/+13
|\ \ | |/ | | | | | | | | | | -Wall -Werror." * commit 'f10492d8c0c907fad6f87c871fec6b2fac41a02c': Enable building init with -Wall -Werror.
| * Enable building init with -Wall -Werror.Stephen Smalley2014-02-191-5/+13
| | | | | | | | | | | | | | | | Eliminates various warnings from SELinux-related code. Bug: 12587913 Change-Id: I28921f0ebd934324436609540d95ccef58552b64 Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
* | am fcd4dad3: am 620a8800: am 1c1bd845: Merge "x86_64: Add atomic funtions"Elliott Hughes2014-02-122-1/+229
|\ \ | |/ | | | | | | * commit 'fcd4dad3967de79450549e78524ac73f775b51f2': x86_64: Add atomic funtions
| * x86_64: Add atomic funtionsQiming Shi2014-02-112-1/+229
| | | | | | | | | | | | | | This patch adds atomic functions for x86_64. Change-Id: I298c760a1e6efa2ce2c61a143f833b6785805442 Signed-off-by: Qiming Shi <qiming.shi@intel.com>
* | am 5cbb68cf: am da9b5dab: am 434edbe6: Merge "LP64 should have debuggerd and ↵Elliott Hughes2014-02-011-0/+4
|\ \ | |/ | | | | | | | | | | debuggerd64." * commit '5cbb68cf891fa040563c70784363496cf3e05174': LP64 should have debuggerd and debuggerd64.
| * LP64 should have debuggerd and debuggerd64.Elliott Hughes2014-01-311-0/+4
| | | | | | | | Change-Id: I4e39c200e6867bb9a5bbcfec1c449b8864028feb
* | am f1935b6d: am 2e9dcd21: am 1bc6169f: Merge "Remove dead code that looked ↵Elliott Hughes2014-02-011-7/+0
|\ \ | |/ | | | | | | | | | | like part of debuggerd." * commit 'f1935b6d933861d6194bf056a844ec0f11765c38': Remove dead code that looked like part of debuggerd.
| * Remove dead code that looked like part of debuggerd.Elliott Hughes2014-01-311-7/+0
| | | | | | | | | | | | | | Note that these were two different functions. The definition was unused, and the declaration was undefined. Change-Id: I2edd10a0ab9422cd5252bdb9ccdd726dc5fad531
| * libcutils: Move list.c to inlines on list.hMark Salyzyn2014-01-271-4/+20
| | | | | | | | | | | | (cherry picked from commit 0ea3624b3ef2a6545df770d06338c4655386220d) Change-Id: I0572555a194d2560e74dfbf07abcec05e9a276a2
* | am 9222d911: am c8518616: am 02f68c4b: am 4800e20e: Merge "system/core: ↵Colin Cross2014-01-242-1/+1
|\ \ | |/ | | | | | | | | | | rename aarch64 target to arm64" * commit '9222d911a89d30a9b0537e8cdb95401be3a4999e': system/core: rename aarch64 target to arm64
| * system/core: rename aarch64 target to arm64Colin Cross2014-01-232-1/+1
| | | | | | | | | | | | | | Rename aarch64 build targets to arm64. The gcc toolchain is still aarch64. Change-Id: Ia92d8a50824e5329cf00fd6f4f92eae112b7f3a3
* | am 7d076b3b: am b36cfdb7: am 4b53b014: am 5bd11b48: Merge changes ↵Colin Cross2014-01-241-1/+1
|\ \ | |/ | | | | | | | | | | | | Ib13d9654,I98723ccd * commit '7d076b3bf32e0d211d9d27964cc74dafd65afee3': system/core: remove $(KERNEL_HEADERS) from includes libcutils: fix atomic_memory_store_barrier
| * libcutils: fix atomic_memory_store_barrierColin Cross2014-01-221-1/+1
| | | | | | | | | | | | | | dmb isht is not a valid instruction, fix it to be dmb ishst (data memory barrier, inner shareable, on writes). Change-Id: I98723ccd8618b7863cb55da53dc29b979c9905a5
* | am 7b80c138: am 7c7d76f4: am ab3d5036: am d47ffb88: Merge "AArch64: Add ↵Elliott Hughes2014-01-143-1/+247
|\ \ | |/ | | | | | | | | | | atomic functions" * commit '7b80c1381581bd3c0c28440236e043888c49087d': AArch64: Add atomic functions
| * AArch64: Add atomic functionsAshok Bhat2014-01-143-1/+247
| | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds atomic functions for AArch64. The functions will be revisited later for potential optimizations using assembly or otherwise. This patch also introduces new 64-bit atomic functions for LP64 platforms. Change-Id: Id2127dd01cea65025f939e955d73d27e95d8687e Signed-off-by: Marcus Oakland <marcus.oakland@arm.com> Signed-off-by: Ashok Bhat <ashok.bhat@arm.com>
* | libcutils: Move list.c to inlines on list.hMark Salyzyn2013-12-051-4/+20
| | | | | | | | Change-Id: I0572555a194d2560e74dfbf07abcec05e9a276a2
* | Remove non-existing klog_close()Dmitry Shmidt2013-09-271-1/+1
|/ | | | | Change-Id: I49f6047b3f6d90ffa1601bd9348ae69d87b63aed Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
* am 08170103: am 91962669: Merge "cutils: list: add list_for_each_safe"jp abgrall2013-09-251-0/+5
|\ | | | | | | | | * commit '0817010366feecb53fc70719b3784dd7c6d66b55': cutils: list: add list_for_each_safe