Commit graph

7119 commits

Author SHA1 Message Date
Colin Cross
bd514144ad am 47770b73: Merge "debuggerd: use LOCAL_MULTILIB"
* commit '47770b7396186d6700688fd039320283e5b68501':
  debuggerd: use LOCAL_MULTILIB
2014-03-27 18:13:16 +00:00
Colin Cross
47770b7396 Merge "debuggerd: use LOCAL_MULTILIB" 2014-03-27 18:09:04 +00:00
Mark Salyzyn
a43bb3a4d0 am e644664f: Merge "liblog: deal with restart of logd"
* commit 'e644664f1cbc4add3cc56981bab007380859853a':
  liblog: deal with restart of logd
2014-03-26 23:59:24 +00:00
Mark Salyzyn
e644664f1c Merge "liblog: deal with restart of logd" 2014-03-26 23:24:22 +00:00
Colin Cross
87a6b1d799 debuggerd: use LOCAL_MULTILIB
Use LOCAL_MULTILIB to build multiple versions of executables
instead of manually creating two build rules.

Change-Id: I1a993ff7b5f527a88735f46eec9822bb97d16490
2014-03-26 15:16:23 -07:00
Colin Cross
707f5b401e am 6940bc08: Merge "adb: Add USB vendor ID for Intermec Technologies Corp."
* commit '6940bc08e2932ede027a846ee4c2084782be2f4b':
  adb: Add USB vendor ID for Intermec Technologies Corp.
2014-03-26 11:22:32 -07:00
Colin Cross
6940bc08e2 Merge "adb: Add USB vendor ID for Intermec Technologies Corp." 2014-03-26 18:16:48 +00:00
Mark Salyzyn
1f25d81686 am 7ce5c714: Merge "logcat: test arbitrary time to tail"
* commit '7ce5c714f11b97ac1cbeb47014546462e68e3465':
  logcat: test arbitrary time to tail
2014-03-26 11:04:43 -07:00
Mark Salyzyn
bdb7445d5c am 62f624b6: Merge "liblog: test for LOGGER_ENTRY_MAX_PAYLOAD compliance"
* commit '62f624b697fd97a5c7ad82963def157819ca3498':
  liblog: test for LOGGER_ENTRY_MAX_PAYLOAD compliance
2014-03-26 11:04:43 -07:00
Mark Salyzyn
7ce5c714f1 Merge "logcat: test arbitrary time to tail" 2014-03-26 17:58:50 +00:00
Mark Salyzyn
62f624b697 Merge "liblog: test for LOGGER_ENTRY_MAX_PAYLOAD compliance" 2014-03-26 17:58:42 +00:00
Mark Salyzyn
ef7c411ac3 logcat: test arbitrary time to tail
- Add tail_time
- Use EXPECT instead of ASSERT to provide more coverage
- Use EXPECT_TRUE/ASSERT_TRUE when comparing NULL
- Itemize order complaints in sorted_order test

Change-Id: I55a7543fa3300c0a9524fac70111e680c2877eea
2014-03-26 10:52:21 -07:00
Mark Salyzyn
8196be3032 liblog: test for LOGGER_ENTRY_MAX_PAYLOAD compliance
- Add max_payload test
- Add dual_reader test
- Switch to EXPECT from ASSERT to increase test coverage

Bug: 13514601
Change-Id: I0e1c273e0ec430c0461e424731dbf166f2a3ce1b
2014-03-26 10:49:46 -07:00
Mark Salyzyn
8245af1ffd liblog: deal with restart of logd
- API change, return -errno on failure for log writing
- ENOTCONN results in a reconnection and a retry of the write

