/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 | 79 String[] lines = cmdOutput.split("\n"); in parse() local 81 for (int idx = 0; idx < lines.length; idx++) { in parse() 82 String[] tokens = lines[idx].trim().split(":"); in parse() 85 "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/companion/multiprocess/src/android/companion/cts/multiprocess/ |
D | RebindServiceTest.kt | 161 val lines = output.lines() in <lambda>() constant 162 lines.forEach { line -> in <lambda>() 173 val lines = output.lines() in <lambda>() constant 174 lines.forEach { line -> in <lambda>()
|
/cts/tests/tests/net/native/src/ |
D | TagSocketTest.cpp | 60 std::vector<std::string> lines = {}; in socketIsTagged() local 61 dumpBpfMaps(binder, lines); in socketIsTagged() 62 for (const auto& line : lines) { in socketIsTagged() 71 std::vector<std::string> lines = {}; in socketIsNotTagged() local 72 dumpBpfMaps(binder, lines); in socketIsNotTagged() 73 for (const auto& line : lines) { in socketIsNotTagged()
|
/cts/hostsidetests/graphics/gpumetrics/src/com/android/cts/graphics/ |
D | GpuWorkDumpsysTest.java | 116 String[] lines = commandResult.getStdout().trim().split("\n"); in testOutputFormat() local 118 for (; i < lines.length; ++i) { in testOutputFormat() 119 if (lines[i].startsWith("gpu_id uid")) { in testOutputFormat() 126 i < lines.length); in testOutputFormat() 129 for (; i < lines.length; ++i) { in testOutputFormat() 130 Matcher matcher = uidInfoPattern.matcher(lines[i]); in testOutputFormat()
|
/cts/hostsidetests/car/src/android/car/cts/ |
D | CarPowerHostTest.java | 263 String[] lines = cpmsDump.split("\\r?\\n"); in getPowerState() local 265 for (String line : lines) { in getPowerState() 293 String[] lines = fetchServiceDumpsys().split("\n"); in waitForPowerListenerSet() 294 for (String line : lines) { in waitForPowerListenerSet() 305 String[] lines = fetchServiceDumpsys().split("\n"); in waitForPowerListenerCleared() 306 for (String line : lines) { in waitForPowerListenerCleared() 336 String[] lines = cpmsDump.split("\n"); in isSuspendSupported() local 337 for (String line : lines) { in isSuspendSupported() 380 String[] lines = fetchServiceDumpsys().split("\n"); in listenerStatesMatchExpected() local 381 for (String line : lines) { in listenerStatesMatchExpected()
|
/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/tests/tests/text/src/android/text/cts/ |
D | StaticLayoutLineBreakingNoBreakSpanTest.kt | 58 fun assertLineBreak(layout: Layout, vararg lines: String) { in assertLineBreak() 59 assertThat(layout.lineCount).isEqualTo(lines.size) in assertLineBreak() 62 val expectLineRange = Pair(pos, (pos + lines[i].length)) in assertLineBreak() 65 pos += lines[i].length in assertLineBreak()
|
/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/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/securitybulletin/src/android/security/cts/ |
D | Poc17_03.java | 87 String[] lines = out.split("\n"); in testPocCVE_2017_0334() local 93 for (; index < lines.length; index++) { in testPocCVE_2017_0334() 94 String line = lines[index]; in testPocCVE_2017_0334()
|
/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/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/logcat/ |
D | Logcat.java | 130 Iterator<String> lines = sso.stream().iterator(); in findSystemServerExceptions() local 133 String nextline = lines.next(); in findSystemServerExceptions() 137 String binderPrefix = lines.next(); in findSystemServerExceptions() 150 String traceLine = lines.next(); in findSystemServerExceptions()
|
/cts/hostsidetests/appcompat/strictjavapackages/app/src/android/compat/sjp/app/ |
D | ApexDeviceTest.java | 67 final Set<String> lines = pm.getInstalledPackages(0).stream() in testCollectApkInApexPaths() local 71 Files.write(detailsFilepath, lines); in testCollectApkInApexPaths()
|
/cts/tools/cts-api-coverage/src/com/android/cts/apimap/ |
D | FileUtils.java | 74 List<String> lines = Files.readAllLines(filePath); in getJarFilesFromFile() local 76 for (String line : lines) { in getJarFilesFromFile()
|
/cts/tests/tests/telephony/current/mockmodem/src/android/telephony/mockmodem/ |
D | MockCentralizedNetworkAgent.java | 91 String[] lines = new String[] {}; in storeDataCall() local 96 lines = line.split((patternCurrentState)); in storeDataCall() 98 for (String str : lines) { in storeDataCall()
|
/cts/tests/app/shared/src/android/app/cts/ |
D | CtsAppTestUtils.java | 71 public static String findLine(String[] lines, CharSequence label) { in findLine() argument 72 for (String line : lines) { in findLine()
|
/cts/hostsidetests/appcompat/compatchanges/src/com/android/cts/appcompat/ |
D | CompatChangesSelinuxTest.java | 132 String[] lines = output.split("\n"); in getPackageToDomain() local 133 for (int i = 1; i < lines.length; ++i) { in getPackageToDomain() 134 String line = lines[i]; in getPackageToDomain()
|
/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()
|