History log of /system/core/libcutils/Android.mk
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
9685194fc94510a33201aee9b80c23f206ccfe67 28-Aug-2012 Jeff Sharkey <jsharkey@android.com> File-system utilities for installd and zygote.

Bug: 7008879
Change-Id: Ia54b8d4ad434e8973f235e2a4728651814bef8a9
/system/core/libcutils/Android.mk
fd7f1b6a50388bb3e21a744af89b184b8f911e9c 29-Aug-2012 Ian Rogers <irogers@google.com> Revert "Revert "Upgrade to dlmalloc 2.8.5.""

This reverts commit 42b83c6df7e4f65461a32a711d5dd4f46b9b85e0.
/system/core/libcutils/Android.mk
42b83c6df7e4f65461a32a711d5dd4f46b9b85e0 22-Aug-2012 Brian Carlstrom <bdc@google.com> Revert "Upgrade to dlmalloc 2.8.5."

This reverts commit 2d13791ce7ff61221ca047553891f31a23b2e943.
/system/core/libcutils/Android.mk
17687079519c9014ee6c5ad2d13c3163d40a02ce 21-Aug-2012 Brian Carlstrom <bdc@google.com> am e05ac541: am 9d779bf1: Merge "Upgrade to dlmalloc 2.8.5."

* commit 'e05ac5415e861dee6a3f175c8066ff577736ba1f':
Upgrade to dlmalloc 2.8.5.
2d13791ce7ff61221ca047553891f31a23b2e943 18-Aug-2012 Ian Rogers <irogers@google.com> Upgrade to dlmalloc 2.8.5.

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
/system/core/libcutils/Android.mk
de980f27a701eb8f7130218f9bac768fe7155d30 17-Aug-2012 Jeff Sharkey <jsharkey@android.com> Omit multiuser.c from Windows builds.

Change-Id: I0cee35373e33084e4fc65a1d5c0b611c6fa82346
/system/core/libcutils/Android.mk
2be5338a84f19b24b6515c0bfcf2f3f7b55262c1 16-Aug-2012 Jeff Sharkey <jsharkey@android.com> Merge "Multi-user external storage support." into jb-mr1-dev
885342a0f2c834a6b680284047c47c9d04b32565 15-Aug-2012 Jeff Sharkey <jsharkey@android.com> Multi-user external storage support.

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
/system/core/libcutils/Android.mk
93be76f5c019f4e3c125b75bc64f99685a0d2135 14-Aug-2012 Jean-Baptiste Queru <jbq@google.com> am e8e73b01: am 311a4758: Merge "Remove system/core\'s remnants of SH support."

* commit 'e8e73b01399e8d3c3fc6b94d26ef9cc49b33dda8':
Remove system/core's remnants of SH support.
6521a41dcf12ed9a7c038c42696695e22feb428b 11-Aug-2012 Elliott Hughes <enh@google.com> Remove system/core's remnants of SH support.

SH support is long dead.

Change-Id: I6be2763ca9f1ad8b3f9b09a8ad2f1d67f1e7f802
/system/core/libcutils/Android.mk
46ac0ef00b7df5432d1704b221738e51234bedc5 08-Aug-2012 Jeff Sharkey <jsharkey@android.com> Include to define uid_t.

Change-Id: I02d36346fc3c6236bd64309798b434405f8dfef7
/system/core/libcutils/Android.mk
9509d27252b16f69b6fd2ebb2c552201c34e5c0c 08-Aug-2012 Jeff Sharkey <jsharkey@android.com> Native utils for working with user and app IDs.

Bug: 6925012
Change-Id: I56f18826fd324f60b6e446cebd30719258e40990
/system/core/libcutils/Android.mk
053b865412d1982ad1dc0e840898d82527deeb99 07-Jun-2012 Jeff Brown <jeffbrown@google.com> Enhance native stack dumps.

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
/system/core/libcutils/Android.mk
4a6b384f607feed3755cfcbcdfded55fc2ccce82 19-Mar-2012 Jeff Brown <jeffbrown@google.com> Provide portable wrapper for qsort_r.

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
/system/core/libcutils/Android.mk
99e7f7af84b324034af348cbb7a180848cca2ebb 02-Mar-2012 Andrew Hsieh <andrewhsieh@google.com> Added rules to build 64-bit libraries: lib64cutils.a and lib64log.a

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
/system/core/libcutils/Android.mk
7913bc05bec230799aa70188b40ec7b231f5400f 13-Jan-2012 David 'Digit' Turner <digit@google.com> libcutils: Use proper private header to access C library's <time.h> extension

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
/system/core/libcutils/Android.mk
7e14e0c9748722ece27a6a65a5a7812b26d8b22e 05-Sep-2011 Dima Zavin <dima@android.com> cutils: only build klog for target

