OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:Backlight
(Results
1 - 15
of
15
) sorted by null
/external/autotest/client/site_tests/power_BacklightSuspend/
power_BacklightSuspend.py
15
backlight
= power_utils.
Backlight
()
17
results['initial_brightness'] =
backlight
.get_level()
18
max_level =
backlight
.get_max_level()
25
backlight
.set_resume_level(resume_level)
29
final_level =
backlight
.get_level()
/external/autotest/client/site_tests/power_VideoDetector/
power_VideoDetector.py
39
backlight
= power_utils.
Backlight
()
41
base_utils.wait_for_value(
backlight
.get_max_level)
56
final_brightness =
backlight
.get_level()
58
# Check that the
backlight
stayed the same.
61
('
Backlight
level changed from %d to %d when it should ' + \
/external/autotest/client/site_tests/power_Idle/
power_Idle.py
20
_backlight: power_utils.
Backlight
object
36
self._backlight = power_utils.
Backlight
()
66
# record the current and max
backlight
levels
67
self._backlight = power_utils.
Backlight
()
/external/autotest/client/site_tests/hardware_Backlight/
hardware_Backlight.py
18
_backlight: power_utils.
Backlight
object
23
# Stop powerd to avoid it adjusting
backlight
levels
29
# optionally test keyboard
backlight
35
logging.info("Assuming no keyboard
backlight
due to %s", str(e))
44
logging.error('keyboard
backlight
set %d != %d get',
51
raise error.TestFail("%d errors testing keyboard
backlight
." % \
54
self._backlight = power_utils.
Backlight
()
61
# The kernel Documentation/ABI/stable/sysfs-class-
backlight
74
log_level_func('
backlight
expected vs. actual exceeds error'
76
log_level_func('
backlight
set %d != %d get', i, result
[
all
...]
/external/autotest/client/site_tests/audio_PlaybackPower/
audio_PlaybackPower.py
45
self._backlight = power_utils.
Backlight
()
/external/autotest/client/site_tests/power_Backlight/
power_Backlight.py
21
_backlight: power_utils.
Backlight
object
32
self._backlight = power_utils.
Backlight
()
47
raise error.TestFail('Must have at least 5
backlight
levels')
71
raise error.TestFail('Turning up the
backlight
' \
83
# Print |max_brightness| for all
backlight
sysfs directories, and return
85
cmd = 'cat /sys/class/
backlight
/*/max_brightness'
/external/autotest/client/site_tests/power_BatteryCharge/
power_BatteryCharge.py
47
self._backlight = power_utils.
Backlight
()
/external/autotest/client/site_tests/power_BacklightControl/
power_BacklightControl.py
33
_backlight: power_utils.
Backlight
object
72
self._backlight = power_utils.
Backlight
()
75
raise error.TestFail('Must have at least %d
backlight
levels' %
/external/autotest/client/site_tests/video_PlaybackPerf/
video_PlaybackPerf.py
190
self._backlight = power_utils.
Backlight
()
/external/autotest/client/site_tests/graphics_WebGLAquarium/
graphics_WebGLAquarium.py
150
self._backlight = power_utils.
Backlight
()
/external/autotest/client/site_tests/video_HangoutHardwarePerf/
video_HangoutHardwarePerf.py
114
self._backlight = power_utils.
Backlight
()
/external/autotest/client/site_tests/video_WebRtcPerf/
video_WebRtcPerf.py
271
backlight
= power_utils.
Backlight
()
272
backlight
.set_default()
279
backlight
.restore()
/external/autotest/client/cros/
power_utils.py
150
"""Class for
Backlight
exceptions."""
153
class
Backlight
(object):
154
"""Class for control of built-in panel
backlight
.
157
set_level: Set
backlight
level to the given brightness.
158
set_percent: Set
backlight
level to the given brightness percent.
159
set_resume_level: Set
backlight
level on resume to the given brightness.
160
set_resume_percent: Set
backlight
level on resume to the given brightness
162
set_default: Set
backlight
to CrOS default.
164
get_level: Get
backlight
level currently.
166
get_percent: Get
backlight
percent currently
[
all
...]
/external/autotest/client/site_tests/power_Consumption/
power_Consumption.py
409
"""Vary
backlight
brightness and record power at each setting."""
454
UI_TESTS = ['
backlight
', 'download', 'webpages', 'video', 'v8']
467
self._backlight = power_utils.
Backlight
()
/external/autotest/client/site_tests/power_LoadTest/
power_LoadTest.py
64
kblight_percent: percent brightness of keyboard
backlight
169
# record the max
backlight
level
170
self._backlight = power_utils.
Backlight
()
214
logging.info("Assuming no keyboard
backlight
due to :: %s", str(e))
251
# reset
backlight
level since powerd might've modified it
Completed in 326 milliseconds