Граф коммитов

24 Коммитов

Автор SHA1 Сообщение Дата
jbudorick 6ac5f02cf0 [Android] Don't use a device blacklist if one isn't provided. (RELAND 2)
original: https://codereview.chromium.org/1314823011
reland 1: https://codereview.chromium.org/1304303006

BUG=517709
TBR=rnephew@chromium.org,phajdan.jr@chromium.org

Review URL: https://codereview.chromium.org/1331213004

Cr-Original-Commit-Position: refs/heads/master@{#348418}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: a583ba3c77f32c0a1c4a870d5d8734b003150396
2015-09-11 17:23:59 +00:00
jbudorick 073fd3db51 Revert of [Android] Don't use a device blacklist if one isn't provided. (RELAND) (patchset #3 id:40001 of https://codereview.chromium.org/1304303006/ )
Reason for revert:
broke the gpu bots again? https://code.google.com/p/chromium/issues/detail?id=530242

Original issue's description:
> [Android] Don't use a device blacklist if one isn't provided. (RELAND)
>
> This is a reland of https://codereview.chromium.org/1314823011
>
> BUG=517709
>
> Committed: https://crrev.com/7555cbb5daf4fb30cb56de9ed4dd8bcd565b5cf6
> Cr-Commit-Position: refs/heads/master@{#348158}

TBR=phajdan.jr@chromium.org,rnephew@chromium.org,rnephew@google.com
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=517709

Review URL: https://codereview.chromium.org/1334803002

Cr-Original-Commit-Position: refs/heads/master@{#348174}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 414d29f60e80faaf06ff974e4967bc4452fa3fa7
2015-09-10 17:26:32 +00:00
jbudorick 3e069c5945 [Android] Don't use a device blacklist if one isn't provided. (RELAND)
This is a reland of https://codereview.chromium.org/1314823011

BUG=517709

Review URL: https://codereview.chromium.org/1304303006

Cr-Original-Commit-Position: refs/heads/master@{#348158}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 7555cbb5daf4fb30cb56de9ed4dd8bcd565b5cf6
2015-09-10 15:39:01 +00:00
jbudorick 649b540d43 [Android] Add a custom pylintrc for build/android/.
The default depot_tools pylintrc disables some checks that we can
reasonably enable in build/android/. This CL does so.

BUG=

Review URL: https://codereview.chromium.org/1315743004

Cr-Original-Commit-Position: refs/heads/master@{#347720}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 58b4d3677418a2360c23e118199f5cf8992d4178
2015-09-08 16:45:52 +00:00
robertocn b63cdf1839 Revert of [Android] Don't use a device blacklist if one isn't provided. (patchset #1 id:1 of https://codereview.chromium.org/1314823011/ )
Reason for revert:
Speculative revert, some builders (Nexus 5, 6 and 9 under chromium.gpu) are failing at the device status check step after this change due to:

  File "build/android/buildbot/bb_device_status_check.py", line 154, in blacklisting_device_status
    if not serial in blacklist.Read():
AttributeError: 'NoneType' object has no attribute 'Read'

See http://build.chromium.org/p/chromium.gpu/builders/Android%20Debug%20%28Nexus%205%29/builds/2067 for example.

Original issue's description:
> [Android] Don't use a device blacklist if one isn't provided.
>
> BUG=517709
>
> Committed: https://crrev.com/be5c91849d2196f97c7a4e0b3e90597c3f2b4c40
> Cr-Commit-Position: refs/heads/master@{#347473}

TBR=rnephew@chromium.org,jbudorick@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=517709

Review URL: https://codereview.chromium.org/1306653005

Cr-Original-Commit-Position: refs/heads/master@{#347489}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 0179090eb844b39ea55bd70e8e2202c4d3a81026
2015-09-04 21:20:11 +00:00
jbudorick db0259a731 [Android] Don't use a device blacklist if one isn't provided.
BUG=517709

Review URL: https://codereview.chromium.org/1314823011

Cr-Original-Commit-Position: refs/heads/master@{#347473}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: be5c91849d2196f97c7a4e0b3e90597c3f2b4c40
2015-09-04 19:47:07 +00:00
jbudorick b4acfff235 [Android][telemetry] Update pylib imports for modules that moved into devil.
BUG=476719

Review URL: https://codereview.chromium.org/1314313004

Cr-Original-Commit-Position: refs/heads/master@{#347187}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 06162944abfc0cba869f7e783a7c5a7d94246288
2015-09-03 18:02:10 +00:00
jbudorick f0ef4e9f56 [Android] Add --blacklist-file as a command-line option. (RELAND)
This is a reland of https://codereview.chromium.org/1281923003

BUG=517709

Review URL: https://codereview.chromium.org/1294713008

Cr-Original-Commit-Position: refs/heads/master@{#345779}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: dde688fb441bd1c2be34c50b8b88c2791bcc4765
2015-08-27 03:01:13 +00:00
jbudorick 8d32b11919 Revert of [Android] Add --blacklist-file as a command-line option. (patchset #5 id:80001 of https://codereview.chromium.org/1281923003/ )
Reason for revert:
broke the perf bots, will fix and reland.

Original issue's description:
> [Android] Add --blacklist-file as a command-line option.
>
> BUG=517709
>
> Committed: https://crrev.com/9874769cf24b5870d9bb7c22fe5312b1cf8bcd5e
> Cr-Commit-Position: refs/heads/master@{#344125}

TBR=eakuefner@chromium.org,mikecase@chromium.org,nednguyen@google.com,rnephew@chromium.org,sullivan@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=517709

Review URL: https://codereview.chromium.org/1292053006

Cr-Original-Commit-Position: refs/heads/master@{#344141}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 0dfa60a346d99e7a9420496a585dfc5ec36f0fe7
2015-08-19 04:21:45 +00:00
jbudorick dacbae0bde [Android] Add --blacklist-file as a command-line option.
BUG=517709

Review URL: https://codereview.chromium.org/1281923003

Cr-Original-Commit-Position: refs/heads/master@{#344125}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 9874769cf24b5870d9bb7c22fe5312b1cf8bcd5e
2015-08-19 01:57:12 +00:00
jbudorick fc35474d97 [Android] Remove more references to and uses of AndroidCommands.
This includes removing most direct references and uses from telemetry.

BUG=267773,476709

Review URL: https://codereview.chromium.org/1132993004

Cr-Original-Commit-Position: refs/heads/master@{#329963}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: ac496302b1d0ada0bbe8ef7beecfdff67d480c6b
2015-05-14 22:52:42 +00:00
jbudorick c6cfd35f12 [Android] Rework device filtering and add DeviceUtils.HealthyDevices.
BUG=267773

Review URL: https://codereview.chromium.org/1101603002

Cr-Original-Commit-Position: refs/heads/master@{#326825}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 119e45757ba123428de29eadb01bda22f322e788
2015-04-24 17:20:08 +00:00
jbudorick 2a4f7b8206 [Android] Remove android_commands uses from build/android/. (reland)
original CL:  https://codereview.chromium.org/1088793002/

BUG=267773

Review URL: https://codereview.chromium.org/1083403002

Cr-Original-Commit-Position: refs/heads/master@{#325439}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: bfffb22e47e9c20bc2a7019d47f7e986a63f42f5
2015-04-16 14:10:16 +00:00
jbudorick d8fcf6f66a Revert of [Android] Remove android_commands uses from build/android/. (patchset #4 id:60001 of https://codereview.chromium.org/1088793002/)
Reason for revert:
Broken for AdbWrapper.Devices(filters=None)

Original issue's description:
> [Android] Remove android_commands uses from build/android/.
>
> This also adds filtering to AdbWrapper.GetDevices().
>
> BUG=267773
>
> Committed: https://crrev.com/55d1762e76ebe2494c882594c620993419d97b98
> Cr-Commit-Position: refs/heads/master@{#325254}

TBR=perezju@chromium.org,klundberg@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=267773

Review URL: https://codereview.chromium.org/1089273002

Cr-Original-Commit-Position: refs/heads/master@{#325276}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 61b860c0b5bf89c0647ea488cf787c79924bd703
2015-04-15 18:25:13 +00:00
jbudorick c43948de99 [Android] Remove android_commands uses from build/android/.
This also adds filtering to AdbWrapper.GetDevices().

BUG=267773

Review URL: https://codereview.chromium.org/1088793002

Cr-Original-Commit-Position: refs/heads/master@{#325254}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 55d1762e76ebe2494c882594c620993419d97b98
2015-04-15 16:12:12 +00:00
ianwen b0a48edd89 Put screenshot.py back to work
build/android/screenshot.py does not work anymore if you have only one
device attached and do not specify device id.

Review URL: https://codereview.chromium.org/804963003

Cr-Original-Commit-Position: refs/heads/master@{#308645}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 8f82087e90a9f7ef41250a82032bd367b3cc01cb
2014-12-16 19:55:20 +00:00
jbudorick@chromium.org 494c5b76a1 [Android] Switch to DeviceUtils versions of GetPid, TakeScreenshot, and GetIoStats.
BUG=267773

Review URL: https://codereview.chromium.org/386053002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@283731 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-17 09:54:06 +00:00
satyanarayana@google.com d9133e6380 Change ownership of video file
Review URL: https://codereview.chromium.org/379443002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@282189 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-07-10 00:26:56 +00:00
jbudorick@chromium.org 13b8cb19e8 [Android] Change object types from AndroidCommands to DeviceUtils in build/android/.
BUG=267773

Review URL: https://codereview.chromium.org/221823011

git-svn-id: http://src.chromium.org/svn/trunk/src/build@263055 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-04-10 19:37:30 +00:00
tonyg@chromium.org 29794359d3 Make api_strict_mode the default in AndroidCommands.
As far as I can tell, everything should be compatible now and
this will remove spam from various logs.

If anything major breaks we should be able to find and fix
quickly or else revert this.

BUG=

Review URL: https://codereview.chromium.org/143263017

git-svn-id: http://src.chromium.org/svn/trunk/src/build@253955 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2014-02-27 22:50:42 +00:00
tonyg@chromium.org 6e1ea982f7 [Telemetry] Make StartVideoCapture start capturing synchronously.
Previously it just asynchronously started capture.

BUG=323813
R=bulach@chromium.org, skyostil@chromium.org

Review URL: https://codereview.chromium.org/109553002

git-svn-id: http://src.chromium.org/svn/trunk/src/build@239640 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-12-10 01:50:08 +00:00
skyostil@chromium.org 8a87d9960c android: Add screen recording tool
Add a tool to record screen capture videos from Android devices. This
patch introduces both a standalone tool as well as a telemetry profiler
which captures a video of a telemetry run.

Note that the screen recording functionality requires Android KitKat or
later.

TEST=tools/perf/run_benchmark run --profiler=android-screen-recorder --browser=android-chrome smoothness.top_25 --page-filter=news.yahoo

Review URL: https://codereview.chromium.org/54123005

git-svn-id: http://src.chromium.org/svn/trunk/src/build@233686 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2013-11-07 21:17:25 +00:00
newt@chromium.org 8f45e040d9 [Android] screenshot.py: handle positional arguments.
This allows the filename to be passed as a positional argument and
complains if there is more than one positional argument.

BUG=164644

Review URL: https://codereview.chromium.org/11510009

git-svn-id: http://src.chromium.org/svn/trunk/src/build@172181 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-12-10 23:24:42 +00:00
newt@chromium.org 01a368d9b8 [Android] Add screenshot command line tool.
This modifies the no longer used monkeyrunner_screenshot.py into a
simple screenshot tool.

BUG=164644

Review URL: https://codereview.chromium.org/11470004

git-svn-id: http://src.chromium.org/svn/trunk/src/build@171615 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
2012-12-06 22:47:36 +00:00