/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 | 94 List<String> lines = new ArrayList<String>(); in readResourceLines() local 99 lines.add(line); in readResourceLines() 103 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/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/car/src/android/car/cts/powerpolicy/ |
D | WifiInfo.java | 37 String[] lines = cmdOutput.split("\n"); in parse() local 38 if (lines.length == 0) { in parse() 41 String latest = lines[0].trim(); in parse()
|
D | SilentModeInfo.java | 72 String[] lines = cmdOutput.split("\n"); in parse() local 74 if (lines.length != SilentModeInfo.ATTR_HEADERS.length) { in parse() 79 String[] tokens = lines[idx].trim().split(":"); in parse() 82 "SilentModeQueryResult.parse(): malformatted attr line: " + lines[idx]); in parse()
|
D | PowerPolicyTestAnalyzer.java | 67 String[] lines = shellOutput.split("\n"); in getTestResults() local 71 i = lines.length == 0 ? 0 : lines.length - 1; in getTestResults() 73 for (; i < lines.length; i++) { in getTestResults() 74 parseAndAddTestEntry(snapshot, lines[i]); in getTestResults()
|
D | CpmsSystemLayerStateInfo.java | 118 String[] lines = cmdOutput.split("\n"); in parse() local 119 CpmsSystemLayerStateInfoData infoData = new CpmsSystemLayerStateInfoData(lines); in parse() 141 private CpmsSystemLayerStateInfoData(String[] lines) { in CpmsSystemLayerStateInfoData() argument 142 mLines = lines; in CpmsSystemLayerStateInfoData()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | ServicePermissionsTest.java | 128 final ArrayList<String> lines = new ArrayList<String>(); in testDumpProtected() local 132 lines.add(line); in testDumpProtected() 139 if (lines.size() > 1) { in testDumpProtected() 146 if (lines.size() == 1) { in testDumpProtected() 147 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/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()
|
/cts/hostsidetests/compilation/src/android/compilation/cts/ |
D | AdbRootDependentCompilationTest.java | 378 private String[] filterAdbLines(String[] lines) { in filterAdbLines() argument 379 List<String> linesList = new ArrayList<String>(Arrays.asList(lines)); in filterAdbLines() 388 if (linesList.size() != lines.length) { in filterAdbLines() 391 return lines; in filterAdbLines() 396 String[] lines = filterAdbLines(executeSuShellAdbCommand(command)); in executeSuShellAdbCommand() local 399 numLinesOutputExpected, lines.length, Arrays.toString(command), in executeSuShellAdbCommand() 400 Arrays.toString(lines)), in executeSuShellAdbCommand() 401 numLinesOutputExpected, lines.length); in executeSuShellAdbCommand() 402 return lines; in executeSuShellAdbCommand() 411 String[] lines = output.equals("") ? new String[0] : output.split("\n"); in executeSuShellAdbCommand() local [all …]
|
/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()
|
/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/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/utils/ |
D | ParserUtils.java | 57 String[] lines = list.split("\n"); in extractIndentedSections() local 61 for (String line : lines) { in extractIndentedSections()
|
/cts/hostsidetests/library/src_target/com/android/test/usesnativesharedlibrary/ |
D | LoadTest.java | 70 try (Stream<String> lines = Files.lines(Paths.get("/vendor/etc/public.libraries.txt"))) { in vendorPublicLibraries() argument 71 return lines. in vendorPublicLibraries()
|
/cts/hostsidetests/appcompat/compatchanges/src/com/android/cts/appcompat/ |
D | CompatChangesSelinuxTest.java | 137 String[] lines = output.split("\n"); in getPackageToDomain() local 138 for (int i = 1; i < lines.length; ++i) { in getPackageToDomain() 139 String line = lines[i]; in getPackageToDomain()
|
/cts/tools/selinux/ |
D | SELinuxNeverallowTestGen.py | 46 lines = re.findall( 56 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 | 432 String[] lines = null; in getAdoptionVolume() local 436 lines = getDevice().executeShellCommand("sm list-volumes private").split("\n"); in getAdoptionVolume() 437 CLog.w("getAdoptionVolume(): " + Arrays.toString(lines)); in getAdoptionVolume() 438 for (String line : lines) { in getAdoptionVolume() 456 throw new AssertionError("Expected private volume; found " + Arrays.toString(lines)); in getAdoptionVolume()
|
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | BaseDevicePolicyTest.java | 451 String[] lines = commandOutput.split("\\r?\\n"); in getUserFlags() local 452 assertTrue(commandOutput + " should contain at least one line", lines.length >= 1); in getUserFlags() 453 for (int i = 1; i < lines.length; i++) { in getUserFlags() 456 String[] tokens = lines[i].split("\\{|\\}|:"); in getUserFlags() 457 assertTrue(lines[i] + " doesn't contain 4 or 5 tokens", in getUserFlags() 953 String[] lines = commandOutput.split("\\r?\\n"); in removeOwners() local 954 for (int i = 0; i < lines.length; ++i) { in removeOwners() 955 String line = lines[i].trim(); in removeOwners() 961 line = lines[i].trim(); in removeOwners() 969 line = lines[i].trim(); in removeOwners() [all …]
|
/cts/hostsidetests/incident/src/com/android/server/cts/ |
D | BatteryStatsValidationTest.java | 292 String[] lines = dumpsys.split("\n"); in getLongValue() local 297 for (int i = lines.length - 1; i >= 0; i--) { in getLongValue() 298 String line = lines[i]; in getLongValue()
|
/cts/common/device-side/bedstead/remoteframeworkclasses/src/processor/main/java/com/android/bedstead/remoteframeworkclasses/processor/ |
D | Apis.java | 119 String[] lines = classSplit[1].split("\n"); 122 for (String line : lines) {
|