Home
last modified time | relevance | path

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

123456

/cts/libs/vogar-expect/src/vogar/
DOutcome.java95 return Arrays.asList(output.split("\n")); in getOutputLines()
102 return Arrays.asList(writer.toString().split("\\n")); in throwableToLines()
110 int split = split(outcomeName); in getSuiteName() local
111 return split == -1 ? "defaultpackage" : outcomeName.substring(0, split); in getSuiteName()
118 int split = split(outcomeName); in getTestName() local
119 return split == -1 ? outcomeName : outcomeName.substring(split + 1); in getTestName()
122 private static int split(String name) { in split() method in Outcome
DExpectationStore.java188 …Iterable<String> split = Splitter.on("\n").omitEmptyStrings().trimResults().split(reader.nextStrin… in readExpectation() local
189 description = Joiner.on("\n").join(split); in readExpectation()
/cts/hostsidetests/theme/
Dandroid_device.py34 adbProcess = subprocess.Popen(adbCmd.split(" "), bufsize = -1, stdout = subprocess.PIPE)
61 result = out.split()
66 result = out.split()
74 names = out.split()
90 return int(self.runShellCommand("dumpsys | grep SurfaceOrientation")[0].split()[1])
94 devices = devices.split('\n')[1:]
100 info = device.split('\t')
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DMyVpnService.java57 String[] addressArray = addresses.split(","); in start()
59 String[] prefixAndMask = addressArray[i].split("/"); in start()
73 String[] routeArray = routes.split(","); in start()
75 String[] prefixAndMask = routeArray[i].split("/"); in start()
89 String[] packageArray = allowed.split(","); in start()
104 String[] packageArray = disallowed.split(","); in start()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DBaseDevicePolicyTest.java135 String[] lines = commandOutput.split("\\r?\\n"); in listUsers()
143 String[] tokens = lines[i].split("\\{|\\}|:"); in listUsers()
271 for (String feature: commandOutput.split("\\s+")) { in hasDeviceFeature()
273 String[] tokens = feature.split(":"); in hasDeviceFeature()
295 String[] tokens = commandOutput.split("\\s+"); in createUser()
309 String[] tokens = commandOutput.split("\\s+"); in createManagedProfile()
319 String[] tokens = commandOutput.split("\\n"); in getUserSerialNumber()
323 String[] split = token.split("serialNo="); in getUserSerialNumber() local
324 assertTrue(split.length == 2); in getUserSerialNumber()
325 int serialNumber = Integer.parseInt(split[1]); in getUserSerialNumber()
/cts/tests/tests/os/src/android/os/cts/
DBuildVersionTest.java63 final String[] fingerprintSegs = fingerprint.split("/"); in testBuildFingerprint()
68 String[] devicePlatform = fingerprintSegs[2].split(":"); in testBuildFingerprint()
76 String[] buildNumberVariant = fingerprintSegs[4].split(":"); in testBuildFingerprint()
/cts/apps/CameraITS/pymodules/its/
Ddevice.py109 proc = subprocess.Popen(command.split(), stdout=subprocess.PIPE)
114 for line in output.split(os.linesep):
117 forward_info = line.split()
139 proc = subprocess.Popen(command.split(),
185 self.adb.split() + ["logcat"],
421 vals = data['strValue'].split()
688 proc = subprocess.Popen(command.split(), stdout=subprocess.PIPE)
690 for line in output.split(os.linesep):
691 device_info = line.split()
741 cmd.split(), stdout=devnull, stderr=subprocess.STDOUT)
/cts/hostsidetests/appsecurity/src/com/android/cts/appsecurity/
DAdoptableHostTest.java291 return disks.split("\n")[0].trim(); in getAdoptionDisk()
298 lines = getDevice().executeShellCommand("sm list-volumes private").split("\n"); in getAdoptionVolume()
338 final String[] split = line.split(" "); in LocalVolumeInfo() local
339 volId = split[0]; in LocalVolumeInfo()
340 state = split[1]; in LocalVolumeInfo()
341 uuid = split[2]; in LocalVolumeInfo()
/cts/suite/cts/deviceTests/browserbench/assets/octane/
Dregexp.js282 s52[i].split(re20);
444 s74[i].split(re32);
445 s75[i].split(re32);
461 str15.split(re32);
462 str16.split(re32);
549 s79[i].split(re32);
550 s80[i].split(re32);
1333 ''.split(re86);
1369 'ErdhrfgSvavfu'.split(re70);
1370 'ErdhrfgSvavfu.NWNK.Cuk'.split(re70);
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/wavelib/
DVectorAverage.java106 String[] lines = string.split(System.getProperty("line.separator")); in initFromString()
116 String[] separated = lines[nIndex].split("="); in initFromString()
128 String[] separated = lines[nIndex].split("="); in initFromString()
/cts/libs/commonutil/src/com/android/cts/util/
DAbiUtils.java156 return id.split(" "); in parseId()
189 String[] descSegments = unsupportedAbiDescription.split(":"); in parseAbiList()
191 for (String abi : descSegments[1].split(",")) { in parseAbiList()
/cts/hostsidetests/dumpsys/src/android/dumpsys/cts/
DDumpsysHostTest.java78 String[] parts = line.split(","); in testProcstatsOutput()
156 String[] subparts = parts[i].split(":"); in checkPkgProc()
203 String[] subparts = parts[i].split(":"); in checkPkgPss()
237 String[] subparts = parts[i].split(":"); in checkPkgSvc()
268 String[] subparts = pssStr.split(":"); in checkPkgKills()
281 String[] subparts = parts[i].split(":"); in checkProc()
294 String[] subparts = parts[i].split(":"); in checkPss()
316 String[] subparts = pssStr.split(":"); in checkKills()
326 String[] subparts = parts[i].split(":"); in checkTotal()
363 String[] parts = line.split(",", -1); in testBatterystatsOutput()
[all …]
/cts/common/host-side/xml-plan-generator/src/com/android/compatibility/common/xmlgenerator/
DTestListParser.java48 final String[] parts = line.split(":"); in parse()
58 final String[] names = value.split("\\."); in parse()
/cts/suite/audio_quality/test/
DStringUtilTest.cpp56 std::vector<android::String8>* tokens = StringUtil::split(str, ':'); in TEST_F()
66 std::vector<android::String8>* tokens2 = StringUtil::split(str2, ':'); in TEST_F()
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/
DTestPlan.java97 String[] testStrings = excludedString.split(TEST_DELIM); in parseTestList()
99 String[] classMethodPair = testString.split(METHOD_DELIM); in parseTestList()
109 String[] testStrings = includedString.split(TEST_DELIM); in parseTestList()
111 String[] classMethodPair = testString.split(METHOD_DELIM); in parseTestList()
/cts/tools/utils/
Dandroid_api_description_splitter.py93 def split(self, tag): member in XMLSplitter
153 xmlsplitter.split(sys.argv[3])
/cts/tools/cts-xml-generator/src/com/android/cts/xmlgenerator/
DTestListParser.java43 String[] tokens = line.split(":"); in parse()
71 String[] suites = fullSuite.split("\\."); in handleSuite()
/cts/suite/audio_quality/lib/include/
DStringUtil.h32 static std::vector<android::String8>* split(const android::String8& str, char delimiter);
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/
DTest.java260 String[] elems = summary.split(LOG_ELEM_SEPARATOR); in parseSummary()
275 String[] arrays = details.split(LOG_SEPARATOR); in parseDetails()
278 String[] elems = arrays[i].split(LOG_ELEM_SEPARATOR); in parseDetails()
288 r.mValues = elems[4].split(" "); in parseDetails()
/cts/apps/CameraITS/tests/inprog/
Dtest_test_patterns.py23 NAME = os.path.basename(__file__).split(".")[0]
Dtest_param_edge_mode.py26 NAME = os.path.basename(__file__).split(".")[0]
/cts/tests/tests/security/src/android/security/cts/
DListeningPortsTest.java330 String[] fields = line.split("\\s+"); in parse()
337 InetAddress localIp = addrToInet(fields[1].split(":")[0]); in parse()
338 int localPort = Integer.parseInt(fields[1].split(":")[1], 16); in parse()
/cts/suite/audio_quality/lib/src/task/
DTaskSave.cpp54 UniquePtr<std::vector<android::String8> > list(StringUtil::split(fileValue, ',')); in handleFile()
107 UniquePtr<std::vector<android::String8> > list(StringUtil::split(reportValue, ',')); in handleReport()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DVersion.java39 return getPackageInfo(context).versionName.split(" "); in getVersionNameStrings()
/cts/tools/signature-tools/src/signature/model/impl/
DSigPackage.java43 return Arrays.asList(name.split("\\.")); in getPackageFragments()

123456