Home
last modified time | relevance | path

Searched refs:_backlight (Results 1 – 13 of 13) sorted by relevance

/external/autotest/client/site_tests/hardware_Backlight/
Dhardware_Backlight.py22 self._backlight = None
54 self._backlight = power_utils.Backlight()
56 backlight_max = self._backlight.get_max_level()
58 self._backlight.set_level(i)
59 result = self._backlight.get_level()
67 actual_percent = self._backlight.get_percent()
86 if self._backlight:
87 self._backlight.restore()
/external/autotest/client/site_tests/power_BacklightControl/
Dpower_BacklightControl.py36 self._backlight = None
72 self._backlight = power_utils.Backlight()
73 keyvals['max_brightness'] = self._backlight.get_max_level()
78 keyvals['initial_brightness'] = self._backlight.get_level()
87 utils.wait_for_value(self._backlight.get_level,
103 self._backlight.get_level,
118 self._backlight.get_level, min_threshold=0)
138 self._backlight.get_level, max_threshold=keyvals['max_brightness'])
188 if self._backlight:
189 self._backlight.restore()
/external/autotest/client/site_tests/power_Idle/
Dpower_Idle.py25 self._backlight = None
37 self._backlight = power_utils.Backlight()
38 self._backlight.set_default()
70 self._backlight = power_utils.Backlight()
71 keyvals['level_backlight_max'] = self._backlight.get_max_level()
72 keyvals['level_backlight_current'] = self._backlight.get_level()
100 if self._backlight:
101 self._backlight.restore()
/external/autotest/client/site_tests/power_Backlight/
Dpower_Backlight.py25 self._backlight = None
32 self._backlight = power_utils.Backlight()
45 max_brightness = self._backlight.get_max_level()
58 self._backlight.set_percent(i)
76 if self._backlight:
77 self._backlight.restore()
/external/autotest/client/site_tests/policy_PowerManagementIdleSettings/
Dpolicy_PowerManagementIdleSettings.py63 self._backlight = power_utils.Backlight()
184 max_level = self._backlight.get_max_level()
185 self._backlight.set_level(max_level)
194 initial_brightness = self._backlight.get_percent()
196 lambda: self._backlight.get_percent(),
201 current_brightness = self._backlight.get_percent()
224 max_brightness = self._backlight.get_percent()
/external/autotest/client/site_tests/audio_PlaybackPower/
Daudio_PlaybackPower.py36 self._backlight = None
45 self._backlight = power_utils.Backlight()
46 self._backlight.set_default()
111 if self._backlight:
112 self._backlight.restore()
/external/autotest/client/site_tests/power_BatteryCharge/
Dpower_BatteryCharge.py47 self._backlight = power_utils.Backlight()
48 self._backlight.set_percent(0)
142 if hasattr(self, '_backlight') and self._backlight:
143 self._backlight.restore()
/external/autotest/client/site_tests/video_PlaybackPerf/
Dvideo_PlaybackPerf.py63 self._backlight = None
197 self._backlight = power_utils.Backlight()
198 self._backlight.set_default()
308 if self._backlight:
309 self._backlight.restore()
/external/autotest/client/site_tests/power_Consumption/
Dpower_Consumption.py44 self._backlight = None
413 self._backlight.set_percent(i)
417 self._backlight.set_default()
469 self._backlight = power_utils.Backlight()
470 self._backlight.set_default()
550 if self._backlight:
551 self._backlight.restore()
/external/autotest/client/site_tests/video_HangoutHardwarePerf/
Dvideo_HangoutHardwarePerf.py111 self._backlight = None
115 self._backlight = power_utils.Backlight()
116 self._backlight.set_default()
141 if self._backlight:
142 self._backlight.restore()
/external/autotest/client/site_tests/graphics_WebGLAquarium/
Dgraphics_WebGLAquarium.py45 _backlight = None variable in graphics_WebGLAquarium
82 if self._backlight:
83 self._backlight.restore()
178 self._backlight = power_utils.Backlight()
179 self._backlight.set_default()
/external/autotest/client/site_tests/video_WebRtcPerf/
Dvideo_WebRtcPerf.py102 self._backlight = None
106 if self._backlight:
107 self._backlight.restore()
284 self._backlight = power_utils.Backlight()
285 self._backlight.set_default()
/external/autotest/client/site_tests/power_LoadTest/
Dpower_LoadTest.py72 self._backlight = None
175 self._backlight = power_utils.Backlight()
177 self._backlight.get_max_level()
451 if self._backlight:
452 self._backlight.restore()
519 self._backlight.set_default()
522 self._backlight.get_level()