Change-Id: Id524753ca5e7271a498fdf03179bba3fdaed5729
Signed-off-by: Dima Zavin <dima@android.com>
/system/core/libcutils/Android.mk
da04c52ab1036048520fca265cf02b61dca789e0 02-Sep-2011 Dima Zavin <dima@android.com> init/cutils: move list utility code to cutils from init

Change-Id: I357ceee813700297d8343159f22a07659e768d41
Signed-off-by: Dima Zavin <dima@android.com>
/system/core/libcutils/Android.mk
8f91282ebe1963b9d27f8779ad1342302b293bd2 01-Sep-2011 Dima Zavin <dima@android.com> init/cutils: move kernel logging interface to libcutils from init

Change-Id: Ia0f91b1fcd6cae69d76bf3dd841340958db938a8
Signed-off-by: Dima Zavin <dima@android.com>
/system/core/libcutils/Android.mk
29e1e7393d1742f9dd5663c63026f50981e5bd89 12-Jul-2011 Jeff Brown <jeffbrown@google.com> Remove the simulator target from all makefiles.
Bug: 5010576

Change-Id: I2fcf31af681d92880e5d31a46d5f6777f7ca1977
/system/core/libcutils/Android.mk
1ac6ddeba6873e44b49610ca1f272186f5318f8e 11-Jul-2011 Ashish Sharma <ashishsharma@google.com> Move qtaguid.c from common sources in Android.mk to fix windows build.

Change-Id: I0a2d1615108b6c10064b3635d05699748a1341a4
/system/core/libcutils/Android.mk
8626cce5f381899f47e3a82e2ef4c98f183391b0 08-Jul-2011 Ashish Sharma <ashishsharma@google.com> Add communication support for xt_qtaguid(network traffic accounting) kernel module.

Change-Id: Ie0fb5b593987c53ee6f906fe6e0caab5a581d5a1
/system/core/libcutils/Android.mk
2b8f76cdbb254ac1170087a40dbf30b7627f3516 05-May-2011 jeffhao <jeffhao@google.com> Tracking merge of dalvik-dev to master

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
/system/core/libcutils/Android.mk
b05b0b5d3b01441d648782f552d9f7e2d7bfbbc1 19-May-2011 Ken Sumrall <ksumrall@android.com> Crypto changes for devices that don't write ext4 fs on wipe

This adds a new function to libcutils, partition_wiped().
This is used to determine if a partition is wiped.

Change-Id: Ibb388976c6b5bd3923b62d8f79b2b97748abf6c1
/system/core/libcutils/Android.mk
14fc0c27659d72601888ee9d95cf50a0465b12e3 28-Apr-2011 Dima Zavin <dima@android.com> libcutils: build str_parms test for target instead of host

Change-Id: Ic1cd1c26b86b051c25db2521bd90b58731e29135
Signed-off-by: Dima Zavin <dima@android.com>
/system/core/libcutils/Android.mk
0e02fcab11f969024813f636909c572e4a73cc73 28-Apr-2011 Dima Zavin <dima@android.com> Merge "libcutils: add a simple string parameter parsing ("a=b;c=d;") helper utils"
b0d0e260bd6118959fa0e2d3c84037b3e0178551 27-Apr-2011 Nick Kralevich <nnk@google.com> resolved conflicts for merge of 2baeb898 to honeycomb-plus-aosp

Change-Id: Ib3169b3a36aa13ef413da624355b1737e9b76fd9
3f582e92f07d358f3d0941b86407b39e2e7e67cc 25-Apr-2011 Vernon Tang <vt@foilhead.net> Fold uevent message origin checking from init into libcutils.

