/cts/tests/tests/media/src/android/media/cts/ |
D | ConnectionStatus.java | 72 private void printLines(final ArrayList<String> lines) { in printLines() argument 73 for (String line : lines) { in printLines() 97 ArrayList<String> lines = new ArrayList<String>(); in pingTest() local 102 lines.add(line); in pingTest() 104 printLines(lines); in pingTest() 105 lines.clear(); in pingTest() 111 lines.add(line); in pingTest() 113 printLines(lines); in pingTest()
|
D | DecoderConformanceTest.java | 92 List<String> lines = new ArrayList<String>(); in readResourceLines() local 97 lines.add(line); in readResourceLines() 101 return lines; in readResourceLines()
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | TextUtils.java | 37 final String[] lines = source.split("\\n", -1); in extractSection() local 40 for (; i < lines.length; i++) { in extractSection() 41 final String line = lines[i]; in extractSection() 52 for (; i < lines.length; i++) { in extractSection() 53 final String line = lines[i]; in extractSection()
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | TextUtils.java | 37 final String[] lines = source.split("\\n", -1); in extractSection() local 40 for (; i < lines.length; i++) { in extractSection() 41 final String line = lines[i]; in extractSection() 52 for (; i < lines.length; i++) { in extractSection() 53 final String line = lines[i]; in extractSection()
|
/cts/hostsidetests/media/bitstreams/src/android/media/cts/bitstreams/ |
D | SupportedBitstreamsProcessor.java | 85 String[] lines = getReportLines(device, reportPath); in process() local 87 for (int i = 0; i < lines.length;) { in process() 88 String path = lines[i++]; in process() 89 int n = Integer.parseInt(lines[i++]); in process() 91 String name = lines[i++]; in process() 92 String status = lines[i++]; in process()
|
D | MediaBitstreamsTest.java | 400 String[] lines = getReportLines(device, reportPath); in parse() local 402 for (int i = 0; i < lines.length;) { in parse() 404 String path = lines[i++]; in parse() 409 if (i < lines.length) { in parse() 410 failedEarly = Boolean.parseBoolean(lines[i++]); in parse() 411 errMsg = failedEarly ? lines[i++] : ""; in parse() 424 int n = Integer.parseInt(lines[i++]); in parse() 425 for (int j = 0; j < n && i < lines.length; j++) { in parse() 426 String decoderName = lines[i++]; in parse() 428 if (i < lines.length) { in parse() [all …]
|
/cts/hostsidetests/compilation/src/android/compilation/cts/ |
D | AdbRootDependentCompilationTest.java | 361 private String[] filterAdbLines(String[] lines) { in filterAdbLines() argument 362 List<String> linesList = new ArrayList<String>(Arrays.asList(lines)); in filterAdbLines() 371 if (linesList.size() != lines.length) { in filterAdbLines() 374 return lines; in filterAdbLines() 379 String[] lines = filterAdbLines(executeSuShellAdbCommand(command)); in executeSuShellAdbCommand() local 382 numLinesOutputExpected, lines.length, Arrays.toString(command), in executeSuShellAdbCommand() 383 Arrays.toString(lines)), in executeSuShellAdbCommand() 384 numLinesOutputExpected, lines.length); in executeSuShellAdbCommand() 385 return lines; in executeSuShellAdbCommand() 394 String[] lines = output.equals("") ? new String[0] : output.split("\n"); in executeSuShellAdbCommand() local [all …]
|
/cts/tests/tests/security/src/android/security/cts/ |
D | ServicePermissionsTest.java | 130 final ArrayList<String> lines = new ArrayList<String>(); in testDumpProtected() local 134 lines.add(line); in testDumpProtected() 141 if (lines.size() > 1) { in testDumpProtected() 148 if (lines.size() == 1) { in testDumpProtected() 149 String message = lines.get(0); in testDumpProtected()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/wavelib/ |
D | VectorAverage.java | 152 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/dumpsys/src/android/dumpsys/cts/ |
D | ProcessStatsDumpsysTest.java | 327 private static String findLine(String prefix, String[] lines) { in findLine() argument 328 for (String line : lines) { in findLine() 413 final String[] lines = procstats.split("\n"); in checkWithProcStatsApp() local 418 lines)); in checkWithProcStatsApp() 434 lines)); in checkWithProcStatsApp() 451 lines)); in checkWithProcStatsApp() 458 lines)); in checkWithProcStatsApp() 471 lines)); in checkWithProcStatsApp() 478 lines)); in checkWithProcStatsApp()
|
/cts/hostsidetests/security/src/android/security/cts/ |
D | ProcessMustUseSeccompTest.java | 60 String[] lines = Out.getOutput().split(System.getProperty("line.separator")); in getPidFromCmd() local 62 for (String line: lines) { in getPidFromCmd() 88 String[] lines = Out.getOutput().split(System.getProperty("line.separator")); in pidHasSeccompBpf() local 89 for (String line: lines) { in pidHasSeccompBpf()
|
D | KernelConfigTest.java | 98 set = new HashSet<String>(reader.lines().collect(Collectors.toList())); in getDeviceConfig()
|
/cts/hostsidetests/securitybulletin/src/android/security/cts/ |
D | Poc17_03.java | 83 String[] lines = out.split("\n"); in testPocCVE_2017_0334() local 89 for (; index < lines.length; index++) { in testPocCVE_2017_0334() 90 String line = lines[index]; in testPocCVE_2017_0334()
|
D | HostsideOomCatcher.java | 201 public void processNewLines(String[] lines) { 202 for (String line : lines) {
|
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | BaseDevicePolicyTest.java | 330 String[] lines = commandOutput.split("\\r?\\n"); in getUserFlags() local 331 assertTrue(commandOutput + " should contain at least one line", lines.length >= 1); in getUserFlags() 332 for (int i = 1; i < lines.length; i++) { in getUserFlags() 335 String[] tokens = lines[i].split("\\{|\\}|:"); in getUserFlags() 336 assertTrue(lines[i] + " doesn't contain 4 or 5 tokens", in getUserFlags() 805 String[] lines = commandOutput.split("\\r?\\n"); in removeOwners() local 806 for (int i = 0; i < lines.length; ++i) { in removeOwners() 807 String line = lines[i].trim(); in removeOwners() 813 line = lines[i].trim(); in removeOwners() 821 line = lines[i].trim(); in removeOwners() [all …]
|
/cts/hostsidetests/atrace/src/android/atrace/cts/ |
D | AtraceHostTest.java | 99 String[] lines = output.split("\\r?\\n"); in testSimpleRun() local 102 assertEquals("capturing trace... done", lines[0]); in testSimpleRun() 103 assertEquals("TRACE:", lines[1]); in testSimpleRun() 106 assertEquals("# tracer: nop", lines[2]); in testSimpleRun()
|
/cts/hostsidetests/jdwpsecurity/src/android/jdwpsecurity/cts/ |
D | JdwpSecurityHostTest.java | 201 private final List<String> lines = new ArrayList<String>(); field in JdwpSecurityHostTest.AdbJdwpOutputReader 227 return lines; in listPidsWithAdbJdwp() 237 lines.add(line); in run()
|
/cts/tools/selinux/ |
D | SELinuxNeverallowTestGen.py | 41 lines = re.findall( 51 for line in lines:
|
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/ |
D | AdoptableHostTest.java | 360 String[] lines = null; in getAdoptionVolume() local 363 lines = getDevice().executeShellCommand("sm list-volumes private").split("\n"); in getAdoptionVolume() 364 for (String line : lines) { in getAdoptionVolume() 372 throw new AssertionError("Expected private volume; found " + Arrays.toString(lines)); in getAdoptionVolume()
|
/cts/tools/utils/ |
D | buildCts.py | 37 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/inputmethodservice/hostside/src/android/inputmethodservice/cts/hostside/ |
D | MultiUserTest.java | 294 final String[] lines = result.getStdout().split("\\r?\\n"); in switchUser() local 295 if (lines.length < 1) { in switchUser() 300 final int lastSwitchUserId = Integer.parseInt(lines[0], 10); in switchUser()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | MultiDisplayTestBase.java | 212 private ReportedDisplayMetrics(final String lines) { in ReportedDisplayMetrics() argument 213 Matcher matcher = PHYSICAL_SIZE.matcher(lines); in ReportedDisplayMetrics() 219 matcher = PHYSICAL_DENSITY.matcher(lines); in ReportedDisplayMetrics() 224 matcher = OVERRIDE_SIZE.matcher(lines); in ReportedDisplayMetrics() 233 matcher = OVERRIDE_DENSITY.matcher(lines); in ReportedDisplayMetrics()
|
/cts/hostsidetests/incident/src/com/android/server/cts/ |
D | BatteryStatsValidationTest.java | 531 String[] lines = dumpsys.split("\n"); in getLongValue() local 536 for (int i = lines.length - 1; i >= 0; i--) { in getLongValue() 537 String line = lines[i]; in getLongValue()
|
/cts/apps/CameraITS/build/scripts/ |
D | gpylint_rcfile | 225 ignore-long-lines=(^\s*(import|from)\s|^__version__\s=\s['"]\$Id:|^\s*(# )?<?https?://\S+>?$) 234 # Maximum number of lines in a module 235 max-module-lines=99999 356 # Minimum lines number of a similarity. 357 min-similarity-lines=4
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/intent/ |
D | IntentTests.java | 134 String jsonData = bufferedReader.lines().collect( in readAllFromAssets()
|