summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* Remove long-dead readtty.Elliott Hughes2014-11-241-1/+0
| | | | Change-Id: I15ae14542214a3802d43892da0d03cfb33e63c96
* Fix Mac build.Elliott Hughes2014-11-221-1/+1
| | | | Change-Id: Iae697ae257cf4b1d675e2b758dd31d5a6a71ae4d
* Kill HAVE_BIG_ENDIAN, HAVE_ENDIAN_H, and HAVE_LITTLE_ENDIAN.Elliott Hughes2014-11-211-10/+5
| | | | Change-Id: I9e25ac9d27e95b04fb8bf7a66c619af0139d8b8f
* Add a pre-C++11 constexpr compatibility macro.Dan Albert2014-11-201-0/+11
| | | | | | | | | Needed for cases where something should be constexpr if possible, but not being constexpr is fine if in pre-C++11 code (such as a const static float member variable). Bug: 18466763 Change-Id: I635d062575ba2fbc4cbe3a89f730128c404d95e1
* Remove atomic-inline.h.Elliott Hughes2014-11-173-21/+2
| | | | Change-Id: I3ac0229b9c516744e6a9c9d9e795b43bc9c5636b
* Remove the error-prone TARGET_CPU_SMP from system/core.Elliott Hughes2014-11-172-8/+0
| | | | | | | | This means that code that uses libcutils no longer has to ensure that it's set ANDROID_SMP in the calling code's Android.mk for this to function correctly. Change-Id: I80c7ff170cd621106f34d6b74689d6b4f03e4eb7
* Second attempt to "Rewrite atomic.h to use stdatomic.h."Hans Boehm2014-11-138-1039/+112
| | | | | | | | | | | | This should not be committed until win_sdk and aarch64 builds are fixed in the presence of this CL. This reverts commit 2789faabfa9cdf16902a52a1de3fc4a7ae98efed. We additionally remove uniprocessor support from the earlier CL, thus avoiding a potential compiler code reordering issue. Change-Id: I7207a5ca2efa907a6f757f172d7090a62b2311fe
* kill HAVE_POSIX_FILEMAPYabin Cui2014-11-111-2/+2
| | | | | Bug: 18315579 Change-Id: I0bd5fb946b12cb90e0c9c73a478df41609b8c3e2
* Merge "Reserve some AIDs for OEMs"Nick Kralevich2014-11-101-0/+5
|\
| * Reserve some AIDs for OEMsJohan Redestig2014-11-101-0/+5
| | | | | | | | | | | | | | OEMs frequently add some AIDs on their own. Reserve some range for them to use. Change-Id: I3c729c889c9bd3e105ae4f6fb0c04a42a10eb25c
* | Merge "Move winsock2.h in front of a potential windows.h include."Stephen Hines2014-11-091-0/+4
|\ \
| * | Move winsock2.h in front of a potential windows.h include.Stephen Hines2014-11-081-0/+4
| |/ | | | | | | | | | | | | | | | | | | | | Files that included FileMap.h (possibly transitively), before including ByteOrder.h (which pulls in winsock2.h directly), will experience a compiler warning/error from the latest mingw headers. This happens because the headers require that winsock2.h come before windows.h in all cases. The simplest (and most error-proof) fix for now is to include winsock2.h before this use of windows.h. Change-Id: I33069e4c9962d9820d0ea5976554f89d7ff6307c
* | Make Unicode.h use types that match libc++.Dan Albert2014-11-081-2/+2
|/ | | | | | | libc++ also defines these types for pre-C++11, and the two definitions need to match to avoid redefinition errors. Bug: 18300613 Change-Id: I1e9198d39f7c470f37bc6edba2dca2d499f54c9b
* resolved conflicts for merge of e3c22c41 to stage-aosp-masterCalin Juravle2014-10-281-1/+1
|\ | | | | | | Change-Id: I566aeb2e2de15813ee199d4635098029457fdf3d
| * Handle code_cache dir creation in libnativebridgeCalin Juravle2014-10-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also: - add kPreInitiliazed state to native bridge with check transition: kOpened->kPreInitialized->kInitialized - made sure we free the memory for the code_cache_path - tidy up some error messages - tidy up tests - add a dummy native bridge to test with Bug: 18027433 Bug: 18097480 Change-Id: I39f74c93580f2e224080dd3df2ffaa9cf9f8cd9c
* | am 07f1300c: am 7979f1ce: Merge "Do not inline rarely used trace function ↵Chih-Hung Hsieh2014-10-151-39/+11
|\ \ | |/ | | | | | | | | | | bodies." * commit '07f1300c4c4f7d3c0df540bf8df3443c3f4539cd': Do not inline rarely used trace function bodies.
| * Do not inline rarely used trace function bodies.Chih-Hung Hsieh2014-10-141-39/+11
| | | | | | | | | | | | | | | | When atrace_* functions are inlined, the rarely used 1024-byte buffers are allocated on stack. BUG: 17444504 Change-Id: I773512aeb70e8b79f3803c6d59cba064d2aa65b6
* | am 072877af: am 41198eea: Merge "Revert "Rewrite atomic.h to use stdatomic.h.""Hans Boehm2014-10-048-124/+1039
|\ \ | |/ | | | | | | * commit '072877af485d49f11e227c0d22a7bb4a341533d6': Revert "Rewrite atomic.h to use stdatomic.h."
| * Revert "Rewrite atomic.h to use stdatomic.h."Hans Boehm2014-10-048-124/+1039
| | | | | | | | | | | | This reverts commit cb344d464009337c283431dec4441b70481d1a49. Change-Id: Ib17cd8d00695062177ce863cedc4ec7148012317
* | am f5204549: am 028928fe: Merge "Rewrite atomic.h to use stdatomic.h."Hans Boehm2014-10-048-1039/+124
|\ \ | |/ | | | | | | * commit 'f5204549faf7310cc808bcb3676fb36268178e26': Rewrite atomic.h to use stdatomic.h.
| * Rewrite atomic.h to use stdatomic.h.Hans Boehm2014-10-018-1039/+124
| | | | | | | | | | | | | | Replace atomic-inl.h with a file that just includes atomic.h. Remove platform specific implementations. Change-Id: If16d74fbe0af7836ed8c1296c17e13a2d0d20f64
* | resolved conflicts for merge of 64884bb1 to lmp-dev-plus-aospAndreas Gampe2014-09-241-3/+28
|\ \ | |/
| * Merge "LibNativeBridge: Add early init & env setup"Andreas Gampe2014-09-241-3/+28
| |\
| | * LibNativeBridge: Add early init & env setupjgu212014-09-231-3/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add a method to set up /proc/cpuinfo with enough privileges. Set up the environment for an app in InitializeNativeBridge(). Turn on -Wall for libnativebridge. Change-Id: I0b93da93251c6b4638de786bf98cf99df07c3fc2
* | | am f6cce347: audio: add HW hotword capture flagEric Laurent2014-09-241-3/+5
|\ \ \ | | | | | | | | | | | | | | | | * commit 'f6cce347a73e3b3da9ff6698ead25b5a543ce47b': audio: add HW hotword capture flag
| * | | audio: add HW hotword capture flagEric Laurent2014-09-191-3/+5
| | | | | | | | | | | | | | | | | | | | Bug: 17575019. Change-Id: I12c0a2e0200f3d839dfd74650724391e54ac3534
* | | | am fbb4188c: am d559d6c7: Merge "defined(HAVE_OFF_T) is really just ↵Elliott Hughes2014-09-231-8/+4
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | !defined(__APPLE__)." * commit 'fbb4188cfac18b457801cf3e304bfa39dd29dde8': defined(HAVE_OFF_T) is really just !defined(__APPLE__).
| * | | defined(HAVE_OFF_T) is really just !defined(__APPLE__).Elliott Hughes2014-09-221-8/+4
| | |/ | |/| | | | | | | Change-Id: I83c271bfe24b777acf293d2b4ac5af2cce8398b9
| * | Use the correct debuggerd given the tid.Christopher Ferris2014-09-131-3/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On 64 bit systems, calling dump_backtrace_to_file will automatically call debuggerd64. If the process to dump is actually 32 bit, this creates an unrecognizable dump backtrace. Modify the code to check the type of the process and connect to the appropriate debuggerd process. This change refactors both the tombstone and backtrace functionality to allow both to work properly on 64 bit systems when dealing with mixed processes. Bug: 17487122 (cherry picked from commit a9fa7b87f1aefd7b96f749a545d3385ad384c12b) Change-Id: I3c9e0212c8720877a6af092071a3695df2a36df8
* | | am 07dda6b5: Merge "Use the correct debuggerd given the tid." into lmp-devChristopher Ferris2014-09-131-3/+16
|\ \ \ | | |/ | |/| | | | | | | * commit '07dda6b57c6a476177b68ad42966f24cbbdb04c1': Use the correct debuggerd given the tid.
| * | Use the correct debuggerd given the tid.Christopher Ferris2014-09-121-3/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On 64 bit systems, calling dump_backtrace_to_file will automatically call debuggerd64. If the process to dump is actually 32 bit, this creates an unrecognizable dump backtrace. Modify the code to check the type of the process and connect to the appropriate debuggerd process. This change refactors both the tombstone and backtrace functionality to allow both to work properly on 64 bit systems when dealing with mixed processes. Bug: 17487122 Change-Id: Icf123a6f4508b1aeec073663aa1a0ceae5380aa1
* | | am e70851f8: am f9b9693b: Merge "liblog: logcat: colored output."Mark Salyzyn2014-09-121-0/+1
|\ \ \ | | |/ | |/| | | | | | | * commit 'e70851f8a8aa4c9dfaa442abf812c283ba8d8b6f': liblog: logcat: colored output.
| * | liblog: logcat: colored output.Pierre Zurek2014-09-111-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds a new '-v color' option to logcat so that the output is colored similar to the ones in DDMS. Simply type "adb logcat -v color" to use it. Works well with bash in gnome-terminal. NO GUARANTEE IT WILL WORK ON A NON xterm STYLE TERMINAL. Signed-off-by: Michael Zimmermann <sigmaepsilon92@gmail.com> Signed-off-by: Mark Salyzyn <salyzyn@google.com> Change-Id: I9189c5f27fed991579edbcbc6834536eb8112152
* | | am fcfa8640: audio.h: Add "safe speaker" device for limited-loudness use casesJon Eklund2014-09-111-0/+3
|\ \ \ | | |/ | |/| | | | | | | * commit 'fcfa86403e206e2caa519299939480cb45deb8ba': audio.h: Add "safe speaker" device for limited-loudness use cases
| * | audio.h: Add "safe speaker" device for limited-loudness use casesJon Eklund2014-09-101-0/+3
| | | | | | | | | | | | | | | Bug: 17319721 Change-Id: Ie1af5b73258f8a0009c3bc3cecb3e0e8b2262ed7
* | | am 69052994: Merge "Support resetting connections tied to any nonexistent ↵Sreeram Ramachandran2014-09-101-0/+1
|\ \ \ | |/ / | | | | | | | | | | | | | | | address." into lmp-dev * commit '69052994fd21f2b594295f62e2f867e911e8468d': Support resetting connections tied to any nonexistent address.
| * | Merge "Support resetting connections tied to any nonexistent address." into ↵Sreeram Ramachandran2014-09-091-0/+1
| |\ \ | | | | | | | | | | | | lmp-dev
| | * | Support resetting connections tied to any nonexistent address.Sreeram Ramachandran2014-09-081-0/+1
| | | | | | | | | | | | | | | | | | | | Bug: 15414453 Change-Id: Ibf1f052e12b88838a328148e25817a96f10d50f5
| * | | NativeBridge: Refactor for new initialization flowAndreas Gampe2014-09-081-6/+16
| |/ / | | | | | | | | | | | | | | | | | | | | | Setup becomes Load, have explicit Initialize and Unload. (cherry picked from commit 035bd7541ed909344348b6a4e17a7ef01a434653) Change-Id: I5a20de1cb68dd1802937b369b14c50c9c1031c67
| * | Remove android_... store_barriers and 64-bit atomics.Hans Boehm2014-09-028-262/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These are no longer used, and we want to strongly discourage future use. Keep the 32-bit variants while there are still uses. All users should move to C11 or C++11 atomics. (Resolved conflicts in atomic-...64.h with uniprocessor support removal as in AOSP.) Bug:16880454 Change-Id: I122b541cfd29ef4a6c932647f85d0d6a9d802061 (cherry picked from commit 9959ed953069ac9a7f08bebd2df55440e9370c0f)
| * | Change /dalvik-cache to be owned by root.Alex Light2014-08-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Bug: 16875245 (cherry picked from commit 3878ebd72493427ea5537b36dfb9cd7cb38677bb) Change-Id: I29a70215a2207bc4e0db02ab751d32a68edf4b66
* | | am 8e10bfd9: am 88d1bc0e: Merge "NativeBridge: Refactor for new ↵Andreas Gampe2014-09-041-6/+16
|\ \ \ | | |/ | |/| | | | | | | | | | | | | initialization flow" * commit '8e10bfd9cc543fdec8fec26c320f649f72b15e3b': NativeBridge: Refactor for new initialization flow
| * | NativeBridge: Refactor for new initialization flowAndreas Gampe2014-09-041-6/+16
| | | | | | | | | | | | | | | | | | Setup becomes Load, have explicit Initialize and Unload. Change-Id: I5a20de1cb68dd1802937b369b14c50c9c1031c67
* | | am 24d2adba: am 188d4396: Merge "Change /dalvik-cache to be owned by root."Brian Carlstrom2014-08-291-1/+1
|\ \ \ | |/ / | | | | | | | | | * commit '24d2adba7a2f9caa82a88be70ad2fe7397ab310a': Change /dalvik-cache to be owned by root.
| * | Merge "Change /dalvik-cache to be owned by root."Brian Carlstrom2014-08-281-1/+1
| |\ \
| | * | Change /dalvik-cache to be owned by root.Alex Light2014-08-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Bug: 16875245 Change-Id: I29a70215a2207bc4e0db02ab751d32a68edf4b66
* | | | am 424eaece: am 69001e08: Merge "Remove android_... store_barriers and ↵Hans Boehm2014-08-278-225/+0
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | 64-bit atomics." * commit '424eaece64e3649082a3972a8eebf76a6b403494': Remove android_... store_barriers and 64-bit atomics.
| * | | Remove android_... store_barriers and 64-bit atomics.Hans Boehm2014-08-278-225/+0
| |/ / | | | | | | | | | | | | | | | | | | | | | These are no longer used, and we want to strongly discourage future use. Keep the 32-bit variants while there are still uses. All users should move to C11 or C++11 atomics. Change-Id: I122b541cfd29ef4a6c932647f85d0d6a9d802061
| * | NativeBridge: Tighten security on libnativebridgeAndreas Gampe2014-08-221-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Do not allow arbitrary paths for the native bridge - only allow simple names. Do not allow re-setup of the native bridge. Bug: 16404669 (cherry picked from commit cd2ef4c1af69727231b84ebc82864c170ff0e8ad) Change-Id: Ie22de356d2307fe2758f9094a85d44e61a4098a1
* | | am 4089cda0: Merge "NativeBridge: Tighten security on libnativebridge" into ↵Andreas Gampe2014-08-221-0/+15
|\ \ \ | | |/ | |/| | | | | | | | | | | | | lmp-dev * commit '4089cda0ae73e71adb787e595c747846e30730ee': NativeBridge: Tighten security on libnativebridge