Change-Id: I7cbc0cb840d1b4962e6c360fdad9a9c0ce20e87b
/system/core/libcutils/Android.mk
de35f2741c4e32e331a92be99f7c04b92b94beb2 27-Apr-2011 Nick Kralevich <nnk@google.com> am 03752be0: am 0c297f5e: Merge "Revert "Fold uevent message origin checking from init into libcutils.""

* commit '03752be0a437d12e19ac73ebe23385fe6f756e2c':
Revert "Fold uevent message origin checking from init into libcutils."
de9e65dd6586a1c62fe010f9512e326591a4863d 27-Apr-2011 Nick Kralevich <nnk@google.com> Revert "Fold uevent message origin checking from init into libcutils."

This reverts commit 8405ec0e7562a370174d9973dd94984c47e49c36.

The original change does not compile.
/system/core/libcutils/Android.mk
e3ab42457077ec2a66bac553e59a7fee08d4fa9e 27-Apr-2011 Nick Kralevich <nnk@google.com> am a7cf7ed9: am 282c2ab4: Merge "Fold uevent message origin checking from init into libcutils."

* commit 'a7cf7ed93486240ca48a407e67c7c3683a3b93aa':
Fold uevent message origin checking from init into libcutils.
8405ec0e7562a370174d9973dd94984c47e49c36 25-Apr-2011 Vernon Tang <vt@foilhead.net> Fold uevent message origin checking from init into libcutils.

Change-Id: I1a38e611a7ad990f74306ce453740a1eeed2416d
/system/core/libcutils/Android.mk
0fad7d023f0229f763a58dd479f78397322baa6d 24-Mar-2011 Dima Zavin <dima@android.com> libcutils: add a simple string parameter parsing ("a=b;c=d;") helper utils

Change-Id: Ifabeb75550fa6e351434e6e6d036b19331daf6c1
Signed-off-by: Dima Zavin <dima@android.com>
/system/core/libcutils/Android.mk
e3aeeb4de34dbb93e832e6554f494122ba633f3b 08-Mar-2011 Ken Sumrall <ksumrall@android.com> Try to unmount writable filesystems when rebooting

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
/system/core/libcutils/Android.mk
bb12ac9b85adae96cbd38b2220c5da9a9d80bc54 28-Dec-2010 Lu, Hongjiu <hongjiu.lu@intel.com> Assembly coded android_memset16 and android_memset32

Change-Id: Ife2dd406e1dcb962e5e97788c515ac96f5c52e44
/system/core/libcutils/Android.mk
d7a295221a96b02ebe50b65799da323770e67915 28-Dec-2010 Bruce Beare <bruce.j.beare@intel.com> Assembly coded android_memset16 and android_memset32

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>
/system/core/libcutils/Android.mk
7ab237f1efe578fc0462154bc239ad3b6cde2bda 19-Aug-2010 Jesse Wilson <jessewilson@google.com> Including dl heap stubs for the dalvikvm host build

Change-Id: I9d0ce98d433f71db25c58bf464ec9317552cfae6
/system/core/libcutils/Android.mk
93b0cb40c18cae594c931677be2b9214420610b7 04-Jun-2010 Carl Shapiro <cshapiro@google.com> Define inline atomic operations for x86 and ARM.

This change moves the ARM definitions into GCC extended inline
assembler. In addition, the same set of x86 definitions are now
shared among all x86 targets.

Change-Id: I6e5aa3a413d0af2acbe5d32994983d35a01fdcb3
/system/core/libcutils/Android.mk
ac322da69ee48aa792baf5c48cfb719ce077f67e 20-May-2010 Andy McFadden <fadden@android.com> Atomic/SMP update.

Added atomic-inline.h. Added a platform-specific memory barrier call
there.

Added android_atomic_acquire_cmpxchg() and android_atomic_release_store().
Not tested on Mac OS X or SH.

Added memory barrier calls to linux-x86 atomics. Mac OS X has barrier
functions already. sh isn't really SMP-ready. linux-arm needs work
(to be done in a separate change).

Updated the makefile to make the SMP state visible to the code here.
Note that host binaries are NOT built with SMP enabled; while our hosts
are very likely SMP, it's not worth figuring out e.g. whether it's okay
to use the SSE2 mfence instruction or have to use something else. We
haven't had barriers enabled in host tools before, so there's probably
no need to stat now.

