| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
This is not available for host builds because OSX doesn't have
pthread_mutex_timedlock() or equivalent.
Bug: 18842510
Change-Id: I072e74ab1a6f770fd245828b39c5f954dda1113b
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
As well intentioned as these were, uint16_t and C++11's char16_t are
_not_ actually compatible. They are not implicitly convertible, and
they mangle differently, so they are not even ABI compatible. In our
now wonderous world of C++11, no one should be using these, so just
kill them.
Bug: 18300613
Change-Id: I06d92d7f1d937dd94a620874323d4c50eb6a31bd
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The ANDROID_SINGLETON_STATIC_INSTANCE is used in some files
out of the android namespace. If it does not use full qualified
names, users of this macro will need to use it inside the 'android'
namespace to avoid warnings from clang compiler.
Change-Id: Ie4d4ba2b57fdc72d0deb3b7c2326304a44a1300f
|
| |
| |
| |
| |
| |
| |
| | |
This should probably be in libcutils instead, so code that needs to
care about Windows can use readv/writev.
Change-Id: I7c2ceec3f742cee0e44f69fd4c88459376bd0e08
|
| |
| |
| |
| | |
Change-Id: I15ae14542214a3802d43892da0d03cfb33e63c96
|
| |
| |
| |
| | |
Change-Id: Iae697ae257cf4b1d675e2b758dd31d5a6a71ae4d
|
| |
| |
| |
| | |
Change-Id: I9e25ac9d27e95b04fb8bf7a66c619af0139d8b8f
|
|/
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: I3ac0229b9c516744e6a9c9d9e795b43bc9c5636b
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Bug: 18315579
Change-Id: I0bd5fb946b12cb90e0c9c73a478df41609b8c3e2
|
|\ |
|
| |
| |
| |
| |
| |
| |
| | |
OEMs frequently add some AIDs on their own. Reserve some range
for them to use.
Change-Id: I3c729c889c9bd3e105ae4f6fb0c04a42a10eb25c
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|/
|
|
|
|
|
| |
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
|
|\
| |
| |
| | |
Change-Id: I566aeb2e2de15813ee199d4635098029457fdf3d
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|\ \
| |/
| |
| |
| |
| |
| | |
bodies."
* commit '07f1300c4c4f7d3c0df540bf8df3443c3f4539cd':
Do not inline rarely used trace function bodies.
|
| |
| |
| |
| |
| |
| |
| |
| | |
When atrace_* functions are inlined,
the rarely used 1024-byte buffers are allocated on stack.
BUG: 17444504
Change-Id: I773512aeb70e8b79f3803c6d59cba064d2aa65b6
|
|\ \
| |/
| |
| |
| | |
* commit '072877af485d49f11e227c0d22a7bb4a341533d6':
Revert "Rewrite atomic.h to use stdatomic.h."
|
| |
| |
| |
| |
| |
| | |
This reverts commit cb344d464009337c283431dec4441b70481d1a49.
Change-Id: Ib17cd8d00695062177ce863cedc4ec7148012317
|
|\ \
| |/
| |
| |
| | |
* commit 'f5204549faf7310cc808bcb3676fb36268178e26':
Rewrite atomic.h to use stdatomic.h.
|
| |
| |
| |
| |
| |
| |
| | |
Replace atomic-inl.h with a file that just includes atomic.h.
Remove platform specific implementations.
Change-Id: If16d74fbe0af7836ed8c1296c17e13a2d0d20f64
|
|\ \
| |/ |
|
| |\ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
|\ \ \
| | | |
| | | |
| | | |
| | | | |
* commit 'f6cce347a73e3b3da9ff6698ead25b5a543ce47b':
audio: add HW hotword capture flag
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 17575019.
Change-Id: I12c0a2e0200f3d839dfd74650724391e54ac3534
|
|\ \ \ \
| | |/ /
| |/| |
| | | |
| | | |
| | | |
| | | | |
!defined(__APPLE__)."
* commit 'fbb4188cfac18b457801cf3e304bfa39dd29dde8':
defined(HAVE_OFF_T) is really just !defined(__APPLE__).
|
| | |/
| |/|
| | |
| | | |
Change-Id: I83c271bfe24b777acf293d2b4ac5af2cce8398b9
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
|\ \ \
| | |/
| |/|
| | |
| | | |
* commit '07dda6b57c6a476177b68ad42966f24cbbdb04c1':
Use the correct debuggerd given the tid.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
|\ \ \
| | |/
| |/|
| | |
| | | |
* commit 'e70851f8a8aa4c9dfaa442abf812c283ba8d8b6f':
liblog: logcat: colored output.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
|\ \ \
| | |/
| |/|
| | |
| | | |
* commit 'fcfa86403e206e2caa519299939480cb45deb8ba':
audio.h: Add "safe speaker" device for limited-loudness use cases
|
| | |
| | |
| | |
| | |
| | | |
Bug: 17319721
Change-Id: Ie1af5b73258f8a0009c3bc3cecb3e0e8b2262ed7
|
|\ \ \
| |/ /
| | |
| | |
| | |
| | |
| | | |
address." into lmp-dev
* commit '69052994fd21f2b594295f62e2f867e911e8468d':
Support resetting connections tied to any nonexistent address.
|
| |\ \
| | | |
| | | |
| | | | |
lmp-dev
|
| | | |
| | | |
| | | |
| | | |
| | | | |
Bug: 15414453
Change-Id: Ibf1f052e12b88838a328148e25817a96f10d50f5
|
| |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Setup becomes Load, have explicit Initialize and Unload.
(cherry picked from commit 035bd7541ed909344348b6a4e17a7ef01a434653)
Change-Id: I5a20de1cb68dd1802937b369b14c50c9c1031c67
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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)
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Bug: 16875245
(cherry picked from commit 3878ebd72493427ea5537b36dfb9cd7cb38677bb)
Change-Id: I29a70215a2207bc4e0db02ab751d32a68edf4b66
|
|\ \ \
| | |/
| |/|
| | |
| | |
| | |
| | | |
initialization flow"
* commit '8e10bfd9cc543fdec8fec26c320f649f72b15e3b':
NativeBridge: Refactor for new initialization flow
|
| | |
| | |
| | |
| | |
| | |
| | | |
Setup becomes Load, have explicit Initialize and Unload.
Change-Id: I5a20de1cb68dd1802937b369b14c50c9c1031c67
|
|\ \ \
| |/ /
| | |
| | |
| | | |
* commit '24d2adba7a2f9caa82a88be70ad2fe7397ab310a':
Change /dalvik-cache to be owned by root.
|
| |\ \ |
|