Home
last modified time | relevance | path

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

1234567

/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
/cts/hostsidetests/theme/
Dandroid_device.py34 …adbProcess = subprocess.Popen(adbCmd.split(" "), bufsize = -1, stdout = subprocess.PIPE, stderr = …
61 result = err.split()
66 result = err.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/services/windowmanager/src/android/wm/cts/
DCrossAppDragAndDropTests.java180 for (String line : logs.split("\\n")) { in waitForResume()
211 for (String line : output.split("\\n")) { in findTaskInfo()
221 final String[] sections = taskInfo.split("\\["); in getWindowBounds()
236 for (String word : taskInfo.split("\\s+")) { in getActivityTaskId()
238 final String withColon = word.split("=")[1]; in getActivityTaskId()
255 final String[] parts = string.split("[,|\\]]"); in parsePoint()
273 for (String line : logs.split("\\n")) { in getLogResults()
275 String payload = line.split(":")[1].trim(); in getLogResults()
276 final String[] split = payload.split("="); in getLogResults() local
277 if (split.length > 1) { in getLogResults()
[all …]
/cts/hostsidetests/net/app/src/com/android/cts/net/hostside/
DMyVpnService.java56 String[] addressArray = addresses.split(","); in start()
58 String[] prefixAndMask = addressArray[i].split("/"); in start()
72 String[] routeArray = routes.split(","); in start()
74 String[] prefixAndMask = routeArray[i].split("/"); in start()
88 String[] packageArray = allowed.split(","); in start()
103 String[] packageArray = disallowed.split(","); in start()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DBaseDevicePolicyTest.java162 String[] lines = commandOutput.split("\\r?\\n"); in getUserFlags()
167 String[] tokens = lines[i].split("\\{|\\}|:"); in getUserFlags()
301 for (String feature: commandOutput.split("\\s+")) { in hasDeviceFeature()
303 String[] tokens = feature.split(":"); in hasDeviceFeature()
336 String[] tokens = commandOutput.split("\\s+"); in createUser()
350 String[] tokens = commandOutput.split("\\s+"); in createManagedProfile()
365 String[] tokens = commandOutput.split("\\n"); in getUserSerialNumber()
369 String[] split = token.split("serialNo="); in getUserSerialNumber() local
370 assertTrue(split.length == 2); in getUserSerialNumber()
371 int serialNumber = Integer.parseInt(split[1]); in getUserSerialNumber()
[all …]
DEphemeralUserTest.java122 String[] outputLines = commandOutput.split("\n"); in getGuestUsersEphemeral()
124 String[] lineParts = line.split(":"); in getGuestUsersEphemeral()
/cts/hostsidetests/services/activitymanager/src/android/server/cts/
DActivityManagerTestBase.java187 for (String line : output.split("\\n")) { in printStacksAndTasks()
197 for (String line : output.split("\\n")) { in getActivityTaskId()
200 for (String word : line.split("\\s+")) { in getActivityTaskId()
202 final String withColon = word.split("=")[1]; in getActivityTaskId()
228 for (String feature: output.split("\\s+")) { in hasDeviceFeature()
230 String[] tokens = feature.split(":"); in hasDeviceFeature()
248 for (String line : outputReceiver.getOutput().split("\\n")) { in isDisplayOn()
365 .split("\\n"); in getDeviceLogsForActivity()
/cts/tests/tests/os/src/android/os/cts/
DBuildVersionTest.java66 final String[] fingerprintSegs = fingerprint.split("/"); in testBuildFingerprint()
71 String[] devicePlatform = fingerprintSegs[2].split(":"); in testBuildFingerprint()
79 String[] buildNumberVariant = fingerprintSegs[4].split(":"); in testBuildFingerprint()
/cts/hostsidetests/numberblocking/src/com/android/cts/numberblocking/hostside/
DNumberBlockingTest.java210 String[] tokens = commandOutput.split("\\n"); in getUserSerialNumber()
214 String[] split = token.split("serialNo="); in getUserSerialNumber() local
215 assertTrue(split.length == 2); in getUserSerialNumber()
216 int serialNumber = Integer.parseInt(split[1]); in getUserSerialNumber()
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DAdoptableHostTest.java301 return disks.split("\n")[0].trim(); in getAdoptionDisk()
308 lines = getDevice().executeShellCommand("sm list-volumes private").split("\n"); in getAdoptionVolume()
348 final String[] split = line.split(" "); in LocalVolumeInfo() local
349 volId = split[0]; in LocalVolumeInfo()
350 state = split[1]; in LocalVolumeInfo()
351 uuid = split[2]; in LocalVolumeInfo()
/cts/apps/CameraITS/pymodules/its/
Ddevice.py117 proc = subprocess.Popen(command.split(), stdout=subprocess.PIPE)
122 for line in output.split(os.linesep):
125 forward_info = line.split()
147 proc = subprocess.Popen(command.split(),
198 self.adb.split() + ["logcat"],
438 vals = data['strValue'].split()
765 proc = subprocess.Popen(command.split(), stdout=subprocess.PIPE)
767 for line in output.split(os.linesep):
768 device_info = line.split()
818 cmd.split(), stdout=devnull, stderr=subprocess.STDOUT)
/cts/common/util/src/com/android/compatibility/common/util/
DAbiUtils.java156 return id.split(" "); in parseId()
189 String[] descSegments = unsupportedAbiDescription.split(":"); in parseAbiList()
191 for (String abi : descSegments[1].split(",")) { in parseAbiList()
DTestFilter.java44 String[] parts = filter.split(" "); in createFrom()
61 parts = filter.split(" ", index + 1); in createFrom()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/wavelib/
DVectorAverage.java152 String[] lines = string.split(System.getProperty("line.separator")); in initFromString()
162 String[] separated = lines[nIndex].split("="); in initFromString()
174 String[] separated = lines[nIndex].split("="); in initFromString()
/cts/hostsidetests/tv/src/com/android/cts/tv/
DTvInputManagerHostTest.java118 testString = line.split(":")[1].trim(); in testInputUpdated()
140 for (String feature: commandOutput.split("\\s+")) { in hasDeviceFeature()
142 String[] tokens = feature.split(":"); in hasDeviceFeature()
/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/utils/
Dandroid_api_description_splitter.py93 def split(self, tag): member in XMLSplitter
153 xmlsplitter.split(sys.argv[3])
/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/hostsidetests/dumpsys/src/android/dumpsys/cts/
DDumpsysHostTest.java79 String[] parts = line.split(","); in testProcstatsOutput()
161 String[] subparts = parts[i].split(":"); in checkPkgProc()
208 String[] subparts = parts[i].split(":"); in checkPkgPss()
242 String[] subparts = parts[i].split(":"); in checkPkgSvc()
273 String[] subparts = pssStr.split(":"); in checkPkgKills()
286 String[] subparts = parts[i].split(":"); in checkProc()
299 String[] subparts = parts[i].split(":"); in checkPss()
321 String[] subparts = pssStr.split(":"); in checkKills()
331 String[] subparts = parts[i].split(":"); in checkTotal()
368 String[] parts = line.split(",", -1); in testBatterystatsOutput()
[all …]
/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/tests/jdwp/runner/device-side/src/com/android/compatibility/dalvik/
DDalvikTestRunner.java68 for (String include : arg.substring(INCLUDE.length()).split(",")) { in main()
72 for (String exclude : arg.substring(EXCLUDE.length()).split(",")) { in main()
85 String[] classPathItems = System.getProperty("java.class.path").split(File.pathSeparator); in main()
124 String[] parts = fullName.split("[\\(\\)]"); in shouldCollect()
/cts/tools/testng/
Dgen-test-list-xml.py140 package_list = fq_class_name.split(".")[:-1] # a.b.c -> ['a', 'b']
141 just_class_name = fq_class_name.split(".")[-1] # a.b.c -> 'c'
183 class_and_method_name = line.split('#')
/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]

1234567