Home
last modified time | relevance | path

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

123

/test/vts/tests/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]))
DProcCmdlineTest.py26 return contents[:-1].split(' ')
DProcVmallocInfoTest.py28 t.value = t.value.split('+')
52 t.value = t.value.split('=', 1)
DProcVersionTest.py28 if parse_result[0] != 'Linux' or len(parse_result[1].split('.')) != 3:
DProcMemInfoTest.py79 lines = contents.split('\n')
DProcMapsTest.py58 lines = contents.split('\n')
/test/catbox/target_preparers/src/com/android/catbox/targetpreparer/
DLowPerformanceTargetPreparer.java130 final CommandResult result = device.executeFastbootCommand(command.split("\\s+")); in executeFastbootCommand()
151 for (String line : deviceInfoCmdResult.getStderr().split("\n")) { in getOemDeviceInfo()
154 String[] split = line.split(": "); in getOemDeviceInfo() local
155 if (split.length == 2) { in getOemDeviceInfo()
156 if (split[0].equals("(bootloader) Nr cpus")) { in getOemDeviceInfo()
157 nrCpus = split[1]; in getOemDeviceInfo()
159 if (split[0].equals("(bootloader) Mem Size")) { in getOemDeviceInfo()
160 mem = split[1].replaceAll("\\D", ""); in getOemDeviceInfo()
/test/app_compat/csuite/harness/src/test/java/com/android/csuite/core/
DModuleGeneratorTest.java121 generator1.split(); in tearDown_packageNamesProvided_deletesGeneratedModules()
132 generator.split(); in tearDown_moduleInfoNotProvided_doesNotThrowError()
151 generator.split(); in split_moduleInfoStreamProvided_streamIsClosed()
176 generator.split(); in split_moduleInfoProvidersSpecified_contentIsWritten()
192 assertThrows(IllegalArgumentException.class, () -> generator.split()); in split_emptyModuleNameProvided_throwsException()
213 assertThrows(IllegalArgumentException.class, () -> generator.split()); in split_duplicatedModuleNamesProvided_throwsException()
237 generator.split(); in split_moduleInfoProvidersSpecified_generateModulesForAll()
261 assertThrows(UncheckedIOException.class, () -> generator.split()); in split_streamThrowsException_throwsException()
275 assertThrows(UncheckedIOException.class, () -> generator.split()); in split_providerThrowsException_throwsException()
283 generator.split(); in split_noProviders_doesNotGenerate()
/test/vts-testcase/kernel/api/sysfs/src/com/android/tests/sysfs/
DKernelApiSysfsTest.java99 String[] cpuRanges = onlineCpus.split(","); in testPerCpuCpufreq()
138 String[] availFreqs = content.split(" "); in testPerCpuCpufreq()
150 for (String line : content.split("\\n")) { in testPerCpuCpufreq()
151 String[] values = line.split(" "); in testPerCpuCpufreq()
181 return output.split("\r?\n"); in findFiles()
253 HashSet<String> activeSources = new HashSet<>(Arrays.asList(results.split(" "))); in testWakeLock()
262 activeSources = new HashSet<>(Arrays.asList(results.split(" "))); in testWakeLock()
267 activeSources = new HashSet<>(Arrays.asList(results.split(" "))); in testWakeLock()
288 for (String state : content.split(" ")) { in testSysPowerState()
300 int[] res = Arrays.stream(m.group(1).split("\\.")).mapToInt(Integer::parseInt).toArray(); in getKernelVersion()
/test/vts/tests/fastboot_getvar/src/com/android/tests/
DFastbootGetvarUserspaceTest.java214 String[] fingerprintSegs = fingerprint.split("/"); in verifyFingerprint()
218 String[] devicePlatform = fingerprintSegs[2].split(":"); in verifyFingerprint()
224 String[] buildNumberVariant = fingerprintSegs[4].split(":"); in verifyFingerprint()
234 String[] segments = fingerprint.split("/"); in verifyFingerprintStructure()
237 String[] devicePlatform = segments[2].split(":"); in verifyFingerprintStructure()
241 String buildVariant = segments[4].split(":")[1]; in verifyFingerprintStructure()
/test/vts-testcase/kernel/ltp/testcase/tools/
Dltp_test_cases.py67 for item in line.split(ltp_enums.Delimiters.TESTCASE_DEFINITION)
122 ltp_binary = line.split('"')[1]
134 all_commands = commands.split(';')
137 binary_name = cmd.split(' ')[0]
294 testname = line.split()[0]
/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()
DPropertyUtil.java66 for (String tag : buildTags.split(",")) { in isDevKeysBuild()
158 for (String line : queryOutput.split("[\\r?\\n]+")) { in getClientIds()
DCpuFeatures.java100 … String[] kernelVersion = uname(device, UNAME_OPTION_KERNEL_RELEASE).split(Pattern.quote(".")); in kernelVersionLessThan()
DFeatureUtil.java72 for (String feature : output.split("[\\r?\\n]+")) { in getAllFeatures()
/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/vts-testcase/vndk/
Dutils.py115 return out.lower().split(",") if out else []
229 return out.split()
291 return out.split("\n") if out else []
/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-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/kernel/checkpoint/
Dvts_kernel_checkpoint_test.py61 parts = line.split()
67 flags = flags.split(',')
/test/app_compat/csuite/harness/src/main/java/com/android/csuite/core/
DAppCrawlTesterHostPreparer.java153 CommandResult res = runUtil.runTimedCmd(COMMAND_TIMEOUT_MILLIS, cmd.split(" ")); in setUp()
167 CommandResult chmodRes = runUtil.runTimedCmd(COMMAND_TIMEOUT_MILLIS, chmodCmd.split(" ")); in setUp()
DFileBasedTemplateMappingProvider.java63 String[] pair = line.split(MODULE_TEMPLATE_SEPARATOR); in get()
/test/suite_harness/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/result/suite/
DInteractiveResultReporter.java220 String[] splitModuleAbis = moduleNameWithAbi.split("__"); in addModuleTagAttributes()
293 String[] screenshotDetails = screenshotFileName.split("__"); in getScreenshotTagData()
296 String[] testDetails = screenshotDetails[0].split("#"); in getScreenshotTagData()
/test/app_compat/csuite/test_scripts/src/main/java/com/android/art/tests/
DAppLaunchImgdiagTest.java43 getDevice().executeShellCommand("pidof " + mPackageName).strip().split(" "); in tearDown()
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/targetprep/
DBusinessLogicPreparerTest.java334 String[] params = mPreparer.buildRequestParams(mMockDevice, mMockBuildInfo).split("&"); in testBuildRequestString()
338 String keyVal[] = param.split("="); in testBuildRequestString()
348 String property[] = keyVal[1].split("%3A"); in testBuildRequestString()

123