Searched refs:read_one_line (Results 1 – 25 of 29) 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/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")
|
/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/site_tests/platform_PartitionCheck/ |
D | platform_PartitionCheck.py | 35 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/ |
D | graphics_Idle.py | 247 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/ |
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/cros/power/ |
D | power_status.py | 150 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 …]
|
D | power_utils.py | 752 out = utils.read_one_line(control_file) 838 vid = utils.read_one_line(vid_path) 839 pid = utils.read_one_line(pid_path)
|
D | power_suspend.py | 134 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/ |
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/site_tests/hardware_RealtekCardReader/ |
D | hardware_RealtekCardReader.py | 24 removable = utils.read_one_line(os.path.join(dev, "removable"))
|
/external/autotest/client/site_tests/platform_BootPerf/ |
D | platform_BootPerf.py | 224 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/ |
D | hardware_LightSensor.py | 61 val = utils.read_one_line(path)
|
/external/autotest/client/cros/multimedia/ |
D | system_facade_native.py | 52 original_mode = utils.read_one_line(governor_path)
|
D | usb_facade_native.py | 324 read_product_name = 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/tests/libhugetlbfs/ |
D | libhugetlbfs.py | 20 nr_hugepages = utils.read_one_line('/proc/sys/vm/nr_hugepages')
|
/external/autotest/client/common_lib/ |
D | utils_unittest.py | 72 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/ |
D | crashcollect.py | 366 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/ |
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
|
/external/autotest/client/common_lib/cros/ |
D | arc.py | 249 return utils.read_one_line(get_container_pid_path()) 254 return utils.read_one_line(_SDCARD_PID_PATH)
|
12