Change-Id: Ib0a90b730edeaa7e3a3c9797e4e1b0c81b6adb0a
2014-03-26 09:20:22 -07:00
DanielMo
2b6612ff96 adb: Add USB vendor ID for Intermec Technologies Corp.
Change-Id: I6429bca087523829a13f905ae9dfa5f43b7abf8b
Signed-off-by: DanielMo <DanielMo@fih-foxconn.com>
2014-03-26 15:33:23 +08:00
Mark Salyzyn
3e1f5ba67e am c66607a8: Merge "logd: compile warning message"
* commit 'c66607a8aa50da898d85a6c94b0bf8b5f172893e':
  logd: compile warning message
2014-03-24 15:00:29 -07:00
Mark Salyzyn
c66607a8aa Merge "logd: compile warning message" 2014-03-24 21:56:34 +00:00
Colin Cross
55dd7d758d am c388b9f2: (-s ours) Merge "DO NOT MERGE: Revert "delete libnl_2""
* commit 'c388b9f241bfd6495ba074ed1e59f93844d4bcd0':
  DO NOT MERGE: Revert "delete libnl_2"
2014-03-24 14:12:07 -07:00
Colin Cross
c388b9f241 Merge "DO NOT MERGE: Revert "delete libnl_2"" 2014-03-24 21:06:49 +00:00
Mark Salyzyn
bd0962c2d3 Merge "logcat: timed tests fail under load" 2014-03-24 20:22:09 +00:00
Mark Salyzyn
5fef7b6e31 logcat: timed tests fail under load
Change-Id: Ic1cdf0509617720eef7a3ad0b17a3b6f88c9d87e
2014-03-24 13:19:17 -07:00
Mark Salyzyn
e148b7ebd0 Merge "logcat: white and blacklist failure" 2014-03-24 19:38:07 +00:00
Colin Cross
a63a9ec808 DO NOT MERGE: Revert "delete libnl_2"
This reverts commit 7097f052d9.

libnl_2 needs to stay in AOSP for now for compatibility with
GPL test builds.
2014-03-21 17:05:29 -07:00
Mark Salyzyn
f8f0531bb6 Merge "logd: core requirement" 2014-03-21 23:16:55 +00:00
Mark Salyzyn
3c253dc88f logd: core requirement
- has no dependency on /data, switch from main to core

Change-Id: I4bfe3e67d4cbd31e943c609f5626e533857a27a9
2014-03-21 16:06:54 -07:00
Mark Salyzyn
dbb708a0a1 logd: compile warning message
Change-Id: I7ddd010031299395cad96f1743d7a7e6a6866b4c
2014-03-21 15:48:05 -07:00
Mark Salyzyn
22e287df0d logcat: white and blacklist failure
- logcat improperly squashes out count
- logcat test enhanced to catch failure
- logd places entries in ascending sorted order

Change-Id: If39d8e2c40852b520c98e7840034ab63c2538e5d
2014-03-21 15:43:31 -07:00
Mark Salyzyn
ee212d0053 Merge "logd: liblog: Thread IDs missing from logcat -v thread" 2014-03-21 20:09:29 +00:00
Mark Salyzyn
b992d0d7d3 logd: liblog: Thread IDs missing from logcat -v thread
- stuff caller's thread id into the packet.

Bug: 13568206
Change-Id: I02d0cdf9b1d9e839ff8969f591db42dfe6e4cc95
2014-03-21 10:37:44 -07:00
Colin Cross
5ad986ab56 Merge "delete libnl_2" 2014-03-20 21:54:18 +00:00
JP Abgrall
4db6ce8e35 Merge "Adding documentation on the sync part of the adb protocol previously missing." 2014-03-20 21:25:42 +00:00
Mark Salyzyn
28171447f8 Merge "cutils: trace 64-bit compile issues" 2014-03-20 20:39:02 +00:00
Colin Cross
7097f052d9 delete libnl_2
libnl_2 has been replaced by external/libnl

