Home
last modified time | relevance | path

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

/external/autotest/client/site_tests/hardware_Backlight/
Dhardware_Backlight.py23 self._backlight = None
55 self._backlight = power_utils.Backlight()
57 backlight_max = self._backlight.get_max_level()
59 self._backlight.set_level(i)
60 result = self._backlight.get_level()
68 actual_percent = self._backlight.get_percent()
87 if self._backlight:
88 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_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.py37 self._backlight = None
46 self._backlight = power_utils.Backlight()
47 self._backlight.set_default()
112 if self._backlight:
113 self._backlight.restore()
/external/autotest/client/site_tests/graphics_VideoRenderingPower/
Dgraphics_VideoRenderingPower.py45 _backlight = None variable in graphics_VideoRenderingPower
52 self._backlight = power_utils.Backlight()
53 self._backlight.set_default()
62 if self._backlight:
63 self._backlight.restore()
/external/autotest/client/site_tests/power_BatteryCharge/
Dpower_BatteryCharge.py49 self._backlight = power_utils.Backlight()
50 self._backlight.set_percent(0)
144 if hasattr(self, '_backlight') and self._backlight:
145 self._backlight.restore()
/external/autotest/client/site_tests/power_Consumption/
Dpower_Consumption.py42 self._backlight = None
409 self._backlight.set_percent(i)
413 self._backlight.set_default()
465 self._backlight = power_utils.Backlight()
466 self._backlight.set_default()
548 if self._backlight:
549 self._backlight.restore()
/external/autotest/client/site_tests/video_WebRtcPerf/
Dvideo_WebRtcPerf.py97 self._backlight = None
102 if self._backlight:
103 self._backlight.restore()
295 self._backlight = power_utils.Backlight()
296 self._backlight.set_default()
/external/autotest/client/site_tests/video_PlaybackPerf/
Dvideo_PlaybackPerf.py62 self._backlight = None
217 self._backlight = power_utils.Backlight()
218 self._backlight.set_default()
409 if self._backlight:
410 self._backlight.restore()
/external/autotest/client/site_tests/graphics_WebGLAquarium/
Dgraphics_WebGLAquarium.py50 _backlight = None variable in graphics_WebGLAquarium
90 if self._backlight:
91 self._backlight.restore()
213 self._backlight = power_utils.Backlight()
214 self._backlight.set_default()
/external/autotest/client/site_tests/power_LoadTest/
Dpower_LoadTest.py87 self._backlight = None
208 self._backlight = power_utils.Backlight()
210 self._backlight.get_max_level()
571 if self._backlight:
572 self._backlight.restore()
644 self._backlight.set_default()
647 self._backlight.get_level()