Home
last modified time | relevance | path

Searched refs:lines (Results 1 – 20 of 20) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DWifiStatus.java92 private void printLines(final ArrayList<String> lines) { in printLines() argument
93 for (String line : lines) { in printLines()
117 ArrayList<String> lines = new ArrayList<String>(); in pingTest() local
122 lines.add(line); in pingTest()
124 printLines(lines); in pingTest()
125 lines.clear(); in pingTest()
131 lines.add(line); in pingTest()
133 printLines(lines); in pingTest()
DDecoderConformanceTest.java94 List<String> lines = new ArrayList<String>(); in readResourceLines() local
99 lines.add(line); in readResourceLines()
103 return lines; in readResourceLines()
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/
DWrappedGTestResultParser.java56 public void processNewLines(String[] lines) { in processNewLines() argument
61 String[] gtestOutput = parseInstrumentation(lines); in processNewLines()
72 public String[] parseInstrumentation(String[] lines) { in parseInstrumentation() argument
75 for (String line : lines) { in parseInstrumentation()
DSingleJUnitTestResultParser.java57 public void processNewLines(String[] lines) { in processNewLines() argument
58 for (String line : lines) { in processNewLines()
DGeeTestResultParser.java257 public void processNewLines(String[] lines) { in processNewLines() argument
258 for (String line : lines) { in processNewLines()
DDeqpTestRunner.java631 public void processNewLines(String[] lines) { in processNewLines() argument
632 for (String line : lines) { in processNewLines()
735 public void processNewLines(String[] lines) { in processNewLines() argument
736 for (String line : lines) { in processNewLines()
993 final String[] lines = processes.split("(\\r|\\n)+"); in getDeqpProcessPids() local
994 for (String line : lines) { in getDeqpProcessPids()
/cts/tests/tests/security/src/android/security/cts/
DServicePermissionsTest.java122 final ArrayList<String> lines = new ArrayList<String>(); in testDumpProtected() local
126 lines.add(line); in testDumpProtected()
133 if (lines.size() > 1) { in testDumpProtected()
139 if (lines.size() == 1) { in testDumpProtected()
140 String message = lines.get(0); in testDumpProtected()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/wavelib/
DVectorAverage.java152 String[] lines = string.split(System.getProperty("line.separator")); in initFromString() local
154 int lineCount = lines.length; in initFromString()
162 String[] separated = lines[nIndex].split("="); in initFromString()
174 String[] separated = lines[nIndex].split("="); in initFromString()
188 double value = Double.parseDouble(lines[nIndex]); in initFromString()
/cts/hostsidetests/compilation/src/android/cts/compilation/
DAdbRootDependentCompilationTest.java320 String[] lines = executeAdbCommand(command); in executeAdbCommand() local
323 numLinesOutputExpected, lines.length, Arrays.toString(command), in executeAdbCommand()
324 Arrays.toString(lines)), in executeAdbCommand()
325 numLinesOutputExpected, lines.length); in executeAdbCommand()
326 return lines; in executeAdbCommand()
332 String[] lines = output.equals("") ? new String[0] : output.split("\n"); in executeAdbCommand() local
333 return lines; in executeAdbCommand()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DBaseDevicePolicyTest.java162 String[] lines = commandOutput.split("\\r?\\n"); in getUserFlags() local
163 assertTrue(commandOutput + " should contain at least one line", lines.length >= 1); in getUserFlags()
164 for (int i = 1; i < lines.length; i++) { in getUserFlags()
167 String[] tokens = lines[i].split("\\{|\\}|:"); in getUserFlags()
168 assertTrue(lines[i] + " doesn't contain 4 or 5 tokens", in getUserFlags()
471 String[] lines = commandOutput.split("\\r?\\n"); in removeOwners() local
472 for (int i = 0; i < lines.length; ++i) { in removeOwners()
473 String line = lines[i].trim(); in removeOwners()
479 line = lines[i].trim(); in removeOwners()
487 line = lines[i].trim(); in removeOwners()
[all …]
/cts/hostsidetests/atrace/src/android/atrace/cts/
DAtraceHostTest.java158 String[] lines = output.split("\\r?\\n"); in testSimpleRun() local
161 assertEquals("capturing trace... done", lines[0]); in testSimpleRun()
162 assertEquals("TRACE:", lines[1]); in testSimpleRun()
165 assertEquals("# tracer: nop", lines[2]); in testSimpleRun()
/cts/hostsidetests/jdwpsecurity/src/android/jdwpsecurity/cts/
DJdwpSecurityHostTest.java200 private final List<String> lines = new ArrayList<String>(); field in JdwpSecurityHostTest.AdbJdwpOutputReader
226 return lines; in listPidsWithAdbJdwp()
236 lines.add(line); in run()
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DAdoptableHostTest.java305 String[] lines = null; in getAdoptionVolume() local
308 lines = getDevice().executeShellCommand("sm list-volumes private").split("\n"); in getAdoptionVolume()
309 for (String line : lines) { in getAdoptionVolume()
317 throw new AssertionError("Expected private volume; found " + Arrays.toString(lines)); in getAdoptionVolume()
/cts/tools/utils/
DbuildCts.py37 lines = [line.strip() for line in f.readlines()]
39 return lines
47 lines = [string.join(line.strip().rsplit('.',1),'#') for line in f.readlines()]
49 return lines
/cts/hostsidetests/services/activitymanager/src/android/server/cts/
DActivityManagerTestBase.java389 final String[] lines = getDeviceLogsForActivity(activityName); in getLastReportedSizesForActivity() local
390 for (int i = lines.length - 1; i >= 0; i--) { in getLastReportedSizesForActivity()
391 final String line = lines[i].trim(); in getLastReportedSizesForActivity()
/cts/apps/CameraITS/build/scripts/
Dgpylint_rcfile222 ignore-long-lines=(^\s*(import|from)\s|^__version__\s=\s['"]\$Id:|^\s*(# )?<?https?://\S+>?$)
231 # Maximum number of lines in a module
232 max-module-lines=99999
353 # Minimum lines number of a similarity.
354 min-similarity-lines=4
/cts/tests/jdwp/runner/host-side/src/com/android/compatibility/testtype/
DDalvikTest.java342 public void processNewLines(String[] lines) { in run()
343 for (String line : lines) { in run()
/cts/apps/CtsVerifier/libs/
Dopencv3-android.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/opencv/ org/ ...
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewTest.java5299 private void setLines(final int lines) { in setLines() argument
5302 mTextView.setLines(lines); in setLines()
/cts/tools/dex-tools/dex/
Dclasses.out.dex770 public static final int lines
73410 private java.lang.String[] lines
110018 public static final int lines