Todd Kennedy
d039800a4e
use new cmd command
...
Instead of using the pm command, 'adb install' and 'adb uninstall' will now
use the cmd command. Additionally, the APK will be streamed directly to
package installer instead of creating a temporary file.
Change-Id: Ie7529afa5b039d29cc8183f36085ff4e66b3457a
2015-11-05 15:10:55 -08:00
Mark Salyzyn
4511ff1da0
Merge "liblog: logd: support logd.timestamp = monotonic" am: 8897a3fffd
am: 55316200b8
...
am: 35ac89ef68
* commit '35ac89ef686b5dd52b35450f512fb5c497b6d671':
liblog: logd: support logd.timestamp = monotonic
2015-11-04 00:52:41 +00:00
Mark Salyzyn
8330c2eadc
Merge "logd: pruning time horizon" am: 183df3ddf7
am: 83f1cd2ae4
...
am: 52aa4244ca
* commit '52aa4244ca784dd0bc6ebc0511db05b03eff782d':
logd: pruning time horizon
2015-11-04 00:52:29 +00:00
Mark Salyzyn
35ac89ef68
Merge "liblog: logd: support logd.timestamp = monotonic" am: 8897a3fffd
...
am: 55316200b8
* commit '55316200b89e2a862969b0fac02c5b717ae3414b':
liblog: logd: support logd.timestamp = monotonic
2015-11-04 00:47:38 +00:00
Mark Salyzyn
52aa4244ca
Merge "logd: pruning time horizon" am: 183df3ddf7
...
am: 83f1cd2ae4
* commit '83f1cd2ae43823e7f1bce2aadd3a7e193f34262f':
logd: pruning time horizon
2015-11-04 00:47:27 +00:00
Mark Salyzyn
55316200b8
Merge "liblog: logd: support logd.timestamp = monotonic"
...
am: 8897a3fffd
* commit '8897a3fffd28c779dcfd8e5988ae90f5da7b5a88':
liblog: logd: support logd.timestamp = monotonic
2015-11-04 00:43:13 +00:00
Mark Salyzyn
83f1cd2ae4
Merge "logd: pruning time horizon"
...
am: 183df3ddf7
* commit '183df3ddf72e5b7685f8fe4ae4c1f918968afa5d':
logd: pruning time horizon
2015-11-04 00:43:03 +00:00
Mark Salyzyn
8897a3fffd
Merge "liblog: logd: support logd.timestamp = monotonic"
2015-11-04 00:31:53 +00:00
Mark Salyzyn
183df3ddf7
Merge "logd: pruning time horizon"
2015-11-04 00:28:15 +00:00
Josh Gao
be3b6bee29
Merge "adb: rename \'flag\' to something less meaningless." am: ff2e26b239
am: a4be88c914
...
am: df4c2c16ac
* commit 'df4c2c16accf63aae7874c9f992c0804580b9769':
adb: rename 'flag' to something less meaningless.
2015-11-03 23:48:21 +00:00
Elliott Hughes
59788b3188
Merge "Fix the run-as environment to better match su." am: 83f33e6c93
am: 1492d22a3d
...
am: 329caf97ed
* commit '329caf97ed732a5782c9fab83721de820f445456':
Fix the run-as environment to better match su.
2015-11-03 23:48:12 +00:00
Bill Yi
1037671341
Merge commit \'f85d6cd8045ce933dfdc19bc888228cd9382e48c\' into HEAD am: 1ec36aaeb0
...
am: f685f33a21
* commit 'f685f33a21a9baf5d0dd0fda7aabed3abe62d9d2':
2015-11-03 23:47:44 +00:00
Josh Gao
3fe06de686
Merge "adb: C++ify local_build_list and remote_build_list." am: 19d9454ee3
...
am: 9315403fd7
* commit '9315403fd741bb325ad6d6a073a01af15fba2720':
adb: C++ify local_build_list and remote_build_list.
2015-11-03 23:43:18 +00:00
Dan Willemsen
21784c248f
Remove __DATE__/__TIME__ from init and debuggerd am: 36b24a4a20
am: 88ae7e3721
...
am: 1c5e5eed8f
* commit '1c5e5eed8f027d7126ae4c8b8354f8f485c0d0e6':
Remove __DATE__/__TIME__ from init and debuggerd
2015-11-03 23:42:01 +00:00
Josh Gao
df4c2c16ac
Merge "adb: rename \'flag\' to something less meaningless." am: ff2e26b239
...
am: a4be88c914
* commit 'a4be88c9140dfb913cdb396b5ad6b36502bc82cc':
adb: rename 'flag' to something less meaningless.
2015-11-03 23:34:38 +00:00
Elliott Hughes
329caf97ed
Merge "Fix the run-as environment to better match su." am: 83f33e6c93
...
am: 1492d22a3d
* commit '1492d22a3d84bc95dc06e99417790b0453c281d4':
Fix the run-as environment to better match su.
2015-11-03 23:34:32 +00:00
Mark Salyzyn
50122695d2
logd: pruning time horizon
...
Estimate a time horizon of ten fold for worst UID pruning
Bug: 24782000
Change-Id: I7118deb6d42531c68ed2ac2a59c57b0580b942cc
2015-11-03 15:34:15 -08:00
Bill Yi
f685f33a21
Merge commit \'f85d6cd8045ce933dfdc19bc888228cd9382e48c\' into HEAD
...
am: 1ec36aaeb0
* commit '1ec36aaeb02a97a287eb0467b9b2fc9eea38a15c':
2015-11-03 23:34:12 +00:00
Josh Gao
a4be88c914
Merge "adb: rename \'flag\' to something less meaningless."
...
am: ff2e26b239
* commit 'ff2e26b239e931236c9acecdc2a22d540b3e0c3d':
adb: rename 'flag' to something less meaningless.
2015-11-03 23:26:26 +00:00
Elliott Hughes
1492d22a3d
Merge "Fix the run-as environment to better match su."
...
am: 83f33e6c93
* commit '83f33e6c930376d82b7c4867e24a75286782737e':
Fix the run-as environment to better match su.
2015-11-03 23:26:15 +00:00
Mark Salyzyn
b6bee33182
liblog: logd: support logd.timestamp = monotonic
...
if ro.logd.timestamp or persist.logd.timestamp are set to the value
monotonic then liblog writer, liblog printing and logd all switch to
recording/printing monotonic time rather than realtime. If reinit
detects a change for presist.logd.timestamp, correct the older entry
timestamps in place.
ToDo: A corner case condition where new log entries in monotonic time
occur before logd reinit detects persist.logd.timestamp, there
will be a few out-of-order entries, but with accurate
timestamps. This problem does not happen for ro.logd.timestamp
as it is set before logd starts.
NB: This offers a nano second time accuracy on all log entries
that may be more suitable for merging with other system
activities, such as systrace, that also use monotonic time. This
feature is for debugging.
Bug: 23668800
Change-Id: Iee6dab7140061b1a6627254921411f61b01aa5c2
2015-11-03 15:15:51 -08:00
Josh Gao
ff2e26b239
Merge "adb: rename 'flag' to something less meaningless."
2015-11-03 22:52:21 +00:00
Josh Gao
fc7c3b682b
adb: rename 'flag' to something less meaningless.
...
Change-Id: I7f7644a0a6f9a7d48508ddaad2e6a51266ae8ee6
2015-11-03 14:46:31 -08:00
Elliott Hughes
83f33e6c93
Merge "Fix the run-as environment to better match su."
2015-11-03 22:40:30 +00:00
Elliott Hughes
a372f6f241
Fix the run-as environment to better match su.
...
$USER and $LOGNAME along with $HOME were just plain wrong (leading to a
misleading interactive prompt), and it probably makes sense to reset the
variables that su would reset.
Bug: https://code.google.com/p/android/issues/detail?id=187438
Change-Id: I0404511453d371f36801f0212a8d72d93f0bc8ac
2015-11-03 14:31:46 -08:00
Bill Yi
1ec36aaeb0
Merge commit 'f85d6cd8045ce933dfdc19bc888228cd9382e48c' into HEAD
2015-11-03 14:30:40 -08:00
Josh Gao
9315403fd7
Merge "adb: C++ify local_build_list and remote_build_list."
...
am: 19d9454ee3
* commit '19d9454ee3c2c3c11272ec34cee0e263a621fd98':
adb: C++ify local_build_list and remote_build_list.
2015-11-03 21:33:51 +00:00
Josh Gao
19d9454ee3
Merge "adb: C++ify local_build_list and remote_build_list."
2015-11-03 21:21:50 +00:00
Dan Willemsen
1c5e5eed8f
Remove __DATE__/__TIME__ from init and debuggerd am: 36b24a4a20
...
am: 88ae7e3721
* commit '88ae7e37219e489fa00fe4ee89027c9c9b5bf772':
Remove __DATE__/__TIME__ from init and debuggerd
2015-11-03 19:45:01 +00:00
Dan Willemsen
88ae7e3721
Remove __DATE__/__TIME__ from init and debuggerd
...
am: 36b24a4a20
* commit '36b24a4a20d7d1e9fee5ff14f21e9876e57db2ca':
Remove __DATE__/__TIME__ from init and debuggerd
2015-11-03 19:39:33 +00:00
Elliott Hughes
4976a70b94
Merge "Fix fastboot to cope with hammerhead\'s implicit hex." am: 2b7b3bd100
am: 4ca547be67
...
am: 0406de14d0
* commit '0406de14d023918f4cdb3c928b6c2f3f67abf9e5':
Fix fastboot to cope with hammerhead's implicit hex.
2015-11-03 17:00:37 +00:00
Elliott Hughes
0406de14d0
Merge "Fix fastboot to cope with hammerhead\'s implicit hex." am: 2b7b3bd100
...
am: 4ca547be67
* commit '4ca547be67ed1b65c5ced5eeafdb6fe8fe3c3011':
Fix fastboot to cope with hammerhead's implicit hex.
2015-11-03 16:58:16 +00:00
Elliott Hughes
4ca547be67
Merge "Fix fastboot to cope with hammerhead\'s implicit hex."
...
am: 2b7b3bd100
* commit '2b7b3bd100747fb7a02f1d8c7c2e8a5ee6cdc82f':
Fix fastboot to cope with hammerhead's implicit hex.
2015-11-03 16:55:42 +00:00
Elliott Hughes
2b7b3bd100
Merge "Fix fastboot to cope with hammerhead's implicit hex."
2015-11-03 16:54:01 +00:00
Elliott Hughes
2030bac88b
Fix fastboot to cope with hammerhead's implicit hex.
...
Before:
wiping userdata...
Couldn't parse partition size '3321fa800'.
wiping cache...
Couldn't parse partition size '2bc00000'.
Groan. So much variation between bootloaders. I wish we had a reference
bootloader like ChromeOS does.
I've also removed a harmless warning:
couldn't parse max-download-size ''
Change-Id: Ia1099d2f87000ebb96622ad9171819a1326fa249
2015-11-03 08:20:30 -08:00
Elliott Hughes
51062cdba0
Merge "adb: fix adb reverse --no-rebind help text" am: 4f23917299
am: aff48cbb3f
...
am: f06cee4fa2
* commit 'f06cee4fa20a83503b8d64c99777d3f4e0360dc7':
adb: fix adb reverse --no-rebind help text
2015-11-03 13:48:40 +00:00
Josh Gao
3a4429a590
Merge "adb: allow multiple args to push/pull." am: fe54c96ab2
am: 58ee99e454
...
am: 856afd9c26
* commit '856afd9c26f3f110c7c1baf249056835401e6744':
adb: allow multiple args to push/pull.
2015-11-03 13:48:33 +00:00
Elliott Hughes
f06cee4fa2
Merge "adb: fix adb reverse --no-rebind help text" am: 4f23917299
...
am: aff48cbb3f
* commit 'aff48cbb3fce8c1529181166f21e8b9952b47f2d':
adb: fix adb reverse --no-rebind help text
2015-11-03 02:47:31 +00:00
Elliott Hughes
aff48cbb3f
Merge "adb: fix adb reverse --no-rebind help text"
...
am: 4f23917299
* commit '4f2391729951ead5f0d15862bd19213962438776':
adb: fix adb reverse --no-rebind help text
2015-11-03 02:44:13 +00:00
Elliott Hughes
4f23917299
Merge "adb: fix adb reverse --no-rebind help text"
2015-11-03 02:40:52 +00:00
Josh Gao
856afd9c26
Merge "adb: allow multiple args to push/pull." am: fe54c96ab2
...
am: 58ee99e454
* commit '58ee99e4545c96938faa2cb14839089b2df2606c':
adb: allow multiple args to push/pull.
2015-11-03 02:31:44 +00:00
Josh Gao
58ee99e454
Merge "adb: allow multiple args to push/pull."
...
am: fe54c96ab2
* commit 'fe54c96ab28a59a87c0c26ac4e6664826b4644ea':
adb: allow multiple args to push/pull.
2015-11-03 02:27:39 +00:00
Josh Gao
fe54c96ab2
Merge "adb: allow multiple args to push/pull."
2015-11-03 02:22:08 +00:00
Josh Gao
590d759481
Merge "adb: add SyncConnection::Printf." am: e9af735de3
am: 9ea31c7285
...
am: 7f3f225f05
* commit '7f3f225f05e94ba6c04ce90689e026649825e0ce':
adb: add SyncConnection::Printf.
2015-11-03 01:37:59 +00:00
Josh Gao
7f3f225f05
Merge "adb: add SyncConnection::Printf." am: e9af735de3
...
am: 9ea31c7285
* commit '9ea31c72857b63ddcac92616e107a9f9aae73c93':
adb: add SyncConnection::Printf.
2015-11-03 01:35:59 +00:00
Spencer Low
587ea20f83
adb: fix adb reverse --no-rebind help text
...
There was a typo in the option.
Change-Id: I5c074a883a7b384663ed65cd8de0d891dc2b6606
Signed-off-by: Spencer Low <CompareAndSwap@gmail.com>
2015-11-02 17:34:49 -08:00
Josh Gao
9ea31c7285
Merge "adb: add SyncConnection::Printf."
...
am: e9af735de3
* commit 'e9af735de36eade81adc490635ee0076bdb6c79e':
adb: add SyncConnection::Printf.
2015-11-03 01:33:54 +00:00
Josh Gao
e9af735de3
Merge "adb: add SyncConnection::Printf."
2015-11-03 01:31:52 +00:00
Josh Gao
cda6a2bd3e
adb: C++ify local_build_list and remote_build_list.
...
Change-Id: I71586488869c4827c5bd7294faa7c0f433bb9fbc
2015-11-02 17:24:04 -08:00
Josh Gao
983c41c353
adb: add SyncConnection::Printf.
...
Replaces `sc.Print(android::base::StringPrintf(...)` with one call
to sc.Printf.
Change-Id: Ib7c98103dbca0b6a951f8e5a0f860ec6eacf6772
2015-11-02 17:21:43 -08:00