Lines Matching refs:target
7 def restart_power_hal(target): argument
9 target.execute('pkill -f android\.hardware\.power')
12 def set_touch_param(target, opcode, new_val): argument
18 target.pull(DEVICE_PATH, tmp.name)
27 target.push(tmp.name, DEVICE_PATH)
30 restart_power_hal(target)
33 def set_touch_boost(target, boost=50): argument
38 set_touch_param(target, opcode, boost)
41 def set_touch_min_freq(target, cluster, freq=1100): argument
44 set_touch_param(target, opcode, freq)
47 def set_touch_cpubw_hysteresis(target, enable=False): argument
51 set_touch_param(target, opcode, enable_num)
54 def set_touch_cpubw_min_freq(target, freq=51): argument
57 set_touch_param(target, opcode, freq)
60 def restore_defaults(target, powerhint_host_path): argument
62 target.push(powerhint_host_path, DEVICE_PATH)
64 restart_power_hal(target)
67 def disable_launch_hint(target): argument
72 target.pull(DEVICE_PATH, tmp.name)
81 target.push(tmp.name, DEVICE_PATH)
83 restart_power_hal(target)