/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 | 385 String[] lines = getReportLines(device, reportPath); in parse() local 387 for (int i = 0; i < lines.length;) { in parse() 389 String path = lines[i++]; in parse() 394 if (i < lines.length) { in parse() 395 failedEarly = Boolean.parseBoolean(lines[i++]); in parse() 396 errMsg = failedEarly ? lines[i++] : ""; in parse() 409 int n = Integer.parseInt(lines[i++]); in parse() 410 for (int j = 0; j < n && i < lines.length; j++) { in parse() 411 String decoderName = lines[i++]; in parse() 413 if (i < lines.length) { in parse() [all …]
|
/cts/tests/tests/security/src/android/security/cts/ |
D | ServicePermissionsTest.java | 124 final ArrayList<String> lines = new ArrayList<String>(); in testDumpProtected() local 128 lines.add(line); in testDumpProtected() 135 if (lines.size() > 1) { in testDumpProtected() 141 if (lines.size() == 1) { in testDumpProtected() 142 String message = lines.get(0); in testDumpProtected()
|
/cts/hostsidetests/compilation/src/android/compilation/cts/ |
D | AdbRootDependentCompilationTest.java | 360 private String[] filterAdbLines(String[] lines) { in filterAdbLines() argument 361 List<String> linesList = new ArrayList<String>(Arrays.asList(lines)); in filterAdbLines() 370 if (linesList.size() != lines.length) { in filterAdbLines() 373 return lines; in filterAdbLines() 378 String[] lines = filterAdbLines(executeSuShellAdbCommand(command)); in executeSuShellAdbCommand() local 381 numLinesOutputExpected, lines.length, Arrays.toString(command), in executeSuShellAdbCommand() 382 Arrays.toString(lines)), in executeSuShellAdbCommand() 383 numLinesOutputExpected, lines.length); in executeSuShellAdbCommand() 384 return lines; in executeSuShellAdbCommand() 393 String[] lines = output.equals("") ? new String[0] : output.split("\n"); in executeSuShellAdbCommand() local [all …]
|
/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/security/src/android/cts/security/ |
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/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/devicepolicy/src/com/android/cts/devicepolicy/ |
D | BaseDevicePolicyTest.java | 263 String[] lines = commandOutput.split("\\r?\\n"); in getUserFlags() local 264 assertTrue(commandOutput + " should contain at least one line", lines.length >= 1); in getUserFlags() 265 for (int i = 1; i < lines.length; i++) { in getUserFlags() 268 String[] tokens = lines[i].split("\\{|\\}|:"); in getUserFlags() 269 assertTrue(lines[i] + " doesn't contain 4 or 5 tokens", in getUserFlags() 738 String[] lines = commandOutput.split("\\r?\\n"); in removeOwners() local 739 for (int i = 0; i < lines.length; ++i) { in removeOwners() 740 String line = lines[i].trim(); in removeOwners() 746 line = lines[i].trim(); in removeOwners() 754 line = lines[i].trim(); in removeOwners() [all …]
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | AmStartOptionsTests.java | 153 final String[] lines = result.split("\\n"); in verifyShellOutput() local 155 for (int i = lines.length - 1; i >= 0; i--) { in verifyShellOutput() 156 final String line = lines[i].trim(); in verifyShellOutput()
|
D | MultiDisplayTestBase.java | 211 private ReportedDisplayMetrics(final String lines) { in ReportedDisplayMetrics() argument 212 Matcher matcher = PHYSICAL_SIZE.matcher(lines); in ReportedDisplayMetrics() 218 matcher = PHYSICAL_DENSITY.matcher(lines); in ReportedDisplayMetrics() 223 matcher = OVERRIDE_SIZE.matcher(lines); in ReportedDisplayMetrics() 232 matcher = OVERRIDE_DENSITY.matcher(lines); in ReportedDisplayMetrics()
|
/cts/tools/selinux/ |
D | SELinuxNeverallowTestGen.py | 41 lines = re.findall( 50 for line in lines:
|
/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/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/hostsidetests/securitybulletin/src/android/security/cts/ |
D | HostsideOomCatcher.java | 201 public void processNewLines(String[] lines) { 202 for (String line : lines) {
|
/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/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()
|