55e4a38297449fcf3dbd693e2e6afe72fa84b519 |
30-Sep-2015 |
Ahmed Fakhry <afakhry@google.com> |
[Telemetry] Use browser.platform for SetHTTPServerDirectories and http_server SetHTTPServerDirectories and http_server were moved from Browser to Platform in the CL https://codereview.chromium.org/1364853006. This CL modifies the users of the Browser class to account for that change. BUG=chromium:537655 TEST=Ran the test locally Change-Id: I64dc425fbc6f5ed68993668739433e1d74a455f8 Reviewed-on: https://chromium-review.googlesource.com/303183 Reviewed-by: Achuith Bhandarkar <achuith@chromium.org> Commit-Queue: Achuith Bhandarkar <achuith@chromium.org> Trybot-Ready: Achuith Bhandarkar <achuith@chromium.org> Tested-by: Achuith Bhandarkar <achuith@chromium.org>
ower_VideoDetector.py
|
aa7ec8c17b2c52168ec212b926de38de40f04e5c |
06-May-2015 |
Shuqian Zhao <shuqianz@chromium.org> |
[autotest] Seed ATTRIBUTES in all control files in autotest The SUITE tag in the control files is being phased out and replaced by ATTRIBUTES. During the transition period, both SUITE and ATTRIBUTES tags will coexist, and a pre-upload hook will enforce that they agree with each other and also ATTRIBUTES are in the attribute whitelist. BUG=chromium:482749 TEST=Test with the pre-upload hook Change-Id: I58288ff97c37af0b356115899b0d98e4052bc725 Reviewed-on: https://chromium-review.googlesource.com/269667 Reviewed-by: Shuqian Zhao <shuqianz@chromium.org> Commit-Queue: Shuqian Zhao <shuqianz@chromium.org> Trybot-Ready: Shuqian Zhao <shuqianz@chromium.org> Tested-by: Shuqian Zhao <shuqianz@chromium.org>
ontrol
|
bf3b67055cd4aea47ede3f0c1368a61ba04f628c |
06-May-2014 |
J. Richard Barnette <jrbarnette@chromium.org> |
Remove EXPERIMENTAL = True from all non-BVT tests. The EXPERIMENTAL setting is being deprecated; the setting is a no-op when the test isn't in the BVT and isn't in a suite with `file_bugs` set to True. This removes the EXPERIMENTAL setting from control files where the setting has no effect. BUG=None TEST=None Change-Id: I8cd263fe7310f6e255d414c049458ee3458c79f9 Reviewed-on: https://chromium-review.googlesource.com/198430 Reviewed-by: Simran Basi <sbasi@chromium.org> Tested-by: Richard Barnette <jrbarnette@chromium.org> Commit-Queue: Richard Barnette <jrbarnette@chromium.org>
ontrol
|
4741e4b9648e3172aab2c10ee88291d7435d862c |
27-Mar-2014 |
Daniel Erat <derat@chromium.org> |
autotest: Stop using powerd's disable_als pref. Make tests that want to avoid ambient-light-triggered adjustments set powerd's has_ambient_light_sensor pref to 0 instead of setting disable_als to 1. BUG=chromium:356395 TEST=tests pass Change-Id: Idb5da0ea393468933f8d7d2ca6c845e2afa1c433 Reviewed-on: https://chromium-review.googlesource.com/191940 Tested-by: Daniel Erat <derat@chromium.org> Reviewed-by: Dan Shi <dshi@chromium.org> Commit-Queue: Daniel Erat <derat@chromium.org>
ower_VideoDetector.py
|
3d00beba6c4286cf881ec36a897cab8ebbe2c287 |
20-Mar-2014 |
Todd Broch <tbroch@chromium.org> |
power_VideoDetector: convert from pyauto to telemetry. Test relied on pyauto for logging in only. Convert to telmetry's test account login as pyauto is being deprecated. BUG=chromium:345069 TEST=power_VideoDetector test completes successfully Change-Id: Ic641308bf2c09ab408082a56c1185261d9988dab Reviewed-on: https://chromium-review.googlesource.com/190867 Tested-by: Todd Broch <tbroch@chromium.org> Reviewed-by: Sameer Nanda <snanda@chromium.org> Reviewed-by: Achuith Bhandarkar <achuith@chromium.org> Commit-Queue: Todd Broch <tbroch@chromium.org>
ower_VideoDetector.py
|
f3d2e0e04d18dca75b9a7e6c541bd65856c17534 |
16-Apr-2013 |
Daniel Erat <derat@chromium.org> |
autotest: Update power tests to set ignore_external_policy. This updates tests that mess with powerd's settings to also set the ignore_external_policy pref so their changes won't be overridden by Chrome-supplied policy. It also removes references to the react_ms pref, which doesn't exist anymore. BUG=chromium:225730 TEST=none Change-Id: I9c8cfaed2d1e96a2233e91a62038f6f664e83ed3 Reviewed-on: https://gerrit.chromium.org/gerrit/48228 Commit-Queue: Daniel Erat <derat@chromium.org> Reviewed-by: Daniel Erat <derat@chromium.org> Tested-by: Daniel Erat <derat@chromium.org>
ower_VideoDetector.py
|
4cf56297789ce77db15cbd189e23d9426763776e |
07-Feb-2013 |
Julius Werner <jwerner@chromium.org> |
Refactor powerd preference changing to use bind mounts I need to write a test that needs to change powerd prefs and would like to reuse existing code in power_utils. However, the existing set_power_prefs method has a few problems... it does not correctly work with prefs that do not exist in /var/lib (e.g. because they only rely on the /usr/share defaults), and if autotest crashes or gets killed, or the DUT suddenly reboots, the prefs do not get restored correctly. Bind mounts provide a much saver way to do the same thing... they are guaranteed to not persist across reboots no matter what happens on the DUT. This patch changes the implementation to that effect and also refactors the interface to a PowerPrefChanger class, which sets and restores the settings in an RAII fashion through its constructor and destructor, allowing it to be used as a fire-and-forget one-liner in most use cases. BUG=None TEST=Run the affected tests (power_AudioDetector, power_VideoDetector and power_BacklightControl), make sure they still work. Change-Id: I5fa968217934aea1d1009a1f430eb8db33d6a554 Signed-off-by: Julius Werner <jwerner@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/42811 Reviewed-by: Daniel Erat <derat@chromium.org>
ower_VideoDetector.py
|
73db85f34daeb727fc84ead3f2d81a25dc108c39 |
16-Jan-2013 |
Simon Que <sque@chromium.org> |
client/site_tests: add power_VideoDetector test This test plays video with reduced powerd timeouts and makes sure that the video is being detected by power manager and the backlight doesn't get dimmed. The "video" is an html file with webkit code that updates the color of the page. Also moves some of the common code across a few power autotests into common libraries: - Functions to adjust backlight using powerd - Function to restart an upstart job - Function to overwrite/backup powerd prefs BUG=chromium-os:32371,chromium-os:36382 TEST=power_VideoDetector passes Change-Id: I01c8fb63368778aa6910191a9e32412bb502f691 Signed-off-by: Simon Que <sque@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/41414 Reviewed-by: Daniel Erat <derat@chromium.org>
ontrol
ade.html
ower_VideoDetector.py
|