| /test/vts-testcase/kernel/api/proc/ |
| D | ProcFsFileTests.py | 47 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 map(lambda x: x.split(), contents.split('\n')[:-1])
|
| D | ProcVmallocInfoTest.py | 28 t.value = t.value.split('+') 51 t.value = t.value.split('=', 1)
|
| /test/framework/host_setup/ |
| D | fabfile.py | 82 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/ |
| D | command_release.py | 118 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]),
|
| D | command_device.py | 81 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(","))
|
| D | command_repack_test.py | 107 mock_os.path.split = os.path.split 143 mock_os.path.split = os.path.split
|
| D | command_build.py | 66 for target in targets.split(","): 89 "build_type"] = target.split("-") 108 build["build_type"]) = target.split("-")
|
| /test/vts/testcases/template/binary_test/ |
| D | binary_test.py | 98 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/ |
| D | KernelApiSysfsTest.py | 147 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/template/gtest_binary_test/ |
| D | gtest_binary_test.py | 113 for line in cmd_results[const.STDOUT][1].split('\n'): 118 test_name = line.split('#')[0].strip() 177 for line in stderr.split('\n'): 199 for line in stdout.split('\n'): 281 len(test_case.full_name.split(':')))
|
| /test/vts-testcase/hal/script/configure/ |
| D | test_case_creator.py | 111 [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/ |
| D | profiling_utils.py | 84 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/ |
| D | logger.py | 55 date, time = t.split(' ') 56 month, day = date.split('-') 57 h, m, s = time.split(':') 58 s, ms = s.split('.')
|
| /test/vts-testcase/kernel/ltp/ |
| D | test_case.py | 103 executables = (command.strip().split()[0] 104 for command in self._command.split('&&')) 109 return (pattern.sub('', executable.split('=')[1])
|
| /test/vts/harnesses/tradefed/src/com/android/tradefed/targetprep/ |
| D | VtsHalAdapterPreparer.java | 109 for (String line : out.split("\n")) { in setUp() 114 String interfaceInstance = line.split(HAL_INTERFACE_SEP, 2)[1]; in setUp() 118 String interfaceName = interfaceInstance.split(HAL_INSTANCE_SEP, 2)[0]; in setUp() 119 String instanceName = interfaceInstance.split(HAL_INSTANCE_SEP, 2)[1]; in setUp()
|
| /test/vts-testcase/performance/fmq_benchmark/ |
| D | FmqPerformanceTest.py | 117 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/ |
| D | usb_utils.py | 44 lines = sh_stdout.split() 54 device_serial = serial.split("=")[1].strip().strip("'")
|
| /test/vti/test_serving/gae/webapp/src/testing/ |
| D | unittest_base.py | 180 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/suite_harness/common/util/src/com/android/compatibility/common/util/ |
| D | BackupUtils.java | 183 String result = line.split(":")[1].trim(); in assertBackupNotAllowed() 207 String result = line.split(":")[1].trim().toLowerCase(); in assertBackupIsSuccessful() 276 return line.split(BACKUP_DUMPSYS_CURRENT_TOKEN_FIELD)[1].trim(); in getCurrentTokenOrFail() 395 for (String t : output.split("\n")) { in userHasBackupTransport()
|
| /test/suite_harness/common/host-side/util/src/com/android/compatibility/common/util/ |
| D | TestFilter.java | 46 String[] parts = filter.split(" "); in createFrom() 63 parts = filter.split(" ", index + 1); in createFrom()
|
| /test/vts-testcase/performance/binder_throughput_test/ |
| D | BinderThroughputBenchmark.py | 161 stdout_lines = results[const.STDOUT][1].split("\n") 178 stats_string = stdout_lines[index].split() 190 percentiles_string = stdout_lines[index].split()
|
| /test/vts/utils/python/cpu/ |
| D | cpu_frequency_scaling.py | 73 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/testcases/host/camera_its/ |
| D | CameraITSTest.py | 143 testname = re.split("/|\.", testpath)[-2] 202 … name_func=lambda path: "%s_%s" % (re.split("/|\.", path)[-3], re.split("/|\.", path)[-2]))
|
| /test/vts-testcase/performance/hwbinder_throughput_test/ |
| D | HwBinderThroughputBenchmark.py | 165 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/coverage/ |
| D | sancov_utils.py | 116 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()
|