Mark Salyzyn
ba7ec6ad41
logd: update region lock after entry has passed to reader socket
...
am: 70cbe025f4
* commit '70cbe025f4afbc0236346da9ede0cd56cba38a12':
logd: update region lock after entry has passed to reader socket
2015-11-17 02:58:39 +00:00
Mark Salyzyn
0c039df752
logd: clientHasLogCredentials false negatives
...
am: b04352e597
* commit 'b04352e59791b05ccab16d26e4291b53c9184d09':
logd: clientHasLogCredentials false negatives
2015-11-17 02:58:32 +00:00
Mark Salyzyn
d48a1e199b
logd: object layer format statistics
...
am: 96c45c648d
-s ours
* commit '96c45c648dc2d445bfed7677b22d92817316b081':
logd: object layer format statistics
2015-11-17 02:58:25 +00:00
Mark Salyzyn
d401d468d9
logd: optimize code hotspots
...
am: f9162cf711
-s ours
* commit 'f9162cf711abd55ccb1c6f9d5f4805b96471c88f':
logd: optimize code hotspots
2015-11-17 02:55:11 +00:00
Mark Salyzyn
526674966a
logd: Add LogUtils.h
...
am: e9451e7ef8
-s ours
* commit 'e9451e7ef8cc8b7d00bcb4e94b78aaa9c037693f':
logd: Add LogUtils.h
2015-11-17 02:50:37 +00:00
Mark Salyzyn
d9bea5e4bf
logd: klogd deal with nuls in dmesg
...
am: 4efc87e5eb
-s ours
* commit '4efc87e5ebd7612d119cd8c09bf78b32093c258e':
logd: klogd deal with nuls in dmesg
2015-11-17 02:47:25 +00:00
Mark Salyzyn
7de5fd246a
logd: log_strtok_r deal with nuls
...
am: f9e4d0b6b5
* commit 'f9e4d0b6b5559090be599a3282273d799d3499d8':
logd: log_strtok_r deal with nuls
2015-11-17 02:39:45 +00:00
Mark Salyzyn
547f7fa692
liblog: logprint: printable nul
...
am: 26499e41ae
* commit '26499e41ae2f81798be20ee97e494900d7eceedc':
liblog: logprint: printable nul
2015-11-17 02:39:38 +00:00
Mark Salyzyn
33ce92ab60
logd: klogd: sniff for time correction on Mediatek
...
am: 3f78f93302
-s ours
* commit '3f78f93302c737b454ea63bac0bb15553b953d01':
logd: klogd: sniff for time correction on Mediatek
2015-11-17 02:39:30 +00:00
Mark Salyzyn
42a8164752
logd: klogd and Mediatek part deux
...
am: 540cfe8e6b
-s ours
* commit '540cfe8e6ba6963f7d6b6407870aac197d1e27e6':
logd: klogd and Mediatek part deux
2015-11-17 02:36:16 +00:00
Mark Salyzyn
7651e1fab2
liblog: logcat: Add year and zone to date on each line
...
am: 39888aef13
-s ours
* commit '39888aef136da3334dbdd86e18b92733c7795e81':
liblog: logcat: Add year and zone to date on each line
2015-11-17 02:32:57 +00:00
Mark Salyzyn
8e8e15bb8a
logd: switch asprintf to std::string
...
am: 5c3835d943
-s ours
* commit '5c3835d9431f9b1277a110a61375231181307094':
logd: switch asprintf to std::string
2015-11-17 02:26:35 +00:00
Mark Salyzyn
36c634511e
logd: white and black switch to std::string
...
am: 8a7f778c01
-s ours
* commit '8a7f778c018fc67f6fdc7d9dca7f7ed53f7c7fdc':
logd: white and black switch to std::string
2015-11-17 02:23:17 +00:00
Junichi Uekawa
07b69961f2
Fix non-vendor.img configuration.
...
If / is not write-able and system.img contains system/vendor, symlink
for `/vendor/ -> /system/vendor/` that is otherwise done in init.rc
should be done at build time.
BUG=b:25512724
Change-Id: Iaa63d6440373a4fd754a933c9f1960b3787a6d98
2015-11-17 11:20:21 +09:00
Mark Salyzyn
6071285a57
logd: statistics switch to std::string
...
am: 2a2b0d1c6e
-s ours
* commit '2a2b0d1c6ed99cbd195c72fab666546320981e61':
logd: statistics switch to std::string
2015-11-17 02:19:51 +00:00
Andreas Gampe
f1152a7529
Logd: Handle unused variable and fields
...
am: 244f32fa2d
* commit '244f32fa2dc28bbd3332ee0fc3e6ce1520c0fb19':
Logd: Handle unused variable and fields
2015-11-17 01:42:36 +00:00
Daniel Rosenberg
32cceeb712
rootdir: Allow board specific folders and symlinks in root directory
...
am: ff1160b28f
* commit 'ff1160b28ffc543274b43ca275db8111c73f6808':
rootdir: Allow board specific folders and symlinks in root directory
2015-11-17 01:42:30 +00:00
Daniel Rosenberg
89bca2aed2
Fix "adb remount" for when the root directory is in system.img
...
am: a852aacb56
-s ours
* commit 'a852aacb569f718ef08519c3f0cadc0562c0768b':
Fix "adb remount" for when the root directory is in system.img
2015-11-17 01:42:23 +00:00
Tao Bao
0c544c66df
Set mode bits for /system/etc/recovery.img.
...
am: 096c4f2d8a
* commit '096c4f2d8a12639e484e2d806223d4fe5bf1d4b2':
Set mode bits for /system/etc/recovery.img.
2015-11-17 01:37:11 +00:00
Daniel Rosenberg
b4018f4f09
fs_mgr: Add support for A/B partitions
...
am: fd2f0b4dc4
-s ours
* commit 'fd2f0b4dc496319f94d024b0c841b639245df0a4':
fs_mgr: Add support for A/B partitions
2015-11-17 01:37:04 +00:00
Josh Gao
d918eedf29
debuggerd: add .clang-format.
...
Change-Id: I3584c170aadc3707638e407c7a8ca502f3670058
2015-11-16 17:26:22 -08:00
Daniel Rosenberg
2048434453
rootdir: Create symlinks in Android.mk
...
am: 6a5a81a3d6
-s ours
* commit '6a5a81a3d6faf06a2c268b134f161f4eeeaea06a':
rootdir: Create symlinks in Android.mk
2015-11-17 01:11:45 +00:00
Daniel Rosenberg
8249eb56af
Skip mounting /, just mark block device as ro if needed.
...
am: c906751994
* commit 'c90675199421487829a44994bea43330acbde198':
Skip mounting /, just mark block device as ro if needed.
2015-11-17 00:53:02 +00:00
Daniel Rosenberg
d792c98606
Remove creation of root directory folders
...
am: c97e1cb39d
* commit 'c97e1cb39d9ba129d8326605d121a10c9ae491e7':
Remove creation of root directory folders
2015-11-17 00:52:55 +00:00
Daniel Rosenberg
fb24ff8e70
rootdir: Create cache folder in Android.mk
...
am: 4c9c516d20
-s ours
* commit '4c9c516d2088fe1ef9a35f704dff7e16f84d3d23':
rootdir: Create cache folder in Android.mk
2015-11-17 00:52:47 +00:00
Daniel Rosenberg
797047b660
rootdir: Create folders in Android.mk
...
am: 9262546184
-s ours
* commit '9262546184e97249cdbea5239d83ce2a60965e74':
rootdir: Create folders in Android.mk
2015-11-17 00:49:44 +00:00
Daniel Rosenberg
5ee70320c6
libcutils: fs_config: Add folders normally created in init.rc
...
am: a39317ca94
-s ours
* commit 'a39317ca947d723897fddc0aa95283fbbc4f4873':
libcutils: fs_config: Add folders normally created in init.rc
2015-11-17 00:35:18 +00:00
Josh Gao
bb3f9ce0aa
libcutils: don't build for Windows.
...
Change-Id: Ice07f892a346bbba2ed6bfdcddf7222799e76f9d
2015-11-16 16:21:22 -08:00
Josh Gao
a629e2e578
adb: don't link against libcutils on Windows.
...
Bug: http://b/25693157
Change-Id: Ie1f082a094371124b4d66c87c7ab1a0706271b9d
2015-11-16 16:17:16 -08:00
Todd Kjos
9b5b026386
Actively mangage EAS schedtune nodes
...
am: ed60788968
-s ours
* commit 'ed60788968be61f4f6f47890e5f3cb182a6a2b6e':
Actively mangage EAS schedtune nodes
2015-11-17 00:09:41 +00:00
Elliott Hughes
cc1ef0afae
Merge "Pass screen to the device." am: c40f213b67
...
am: 1fd0ea9e0e
* commit '1fd0ea9e0ef5ac01d23c8019c854763693dea6f1':
Pass $TERM to the device.
2015-11-16 23:52:47 +00:00
Elliott Hughes
1fd0ea9e0e
Merge "Pass screen to the device."
...
am: c40f213b67
* commit 'c40f213b67cb12a8771845ec2c609e060d9c19b0':
Pass $TERM to the device.
2015-11-16 23:47:58 +00:00
Elliott Hughes
c40f213b67
Merge "Pass $TERM to the device."
2015-11-16 23:42:52 +00:00
Todd Kjos
ba8a47531c
Actively mangage EAS schedtune nodes
...
Move foreground tasks to /sys/fs/cgroup/stune/boost/tasks (boosted
weight in EAS scheduler). Move background tasks to
/sys/fs/cgroup/stune/tasks (default weight). For services started
with init, set "foreground" services to boosted.
Change-Id: I0e489fad9510727c13e6754dabaf311c2391f395
2015-11-16 14:57:47 -08:00
David Pursell
951d1f06c6
Merge "fastboot: create Transport object (take 2)." am: 7a75f4e3a5
...
am: 9c4f9392e1
* commit '9c4f9392e112ccf105a096b5cdd77afe9e873be2':
fastboot: create Transport object (take 2).
2015-11-16 22:50:13 +00:00
David Pursell
9c4f9392e1
Merge "fastboot: create Transport object (take 2)."
...
am: 7a75f4e3a5
* commit '7a75f4e3a5456fe1a44c551b0b75d2bf9130407c':
fastboot: create Transport object (take 2).
2015-11-16 22:46:56 +00:00
David Pursell
7a75f4e3a5
Merge "fastboot: create Transport object (take 2)."
2015-11-16 22:41:48 +00:00
Bertrand Simonnet
078ea36c4f
Merge "metricsd: Remove dead code." am: 695da48944
...
am: a3e097c9ca
* commit 'a3e097c9ca4800a7c9460a77be98007d9b389221':
metricsd: Remove dead code.
2015-11-16 21:25:31 +00:00
Bertrand Simonnet
a3e097c9ca
Merge "metricsd: Remove dead code."
...
am: 695da48944
* commit '695da489440335ef41649eece4dc4ca5eca3b28a':
metricsd: Remove dead code.
2015-11-16 21:22:24 +00:00
Bertrand Simonnet
695da48944
Merge "metricsd: Remove dead code."
2015-11-16 21:17:58 +00:00
Daniel Rosenberg
b10978e5cd
Fix fastboot to not add '-' before suffix
...
Change-Id: I9351b385412151498f47ab46a2620f21b9ac38b8
2015-11-16 12:48:58 -08:00
Mark Salyzyn
ddb842ac93
logd: klogd: parse error
...
(cherry pick from commit eb29808615
)
Resolve three areas missing taglen checking. Add some additional
limit-checking paranoia. Problem started when p was allowed to
go beyond the size of the incoming buffer in some blind
p = cp + 1 fragments, placed the check for that after them all
before harm could be done, rather than in each location.
Bug: 25620123
Change-Id: Ib5687fd30ef0cd3ba3bc0df310b436ad675ccabc
2015-11-16 12:48:58 -08:00
Mark Salyzyn
f3c3bf5dfb
Merge "Revert "liblog: resolve deadlocks"" am: e6cf1c6372
...
am: 52b9f02076
* commit '52b9f0207659c8b23b8edf252152c2e657dfabea':
Revert "liblog: resolve deadlocks"
2015-11-16 19:15:37 +00:00
Mark Salyzyn
52b9f02076
Merge "Revert "liblog: resolve deadlocks""
...
am: e6cf1c6372
* commit 'e6cf1c63726bee6b7ca69d68775f79e16f756ba6':
Revert "liblog: resolve deadlocks"
2015-11-16 19:11:39 +00:00
Mark Salyzyn
e6cf1c6372
Merge "Revert "liblog: resolve deadlocks""
2015-11-16 19:07:47 +00:00
Mark Salyzyn
2a3024f9ad
Revert "liblog: resolve deadlocks"
...
(cherry pick from c2e7d4965f
)
This reverts commit 7a2a307192
.
Bug: 25693940
Change-Id: I9a7c926289e972f80c03c92e33535e1dedaa7381
2015-11-16 11:03:09 -08:00
Mark Salyzyn
c2e7d4965f
Revert "liblog: resolve deadlocks"
...
This reverts commit 7a2a307192
.
Bug: 25693940
Change-Id: I9a7c926289e972f80c03c92e33535e1dedaa7381
2015-11-16 19:00:41 +00:00
Elliott Hughes
18ddf5c6a2
Pass $TERM to the device.
...
Unfortunately, this isn't backwards-compatible with the current shell
protocol because we made unknown shell: arguments errors. We could try
to commit the change to make them just warnings first, but how would
we know when everyone was running adbd with that change? Bumping the
protocol version doesn't help because that only affects the code running
on the host. And although we could add another feature to the reported
features, since shell_v2 is still in development, that doesn't seem
worthwhile.
Bug: http://b/25601436
Change-Id: I12b81aa656cd25b91d14ef691dcbd2b7dab49535
2015-11-16 10:55:34 -08:00
David Pursell
0b15663830
fastboot: create Transport object (take 2).
...
(Second upload of this CL; original upload had the wrong version of
usb_windows.cpp that caused a compilation error. Fixed error and
re-tested.)
This CL creates a Transport object to provide a generic interface for
various transports. Specifically this is designed to be able to add UDP
support to fastboot in an upcoming CL without changing the main program
logic.
Also includes some minor code style fixes and replaces malloc/free
in the USB implementation files with smart pointers and std::string.
Bug: http://b/22029765
Change-Id: I1175bbce08690fbd15f51e68166be9b3e9973ea0
2015-11-16 09:31:07 -08:00
Elliott Hughes
5e942fea31
Cope with angler's whitespace-padded partition size reporting.
...
Before:
$ fastboot -w
wiping userdata...
Couldn't parse partition size '0x 0x66257ee00'.
wiping cache...
Couldn't parse partition size '0x 0x6400000'.
erasing 'userdata'...
Bug: http://b/25653580
(cherry picked from commit a2db2618ec
)
Change-Id: I15e6bee4d88695d4482013c4f86586276acdea84
2015-11-16 08:53:51 -08:00