Searched refs:read_one_line (Results 1 – 25 of 26) 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 | 77 result = int(utils.read_one_line(self._TRACE_ON_PATH).strip()) 99 result = int(utils.read_one_line(self._TRACE_ON_PATH).strip()) 169 result = utils.read_one_line(fname).strip() 194 results = utils.read_one_line("/proc/uptime")
|
D | service_stopper.py | 116 pl1 = int(utils.read_one_line(pl1_max_path))
|
/external/autotest/client/cros/storage_tests/ |
D | fio_test.py | 61 if utils.read_one_line(removable_file).strip() == '1' : 69 self.__description = utils.read_one_line(model_file).strip() 76 vendor = utils.read_one_line(vendor_file).strip() 77 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/ |
D | graphics_Idle.py | 279 governor = utils.read_one_line(governor_path) 288 enable = utils.read_one_line(enable_path) 297 min_freq = int(utils.read_one_line(freqs_path).split()[0]) 309 clock = int(utils.read_one_line(clock_path))
|
/external/autotest/client/cros/power/ |
D | power_status.py | 183 tname = utils.read_one_line(tname_path) 456 power_type = utils.read_one_line(type_path) 460 utils.read_one_line(scope_path) == 'Device'): 972 name = utils.read_one_line(os.path.join(state, 'name')) 973 latency = utils.read_one_line(os.path.join(state, 'latency')) 982 usecs = int(utils.read_one_line(os.path.join(state, 'time'))) 1064 package = utils.read_one_line(template % cpu) 1106 af = utils.read_one_line(fname).strip() 1181 cur_mhz = str(int(int(utils.read_one_line(fname).strip()) / 1e6)) 1441 if utils.read_one_line(cpufreq_driver) == 'intel_pstate': [all …]
|
D | power_suspend.py | 148 if not int(utils.read_one_line('/sys/power/pm_print_times')): 173 available_suspend_states = utils.read_one_line('/sys/power/state') 339 freq = 1000 * int(utils.read_one_line(
|
D | power_utils.py | 827 out = utils.read_one_line(control_file) 915 vid = utils.read_one_line(vid_path) 916 pid = utils.read_one_line(pid_path)
|
/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/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/server/ |
D | crashcollect.py | 368 first_line_at_start = utils.read_one_line(messages_at_start) 369 first_line_now = utils.read_one_line(messages_raw)
|
/external/autotest/client/site_tests/platform_MemCheck/ |
D | platform_MemCheck.py | 45 swapref = int(utils.read_one_line(self.swap_disksize_file)) / 1024
|
/external/autotest/client/cros/multimedia/ |
D | system_facade_native.py | 62 original_mode = utils.read_one_line(governor_path)
|
D | usb_facade_native.py | 307 read_product_name = utils.read_one_line(path)
|
/external/autotest/client/common_lib/ |
D | utils_unittest.py | 83 self.assertEqual("abc", utils.read_one_line("filename")) 89 self.assertEqual("abc ", utils.read_one_line("filename")) 95 self.assertEqual("line 1", utils.read_one_line("filename")) 101 self.assertEqual("", utils.read_one_line("filename")) 108 utils.read_one_line("filename")) 115 utils.read_one_line("filename"))
|
/external/autotest/client/common_lib/cros/ |
D | arc.py | 347 return utils.read_one_line(get_container_pid_path()) 355 return utils.read_one_line(_ADBD_PID_PATH)
|
/external/autotest/client/site_tests/platform_BootPerf/ |
D | platform_BootPerf.py | 235 data = utils.read_one_line(self._FIRMWARE_TIME_FILE)
|
/external/autotest/client/bin/ |
D | utils.py | 521 return utils.read_one_line(path) 531 out = utils.read_one_line('/proc/sys/kernel/%s' % key) 1949 device_id = utils.read_one_line(pci_path).lower()
|
D | base_sysinfo.py | 77 return utils.read_one_line(path)
|
/external/pcre/dist2/src/ |
D | pcre2grep.c | 1419 read_one_line(char *buffer, int length, FILE *f) in read_one_line() function 2488 read_one_line(buffer, length, (FILE *)handle) : in fill_buffer() 3145 int add = read_one_line(ptr, bufsize - (int)(ptr - main_buffer), in); in pcre2grep() 3739 while ((patlen = read_one_line(buffer, sizeof(buffer), f)) > 0) in read_pattern_file()
|
12