Home
last modified time | relevance | path

Searched refs:_backlight (Results 1 – 11 of 11) 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.py24 self._backlight = None
36 self._backlight = power_utils.Backlight()
37 self._backlight.set_default()
67 self._backlight = power_utils.Backlight()
68 keyvals['level_backlight_max'] = self._backlight.get_max_level()
69 keyvals['level_backlight_current'] = self._backlight.get_level()
96 if self._backlight:
97 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/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.py61 self._backlight = None
190 self._backlight = power_utils.Backlight()
191 self._backlight.set_default()
290 if self._backlight:
291 self._backlight.restore()
/external/autotest/client/site_tests/graphics_WebGLAquarium/
Dgraphics_WebGLAquarium.py36 _backlight = None variable in graphics_WebGLAquarium
71 if self._backlight:
72 self._backlight.restore()
150 self._backlight = power_utils.Backlight()
151 self._backlight.set_default()
/external/autotest/client/site_tests/power_Consumption/
Dpower_Consumption.py44 self._backlight = None
411 self._backlight.set_percent(i)
415 self._backlight.set_default()
467 self._backlight = power_utils.Backlight()
468 self._backlight.set_default()
537 if self._backlight:
538 self._backlight.restore()
/external/autotest/client/site_tests/video_HangoutHardwarePerf/
Dvideo_HangoutHardwarePerf.py110 self._backlight = None
114 self._backlight = power_utils.Backlight()
115 self._backlight.set_default()
140 if self._backlight:
141 self._backlight.restore()
/external/autotest/client/site_tests/power_LoadTest/
Dpower_LoadTest.py72 self._backlight = None
170 self._backlight = power_utils.Backlight()
172 self._backlight.get_max_level()
385 if self._backlight:
386 self._backlight.restore()
449 self._backlight.set_default()
452 self._backlight.get_level()