Home
last modified time | relevance | path

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

1234

/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/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/app_compat/csuite/harness/src/test/java/com/android/csuite/config/
DModuleGeneratorTest.java76 generator1.split(); in tearDown_packageNamesProvided_deletesGeneratedModules()
92 generator.split(); in tearDown_packageNamesNotProvided_doesNotThrowError()
101 assertThrows(IllegalArgumentException.class, () -> generator.split()); in split_packageNameIsEmptyString_throwsError()
109 assertThrows(IllegalArgumentException.class, () -> generator.split()); in split_packageNameContainsPlaceholder_throwsError()
124 generator.split(); in split_multiplePackageNameProviders_generateModulesForAll()
144 assertThrows(UncheckedIOException.class, () -> generator.split()); in split_packageNameProviderThrowsException_throwsException()
152 generator.split(); in split_packageNamesNotProvided_doesNotGenerate()
170 generator.split(); in split_templateContainsPlaceholders_replacesPlaceholdersInOutput()
190 generator.split(); in split_templateDoesNotContainPlaceholder_outputsTemplateContent()
208 generator.split(); in split_templateContentIsEmpty_outputsTemplateContent()
/test/vts-testcase/kernel/api/sysfs/src/com/android/tests/sysfs/
DKernelApiSysfsTest.java97 String[] cpuRanges = presentCpus.split(","); in testPerCpuCpufreq()
136 String[] availFreqs = content.split(" "); in testPerCpuCpufreq()
148 for (String line : content.split("\\n")) { in testPerCpuCpufreq()
149 String[] values = line.split(" "); in testPerCpuCpufreq()
179 return output.split("\r?\n"); in findFiles()
225 HashSet<String> activeSources = new HashSet<>(Arrays.asList(results.split(" "))); in testWakeLock()
234 activeSources = new HashSet<>(Arrays.asList(results.split(" "))); in testWakeLock()
239 activeSources = new HashSet<>(Arrays.asList(results.split(" "))); in testWakeLock()
260 for (String state : content.split(" ")) { in testSysPowerState()
/test/vts/testcases/host/fastboot_getvar/src/com/android/tests/
DFastbootGetvarUserspaceTest.java213 String[] fingerprintSegs = fingerprint.split("/"); in verifyFingerprint()
217 String[] devicePlatform = fingerprintSegs[2].split(":"); in verifyFingerprint()
223 String[] buildNumberVariant = fingerprintSegs[4].split(":"); in verifyFingerprint()
233 String[] segments = fingerprint.split("/"); in verifyFingerprintStructure()
236 String[] devicePlatform = segments[2].split(":"); in verifyFingerprintStructure()
240 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/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/runners/host/
Dlogger.py55 date, time = t.split(' ')
56 month, day = date.split('-')
57 h, m, s = time.split(':')
58 s, ms = s.split('.')
Dconfig_parser.py161 tokens = item.split(':')
175 for elem in test_case_names.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-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/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-testcase/performance/hwbinder_throughput_test/
DHwBinderThroughputBenchmark.py165 stdout_lines = results[const.STDOUT][1].split("\n")
182 stats_string = stdout_lines[index].split()
194 percentiles_string = stdout_lines[index].split()
/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()]
/test/vts/utils/python/coverage/
Dsancov_utils.py116 for pid in map(lambda entry: entry.split()[-1], entries)
176 entry_parts = entry.split()
251 parts = os.path.normpath(str(project_name)).split(
343 c = tmp.read().split()
/test/vts/utils/python/common/
Dvts_spec_utils.py37 [hal_name, hal_version] = hal_package[len(prefix):].split('@')
122 package = package.split('::')[0]
/test/vts/utils/python/controllers/
Dandroid_device.py166 clean_lines = str(device_list_str, 'utf-8').strip().split('\n')
169 tokens = line.strip().split('\t')
503 lines = out.decode("utf-8").split('\n', 1)
505 tokens = lines[0].split(' ')
630 return out.lower().split(",") if out else []
647 value_unit = out.split(':')[-1].strip().split(' ')
1374 pid = int(out.split()[1])
Dadb.py100 clean_lines = str(out, 'utf-8').strip().split('\n')
103 tokens = line.split(" tcp:")
/test/vts/testcases/template/hal_hidl_replay_test/
Dhal_hidl_replay_test.py140 for line in stdout.split('\n'):
147 for line in stderr.split('\n'):
207 for line in results[const.STDOUT][0].split('\n'):
/test/vts/testcases/template/hal_hidl_host_test/
Dhal_hidl_host_test.py109 names = map(lambda instance: instance.split("/")[1], param)
126 service, name = instance.split("/")
/test/vts-testcase/kernel/checkpoint/
Dvts_kernel_checkpoint_test.py61 parts = line.split()
67 flags = flags.split(',')
/test/vts-testcase/security/poc/host/
DSecurityPoCKernelTest.py90 testcase_path = os.path.join(*testcase.split("/"))
141 items = testcase.split("/", 1)

1234