Home
last modified time | relevance | path

Searched refs:split (Results 1 – 25 of 176) sorted by relevance

12345678

/test/vts/testcases/host/kernel_proc_file_api_test/proc_tests/
DProcFsFileTests.py47 for line in contents.split('\n')[:-1]:
48 parsed = line.split(' ')
49 parsed[3] = parsed[3].split(',')
81 for line in contents.split('\n')[:-1]:
82 parsed = line.split('\t')
106 return list(map(lambda x: x.split(), contents.split('\n')[:-1]))
DProcVmallocInfoTest.py28 t.value = t.value.split('+')
52 t.value = t.value.split('=', 1)
/test/vts-testcase/kernel/api/proc/
DProcFsFileTests.py48 for line in contents.split('\n')[:-1]:
49 parsed = line.split(' ')
50 parsed[3] = parsed[3].split(',')
82 for line in contents.split('\n')[:-1]:
83 parsed = line.split('\t')
107 return map(lambda x: x.split(), contents.split('\n')[:-1])
/test/framework/host_setup/
Dfabfile.py82 for line in gce_list_out.split("\n")[1:]:
84 env.hosts.append("%s@%s" % (account, line.strip().split()[-2]))
190 former_HC_package_adbkey_path).split()
197 % vtslab_package_file_name).split()
295 "gs://vtslab-release/"):].split("/")[0] + ".appspot.com"
298 lines = screen_list_result.split("\n")
301 screen_name = line.split("\t")[1]
380 lines = screen_list_result.split("\n")
383 screen_name = line.split("\t")[1]
/test/framework/harnesses/host_controller/command_processor/
Dcommand_release.py118 elif len(args.schedule_for.split(":")) != 2:
122 if (int(args.schedule_for.split(":")[0]) not in range(24)
123 or int(args.schedule_for.split(":")[-1]) not in range(60)):
130 hour=int(args.schedule_for.split(":")[0]),
131 minute=int(args.schedule_for.split(":")[-1]),
214 split_list = os.path.basename(package_file_path).split(".")
217 timestamp, hash = self._vtslab_package_version.split(":")
250 hour=int(schedule_for.split(":")[0]),
251 minute=int(schedule_for.split(":")[-1]),
Dcommand_device.py81 lines_adb = stdout.split("\n")
84 lines_fastboot = stdout.split("\n")
90 device["serial"] = line.split()[0]
95 and line.split()[1] == "device"):
126 device["serial"] = line.split()[0]
156 device["product"] = res.split(":")[1].strip()
159 device["product"] = res.split(":")[1].strip()
309 self.console.SetSerials(args.set_serial.split(","))
Dcommand_repack_test.py107 mock_os.path.split = os.path.split
143 mock_os.path.split = os.path.split
/test/vts/testcases/template/binary_test/
Dbinary_test.py98 tag, path = token.split(self.TAG_DELIMITER)
107 split = token.find(self.TAG_DELIMITER)
108 if split >= 0:
109 tag, path = token[:split], token[
110 split + len(self.TAG_DELIMITER):]
122 split = token.find(self.TAG_DELIMITER)
123 if split >= 0:
124 tag, arg = token[:split], token[
125 split + len(self.TAG_DELIMITER):]
142 tag, path = token.split(self.TAG_DELIMITER)
[all …]
/test/vts-testcase/kernel/api/sysfs/src/com/android/tests/sysfs/
DKernelApiSysfsTest.java93 String[] cpuRanges = presentCpus.split(","); in testPerCpuCpufreq()
132 String[] availFreqs = content.split(" "); in testPerCpuCpufreq()
144 for (String line : content.split("\\n")) { in testPerCpuCpufreq()
145 String[] values = line.split(" "); in testPerCpuCpufreq()
175 return output.split("\r?\n"); in findFiles()
220 HashSet<String> activeSources = new HashSet<>(Arrays.asList(results.split(" "))); in testWakeLock()
229 activeSources = new HashSet<>(Arrays.asList(results.split(" "))); in testWakeLock()
234 activeSources = new HashSet<>(Arrays.asList(results.split(" "))); in testWakeLock()
255 for (String state : content.split(" ")) { in testSysPowerState()
/test/vts-testcase/kernel/api/sysfs/
DKernelApiSysfsTest.py147 cpu_ranges = present_cpus.split(',')
185 avail_freqs = content.split(' ')
194 values = line.split()
249 active_sources = results[const.STDOUT][0].split()
258 active_sources = results[const.STDOUT][0].split()
262 inactive_sources = results[const.STDOUT][0].split()
276 for state in content.split():
/test/vts/testcases/host/fastboot_getvar/src/com/android/tests/
DFastbootGetvarUserspaceTest.java193 String[] fingerprintSegs = fingerprint.split("/"); in verifyFingerprint()
197 String[] devicePlatform = fingerprintSegs[2].split(":"); in verifyFingerprint()
212 String[] buildNumberVariant = fingerprintSegs[4].split(":"); in verifyFingerprint()
222 String[] segments = fingerprint.split("/"); in verifyFingerprintStructure()
225 String[] devicePlatform = segments[2].split(":"); in verifyFingerprintStructure()
229 String buildVariant = segments[4].split(":")[1]; in verifyFingerprintStructure()
/test/vts-testcase/kernel/ltp/testcase/tools/
Dltp_test_cases.py66 for item in line.split(ltp_enums.Delimiters.TESTCASE_DEFINITION)
127 ltp_binary = line.split('"')[1]
139 all_commands = commands.split(';')
142 binary_name = cmd.split(' ')[0]
295 testname = line.split()[0]
/test/vts/testcases/template/gtest_binary_test/
Dgtest_binary_test.py115 for line in cmd_results[const.STDOUT][1].split('\n'):
120 test_name = line.split('#')[0].strip()
180 for line in stderr.split('\n'):
202 for line in stdout.split('\n'):
293 len(test_case.full_name.split(':')))
/test/vts-testcase/kernel/ltp/
Dtest_case.py103 executables = (command.strip().split()[0]
104 for command in self._command.split('&&'))
109 return (pattern.sub('', executable.split('=')[1])
/test/vts/runners/host/
Dlogger.py55 date, time = t.split(' ')
56 month, day = date.split('-')
57 h, m, s = time.split(':')
58 s, ms = s.split('.')
/test/vts/harnesses/tradefed/src/com/android/tradefed/targetprep/
DVtsHalAdapterPreparer.java105 for (String line : out.split("\n")) { in setUp()
110 String interfaceInstance = line.split(HAL_INTERFACE_SEP, 2)[1]; in setUp()
114 String interfaceName = interfaceInstance.split(HAL_INSTANCE_SEP, 2)[0]; in setUp()
115 String instanceName = interfaceInstance.split(HAL_INSTANCE_SEP, 2)[1]; in setUp()
/test/vts-testcase/hal/script/configure/
Dtest_case_creator.py111 [package, version] = self._hal_package_name.split('@')
174 sub_names = self._hal_name.split('.')
274 (major_version, minor_version) = self._hal_version.split('.')
315 cts_tests = line.split(':')[1].split(',')
360 imported_package_str, imported_package_version = imported_package.split(
/test/vts/utils/python/profiling/
Dprofiling_utils.py84 self.version_major, self.version_minor = version.split(".")
160 stdout_lines = results[const.STDOUT][0].split("\n")
265 stdout_lines = results[const.STDOUT][1].split("\n")
271 _, mode = line.split(":")
283 package, interface_name = full_interface.split("::")
284 package_name, version = package.split("@")
/test/vts-testcase/performance/fmq_benchmark/
DFmqPerformanceTest.py117 stdout_lines = results[const.STDOUT][1].split("\n")
122 (label, value) = read_result.split(": ")
129 (label, value) = write_result.split(": ")
/test/framework/harnesses/host_controller/utils/usb/
Dusb_utils.py44 lines = sh_stdout.split()
54 device_serial = serial.split("=")[1].strip().strip("'")
/test/suite_harness/common/host-side/util/src/com/android/compatibility/common/util/
DTestFilter.java46 String[] parts = filter.split(" "); in createFrom()
63 parts = filter.split(" ", index + 1); in createFrom()
/test/vti/test_serving/gae/webapp/src/testing/
Dunittest_base.py180 device_product, device_target = device_target.split("-")
270 schedule.build_target.split("-"))
274 schedule.gsi_build_target.split("-"))
278 schedule.test_build_target.split("-"))
/test/vts-testcase/performance/binder_throughput_test/
DBinderThroughputBenchmark.py161 stdout_lines = results[const.STDOUT][1].split("\n")
178 stats_string = stdout_lines[index].split()
190 percentiles_string = stdout_lines[index].split()
/test/vts/testcases/host/camera_its/
DCameraITSTest.py143 testname = re.split("/|\.", testpath)[-2]
202 … name_func=lambda path: "%s_%s" % (re.split("/|\.", path)[-3], re.split("/|\.", path)[-2]))
/test/vts/utils/python/cpu/
Dcpu_frequency_scaling.py73 stdout_lines = results[const.STDOUT][0].split("\n")
74 stdout_split = stdout_lines[0].split('-')
110 freq = [int(x) for x in results[const.STDOUT][0].split()]

12345678