Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Issue 10824227: Organize adb install cmds and reboot on failure (Closed)

Created:
8 years, 4 months ago by Isaac (away)
Modified:
8 years, 4 months ago
Reviewers:
cmp, bulach
CC:
chromium-reviews, peter+watch_chromium.org, bulach+watch_chromium.org, yfriedman+watch_chromium.org
Visibility:
Public.

Description

Organize adb install cmds and reboot on failure - Rewrote adb_install_content_shell to not call adb install directly - New function in android_commands 'ManagedInstall' which attempts to work around package manager freezes by restarting device BUG=141899 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=152058

Patch Set 1 #

Patch Set 2 : #

Total comments: 11

Patch Set 3 : #

Total comments: 2

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+90 lines, -52 lines) Patch
M build/android/adb_install_content_shell View 1 2 1 chunk +24 lines, -17 lines 0 comments Download
M build/android/pylib/android_commands.py View 1 2 3 19 chunks +64 lines, -28 lines 0 comments Download
M build/android/pylib/test_package_apk.py View 1 chunk +2 lines, -7 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Isaac (away)
8 years, 4 months ago (2012-08-09 03:14:54 UTC) #1
bulach
lgtm, thanks isaac! however, I'd really like to avoid forking third party code.. the suggestion ...
8 years, 4 months ago (2012-08-09 12:36:52 UTC) #2
cmp
lgtm with bulach's comments, thanks
8 years, 4 months ago (2012-08-10 02:23:07 UTC) #3
Isaac (away)
The adb_interface class isn't doing anything particularly complex and if SendShellCommand isn't acting the way ...
8 years, 4 months ago (2012-08-10 04:44:35 UTC) #4
Isaac (away)
Not sure why this is breaking. I added a sanity check to fail if the ...
8 years, 4 months ago (2012-08-10 06:47:49 UTC) #5
bulach
lgtm, just some nits.. as for adb_interface: I understand your point of not merging it ...
8 years, 4 months ago (2012-08-10 11:47:07 UTC) #6
Isaac (away)
https://chromiumcodereview.appspot.com/10824227/diff/8001/build/android/pylib/android_commands.py File build/android/pylib/android_commands.py (right): https://chromiumcodereview.appspot.com/10824227/diff/8001/build/android/pylib/android_commands.py#newcode331 build/android/pylib/android_commands.py:331: timeout_time=2*60, cmd_logger=logging, On 2012/08/10 11:47:07, bulach wrote: > nit: ...
8 years, 4 months ago (2012-08-17 04:41:49 UTC) #7
commit-bot: I haz the power
8 years, 4 months ago (2012-08-17 04:59:41 UTC) #8

Powered by Google App Engine
This is Rietveld 408576698