Removed quasiatomic 64-bit calls (now part of Dalvik).

Change-Id: I49e5e6c8abe70f304cdedb9d7b8e6e65f8925815
/system/core/libcutils/Android.mk
10d469bff9031e857c7a290dae7d6ccf7b3a18f8 25-Feb-2010 San Mehat <san@google.com> system: Add support for getting/setting i/o priorities and include a userspace tool

Signed-off-by: San Mehat <san@google.com>
/system/core/libcutils/Android.mk
cf63d5d00f5a631a2905da7812b5c029b5211cf6 23-Jan-2010 Andy McFadden <fadden@android.com> Implementation of open_memstream().

POSIX seems to have chosen open_memstream() over the BSD variant. We
want something for Dalvik that will work on both GNU/Linux and Android,
so this is open_memstream() implemented in terms of BSD funopen().

For Windows there's just a stub that calls abort().

I'm putting this in libcutils since it seems inappropriate for bionic
(which provides the BSD alternatives) but isn't Dalvik-specific.
/system/core/libcutils/Android.mk
573463c31ca8c96a7916e187f968ba108131a3ea 15-Oct-2009 Jean-Baptiste Queru <jbq@google.com> am 62f39c10: merge from open-source master

Merge commit '62f39c105af8789fd9308fa6a5b91f0963a7c59b'

* commit '62f39c105af8789fd9308fa6a5b91f0963a7c59b':
adb: Add "adb disconnect" command for disconnecting TCP/IP devices.
Add support for Acer devices
adb: Add USB Vendor IDs for LG and Huawei
Add NOTICE file and license tag for adb
adb: Clean up argument passing for create_service_thread()
Revert "adb: Another attempted workaround for the adb disconnect problem."
libsysutils: Fix some bugs in NetlinkListener and NetlinkEvent
added SuperH atomic support to libcutils
b029e924285dfe5bd36d93d837eb00db1c7661fc 14-Oct-2009 Jean-Baptiste Queru <jbq@google.com> merge from open-source master
67a2ea3deac5c0d2ec9c6f4a6bd154d78ed4d470 02-Oct-2009 Elliott Hughes <enh@google.com> Now all the callers are gone, remove adb_networking.*.

(This is the final patch removing adb networking.)

Bug: 1122968
/system/core/libcutils/Android.mk
493dad966305a7fb555addd367532dd2af275a27 12-Sep-2009 San Mehat <san@google.com> libcutils: Add abstracted support for setting scheduler policies
Also changes the background policy to use SCHED_BATCH. IDLEPRIO
can cause 100% starvation.

Signed-off-by: San Mehat <san@google.com>
/system/core/libcutils/Android.mk
c6af9114fc63accef839c2a413e18ab058f0beff 04-Aug-2009 Shin-ichiro KAWASAKI <shinichiro.kawasaki.mg@hitachi.com> added SuperH atomic support to libcutils
/system/core/libcutils/Android.mk
96d58f4f521ee4c1fef58efe5c009f1ea523d67c 26-Jul-2009 Jean-Baptiste Queru <jbq@google.com> Merge korg/donut into korg/master
260f48a917c9ff439fc2db2e3492be643d189d22 20-May-2009 Nick Pelly <npelly@google.com> Helper to perform abortable blocking operations on a socket:
asocket_connect()
asocket_accept()
asocket_read()
asocket_write()
These calls are similar to the regular syscalls, but can be aborted with:
asocket_abort()

Calling close() on a regular POSIX socket does not abort blocked syscalls on
that socket in other threads.

After calling asocket_abort() the socket cannot be reused.

Call asocket_destory() *after* all threads have finished with the socket to
finish closing the socket and free the asocket structure.

The helper is implemented by setting the socket non-blocking to initiate
syscalls connect(), accept(), read(), write(), then using a blocking poll()
on both the primary socket and a local pipe. This makes the poll() abortable
by writing a byte to the local pipe in asocket_abort().

asocket_create() sets the fd to non-blocking mode. It must not be changed to
blocking mode.

