summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* am a82985b6: am 7cd45071: Merge "Include page protections in the debuggerd ↵Elliott Hughes2013-01-031-2/+4
|\ | | | | | | | | | | | | map output." * commit 'a82985b6686f8b47119193fee2f804376a90125b': Include page protections in the debuggerd map output.
| * Include page protections in the debuggerd map output.Elliott Hughes2013-01-031-2/+4
| | | | | | | | | | Bug: 7941716 Change-Id: I3bf475425c628c06f7799340c8a6132aab741742
* | am 4600545f: am b8e86c5a: Merge "android_filesystem_config: allow absolute ↵Colin Cross2012-12-281-0/+4
|\ \ | |/ | | | | | | | | | | paths" * commit '4600545fbb5b496297a51e43818b8b3e750590c5': android_filesystem_config: allow absolute paths
| * android_filesystem_config: allow absolute pathsColin Cross2012-12-211-0/+4
| | | | | | | | | | | | | | SELinux policies use absolute paths, allow absolute paths in fs_config as well. Change-Id: Ic97ee0b4eb4df9eac965a8e819fde01df473de7e
* | am 22e91366: Merge from AOSP staging branchJean-Baptiste Queru2012-12-181-0/+13
|\ \ | |/ | | | | | | | | * commit '22e9136661f55122d4ed4b081f61fd63e9ce3685': libusbhost: generates a static library libusbhost: permits client polling on inotify wd
| * Merge "libusbhost: permits client polling on inotify wd"Mike Lockwood2012-12-171-0/+13
| |\
| | * libusbhost: permits client polling on inotify wdGuillaume Ranquet2012-12-101-0/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Modify libusbhost to expose the inotify watch descriptor to clients This modification permits clients to add the watch descriptor to their polling loop so that they don't have to use a dedicated thread only for libusbhost. Change-Id: I615bfcd56beab978135034b228d4d93337351eab Signed-off-by: Guillaume Ranquet <guillaumex.ranquet@intel.com> Signed-off-by: Luc Piguet-Lacroix <lucx.piguet-lacroix@intel.com>
| * | Merge "Add RLOGx"Wink Saville2012-12-121-1/+82
| |\ \
| | * | Add RLOGxWink Saville2012-12-061-1/+82
| | |/ | | | | | | | | | | | | | | | | | | | | | This will eventually allow us to remove the code in logd_write.c#__android_log_write which uses the tag to direct logs to the radio buffer. Change-Id: Ic992c0b8d1cf000b1814dc7786d2a40becf75eaf
* | | am 8bc848d9: am abce9e85: Merge "libsysutils: Increase command buffersize ↵Robert Greenwalt2012-12-111-1/+2
|\ \ \ | |/ / | | | | | | | | | | | | | | | and command args" * commit '8bc848d9b2c5b3ed26441315d652ba043f636c17': libsysutils: Increase command buffersize and command args
| * | Merge "libsysutils: Increase command buffersize and command args"Robert Greenwalt2012-12-111-1/+2
| |\ \
| | * | libsysutils: Increase command buffersize and command argsJosef Kindberg2012-11-121-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Needed to support tethering of multiple remote Bluetooth devices. Change-Id: I9f736affd83226e8b2fa4f0faacd3654175dd8c9 Signed-off-by: Patrik Ryd <patrik.ryd@stericsson.com>
* | | | am 7f692fe6: am 523e21d3: Merge "Fail-proof the inline directives for SMP ↵Ben Cheng2012-12-073-88/+123
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | atomic operations." * commit '7f692fe6448049dca2795d7d648615a2dc7a500c': Fail-proof the inline directives for SMP atomic operations.
| * | | Fail-proof the inline directives for SMP atomic operations.Ben Cheng2012-12-073-88/+123
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The various atomic operations are declared as inline in the header files to cut the function call overhead. However, the plain inline keyword is just a suggestion to the compiler which makes its own decision on whether to inline them or not. Worst, if they are not inlined, the -fvisibility-inlines-hidden compiler flag will render them as hidden symbols in the object file. If they are picked up by the linker over the ones supplied in libcutils.so the following warning will be reported: warning: hidden symbol 'android_atomic_inc' in foo.o is referenced by DSO bar.so One way is to add __attribute__((visibility("default"))) to those inline functions to suppress the linker warnings. A better way is to force inlining as with this patch. Change-Id: Ie4fcfdfaaf06f42d351619a0d89671a9df15ca2f
* | | cutils: trace: use ANDROID_SMP to switch atomicsAlex Ray2012-11-301-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | With inline atomics, trace functions have no non-inline function calls in the fast (tracing off) path. To enable this, ANDROID_SMP must be defined for the project. Otherwise, normal (non-inline) atomics are used. Change-Id: Id1f75bdf7db2f5d319a389ad411f55073d78c48c
* | | cutils: trace: add atrace_update_tags()Alex Ray2012-11-281-0/+6
| | | | | | | | | | | | | | | | | | | | | Adds a function to read the current trace system property value, and sets the trace tags to it, do be used as a sysprop change callback. Change-Id: Ia6336652173aa5b07188898736c2c795a69fe79a
* | | cutils: Add tracing supportAlex Ray2012-11-281-0/+192
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Add RLOGxWink Saville2012-11-161-1/+82
| | | | | | | | | | | | | | | | | | | | | | | | This will eventually allow us to remove the code in logd_write.c#__android_log_write which uses the tag to direct logs to the radio buffer. Change-Id: Ic992c0b8d1cf000b1814dc7786d2a40becf75eaf
* | | am 0069b013: am 3ddc0059: am ee854b07: Merge "Allocate a UID for clatd"jp abgrall2012-11-121-0/+2
|\ \ \ | |/ / | | | | | | | | | * commit '0069b01354ab9a62acaf4547f78688429274f0ef': Allocate a UID for clatd
| * | am ee854b07: Merge "Allocate a UID for clatd"jp abgrall2012-11-121-0/+2
| |\ \ | | | | | | | | | | | | | | | | * commit 'ee854b077766a85279fa1849b537c50837d1a204': Allocate a UID for clatd
| | * | Allocate a UID for clatdDaniel Drown2012-10-151-0/+2
| | |/ | | | | | | | | | | | | | | | | | | clatd(464xlat) runs as its own UID after it drops root privs Change-Id: I2392f8127dcd90d16b0f20ff31bcc5aa096db464 Signed-off-by: Daniel Drown <dan-android@drown.org>
| | * Merge "The localtime_tz and mktime_tz extensions are now in bionic."Elliott Hughes2012-09-241-38/+1
| | |\
| | | * The localtime_tz and mktime_tz extensions are now in bionic.Elliott Hughes2012-09-111-38/+1
| | | | | | | | | | | | | | | | | | | | Bug: 7012465 Change-Id: I5f3d06fe06fad7c3ff6d1950770a30f4f83e56ff
* | | | The localtime_tz and mktime_tz extensions are now in bionic.Elliott Hughes2012-10-181-38/+1
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug: 7012465 (cherry-pick of d03072ffde3279fbb60591a0d07c820d8e792762.) Conflicts: libcutils/Android.mk Change-Id: I5e34edd4c8f59cc0a4d5dcc4740707ae063608a0
* | | Remove force use definition for remote audio submixJean-Michel Trivi2012-10-111-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | Obsolete. Bug 7318180 Change-Id: I3421ca554a4131d606bdee698aeb7b2091a5d966
* | | audio policy: add forced uses for systemEric Laurent2012-10-091-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The volume and routing policy of AUDIO_STREAM_ENFORCED_AUDIBLE is now controlled by AudioService by means of new forced use type AUDIO_POLICY_FORCE_FOR_SYSTEM with config AUDIO_POLICY_FORCE_SYSTEM_ENFORCED. Bug 7032634. Change-Id: Ib1834ec507f3aa726895b8fd3e8a91cc9cc601a7
* | | Create bluetooth stack aid for sharing gid between all bluetooth processesMatthew Xie2012-10-041-0/+2
| | | | | | | | | | | | | | | | | | bug 6925422 Change-Id: I8d371f8307dd6bea3909a56643819413ea829a98
* | | Move dequeue-buffer-and-wait out-of-lineJesse Hall2012-10-011-11/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | The dequeueBuffer_DEPRECATED function also waits for the buffer fence, so we can just call that. That way the wait call is compiled into our code (instead of driver code) and we can see/modify it for debugging. Bug: 7217641 Change-Id: Ie2ea85ed1543a4ff7986d0162aee773e93591309
* | | ANW: fix my fix for a file descriptor leakJamie Gennis2012-09-201-1/+1
| | | | | | | | | | | | Change-Id: Ief7b973fbdb76920abed19707963a0c3d306af31
* | | Merge "ISSUE 6849488 Bluedroid stack, remove system/bluetooth." into jb-mr1-devZhihai Xu2012-09-201-6/+0
|\ \ \
| * | | ISSUE 6849488 Bluedroid stack, remove system/bluetooth.Zhihai Xu2012-09-201-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | remove system/bluetooth stuff. bug 6849488 Change-Id: I81a94d34a4363562a74fa2e574828fd919cfe18c
* | | | Merge "ANW: fix an fd leak" into jb-mr1-devMathias Agopian2012-09-201-3/+2
|\ \ \ \
| * | | | ANW: fix an fd leakJamie Gennis2012-09-201-3/+2
| |/ / / | | | | | | | | | | | | Change-Id: Id44cae6732c6694d2f470cbdfa5f59e7474f704f
* | | | Merge "Move AndroidConfig.hs to the build project." into jb-mr1-devYing Wang2012-09-208-2854/+0
|\ \ \ \
| * | | | Move AndroidConfig.hs to the build project.Ying Wang2012-09-208-2854/+0
| |/ / / | | | | | | | | | | | | Change-Id: I482e36f9e7f665d7cfe43463c9cbc15846e8b20a
* | | | Add explicit sync call to ion libraryRebecca Schultz Zavin2012-09-201-0/+1
|/ / / | | | | | | | | | | | | | | | Bug: 6854979 Change-Id: I535d55af897eeb4ed707b5da54f3fbf36afa452c Signed-off-by: Rebecca Schultz Zavin <rebecca@android.com>
* | | Merge "Wrap system calls in TEMP_FAILURE_RETRY." into jb-mr1-devJeff Sharkey2012-09-131-0/+15
|\ \ \
| * | | Wrap system calls in TEMP_FAILURE_RETRY.Jeff Sharkey2012-09-131-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fs_prepare_dir() is used heavily during Zygote init, and can easily run into EINTR. Bug: 7151474 Change-Id: I7aac43a43483d55db47ca20456fff68ce51bbc46
* | | | am c92961dc: am b905f121: am 9796a83a: Merge "Add shared app gid to fs config"Kenny Root2012-09-131-0/+3
|\ \ \ \ | |/ / / |/| / / | |/ / | | | * commit 'c92961dccb38c6e6a9dbcf519bd59461bbc0dc7c': Add shared app gid to fs config
| * | Add shared app gid to fs configKenny Root2012-09-131-0/+3
| |/ | | | | | | | | | | | | This will allow native tools to be able to know where the shared app gids start and end. Change-Id: Ie4529baf36b361c51c42f079b259c352e316647f
| * Merge "Export flags needed for ifc_reset_connections API in netutils"Wink Saville2012-08-281-0/+3
| |\
| | * Export flags needed for ifc_reset_connections API in netutilsAlex Yakavenka2012-08-151-0/+3
| | | | | | | | | | | | | | | | | | | | | Code using ifc_reset_connections api needs to have access to predefined masks for reset_mask parameter Change-Id: I90bc5e1b62ae4a88501c8ad4e353c0d93d319579
* | | audio: new audio devices enum valuesEric Laurent2012-09-071-19/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Each audio device is identified by a bit in a 32 bit field with 16 bits for output devices and 16 bits for input devices. The number of output devices is now exhausted. In order to add new devices a new convention for audio device identification is defined, allowing 31 different input and output devices: Bit 31 of the bit field is reserved and when set indicates an input device. Also added new output device for wifi display and new input devices for digital and analog docks, USB and wifi display send. Change-Id: I849bec0b6d46e082e325a3f08890d313c8dc763b
* | | Device and mode definitions for remote submixJean-Michel Trivi2012-09-062-10/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A remote submix is an audio mix of audio streams that are not going to be played directly through the platform mix, but rather will be mixed together to be handled in a different manner. This mix can be obtained by recording it through the AUDIO_IN_REMOTE_SUBMIX and presenting it remotely (as opposed to local playback == on the device itself). All changes marked "temporary" will be overriden by the changes to update the audio device definitions for the 2.0 API. Change-Id: I9c6da607fc50b7b8545d189ac5b083107369cfb5
* | | File-system utilities for installd and zygote.Jeff Sharkey2012-08-302-3/+50
| | | | | | | | | | | | | | | Bug: 7008879 Change-Id: Ia54b8d4ad434e8973f235e2a4728651814bef8a9
* | | Revert "Revert "Upgrade to dlmalloc 2.8.5.""Ian Rogers2012-08-281-128/+0
| | | | | | | | | | | | This reverts commit 42b83c6df7e4f65461a32a711d5dd4f46b9b85e0.
* | | Merge "Add an IMPL_DEFINED pixel format." into jb-mr1-devJamie Gennis2012-08-241-0/+16
|\ \ \
| * | | Add an IMPL_DEFINED pixel format.Jamie Gennis2012-08-221-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This change adds a new HAL pixel format that indicates that the specific format is to be chosen by the gralloc implementation. Change-Id: I326b5ec7347a20863b42119431ef1e4d22480fec
* | | | Merge "Iteration on multi-user external storage." into jb-mr1-devJeff Sharkey2012-08-221-3/+0
|\ \ \ \
| * | | | Iteration on multi-user external storage.Jeff Sharkey2012-08-221-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Define /storage as top-level concept, so that we enforce permissions uniformly. Moves external storage paths from headers to per-device environment variables. Added missing mount flags, and we no longer have adb-specific external storage. Bug: 6925012 Change-Id: Ic7ca953be2f552d3f0ec9e69f89fef751daa1b29