Igor Murashkin
0ef87a44f8
Merge "cutils: Add property_get_bool, _get_int32, _get_int64"
2014-04-14 21:59:32 +00:00
John Reck
8af196c1f5
Merge "Add a peekOldestValue"
2014-04-14 20:17:53 +00:00
Narayan Kamath
8d56ff5d12
am c5aff686: am cda31324: am 4706320e: Merge "Include 64bit valgrind in the android_filesystem_config."
...
* commit 'c5aff68693dee788a28a0d0256782cc8521aa2a5':
Include 64bit valgrind in the android_filesystem_config.
2014-04-14 16:05:11 +00:00
Narayan Kamath
c5aff68693
am cda31324: am 4706320e: Merge "Include 64bit valgrind in the android_filesystem_config."
...
* commit 'cda31324afdc3e9d1bc5d2e9ee45985cf1fb8819':
Include 64bit valgrind in the android_filesystem_config.
2014-04-14 16:01:31 +00:00
Narayan Kamath
6b7ab90ca9
Include 64bit valgrind in the android_filesystem_config.
...
Required so that we set the exectuable bit correctly.
Change-Id: If59bd0ff47d2b4b2b8f92a1c007b4ba414ea1876
2014-04-12 09:11:16 +01:00
Andreas Gampe
02c9460a0a
BitSet32 64b compatibility fix
...
Using __builtin_c{l,t}zl fails on 64b systems as unsigned long is
8B there. However, unsigned int is only guaranteed to be 2B. Introduce
a check that should be optimized away by the compiler.
Change-Id: I854d0817c6bb5ae13c257241240664bf8f1a7c8a
2014-04-11 22:41:46 -07:00
John Reck
9d8707c75a
Add a peekOldestValue
...
Change-Id: I89d8ea14c8ac02653d9c0e1fe24a4b17bb9c87f5
2014-04-11 19:14:15 -07:00
Igor Murashkin
d4507e9246
cutils: Add property_get_bool, _get_int32, _get_int64
...
* Read out system properties with same syntax as SystemProperties.java
* Also adds unit test suite to validate correctness of properties
* Also fixes buffer overrun in property_get
Change-Id: Ifd42911f93e17da09e6ff1298e8875e02f3b6608
2014-04-11 17:49:01 -07:00
Mark Salyzyn
fb59398dc6
am 63a14ed7: am ae3ba0b3: am 472e04f2: Merge "logd: liblog: logcat: enable prune features for user"
...
* commit '63a14ed7fc728f84f9496fc99bc1df01b5bc8b16':
logd: liblog: logcat: enable prune features for user
2014-04-09 23:41:29 +00:00
Mark Salyzyn
63a14ed7fc
am ae3ba0b3: am 472e04f2: Merge "logd: liblog: logcat: enable prune features for user"
...
* commit 'ae3ba0b339e7a768fe58f179fdab55f273419e1e':
logd: liblog: logcat: enable prune features for user
2014-04-09 23:37:45 +00:00
Mark Salyzyn
472e04f2b4
Merge "logd: liblog: logcat: enable prune features for user"
2014-04-09 23:33:28 +00:00
Tim Murray
4854a36e2a
am 1f87d3ab: am 83fd6375: am 31631861: Merge "Add guards to prevent typedefs when C++11 is available."
...
* commit '1f87d3ab8c384d03d1496c63f7faad15bd5eeba9':
Add guards to prevent typedefs when C++11 is available.
2014-04-07 22:12:07 +00:00
Tim Murray
1f87d3ab8c
am 83fd6375: am 31631861: Merge "Add guards to prevent typedefs when C++11 is available."
...
* commit '83fd6375f6d9016afe9bb03453d39b8c41cda548':
Add guards to prevent typedefs when C++11 is available.
2014-04-07 22:06:38 +00:00
Tim Murray
ae83f84548
Add guards to prevent typedefs when C++11 is available.
...
char32_t and char16_t are both defined in C++11.
Change-Id: I44fe8f4f05f230c18a1b77fa21b6a40c8f8ecc2d
2014-04-07 14:11:21 -07:00
Christopher Ferris
7962e4acc7
am 6a8c3164: am e35cba9a: am a97798af: Merge "Create an UnwindMapLocal object."
...
* commit '6a8c316438032c72ffdd2988cc1eb2717f477254':
Create an UnwindMapLocal object.
2014-04-04 03:19:39 +00:00
Christopher Ferris
6a8c316438
am e35cba9a: am a97798af: Merge "Create an UnwindMapLocal object."
...
* commit 'e35cba9af02004d30033826638e00ba5fdcdd013':
Create an UnwindMapLocal object.
2014-04-04 02:04:39 +00:00
Christopher Ferris
e296091060
Create an UnwindMapLocal object.
...
The way libunwind handles local unwinds is different from remote unwinds,
so create a new map object to handle the differences.
Add new test to verify the map data is being generated correctly.
Add new tests to check for leaks.
Refactor the BACK_LOGW code into a single header file.
Change-Id: I01f3cbfc4b927646174ea1b614fa25d23b9b3427
2014-04-03 14:19:24 -07:00
Mark Salyzyn
1c95047939
logd: liblog: logcat: enable prune features for user
...
- Enable whitelist, blacklist and logsize tuneables for user
Change-Id: Id0c283844c71c5263a8cfbebf2e550f7ac415858
2014-04-02 13:12:04 -07:00
Wonsik Kim
94404eef65
Merge "Clarify ownership for NativeHandle::mHandle"
2014-04-02 06:13:59 +00:00
Michael Wright
a45ff0f586
am df33e8b5: Add BitSet64. DO NOT MERGE
...
* commit 'df33e8b544c457e4b08e8fa0b8a3eaf5eaf8fc2e':
Add BitSet64. DO NOT MERGE
2014-03-26 19:29:05 +00:00
Paul McLean
55c6407041
Adding a handy predicate function (str_parms_has_key()
...
Change-Id: I1af5c260a1a820b65f0850ea9adb38b01fcb183c
2014-03-25 19:08:13 +00:00
Michael Wright
df33e8b544
Add BitSet64. DO NOT MERGE
...
Change-Id: Idf3e21dfaa9f90f4dcb1b4d41eed3891dda99561
2014-03-24 16:51:01 -07:00
Wonsik Kim
c4cc584bbd
Clarify ownership for NativeHandle::mHandle
...
Change-Id: I0835278df1aa78f10d5493d7ef2c9e4a15c0fee9
2014-03-24 11:40:36 +09:00
Mark Salyzyn
2583dec08c
am 3f4855c1: am 46f3ebba: am 28171447: Merge "cutils: trace 64-bit compile issues"
...
* commit '3f4855c11889470691673c15f05361df61ea95b2':
cutils: trace 64-bit compile issues
2014-03-20 22:27:19 +00:00
Mark Salyzyn
3f4855c118
am 46f3ebba: am 28171447: Merge "cutils: trace 64-bit compile issues"
...
* commit '46f3ebba31d5820a08d0a638c9e261fbcea907a0':
cutils: trace 64-bit compile issues
2014-03-20 20:53:25 +00:00
Mark Salyzyn
a459d0b0e2
cutils: trace 64-bit compile issues
...
- switch format to PRId64 for int64_t
- switch format to PRId32 for int32_t
Change-Id: I1e66db06810000936d584ed49234550abd96cdff
2014-03-20 13:02:57 -07:00
Michael Wright
2ec064597c
Add static methods to BitSet.
...
Also, moar testing.
Change-Id: I512b337a1a85a0794445fc6249af7ca39ba7c381
2014-03-19 11:23:01 -07:00
Michael Wright
74e2538b48
Add traits to BitSet64, not 32.
...
Change-Id: I3d41bbe47f5b02c610f69fc7824e416436d086b1
2014-03-18 17:45:37 -07:00
Michael Wright
bab6ea0bb7
Add BitSet64
...
Change-Id: Ia0039aae00316f42a8306a9fb8ad37269180b58c
2014-03-18 17:28:22 -07:00
Mark Salyzyn
6b9096b454
am e42e9db3: am 19bbf92d: am fc204a96: Merge changes Ia9509ad0,I4e815d74,I10e8d92c
...
* commit 'e42e9db3143f819e19684d4f882ef3834454a44d':
logcat: test White Black list
logd: Find log time for arbitrary time to tail
logd: liblog: logcat: Arbitrary time to tail
2014-03-14 18:05:24 +00:00
Mark Salyzyn
e42e9db314
am 19bbf92d: am fc204a96: Merge changes Ia9509ad0,I4e815d74,I10e8d92c
...
* commit '19bbf92de92ad9dbfb26b3a94025bf6e6cb72cee':
logcat: test White Black list
logd: Find log time for arbitrary time to tail
logd: liblog: logcat: Arbitrary time to tail
2014-03-14 18:01:25 +00:00
Mark Salyzyn
fa3716b250
logd: liblog: logcat: Arbitrary time to tail
...
Change-Id: I10e8d92c933e31ee11e78d2d1114261a30c4be0e
2014-03-14 10:23:51 -07:00
Mark Salyzyn
ba1987fb30
am 77eed05b: am f3dcda5f: Merge changes I1572338c,I39965007,I521753b1
...
* commit '77eed05b7ca44cfa013223fdb6f30dc0cc2e2760':
logd: liblog: logcat: Add LogWhiteBlackList
logd: prune by worst offending UID
logd: liblog: logcat: Add Statistics
2014-03-13 22:04:09 +00:00
Mark Salyzyn
dfa7a07f5b
logd: liblog: logcat: Add LogWhiteBlackList
...
- liblog android_logger_get_log_size and android_logger_get_readable_size
adjusted to return long instead of int because of -G flag extending range
NB: ifdef'd only for userdebug and eng builds
- liblog Add android_logger_[sg]et_prune_list and android_logger_set_log_size
- logcat Add -P, -p and -G flags
- logd Add LogWhiteBlackList and configurable log size
(cherry picked from commit 18a5432158 )
Change-Id: I1572338c1b34bd968ad7867857ef708156ec3b6a
2014-03-13 14:48:07 -07:00
Mark Salyzyn
34facab86b
logd: liblog: logcat: Add Statistics
...
- logd add statistical collection and formatting
- liblog add android_logger_get_statistics call
- logcat add -S flag
- logcat add -b all
(cherry picked from commit 51a29c8dc4 )
Change-Id: I521753b1969ecd4590c956aeeb1557d101059d67
2014-03-13 14:47:58 -07:00
Mark Salyzyn
18a5432158
logd: liblog: logcat: Add LogWhiteBlackList
...
- liblog android_logger_get_log_size and android_logger_get_readable_size
adjusted to return long instead of int because of -G flag extending range
NB: ifdef'd only for userdebug and eng builds
- liblog Add android_logger_[sg]et_prune_list and android_logger_set_log_size
- logcat Add -P, -p and -G flags
- logd Add LogWhiteBlackList and configurable log size
Change-Id: I1572338c1b34bd968ad7867857ef708156ec3b6a
2014-03-12 17:23:59 -07:00
Mark Salyzyn
51a29c8dc4
logd: liblog: logcat: Add Statistics
...
- logd add statistical collection and formatting
- liblog add android_logger_get_statistics call
- logcat add -S flag
- logcat add -b all
Change-Id: I521753b1969ecd4590c956aeeb1557d101059d67
2014-03-12 17:11:01 -07:00
Alex Ray
665902ee5a
am db480f75: am 6a58c4f3: am 33e86e00: Merge "libcutils: add method to get klog level"
...
* commit 'db480f7516977123a0c5c6f6705b282d2e55ab89':
libcutils: add method to get klog level
2014-03-08 05:46:35 +00:00
Alex Ray
db480f7516
am 6a58c4f3: am 33e86e00: Merge "libcutils: add method to get klog level"
...
* commit '6a58c4f342fa104fbabcd195561b90966f227a76':
libcutils: add method to get klog level
2014-03-08 02:00:29 +00:00
Alex Ray
157e1b645a
libcutils: add method to get klog level
...
Change-Id: I55e8311bae97703be26e57b415a8ab0a6d9b4361
2014-03-07 13:58:02 -08:00
Glenn Kasten
45b9581fc9
audio_is_valid_format is true for all PCM formats
...
Change-Id: I733f3208315816575f6d4f7722e906ab50b161af
2014-03-07 12:32:14 -08:00
Andy Hung
173f4995b0
Update audio_bytes_per_sample for PCM 24 bit packed
...
Change-Id: Ic79f604893f5c4f2e8e35189d6638b5b160435ed
Signed-off-by: Andy Hung <hunga@google.com>
2014-03-07 18:20:15 +00:00
Mark Salyzyn
318900ad80
am d01c257f: am 8f632327: am bb0fbdbe: Merge "logd: liblog: 64-bit issues"
...
* commit 'd01c257f0f19a30178a6d5ec9d6d00d6b702fed3':
logd: liblog: 64-bit issues
2014-03-07 03:02:41 +00:00
Mark Salyzyn
d01c257f0f
am 8f632327: am bb0fbdbe: Merge "logd: liblog: 64-bit issues"
...
* commit '8f63232712e318da88d2f543fe29066c26d39c32':
logd: liblog: 64-bit issues
2014-03-06 22:41:23 +00:00
Jesse Hall
7d2998ea18
Merge "Add NativeHandle, a refcounted C++ wrapper around a native_handle_t*"
2014-03-06 19:05:25 +00:00
Jesse Hall
29cc9ce49a
Add NativeHandle, a refcounted C++ wrapper around a native_handle_t*
...
Change-Id: I232dfa2ad2e4a463a39e2e901e4097dffe278cc3
2014-03-05 16:12:41 -08:00
Mark Salyzyn
7e2f83c0bc
logd: liblog: 64-bit issues
...
- structure packing
- move towards log_time from struct timespec
- extend log_time to cover differences between
log_time and struct timespec
Change-Id: I106ed0b609917306d170044054b5b32645f2a295
2014-03-05 16:12:28 -08:00
Mark Salyzyn
1d39c53e29
am 00eaae3a: am 556c9c24: am 858d0dd1: Merge "set /proc/sys/net/unix/max_dgram_qlen to large value"
...
* commit '00eaae3aaa6ea3ca2c9c00e0559fa6937ce33e37':
set /proc/sys/net/unix/max_dgram_qlen to large value
2014-03-04 01:00:21 +00:00
Mark Salyzyn
00eaae3aaa
am 556c9c24: am 858d0dd1: Merge "set /proc/sys/net/unix/max_dgram_qlen to large value"
...
* commit '556c9c245de257efe8bda09ff23d2c4f7add5e49':
set /proc/sys/net/unix/max_dgram_qlen to large value
2014-03-04 00:16:31 +00:00
Mark Salyzyn
581edc1b6c
set /proc/sys/net/unix/max_dgram_qlen to large value
...
- init: set /proc/sys/net/unix/max_dgram_qlen to 300
- libsysutils: Add listen backlog argument to startListener
- logd: set listen backlog to 300
Change-Id: Id6d37d6c937ba2d221e76258d89c9516619caeec
2014-03-03 12:48:00 -08:00