Searched refs:_try_bl_cmd (Results 1 – 1 of 1) sorted by relevance
214 def _try_bl_cmd(self, arg_str): member in Backlight242 self._try_bl_cmd('--set_brightness=%d' % (level))251 self._try_bl_cmd('--set_brightness_percent=%f' % (percent))260 self._try_bl_cmd('--set_resume_brightness=%d' % (level))269 self._try_bl_cmd('--set_resume_brightness_percent=%f' % (percent))284 return int(self._try_bl_cmd('--get_brightness'))293 return int(self._try_bl_cmd('--get_max_brightness'))302 return float(self._try_bl_cmd('--get_brightness_percent'))