Searched refs:_try_bl_cmd (Results 1 – 1 of 1) sorted by relevance
224 def _try_bl_cmd(self, arg_str): member in Backlight252 self._try_bl_cmd('--set_brightness=%d' % (level))261 self._try_bl_cmd('--set_brightness_percent=%f' % (percent))270 self._try_bl_cmd('--set_resume_brightness=%d' % (level))279 self._try_bl_cmd('--set_resume_brightness_percent=%f' % (percent))294 return int(self._try_bl_cmd('--get_brightness'))303 return int(self._try_bl_cmd('--get_max_brightness'))312 return float(self._try_bl_cmd('--get_brightness_percent'))