Home
last modified time | relevance | path

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

/platform_testing/tests/functional/devicehealthchecks/src/com/android/devicehealthchecks/
DCrashCheckBase.java90 String[] lines = text.split("\\r?\\n"); in truncate() local
92 for (int i = 0; i < maxLines && i < lines.length; i++) { in truncate()
93 ret.append(lines[i]); in truncate()
96 if (lines.length > maxLines) { in truncate()
98 ret.append(lines.length - maxLines); in truncate()
/platform_testing/libraries/device-collectors/src/test/java/android/device/collectors/
DScheduledRunCollectionListenerTest.java205 List<String> lines = Files.readAllLines(outputFile.toPath(), Charset.defaultCharset()); in testRun() local
206 assertEquals(NUMBER_OF_COLLECTIONS, lines.size() - 1); in testRun()
207 assertEquals(lines.get(0), ScheduledRunCollectionListener.TIME_SERIES_HEADER); in testRun()
208 for (int i = 1; i != lines.size(); ++i) { in testRun()
210 Matcher m = p.matcher(lines.get(i)); in testRun()
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper/
DWearLauncherStrategy.java186 String[] lines = baos.toString().split(System.lineSeparator()); in dumpScreen() local
187 for (String line : lines) { in dumpScreen()
DBaseLauncher3Strategy.java62 String[] lines = baos.toString().split("\\r?\\n"); in open() local
63 for (String line : lines) { in open()
DLeanbackLauncherStrategy.java86 String[] lines = baos.toString().split("\\r?\\n"); in open() local
87 for (String line : lines) { in open()
DTvLauncherStrategy.java169 String[] lines = baos.toString().split("\\r?\\n"); in open() local
170 for (String line : lines) { in open()
/platform_testing/libraries/collectors-helper/jank/src/com/android/helpers/
DSfStatsCollectionHelper.java162 String[] lines = block.split("\n"); in getStatPairs() local
163 for (int j = 0; j < lines.length; j++) { in getStatPairs()
164 Matcher keyValueMatcher = KEY_VALUE_PATTERN.matcher(lines[j].trim()); in getStatPairs()
DJankCollectionHelper.java151 public Double parse(String lines) { in parse() argument
152 Matcher matcher = mPattern.matcher(lines); in parse()
/platform_testing/libraries/collectors-helper/memory/src/com/android/helpers/
DDumpsysMeminfoHelper.java130 String[] lines = rawOutput.split(LINE_SEPARATOR); in parseMetrics() local
132 for (String line : lines) { in parseMetrics()
/platform_testing/utils/wifistrengthscanner/src/com/android/test/util/wifistrengthscanner/
DWifiStrengthScannerInstrumentation.java148 String[] lines = dumpsysWifi.split("\n"); in getDumpsysWifiLastScanResults() local
152 for (String line : lines) { in getDumpsysWifiLastScanResults()