Home
last modified time | relevance | path

Searched refs:_backlight (Results 1 – 15 of 15) 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/policy_ScreenBrightnessPercent/
Dpolicy_ScreenBrightnessPercent.py39 max_level = self._backlight.get_max_level()
47 min_level = self._backlight.get_level()
67 self._backlight = power_utils.Backlight()
68 actual_percent = 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/video_JDAPerf/
Dvideo_JDAPerf.py52 self._backlight = None
109 self._backlight = power_utils.Backlight()
110 self._backlight.set_level(0)
212 if self._backlight:
213 self._backlight.restore()
/external/autotest/client/site_tests/power_BatteryCharge/
Dpower_BatteryCharge.py48 self._backlight = power_utils.Backlight()
49 self._backlight.set_percent(0)
143 if hasattr(self, '_backlight') and self._backlight:
144 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
101 if self._backlight:
102 self._backlight.restore()
293 self._backlight = power_utils.Backlight()
294 self._backlight.set_default()
/external/autotest/client/site_tests/video_HangoutHardwarePerf/
Dvideo_HangoutHardwarePerf.py103 self._backlight = None
120 self._backlight = power_utils.Backlight()
121 self._backlight.set_default()
141 if self._backlight:
142 self._backlight.restore()
/external/autotest/client/site_tests/video_PlaybackPerf/
Dvideo_PlaybackPerf.py62 self._backlight = None
218 self._backlight = power_utils.Backlight()
219 self._backlight.set_default()
411 if self._backlight:
412 self._backlight.restore()
/external/autotest/client/site_tests/graphics_WebGLAquarium/
Dgraphics_WebGLAquarium.py49 _backlight = None variable in graphics_WebGLAquarium
89 if self._backlight:
90 self._backlight.restore()
212 self._backlight = power_utils.Backlight()
213 self._backlight.set_default()
/external/autotest/client/site_tests/power_LoadTest/
Dpower_LoadTest.py86 self._backlight = None
200 self._backlight = power_utils.Backlight()
202 self._backlight.get_max_level()
545 if self._backlight:
546 self._backlight.restore()
614 self._backlight.set_default()
617 self._backlight.get_level()