Home
last modified time | relevance | path

Searched refs:read_one_line (Results 1 – 25 of 29) sorted by relevance

12

/external/autotest/client/site_tests/kernel_SchedBandwith/
Dkernel_SchedBandwith.py85 timeslice_ms = int(utils.read_one_line(fname).strip()) / 1000.
130 rd_quota = utils.read_one_line(os.path.join(self._CG_CRB_DIR,
138 self._total_shares = int(utils.read_one_line(
153 rd_shares = utils.read_one_line(os.path.join(self._CG_CRB_DIR,
166 period_us = int(utils.read_one_line(os.path.join(self._CG_CRB_DIR,
228 self._quota = utils.read_one_line(os.path.join(self._CG_CRB_DIR,
230 self._shares = utils.read_one_line(os.path.join(self._CG_CRB_DIR,
/external/autotest/client/cros/
Dkernel_trace.py79 result = int(utils.read_one_line(fname).strip())
102 result = int(utils.read_one_line(fname).strip())
172 result = utils.read_one_line(fname).strip()
197 results = utils.read_one_line("/proc/uptime")
/external/autotest/client/site_tests/power_ProbeDriver/
Dpower_ProbeDriver.py29 psu_type = utils.read_one_line(type_path)
89 online = utils.read_one_line(online_path)
119 return utils.read_one_line(property_path)
/external/autotest/client/tests/linus_stress/
Dlinus_stress.py40 dirty_ratio = utils.read_one_line('/proc/sys/vm/dirty_ratio')
41 dirty_background_ratio = utils.read_one_line('/proc/sys/vm/dirty_background_ratio')
/external/autotest/client/site_tests/platform_PartitionCheck/
Dplatform_PartitionCheck.py35 return int(utils.read_one_line(sysfs_path))
50 part_blocks = int(utils.read_one_line(part_file))
/external/autotest/client/site_tests/graphics_Idle/
Dgraphics_Idle.py247 governor = utils.read_one_line(governor_path)
256 enable = utils.read_one_line(enable_path)
265 min_freq = int(utils.read_one_line(freqs_path).split()[0])
277 clock = int(utils.read_one_line(clock_path))
/external/autotest/client/site_tests/platform_CompressedSwapPerf/
Dplatform_CompressedSwapPerf.py77 disksize = utils.read_one_line(disksize_path)
191 swap_phys_size = utils.read_one_line('/sys/block/zram0/compr_data_size')
411 enable_size = utils.read_one_line(self.swap_enable_file)
428 disksize = utils.read_one_line(self.swap_disksize_file)
/external/autotest/client/cros/power/
Dpower_status.py150 tname = utils.read_one_line(tname_path)
409 power_type = utils.read_one_line(type_path)
413 utils.read_one_line(scope_path) == 'Device'):
742 name = utils.read_one_line(os.path.join(state, 'name'))
743 latency = utils.read_one_line(os.path.join(state, 'latency'))
752 usecs = int(utils.read_one_line(os.path.join(state, 'time')))
827 package = utils.read_one_line(template % cpu)
866 af = utils.read_one_line(fname).strip()
939 cur_mhz = str(int(int(utils.read_one_line(fname).strip()) / 1e6))
1576 return int(utils.read_one_line(self._path)) / 1000.
[all …]
Dpower_utils.py752 out = utils.read_one_line(control_file)
838 vid = utils.read_one_line(vid_path)
839 pid = utils.read_one_line(pid_path)
Dpower_suspend.py134 if not int(utils.read_one_line('/sys/power/pm_print_times')):
159 available_suspend_states = utils.read_one_line('/sys/power/state')
290 freq = 1000 * int(utils.read_one_line(
/external/autotest/client/site_tests/hardware_StorageFio/
Dhardware_StorageFio.py55 vendor = utils.read_one_line(vendor_file).strip()
56 model = utils.read_one_line(model_file).strip()
/external/autotest/client/site_tests/platform_CompressedSwap/
Dplatform_CompressedSwap.py58 enable_size = utils.read_one_line(self.swap_enable_file)
75 disksize = utils.read_one_line(self.swap_disksize_file)
/external/autotest/client/site_tests/hardware_MultiReader/
Dhardware_MultiReader.py16 removable = utils.read_one_line(path)
/external/autotest/client/site_tests/hardware_RealtekCardReader/
Dhardware_RealtekCardReader.py24 removable = utils.read_one_line(os.path.join(dev, "removable"))
/external/autotest/client/site_tests/platform_BootPerf/
Dplatform_BootPerf.py224 khz = int(utils.read_one_line(self._CPU_FREQ_FILE))
264 data = utils.read_one_line(self._FIRMWARE_TIME_FILE)
/external/autotest/client/site_tests/hardware_LightSensor/
Dhardware_LightSensor.py61 val = utils.read_one_line(path)
/external/autotest/client/cros/multimedia/
Dsystem_facade_native.py52 original_mode = utils.read_one_line(governor_path)
Dusb_facade_native.py324 read_product_name = utils.read_one_line(path)
/external/autotest/client/site_tests/hardware_DiskSize/
Dhardware_DiskSize.py36 return utils.read_one_line(path) == 'MMC'
/external/autotest/client/tests/libhugetlbfs/
Dlibhugetlbfs.py20 nr_hugepages = utils.read_one_line('/proc/sys/vm/nr_hugepages')
/external/autotest/client/common_lib/
Dutils_unittest.py72 self.assertEqual("abc", utils.read_one_line("filename"))
78 self.assertEqual("abc ", utils.read_one_line("filename"))
84 self.assertEqual("line 1", utils.read_one_line("filename"))
90 self.assertEqual("", utils.read_one_line("filename"))
97 utils.read_one_line("filename"))
104 utils.read_one_line("filename"))
/external/autotest/server/
Dcrashcollect.py366 first_line_at_start = utils.read_one_line(messages_at_start)
367 first_line_now = utils.read_one_line(messages_raw)
/external/autotest/client/site_tests/platform_OSLimits/
Dplatform_OSLimits.py51 value = (utils.read_one_line(path))
/external/autotest/client/site_tests/platform_MemCheck/
Dplatform_MemCheck.py41 swapref = int(utils.read_one_line(self.swap_disksize_file)) / 1024
/external/autotest/client/common_lib/cros/
Darc.py249 return utils.read_one_line(get_container_pid_path())
254 return utils.read_one_line(_SDCARD_PID_PATH)

12