Change-Id: I1fa964f4fdc24511f497ebadcb4aa3e786fc8456
2014-03-20 13:07:22 -07: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
Samuel Carlsson
912d5dddf8 Adding documentation on the sync part of the adb protocol previously missing.
In the SERVICES.TXT a missing documentation file is mentioned - SYNC.TXT. This file is supposed to contain all the godie bits of the adb protocol for pushing and pulling files. I've read the source code and documented this in the file SYNC.TXT. I've used my own documentation to create a java implementation to verify the documentation here: https://github.com/vidstige/jadb

Added line breaks at 78 characters. Added comments about remote files might be deleted.

Change-Id: I48c87c2a9fb5b59b85c72679124dfbbfa9a701bc
Signed-off-by: Samuel Carlsson <samuel.carlsson@gmail.com>
2014-03-20 20:36:46 +01:00
Alex Ray
6035797586 Merge "fastbootd: build static binary instead of dynamic" 2014-03-20 17:58:01 +00:00
Alex Ray
17ab454501 fastbootd: build static binary instead of dynamic
This removes the requirement to hunt down dynamic libs for building an image,
and switches the normal vendor_trigger HAL to a static HAL.

Change-Id: Ifb603f1ee91fbbbff04ddbe66a1bf38a3c22be9e
2014-03-19 15:57:40 -07:00
Alex Ray
3fcd9ed6e3 Merge "ueventd: fix klog debug typo" 2014-03-19 22:20:43 +00:00
Alex Ray
eb6ffc765b ueventd: fix klog debug typo
Change-Id: Ib0acece15145cc0e868452ede8f3acbab419b965
2014-03-19 15:17:59 -07:00
Colin Cross
c383c6d1d8 Merge "Add "import" support to system property files." 2014-03-19 20:32:14 +00:00
Jeff Sharkey
06f8c09542 Add "import" support to system property files.
During boot, allow a property file to import properties from another
file.  Supports importing the entire file, a specific key, or any
keys matching a specific prefix.  Here's some example syntax:

import /oem/oem.prop
import /oem/oem.prop foo.*
import /oem/oem.prop foo.bar

Bug: 13340779
Change-Id: I867f9a10ca09684326675d9f051f5cf2ae171617
2014-03-19 13:31:36 -07:00
Mark Salyzyn
208dae2ee8 Merge "logd: Logging is truncated" 2014-03-18 23:22:18 +00:00
Mark Salyzyn
b059cf53c9 logd: Logging is truncated
- stack buffer undersized

Bug: 13514601
Change-Id: I3e5dda2daa7531ddcacece33dfdecaa28dcca765
2014-03-18 16:03:34 -07:00
Mark Salyzyn
6c92369cbe Merge "logcat: improve error messages" 2014-03-18 16:50:14 +00:00
Mark Salyzyn
fff04e3014 logcat: improve error messages
Bug: 13464830
Change-Id: Ia8783fa2422e444bcdfca8d0153cf6e7634612bb
2014-03-18 09:43:03 -07:00
Doug Zongker
2beed94194 Merge "update minui library call" 2014-03-17 22:56:39 +00:00
Greg Hackmann
998e022748 Merge "liblog: improve errno handling on read failure" 2014-03-17 20:45:52 +00:00
Greg Hackmann
8084a53897 liblog: improve errno handling on read failure
1. socket() failures should skip close(), since sock is not an open fd
2. on other I/O related failures, preserve errno around the close() call
3. set errno to a meaningful value on check_log_success() failure

Change-Id: I0fb9e726ae5fee2f7b84344aa925e5159d57c360
Signed-off-by: Greg Hackmann <ghackmann@google.com>
2014-03-17 13:16:27 -07:00
Doug Zongker
0709917e25 update minui library call
The names of the res_create_* functions have changed.

Change-Id: I9990bb4f6e6dc2d7c62e2cb9e0831532c83b2bb9
2014-03-17 12:23:00 -07:00
Brian Carlstrom
a0915abd2f Merge "Fix build some more" 2014-03-15 21:19:28 +00:00