Home
last modified time | relevance | path

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

/external/autotest/client/cros/
Dpower_utils.py225 def _try_bl_cmd(self, arg_str): member in Backlight
253 self._try_bl_cmd('--set_brightness=%d' % (level))
262 self._try_bl_cmd('--set_brightness_percent=%f' % (percent))
271 self._try_bl_cmd('--set_resume_brightness=%d' % (level))
280 self._try_bl_cmd('--set_resume_brightness_percent=%f' % (percent))
295 return int(self._try_bl_cmd('--get_brightness'))
304 return int(self._try_bl_cmd('--get_max_brightness'))
313 return float(self._try_bl_cmd('--get_brightness_percent'))