/external/autotest/client/site_tests/hardware_Backlight/ |
D | hardware_Backlight.py | 23 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/ |
D | power_BacklightControl.py | 36 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/ |
D | power_Backlight.py | 25 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/ |
D | policy_PowerManagementIdleSettings.py | 63 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/ |
D | policy_ScreenBrightnessPercent.py | 39 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/ |
D | audio_PlaybackPower.py | 37 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/ |
D | graphics_VideoRenderingPower.py | 45 _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/ |
D | video_JDAPerf.py | 52 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/ |
D | power_BatteryCharge.py | 48 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/ |
D | power_Consumption.py | 42 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/ |
D | video_WebRtcPerf.py | 97 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/ |
D | video_HangoutHardwarePerf.py | 103 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/ |
D | video_PlaybackPerf.py | 62 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/ |
D | graphics_WebGLAquarium.py | 49 _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/ |
D | power_LoadTest.py | 86 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()
|