summaryrefslogtreecommitdiffstats
path: root/libcutils/Android.mk
Commit message (Collapse)AuthorAgeFilesLines
* HACK: cutils: restore record_stream temporarilyDima Zavin2013-06-041-0/+1
| | | | | | | | | | | | | | | | Restore the record_stream code in cutils that was removed in e00a12bf8a99eb6c4f278efa503488aa21dd8d4d as part of cutils cleanup. Unfortunately, there are some prebuilt vendor libs that rely on this functionality that we cannot currently rebuild. Remove at the earliest possible convenience once the vendor libs have been fixed. Bug: 9189218 Change-Id: I5d44126756f1e3ed194d1b5873d64d9154183199 Signed-off-by: Dima Zavin <dima@android.com>
* libcutils: Don't build host property supportNick Kralevich2013-05-231-1/+1
| | | | | | | | | | | Only build property support for the device, not for the host. Host side property support is being removed, as it was only really used for the simulator. process_name.c: When building this for the host, don't reference properties. Change-Id: Idcea5ad52a85e47eef17a381cb0601657efbdf13
* cutils: first pass at cleaning up legacy/obsolete code in cutilsDima Zavin2013-05-071-9/+1
| | | | | | | | Removed unused code and moved libraries with single clients near their respective users. Change-Id: I65f90f8659f27bd0f44ca5ddf33da2bce14674c1 Signed-off-by: Dima Zavin <dima@android.com>
* am c796ed97: We need libcutils to include liblogYing Wang2013-04-111-1/+3
|\ | | | | | | | | * commit 'c796ed97466510dd5239008554decbe72825e19c': We need libcutils to include liblog
| * We need libcutils to include liblogYing Wang2013-04-101-1/+3
| | | | | | | | | | | | | | | | | | | | | | For some prebuilts were built against libcutils with liblog in it. Unfortunately that means in the future if someone checks in prebuilts that are built against libcutils and they don't explicitly link against liblog, they will again prevent us from removing liblog from libcutils. Bug: 8587800 Bug: 8580410 Change-Id: I2a5ed6233df7e7d542d1e4167bec405750c0e671
* | am 9b32f87a: Merge "Add Mips memset speedup"Keun-young Park2013-03-291-0/+4
|\ \ | |/ |/| | | | | * commit '9b32f87a8c489a15baea535800b7c309014bd0ee': Add Mips memset speedup
| * Merge "Add Mips memset speedup"Keun-young Park2013-03-291-0/+4
| |\
| | * Add Mips memset speedupDuane Sand2012-08-291-0/+4
| | | | | | | | | | | | Change-Id: I157aa8b500e271c213bf615dd4ceb25b3aedd7c2
* | | am 4b9bdd33: am 90dd1402: am 241194ca: Merge "[MIPS] Benchmark test for MIPS ↵Jeffrey Brown2013-02-061-0/+2
|\ \ \ | |/ / | | | | | | | | | | | | | | | | | | | | | memset16/memset32" # By Duane Sand # Via Android Git Automerger (2) and others * commit '4b9bdd333362c1f58260c37306f1902fb215f7bf': [MIPS] Benchmark test for MIPS memset16/memset32
| * | Merge "[MIPS] Benchmark test for MIPS memset16/memset32"Jeffrey Brown2013-02-071-0/+2
| |\ \
| | * | [MIPS] Benchmark test for MIPS memset16/memset32Duane Sand2012-12-271-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | Author: Chris Dearman <chris@mips.com> AuthorDate: 2011-07-26 19:24:40 Change-Id: I0a7b3360aaf45de8ee47744f7031b84f15f37611
| * | | The localtime_tz and mktime_tz extensions are now in bionic.Elliott Hughes2013-01-151-4/+0
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (cherry-pick of d03072ffde3279fbb60591a0d07c820d8e792762. This change was originally committed to AOSP, is in internal master, but was somehow lost from AOSP.) Bug: 7012465 Conflicts: libcutils/Android.mk Change-Id: I08ee8eb9b8ce5d3f9d8f2e67437d653e08697bc1
* | | cutils: Add tracing supportAlex Ray2012-11-281-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Basic tracing functionality to cutils, which can be turned on at start, or dynamically controlled by the frameworks. The goal is for hardware modules to add tracing that will be controlled by their respective services. Change-Id: I84eeb7d6be0038f734e719074fa4a2fae4ffe9c0
* | | The localtime_tz and mktime_tz extensions are now in bionic.Elliott Hughes2012-10-181-4/+0
|/ / | | | | | | | | | | | | | | | | | | | | | | Bug: 7012465 (cherry-pick of d03072ffde3279fbb60591a0d07c820d8e792762.) Conflicts: libcutils/Android.mk Change-Id: I5e34edd4c8f59cc0a4d5dcc4740707ae063608a0
* | File-system utilities for installd and zygote.Jeff Sharkey2012-08-301-0/+1
| | | | | | | | | | Bug: 7008879 Change-Id: Ia54b8d4ad434e8973f235e2a4728651814bef8a9
* | Revert "Revert "Upgrade to dlmalloc 2.8.5.""Ian Rogers2012-08-281-1/+0
| | | | | | | | This reverts commit 42b83c6df7e4f65461a32a711d5dd4f46b9b85e0.
* | Revert "Upgrade to dlmalloc 2.8.5."Brian Carlstrom2012-08-221-0/+1
| | | | | | | | This reverts commit 2d13791ce7ff61221ca047553891f31a23b2e943.
* | am e05ac541: am 9d779bf1: Merge "Upgrade to dlmalloc 2.8.5."Brian Carlstrom2012-08-201-1/+0
|\ \ | |/ | | | | | | * commit 'e05ac5415e861dee6a3f175c8066ff577736ba1f': Upgrade to dlmalloc 2.8.5.
| * Upgrade to dlmalloc 2.8.5.Ian Rogers2012-08-201-1/+0
| | | | | | | | | | | | | | | | | | | | Remove mspace functionality from cutils. Directly declare mspace from dlmalloc in code flinger's code cache, and manage without using morecore. Depends upon: https://android-review.googlesource.com/41717 Change-Id: If927254febd4414212c690f16509ef2ee1b44b44
* | Omit multiuser.c from Windows builds.Jeff Sharkey2012-08-161-1/+1
| | | | | | | | Change-Id: I0cee35373e33084e4fc65a1d5c0b611c6fa82346
* | Merge "Multi-user external storage support." into jb-mr1-devJeff Sharkey2012-08-161-3/+3
|\ \
| * | Multi-user external storage support.Jeff Sharkey2012-08-151-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Remount rootfs as recursively shared, so that mount changes are propagated into child namespaces. Mount external storage for access from adb. Clean multi-user dependencies for use in Dalvik. Also define external storage paths. Bug: 6925012 Change-Id: I375de581a63f4f36667894c56a34a9dd45361e8f
* | | am e8e73b01: am 311a4758: Merge "Remove system/core\'s remnants of SH support."Jean-Baptiste Queru2012-08-131-4/+0
|\ \ \ | |/ / |/| / | |/ | | * commit 'e8e73b01399e8d3c3fc6b94d26ef9cc49b33dda8': Remove system/core's remnants of SH support.
| * Remove system/core's remnants of SH support.Elliott Hughes2012-08-111-4/+0
| | | | | | | | | | | | SH support is long dead. Change-Id: I6be2763ca9f1ad8b3f9b09a8ad2f1d67f1e7f802
* | Include to define uid_t.Jeff Sharkey2012-08-081-3/+3
| | | | | | | | Change-Id: I02d36346fc3c6236bd64309798b434405f8dfef7
* | Native utils for working with user and app IDs.Jeff Sharkey2012-08-071-1/+2
|/ | | | | Bug: 6925012 Change-Id: I56f18826fd324f60b6e446cebd30719258e40990
* Enhance native stack dumps.Jeff Brown2012-06-081-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | Provides a new mechanism for dumpstate (while running as root) to request that debuggerd dump the stacks of native processes that we care about in bug reports. In this mode, the backtrace is formatted to look similar to a Dalvik backtrace. Moved the tombstone generating code into a separate file to make it easier to maintain. Fixed a bug where sometimes the stack traces would be incomplete because we were not waiting for each thread to stop after issuing PTRACE_ATTACH, only the main thread. So sometimes we were missing traces for some threads. Refactored the logging code to prevent accidentally writing data to logcat when explicitly dumping a tombstone or backtrace from the console. Only root or system server can request to dump backtraces but only root can dump tombstones. Bug: 6615693 Change-Id: Ib3edcc16f9f3a687e414e3f2d250d9500566123b
* Provide portable wrapper for qsort_r.Jeff Brown2012-03-191-0/+1
| | | | | | | | | qsort_r() is declared differently on BSD and GNU libc and may be absent on other platforms. Provide qsort_r_compat() which should work everywhere. Change-Id: I17a9026573b1ed971ff7d79895e7eb41ba108807
* Added rules to build 64-bit libraries: lib64cutils.a and lib64log.aAndrew Hsieh2012-03-011-0/+11
| | | | | | | | | | | Both libraries are needed to build four shared libraries in 64-bit for 64-bit emulator with "-gpu on" lib64OpenglRender.so lib64EGL_translator.so lib64GLES_CM_translator.so lib64GLES_V2_translator.so Change-Id: If57f72d4661a74f1d5e537568881f39132e0b43d
* libcutils: Use proper private header to access C library's <time.h> extensionDavid 'Digit' Turner2012-01-131-1/+8
| | | | | | | | The strftime_tz() function is not a standard C library function and should not appear in <time.h>. Instead, it is being moved to <bionic_time.h>, a private header only available to platform libraries. Change-Id: I4dc18939b9380725dfaa20c9e417296363bc52f4
* cutils: only build klog for targetDima Zavin2011-09-041-2/+1
| | | | | Change-Id: Id524753ca5e7271a498fdf03179bba3fdaed5729 Signed-off-by: Dima Zavin <dima@android.com>
* init/cutils: move list utility code to cutils from initDima Zavin2011-09-021-0/+1
| | | | | Change-Id: I357ceee813700297d8343159f22a07659e768d41 Signed-off-by: Dima Zavin <dima@android.com>
* init/cutils: move kernel logging interface to libcutils from initDima Zavin2011-09-021-0/+1
| | | | | Change-Id: Ia0f91b1fcd6cae69d76bf3dd841340958db938a8 Signed-off-by: Dima Zavin <dima@android.com>
* Remove the simulator target from all makefiles.Jeff Brown2011-07-111-16/+0
| | | | | | Bug: 5010576 Change-Id: I2fcf31af681d92880e5d31a46d5f6777f7ca1977
* Move qtaguid.c from common sources in Android.mk to fix windows build.Ashish Sharma2011-07-101-3/+2
| | | | Change-Id: I0a2d1615108b6c10064b3635d05699748a1341a4
* Add communication support for xt_qtaguid(network traffic accounting) kernel ↵Ashish Sharma2011-07-081-1/+2
| | | | | | module. Change-Id: Ie0fb5b593987c53ee6f906fe6e0caab5a581d5a1
* Tracking merge of dalvik-dev to masterjeffhao2011-05-271-0/+1
| | | | | | | | | | Reordered bootclasspath to allow verification of all framework methods. git cherry-pick --no-commit ec164a0170955fe63106c2576a65bc4ffb1df425 Address CVE-2011-1090. git cherry-pick --no-commit 3365288d3c00072689cd9d733e055561cadc87b5 Change-Id: I6a89bc600ced06a0cb84ae1670cb7a6ea39de9c8
* Crypto changes for devices that don't write ext4 fs on wipeKen Sumrall2011-05-261-1/+1
| | | | | | | This adds a new function to libcutils, partition_wiped(). This is used to determine if a partition is wiped. Change-Id: Ibb388976c6b5bd3923b62d8f79b2b97748abf6c1
* libcutils: build str_parms test for target instead of hostDima Zavin2011-04-271-2/+2
| | | | | Change-Id: Ic1cd1c26b86b051c25db2521bd90b58731e29135 Signed-off-by: Dima Zavin <dima@android.com>
* Merge "libcutils: add a simple string parameter parsing ("a=b;c=d;") helper ↵Dima Zavin2011-04-271-1/+10
|\ | | | | | | utils"
| * libcutils: add a simple string parameter parsing ("a=b;c=d;") helper utilsDima Zavin2011-04-201-1/+10
| | | | | | | | | | Change-Id: Ifabeb75550fa6e351434e6e6d036b19331daf6c1 Signed-off-by: Dima Zavin <dima@android.com>
* | resolved conflicts for merge of 2baeb898 to honeycomb-plus-aospNick Kralevich2011-04-271-1/+1
|\ \ | | | | | | | | | Change-Id: Ib3169b3a36aa13ef413da624355b1737e9b76fd9
| * | Fold uevent message origin checking from init into libcutils.Vernon Tang2011-04-281-1/+1
| | | | | | | | | | | | Change-Id: I7cbc0cb840d1b4962e6c360fdad9a9c0ce20e87b
* | | am 03752be0: am 0c297f5e: Merge "Revert "Fold uevent message origin checking ↵Nick Kralevich2011-04-271-1/+0
|\ \ \ | |/ / | | | | | | | | | | | | | | | from init into libcutils."" * commit '03752be0a437d12e19ac73ebe23385fe6f756e2c': Revert "Fold uevent message origin checking from init into libcutils."
| * | Revert "Fold uevent message origin checking from init into libcutils."Nick Kralevich2011-04-271-1/+0
| | | | | | | | | | | | | | | | | | This reverts commit 8405ec0e7562a370174d9973dd94984c47e49c36. The original change does not compile.
* | | am a7cf7ed9: am 282c2ab4: Merge "Fold uevent message origin checking from ↵Nick Kralevich2011-04-271-0/+1
|\ \ \ | |/ / | | / | |/ |/| | | | | init into libcutils." * commit 'a7cf7ed93486240ca48a407e67c7c3683a3b93aa': Fold uevent message origin checking from init into libcutils.
| * Fold uevent message origin checking from init into libcutils.Vernon Tang2011-04-271-0/+1
| | | | | | | | Change-Id: I1a38e611a7ad990f74306ce453740a1eeed2416d
| * Assembly coded android_memset16 and android_memset32Bruce Beare2011-01-021-1/+6
| | | | | | | | | | | | | | Change-Id: Ifa05006df7ce7364d18eb10d64a818d619664475 Author: Lu, Hongjiu <hongjiu.lu@intel.com> Signed-off-by: Mark Gross <mark.gross@intel.com> Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
* | Try to unmount writable filesystems when rebootingKen Sumrall2011-03-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Ext4 filesystems like to be unmounted before rebooting. The Android system doesn't have a traditional Linux init setup, and shutting down the system was not much more than calling sync(2) and reboot(2). This adds a new function to libcutils called android_reboot(). By default, it calls sync() and then remounts all writable filesystems as read-only and marks them clean. There is a flag parameter in which the caller can ask for sync() not to be called, or to not remount the filesystems as read-only. Then it will call reboot(2) as directed by the other parameters. This change also updates adb, init and toolbox to call the new android_reboot() function. Fixes bugs 3350709 and 3495575. Change-Id: I16d71ffce3134310d7a260f61ec6f4dd204124a7
* | Assembly coded android_memset16 and android_memset32Lu, Hongjiu2011-01-071-1/+6
|/ | | | Change-Id: Ife2dd406e1dcb962e5e97788c515ac96f5c52e44