Elliott Hughes
3eed32c1d2
Move libusbhost's headers into libusbhost. am: e0a7c773ed am: d141edfb3c am: 1cde9655bb
...
am: c6dd9aaf5c
Change-Id: I4ba3a219eb6b3ebcb1fd228fb50587e70440b9a9
2016-09-17 01:46:11 +00:00
Elliott Hughes
c6dd9aaf5c
Move libusbhost's headers into libusbhost. am: e0a7c773ed am: d141edfb3c
...
am: 1cde9655bb
Change-Id: I2df83b58943ca2ffe3f82ba7199ae85976f169c8
2016-09-17 01:43:40 +00:00
Elliott Hughes
1cde9655bb
Move libusbhost's headers into libusbhost. am: e0a7c773ed
...
am: d141edfb3c
Change-Id: I3eed13355c67ff09b6f61aee5b6329ec15ce8b21
2016-09-17 01:41:09 +00:00
Elliott Hughes
d141edfb3c
Move libusbhost's headers into libusbhost.
...
am: e0a7c773ed
Change-Id: Ia6b0131c9405650a8c9934a7010c7723f028f6dd
2016-09-17 01:38:39 +00:00
Colin Cross
ed9ef61b2c
Merge "Fix warnings in cutils/atomic.h" am: 5e093f367c am: 6f292bcab9 am: a205ed0aad
...
am: 3b7524fe3a
Change-Id: I3e3ad863658826141886b4e6eae538297b84dd5c
2016-09-16 20:12:58 +00:00
Colin Cross
3b7524fe3a
Merge "Fix warnings in cutils/atomic.h" am: 5e093f367c am: 6f292bcab9
...
am: a205ed0aad
Change-Id: I03b1bcf695452b7f0322aaa166c2fe64fc0b49bb
2016-09-16 20:08:56 +00:00
Colin Cross
a205ed0aad
Merge "Fix warnings in cutils/atomic.h" am: 5e093f367c
...
am: 6f292bcab9
Change-Id: I69dc6ea6ec78f48710be69e287f1610726894466
2016-09-16 19:47:31 +00:00
Treehugger Robot
5e093f367c
Merge "Fix warnings in cutils/atomic.h"
2016-09-16 19:31:10 +00:00
Elliott Hughes
20d2a81b90
Move libbinderwrapper's headers into libbinderwrapper. am: 40104501fa am: c5cc029993 am: 761c529b37
...
am: ab273a5a4b
Change-Id: I4d02d36c06d50f9ff24aef7b0421d42613e525b9
2016-09-16 18:16:17 +00:00
Elliott Hughes
ab273a5a4b
Move libbinderwrapper's headers into libbinderwrapper. am: 40104501fa am: c5cc029993
...
am: 761c529b37
Change-Id: Iabb74f1a8ea0c79821b2ee3efbfce4bfbccbac13
2016-09-16 18:04:57 +00:00
Elliott Hughes
761c529b37
Move libbinderwrapper's headers into libbinderwrapper. am: 40104501fa
...
am: c5cc029993
Change-Id: I351680f306d7fb8814f8b41eb9e895a1a4153827
2016-09-16 17:51:24 +00:00
Elliott Hughes
e0a7c773ed
Move libusbhost's headers into libusbhost.
...
Change-Id: Ic5ff65bd6456ea3cc92e0c8f9d7a6f499e58dbfc
2016-09-16 10:43:56 -07:00
Elliott Hughes
40104501fa
Move libbinderwrapper's headers into libbinderwrapper.
...
It was probably the LOCAL_EXPORT_C_INCLUDE_DIRS that made me miss this on the
original code review...
Change-Id: I55bc0b0698604338cd206bf5f336798929b6d8f9
2016-09-16 09:02:47 -07:00
Colin Cross
ec69c05463
Fix warnings in cutils/atomic.h
...
system/core/include is included in the global include path using
-isystem, which hides all warnings. Fix warnings in cutils/atomic.h in
preparation for moving from -isystem to -I.
Test: m -j native
Bug: 31492149
Change-Id: I2a212f192309090a16d507e9ab6acf0fd7cac02d
2016-09-15 19:22:32 -07:00
Courtney Goeltzenleuchter
7ae63a8cbd
Add color mode enums am: a2e874eabc
...
am: ae93122c0e
Change-Id: Ifaef323f9804c36ca5271fd3eafcef75cf67e9c5
2016-09-09 18:47:13 +00:00
Lajos Molnar
ef8322329e
add android_flex_layout for describing all flexible formats. am: 0e10df4dd6
...
am: a2d46813fc
Change-Id: I47fbc1c78ac1458150d5231a85b4cf5c3e17a62f
2016-09-09 18:47:07 +00:00
Courtney Goeltzenleuchter
a2e874eabc
Add color mode enums
...
The android_color_mode_t defines the color modes supported
by a display. A display can support multiple different
color modes.
sRGB mode and AdobeRGB are deliberately placed at 7 and 8
so that they match mode ID's used on prior devices.
bug: http://b/27926012
Change-Id: I9ab41b56ec0b495c02539665da5be158ffddf843
2016-09-08 11:39:32 -07:00
Lajos Molnar
0e10df4dd6
add android_flex_layout for describing all flexible formats.
...
Bug: 22767098
Bug: 24759202
Change-Id: I61e4ca9bd71e8da88a9571ec4effc7165026715b
2016-09-08 11:38:53 -07:00
Felipe Leme
4eeca5d0b0
Added a NETWORK trace tag. am: 785735bde1 am: 860f100454
...
am: c561b35f29
Change-Id: Ifb2cba7664af19b22c9bb5062f69b8052e789336
2016-09-08 00:55:47 +00:00
Felipe Leme
c561b35f29
Added a NETWORK trace tag. am: 785735bde1
...
am: 860f100454
Change-Id: I729a74de3a1da6cbf176e33dfda253ac47d4dfd8
2016-09-08 00:44:48 +00:00
Felipe Leme
785735bde1
Added a NETWORK trace tag.
...
BUG: 31281543
Change-Id: I4d7c7fc26c77fec099bbf0f9426e3a9f3a722e6d
2016-09-07 12:47:18 -07:00
Mark Salyzyn
2fb3f08d51
liblog: add __android_log_close()
...
Bug: 30963384
(cherry picked from commit df7a4c6bae )
Change-Id: Iee7cd0db819644299fa086586630e71415643294
2016-08-30 16:02:08 +01:00
Christopher Ferris
0c572d01af
Fix race condition updating local map data.
...
If the underlying local map changes, it's possible for multiple
threads to try and modify the map data associated with the UnwindLocalMap
object. Add a lock when generating the local map to avoid this problem.
In addition, add a read lock whenever any caller gets the maps iterator.
Updated all iterator callers to make this lock.
Bug: 29387050
Bug: 31067025
(cherry picked from commit 3a14004c7f )
Change-Id: Id00116f156a24b36085c0d5dfc3dde4d2ac55194
2016-08-25 15:01:53 -07:00
Martijn Coenen
111ef54a28
Merge changes from topic 'utf' am: 3a07e5bf94 am: aa7fd8a3ec
...
am: ade3876260
Change-Id: Ifec806c7553b36a6502a8b5bb3dec559c117f4cc
2016-08-25 20:31:42 +00:00
Martijn Coenen
ade3876260
Merge changes from topic 'utf' am: 3a07e5bf94
...
am: aa7fd8a3ec
Change-Id: I3c90317d492a84ff99b18463d6f489e7b1cca61b
2016-08-25 20:24:14 +00:00
Sergio Giro
1cfa56d46c
libutils/Unicode.cpp: Correct length computation and add checks for utf16->utf8
...
Inconsistent behaviour between utf16_to_utf8 and utf16_to_utf8_length
is causing a heap overflow.
Correcting the length computation and adding bound checks to the
conversion functions.
Test: ran libutils_tests
Bug: 29250543
Change-Id: I6115e3357141ed245c63c6eb25fc0fd0a9a7a2bb
(cherry picked from commit c4966a363e )
2016-08-25 20:07:51 +00:00
Sergio Giro
9de6776321
Unicode: specify destination length in utf8_to_utf16 methods
...
String16(const char *utf8) now returns the empty string in case
a string ends halfway throw a utf8 character.
Bug: 29267949
Clean cherry-pick from 1dcc0c8239
Change-Id: I5223caa7d42f4582a982609a898a02043265c6d3
2016-08-25 19:57:06 +00:00
Hans Boehm
a1709d5269
Merge "Make RefBase more robust and debuggable" am: daac359be7 am: 7bf3d21fde am: 7dddf9433c
...
am: 2d3545fe82
Change-Id: I65537ec0db45b05f96dae43b8f4a91bd4af2d39b
2016-08-25 00:14:54 +00:00
Hans Boehm
2d3545fe82
Merge "Make RefBase more robust and debuggable" am: daac359be7 am: 7bf3d21fde
...
am: 7dddf9433c
Change-Id: Ia8bdef250b29d964a9ab07c450da31a368bb3143
2016-08-24 23:52:14 +00:00
Hans Boehm
7dddf9433c
Merge "Make RefBase more robust and debuggable" am: daac359be7
...
am: 7bf3d21fde
Change-Id: I643c4bd38062b80d382c50ed161f5440f35c1dd9
2016-08-24 23:49:14 +00:00
Hans Boehm
daac359be7
Merge "Make RefBase more robust and debuggable"
2016-08-24 23:36:13 +00:00
Andy Hung
e131ea2a25
Fix Mutex::timedLock to properly handle relative time am: 604ba48220 am: 708b9d118a am: 47e5ca61e2
...
am: 8ec6753d61
Change-Id: Ia281e33c13df240baf0c2bb187b0c13fefdeff8e
2016-08-24 23:08:27 +00:00
Andy Hung
8ec6753d61
Fix Mutex::timedLock to properly handle relative time am: 604ba48220 am: 708b9d118a
...
am: 47e5ca61e2
Change-Id: I5c351fbdc485acbcb33426b99ea6b900519ee0e3
2016-08-24 22:50:00 +00:00
Andy Hung
604ba48220
Fix Mutex::timedLock to properly handle relative time
...
Bug: 31008450
Change-Id: Ie6c17e17b7a8c3d8a087c47be535e9d04f285380
2016-08-24 22:29:11 +00:00
Mark Salyzyn
0b6f5ea819
Merge "liblog: add __android_log_close()" am: 812d1c7ea2 am: 6322efe522 am: ed421af68d
...
am: e5bda4d0ec
Change-Id: Ie8f6b6f866575f830ea3526d39fbedcb4e9795b3
2016-08-24 16:18:56 +00:00
Mark Salyzyn
309122d798
Merge "logger: validate hdr_size field in logger entry" am: fcf7ab8b1b am: 2d562c9dce am: 098b5887c6
...
am: af3623281f
Change-Id: I517e59cd638b8d1525b1ae6798af50bd8ca6f1ff
2016-08-24 16:18:56 +00:00
Mark Salyzyn
e60a17a9db
Merge "libcutils: Add ashmem_valid() function" am: d00c7470ea am: 8b1f7b595c am: da07f7880c
...
am: 8e5cb037c4
Change-Id: Ic2a5ed0ddc1c506d486a3dd5c86880b6c181b5b4
2016-08-24 16:18:55 +00:00
Mark Salyzyn
e5bda4d0ec
Merge "liblog: add __android_log_close()" am: 812d1c7ea2 am: 6322efe522
...
am: ed421af68d
Change-Id: Ifacd3de810c30a9b79cb262ab4c2432d8b1c0791
2016-08-24 16:10:09 +00:00
Mark Salyzyn
af3623281f
Merge "logger: validate hdr_size field in logger entry" am: fcf7ab8b1b am: 2d562c9dce
...
am: 098b5887c6
Change-Id: I4d067039a766e7079a91eb56d2ffb8d68aba58b5
2016-08-24 16:10:08 +00:00
Mark Salyzyn
ed421af68d
Merge "liblog: add __android_log_close()" am: 812d1c7ea2
...
am: 6322efe522
Change-Id: Ib61d4ec5102fcfb12c48250c019fcdf019c2ffc5
2016-08-24 16:07:39 +00:00
Mark Salyzyn
098b5887c6
Merge "logger: validate hdr_size field in logger entry" am: fcf7ab8b1b
...
am: 2d562c9dce
Change-Id: I5721e8614079a04c2dc364304d0ffed10d74be90
2016-08-24 16:07:38 +00:00
Mark Salyzyn
6322efe522
Merge "liblog: add __android_log_close()"
...
am: 812d1c7ea2
Change-Id: I2ba5ed22e78564a864bab6b550b6d2bd2609a629
2016-08-24 16:05:05 +00:00
Mark Salyzyn
2d562c9dce
Merge "logger: validate hdr_size field in logger entry"
...
am: fcf7ab8b1b
Change-Id: Ic88fe616256ab4949040771d3bed1dfb823ab981
2016-08-24 16:05:04 +00:00
Treehugger Robot
812d1c7ea2
Merge "liblog: add __android_log_close()"
2016-08-24 15:58:48 +00:00
Treehugger Robot
fcf7ab8b1b
Merge "logger: validate hdr_size field in logger entry"
2016-08-24 15:56:23 +00:00
Mark Salyzyn
8e5cb037c4
Merge "libcutils: Add ashmem_valid() function" am: d00c7470ea am: 8b1f7b595c
...
am: da07f7880c
Change-Id: I3a4cf9a2cd848aae04ec3e88ae1e50a51774cd5f
2016-08-24 15:54:08 +00:00
Mark Salyzyn
da07f7880c
Merge "libcutils: Add ashmem_valid() function" am: d00c7470ea
...
am: 8b1f7b595c
Change-Id: I1be0fc5d74c609ec42578c29c7af9d897708f8c6
2016-08-24 15:51:08 +00:00
Mark Salyzyn
8b1f7b595c
Merge "libcutils: Add ashmem_valid() function"
...
am: d00c7470ea
Change-Id: Ib09d3ee7bb131c30f59ea273f357c045394206fb
2016-08-24 15:48:55 +00:00
Mark Salyzyn
ee431112ff
libcutils: Add ashmem_valid() function
...
Bug: 30310689
Change-Id: I14c52c5d52745a725799652b87c86281ac214899
2016-08-23 15:29:28 -07:00
Mark Salyzyn
df7a4c6bae
liblog: add __android_log_close()
...
Bug: 30963384
Change-Id: I901e6ac2cc3c601bbecc2d64e00a98e2ab448210
2016-08-23 15:25:03 -07:00