Searched refs:read_one_line (Results 1 – 25 of 34) sorted by relevance
12
/external/autotest/client/site_tests/kernel_SchedBandwith/ |
D | kernel_SchedBandwith.py | 85 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/site_tests/platform_PartitionCheck/ |
D | platform_PartitionCheck.py | 32 return int(utils.read_one_line(removable_file)) == 1 49 return int(utils.read_one_line(sysfs_path)) 64 part_blocks = int(utils.read_one_line(part_file))
|
/external/autotest/client/cros/ |
D | kernel_trace.py | 79 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")
|
D | dns_server.py | 67 if (utils.read_one_line(resolv) == resolv_contents and 86 assert utils.read_one_line(resolv) == resolv_contents 121 utils.read_one_line(resolv)),
|
D | power_utils.py | 352 self._max = int(utils.read_one_line(os.path.join(self._path, 363 current = int(utils.read_one_line(os.path.join(self._path, 655 out = utils.read_one_line(control_file) 743 vid = utils.read_one_line(vid_path) 744 pid = utils.read_one_line(pid_path)
|
D | power_status.py | 149 tname = utils.read_one_line(tname_path) 406 power_type = utils.read_one_line(type_path) 738 name = utils.read_one_line(os.path.join(state, 'name')) 739 latency = utils.read_one_line(os.path.join(state, 'latency')) 748 usecs = int(utils.read_one_line(os.path.join(state, 'time'))) 786 values = utils.read_one_line(modalias).split(':') 827 package = utils.read_one_line(template % cpu) 905 cur_mhz = str(int(int(utils.read_one_line(fname).strip()) / 1e6)) 1491 return int(utils.read_one_line(self._path)) / 1000.
|
/external/autotest/client/site_tests/power_ProbeDriver/ |
D | power_ProbeDriver.py | 29 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/ |
D | linus_stress.py | 40 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/bin/ |
D | cpuset.py | 215 name = utils.read_one_line('/proc/%i/cpuset' % os.getpid()) 223 return rangelist_to_set(utils.read_one_line(file_name)) 281 limit = int(utils.read_one_line(file)) 312 return rangelist_to_set(utils.read_one_line(file_name)) 451 nodes = utils.read_one_line(mems_path(parent)) 541 for arg in utils.read_one_line('/proc/cmdline').split():
|
/external/autotest/client/site_tests/graphics_Idle/ |
D | graphics_Idle.py | 204 enable = utils.read_one_line(enable_path) 211 lowest_freq = int(utils.read_one_line(freqs_path)) 224 clock = int(utils.read_one_line(clock_path))
|
/external/autotest/client/site_tests/platform_CompressedSwapPerf/ |
D | platform_CompressedSwapPerf.py | 77 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/site_tests/power_x86Settings/ |
D | power_x86Settings.py | 170 out = utils.read_one_line(link_policy_file) 202 out = utils.read_one_line(path) 300 out = utils.read_one_line(param_path)
|
/external/autotest/client/site_tests/hardware_StorageFio/ |
D | hardware_StorageFio.py | 55 vendor = utils.read_one_line(vendor_file).strip() 56 model = utils.read_one_line(model_file).strip()
|
/external/autotest/client/site_tests/platform_CompressedSwap/ |
D | platform_CompressedSwap.py | 58 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/ |
D | hardware_MultiReader.py | 16 removable = utils.read_one_line(path)
|
/external/autotest/client/cros/multimedia/ |
D | system_facade_native.py | 51 original_mode = utils.read_one_line(governor_path)
|
/external/autotest/client/site_tests/hardware_RealtekCardReader/ |
D | hardware_RealtekCardReader.py | 24 removable = utils.read_one_line(os.path.join(dev, "removable"))
|
/external/autotest/server/ |
D | crashcollect.py | 211 first_line_at_start = utils.read_one_line(messages_at_start) 212 first_line_now = utils.read_one_line(messages_raw)
|
/external/autotest/client/site_tests/hardware_LightSensor/ |
D | hardware_LightSensor.py | 61 val = utils.read_one_line(path)
|
/external/autotest/client/site_tests/hardware_DiskSize/ |
D | hardware_DiskSize.py | 36 return utils.read_one_line(path) == 'MMC'
|
/external/autotest/client/site_tests/platform_BootPerf/ |
D | platform_BootPerf.py | 223 khz = int(utils.read_one_line(self._CPU_FREQ_FILE)) 263 data = utils.read_one_line(self._FIRMWARE_TIME_FILE)
|
/external/autotest/client/common_lib/ |
D | base_utils_unittest.py | 68 self.assertEqual("abc", base_utils.read_one_line("filename")) 74 self.assertEqual("abc ", base_utils.read_one_line("filename")) 80 self.assertEqual("line 1", base_utils.read_one_line("filename")) 86 self.assertEqual("", base_utils.read_one_line("filename")) 93 base_utils.read_one_line("filename")) 100 base_utils.read_one_line("filename"))
|
/external/autotest/client/tests/libhugetlbfs/ |
D | libhugetlbfs.py | 20 nr_hugepages = utils.read_one_line('/proc/sys/vm/nr_hugepages')
|
/external/autotest/client/site_tests/platform_OSLimits/ |
D | platform_OSLimits.py | 51 value = (utils.read_one_line(path))
|
/external/autotest/client/site_tests/platform_MemCheck/ |
D | platform_MemCheck.py | 41 swapref = int(utils.read_one_line(self.swap_disksize_file)) / 1024
|
12