Searched refs:write_one_line (Results 1 – 18 of 18) sorted by relevance
/external/autotest/client/tests/linus_stress/ |
D | linus_stress.py | 21 utils.write_one_line('/proc/sys/vm/dirty_ratio', '4') 22 utils.write_one_line('/proc/sys/vm/dirty_background_ratio', '2') 45 utils.write_one_line('/proc/sys/vm/dirty_ratio', dirty_ratio) 46 utils.write_one_line('/proc/sys/vm/dirty_background_ratio', dirty_background_ratio)
|
/external/autotest/client/bin/ |
D | cpuset.py | 128 utils.write_one_line(task_file, task) 415 utils.write_one_line(service_level, disk_info) 440 utils.write_one_line(cpuset_attr(name, 'mem_hardwall'), '1') 441 utils.write_one_line(mems_path(name), ','.join(map(str, mems))) 442 utils.write_one_line(cpus_path(name), ','.join(map(str, cpus))) 452 utils.write_one_line(mems_path(name), nodes) # inherit parent's nodes 453 utils.write_one_line(memory_path(name)+'.limit_in_bytes', str(bytes)) 454 utils.write_one_line(cpus_path(name), ','.join(map(str, cpus)))
|
D | base_utils.py | 531 utils.write_one_line(path, str(value)) 539 utils.write_one_line('/proc/sys/kernel/%s' % key, str(value)) 1044 utils.write_one_line('/sys/class/rtc/rtc0/wakealarm', str(alarm_time)) 1051 utils.write_one_line('/sys/power/state', state)
|
/external/autotest/client/cros/ |
D | kernel_trace.py | 77 utils.write_one_line(self._TRACE_EN_PATH, val) 130 utils.write_one_line(fname, val) 168 utils.write_one_line(fname, 1)
|
D | power_utils.py | 485 utils.write_one_line('%s/%s' % (self._TEMPDIR, name), value)
|
/external/autotest/client/site_tests/kernel_SchedBandwith/ |
D | kernel_SchedBandwith.py | 110 utils.write_one_line(os.path.join(self._CG_CRB_DIR, "tasks"), 128 utils.write_one_line(os.path.join(self._CG_CRB_DIR, "cpu.cfs_quota_us"), 151 utils.write_one_line(os.path.join(self._CG_CRB_DIR, "cpu.shares"),
|
/external/autotest/client/site_tests/power_NoConsoleSuspend/ |
D | power_NoConsoleSuspend.py | 20 utils.write_one_line(SYSFS_CONSOLE_SUSPEND, 'N')
|
/external/autotest/client/site_tests/platform_CompressedSwapPerf/ |
D | platform_CompressedSwapPerf.py | 89 utils.write_one_line(reset_path, '1') 91 utils.write_one_line(disksize_path, disksize) 302 utils.write_one_line('/proc/%d/oom_score_adj' % p.pid, '15')
|
/external/autotest/client/tests/libhugetlbfs/ |
D | libhugetlbfs.py | 18 utils.write_one_line('/proc/sys/vm/nr_hugepages',
|
/external/autotest/client/site_tests/power_IdleSuspend/ |
D | power_IdleSuspend.py | 50 utils.write_one_line(tmp_path, str(val))
|
/external/autotest/client/site_tests/power_HotCPUSuspend/ |
D | power_HotCPUSuspend.py | 67 utils.write_one_line(SYSFS_CPUQUIET_ENABLE, '0')
|
/external/autotest/client/profilers/lttng/ |
D | lttng.py | 90 utils.write_one_line('/proc/ltt', 'connect ' + tracepoint
|
/external/autotest/client/site_tests/platform_CompressedSwap/ |
D | platform_CompressedSwap.py | 104 utils.write_one_line('/proc/%d/oom_score_adj' % p.pid, '1000')
|
/external/autotest/client/site_tests/platform_MetricsUploader/ |
D | platform_MetricsUploader.py | 154 utils.write_one_line(os.path.join(osreleased_path,
|
/external/autotest/client/site_tests/usbpd_GFU/ |
D | usbpd_GFU.py | 90 utils.write_one_line(self.FW_UP_DISABLE_PATH, disable)
|
/external/autotest/client/site_tests/power_CPUFreq/ |
D | power_CPUFreq.py | 19 utils.write_one_line(SYSFS_CPUQUIET_ENABLE, '0')
|
/external/autotest/client/common_lib/ |
D | base_utils.py | 332 write_one_line('/proc/sys/net/ipv4/ip_local_port_range', 396 def write_one_line(filename, line): function
|
D | base_utils_unittest.py | 116 base_utils.write_one_line("filename", content)
|