Using asocket will triple the number of file descriptors required per
socket, due to the local pipe. It may be possible to use a global pipe per
process rather than per socket, but we have not been able to come up with a
race-free implementation yet.

All functions except asocket_init() and asocket_destroy() are thread safe.
/system/core/libcutils/Android.mk
1edfd382ba69ff96ebd0220b05b134a90b910ea7 27-May-2009 Mathias Agopian <mathias@google.com> Merge commit 'goog/master' into merge_master
f3cdf37276576295e8998fabc735ab07898389d8 26-May-2009 Raphael <raphael@google.com> Don't compile abort_socket.c for host targets. It is only intended to run on Linux targets.
/system/core/libcutils/Android.mk
67667115c51693ac27338be2aa7004789b15ff81 22-May-2009 Mathias Agopian <mathias@google.com> merge master to master_gl
3fc51ba17d33c38d327d875d973e787b4dd076b6 20-May-2009 Mathias Agopian <mathias@google.com> move native_handle stuff from master_gl
/system/core/libcutils/Android.mk
92a7541bce0f8ed7649dcbadd83b27d71e4f391f 20-May-2009 Nick Pelly <npelly@google.com> Helper to perform abortable blocking operations on a socket:
asocket_connect()
asocket_accept()
asocket_read()
asocket_write()
These calls are similar to the regular syscalls, but can be aborted with:
asocket_abort()

Calling close() on a regular POSIX socket does not abort blocked syscalls on
that socket in other threads.

After calling asocket_abort() the socket cannot be reused.

Call asocket_destory() *after* all threads have finished with the socket to
finish closing the socket and free the asocket structure.

The helper is implemented by setting the socket non-blocking to initiate
syscalls connect(), accept(), read(), write(), then using a blocking poll()
on both the primary socket and a local pipe. This makes the poll() abortable
by writing a byte to the local pipe in asocket_abort().

asocket_create() sets the fd to non-blocking mode. It must not be changed to
blocking mode.

Using asocket will triple the number of file descriptors required per
socket, due to the local pipe. It may be possible to use a global pipe per
process rather than per socket, but we have not been able to come up with a
race-free implementation yet.

All functions except asocket_init() and asocket_destroy() are thread safe.
/system/core/libcutils/Android.mk
8f13782e7b4a705484d7f97f07513781b82be0dc 20-May-2009 Mathias Agopian <mathias@google.com> move native_handle stuff from master_gl
/system/core/libcutils/Android.mk
34c22c5ba951e4df7cc72d8d10da78064d5cfbe4 18-May-2009 David 'Digit' Turner <digit@google.com> am 414ff7d9: Move fdevent from libcutils into adb directory. ADB is the only client of this API, and I intend to modify it extensively to clean its codebase soon.

Merge commit '414ff7d98ac8d7610a26206335954ad15f43f3ac'

* commit '414ff7d98ac8d7610a26206335954ad15f43f3ac':
Move fdevent from libcutils into adb directory. ADB is the only client of this API, and I intend to modify it extensively to clean its codebase soon.
414ff7d98ac8d7610a26206335954ad15f43f3ac 18-May-2009 David 'Digit' Turner <digit@google.com> Move fdevent from libcutils into adb directory. ADB is the only client of this API, and I intend to modify it extensively to clean its codebase soon.
/system/core/libcutils/Android.mk
1d3faaf72f28c9d71dde067b74b1351cdbc9a758 10-Apr-2009 Mathias Agopian <mathias@google.com> Integrate from //sandbox/mathias/donut/...@145728

SurfaceFlinger rework for new EGL driver model support.
/system/core/libcutils/Android.mk
b1487e4c587ce1184e3d0036ac5e6bd90405688d 19-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import //branches/master/...@140412
/system/core/libcutils/Android.mk
dd7bc3319deb2b77c5d07a51b7d6cd7e11b5beb0 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/system/core/libcutils/Android.mk
e54eebbf1a908d65ee8cf80bab62821c05666d70 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/system/core/libcutils/Android.mk
35237d135807af84bf9b0e5b8d7f8633e58db6f5 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
/system/core/libcutils/Android.mk
4f6e8d7a00cbeda1e70cc15be9c4af1018bdad53 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/system/core/libcutils/Android.mk