Home
last modified time | relevance | path

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

/external/autotest/client/tests/linus_stress/
Dlinus_stress.py21 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/
Dcpuset.py128 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)))
Dbase_utils.py531 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/
Dkernel_trace.py77 utils.write_one_line(self._TRACE_EN_PATH, val)
130 utils.write_one_line(fname, val)
168 utils.write_one_line(fname, 1)
Dpower_utils.py485 utils.write_one_line('%s/%s' % (self._TEMPDIR, name), value)
/external/autotest/client/site_tests/kernel_SchedBandwith/
Dkernel_SchedBandwith.py110 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/
Dpower_NoConsoleSuspend.py20 utils.write_one_line(SYSFS_CONSOLE_SUSPEND, 'N')
/external/autotest/client/site_tests/platform_CompressedSwapPerf/
Dplatform_CompressedSwapPerf.py89 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/
Dlibhugetlbfs.py18 utils.write_one_line('/proc/sys/vm/nr_hugepages',
/external/autotest/client/site_tests/power_IdleSuspend/
Dpower_IdleSuspend.py50 utils.write_one_line(tmp_path, str(val))
/external/autotest/client/site_tests/power_HotCPUSuspend/
Dpower_HotCPUSuspend.py67 utils.write_one_line(SYSFS_CPUQUIET_ENABLE, '0')
/external/autotest/client/profilers/lttng/
Dlttng.py90 utils.write_one_line('/proc/ltt', 'connect ' + tracepoint
/external/autotest/client/site_tests/platform_CompressedSwap/
Dplatform_CompressedSwap.py104 utils.write_one_line('/proc/%d/oom_score_adj' % p.pid, '1000')
/external/autotest/client/site_tests/platform_MetricsUploader/
Dplatform_MetricsUploader.py154 utils.write_one_line(os.path.join(osreleased_path,
/external/autotest/client/site_tests/usbpd_GFU/
Dusbpd_GFU.py90 utils.write_one_line(self.FW_UP_DISABLE_PATH, disable)
/external/autotest/client/site_tests/power_CPUFreq/
Dpower_CPUFreq.py19 utils.write_one_line(SYSFS_CPUQUIET_ENABLE, '0')
/external/autotest/client/common_lib/
Dbase_utils.py332 write_one_line('/proc/sys/net/ipv4/ip_local_port_range',
396 def write_one_line(filename, line): function
Dbase_utils_unittest.py116 base_utils.write_one_line("filename", content)