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/hardware_StorageFio/ |
D | hardware_StorageFio.py | 56 self.__description = utils.read_one_line(model_file).strip() 63 vendor = utils.read_one_line(vendor_file).strip() 64 model = utils.read_one_line(model_file).strip()
|
/external/autotest/client/site_tests/detachablebase_TriggerHammerd/ |
D | detachablebase_TriggerHammerd.py | 71 sysfspath = utils.read_one_line(self.WRITE_SYSFS_PATH) 77 power = utils.read_one_line(sysfspath + '/' +
|
/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/graphics_Idle_P/ |
D | graphics_Idle_P.py | 267 governor = utils.read_one_line(governor_path) 276 enable = utils.read_one_line(enable_path) 285 min_freq = int(utils.read_one_line(freqs_path).split()[0]) 297 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/graphics_Idle/ |
D | graphics_Idle.py | 267 governor = utils.read_one_line(governor_path) 276 enable = utils.read_one_line(enable_path) 285 min_freq = int(utils.read_one_line(freqs_path).split()[0]) 297 clock = int(utils.read_one_line(clock_path))
|
/external/autotest/client/cros/power/ |
D | power_status.py | 176 tname = utils.read_one_line(tname_path) 437 power_type = utils.read_one_line(type_path) 441 utils.read_one_line(scope_path) == 'Device'): 855 name = utils.read_one_line(os.path.join(state, 'name')) 856 latency = utils.read_one_line(os.path.join(state, 'latency')) 865 usecs = int(utils.read_one_line(os.path.join(state, 'time'))) 943 package = utils.read_one_line(template % cpu) 983 af = utils.read_one_line(fname).strip() 1058 cur_mhz = str(int(int(utils.read_one_line(fname).strip()) / 1e6)) 1985 return int(utils.read_one_line(self._path)) / 1000. [all …]
|
D | power_suspend.py | 141 if not int(utils.read_one_line('/sys/power/pm_print_times')): 166 available_suspend_states = utils.read_one_line('/sys/power/state') 297 freq = 1000 * int(utils.read_one_line(
|
D | power_utils.py | 818 out = utils.read_one_line(control_file) 904 vid = utils.read_one_line(vid_path) 905 pid = utils.read_one_line(pid_path)
|
/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/hardware_LightSensor/ |
D | hardware_LightSensor.py | 61 val = utils.read_one_line(path)
|
/external/autotest/client/site_tests/platform_PartitionCheck/ |
D | platform_PartitionCheck.py | 33 part_blocks = int(utils.read_one_line(part_file))
|
/external/autotest/client/site_tests/platform_BootPerf/ |
D | platform_BootPerf.py | 225 khz = int(utils.read_one_line(self._CPU_FREQ_FILE)) 265 data = utils.read_one_line(self._FIRMWARE_TIME_FILE)
|
/external/autotest/client/site_tests/hardware_DiskSize/ |
D | hardware_DiskSize.py | 36 return utils.read_one_line(path) == 'MMC'
|
/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/tests/libhugetlbfs/ |
D | libhugetlbfs.py | 20 nr_hugepages = utils.read_one_line('/proc/sys/vm/nr_hugepages')
|
/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/common_lib/cros/ |
D | arc.py | 322 return utils.read_one_line(get_container_pid_path()) 330 return utils.read_one_line(_ADBD_PID_PATH) 335 return utils.read_one_line(_SDCARD_PID_PATH)
|
/external/autotest/client/common_lib/ |
D | utils_unittest.py | 78 self.assertEqual("abc", utils.read_one_line("filename")) 84 self.assertEqual("abc ", utils.read_one_line("filename")) 90 self.assertEqual("line 1", utils.read_one_line("filename")) 96 self.assertEqual("", utils.read_one_line("filename")) 103 utils.read_one_line("filename")) 110 utils.read_one_line("filename"))
|
/external/autotest/client/site_tests/platform_MemCheck/ |
D | platform_MemCheck.py | 42 swapref = int(utils.read_one_line(self.swap_disksize_file)) / 1024
|
12