/platform_testing/libraries/metrics-helper/src/android/support/test/metricshelper/ |
D | MetricsAsserts.java | 38 public static void assertHasActionLog(String message, MetricsReader reader, int view) { in assertHasActionLog() argument 39 reader.read(0); in assertHasActionLog() 40 assertHasActionLog(message, new ReaderQueue(reader), view); in assertHasActionLog() 55 public static void assertHasVisibilityLog(String message, MetricsReader reader, in assertHasVisibilityLog() argument 57 reader.read(0); in assertHasVisibilityLog() 58 assertHasVisibilityLog(message, new ReaderQueue(reader), view, visible); in assertHasVisibilityLog() 75 public static Queue<LogMaker> findMatchingLogs(MetricsReader reader, LogMaker template) { in findMatchingLogs() argument 76 reader.read(0); in findMatchingLogs() 77 return findMatchingLogs(new ReaderQueue(reader), template); in findMatchingLogs() 100 public static void assertHasLog(String message, MetricsReader reader, LogMaker expected) { in assertHasLog() argument [all …]
|
/platform_testing/libraries/compatibility-common-util/src/com/android/compatibility/common/util/ |
D | StreamUtil.java | 66 public static void drainAndClose(Reader reader) { in drainAndClose() argument 68 while (reader.read() >= 0) {} in drainAndClose() 70 Closeables.closeQuietly(reader); in drainAndClose()
|
D | BackupUtils.java | 201 BufferedReader reader = in assertBackupIsSuccessful() local 205 while ((line = reader.readLine()) != null) { in assertBackupIsSuccessful() 215 StreamUtil.drainAndClose(reader); in assertBackupIsSuccessful() 244 BufferedReader reader = in assertRestoreIsSuccessful() local 248 while ((line = reader.readLine()) != null) { in assertRestoreIsSuccessful() 255 StreamUtil.drainAndClose(reader); in assertRestoreIsSuccessful() 315 BufferedReader reader = in getLineString() local 319 str = reader.readLine(); in getLineString() 321 StreamUtil.drainAndClose(reader); in getLineString()
|
/platform_testing/libraries/collectors-helper/jank/src/com/android/helpers/ |
D | BinderCollectionHelper.java | 101 BufferedReader reader = new BufferedReader(new FileReader(file)); in getMetrics() local 102 parseMetrics(reader, result); in getMetrics() 141 private int getNextCounter(BufferedReader reader) throws IOException { in getNextCounter() argument 143 while ((line = reader.readLine()) != null) { in getNextCounter() 157 void parseMetrics(BufferedReader reader, Map<String, Integer> result) throws IOException { in parseMetrics() argument 159 while ((line = reader.readLine()) != null) { in parseMetrics() 169 while ((nextCount = getNextCounter(reader)) > 0) { in parseMetrics()
|
/platform_testing/libraries/telephony-utility/src/android/telephony/utility/ |
D | SimCardUtil.java | 98 for (Reader reader : readers) { in getSimCardInformation() 99 returnBundle.putBoolean(SECURED_ELEMENT, reader.isSecureElementPresent()); in getSimCardInformation() 100 returnBundle.putBoolean(SE_SERVICE, reader.getSEService() != null ? true : false); in getSimCardInformation()
|
/platform_testing/tests/functional/devicehealthchecks/src/com/android/devicehealthchecks/ |
D | CrashCheckBase.java | 162 BufferedReader reader = in populateKnownFailures() local 166 while (reader.ready()) { in populateKnownFailures() 167 failures = Arrays.asList(reader.readLine()); in populateKnownFailures()
|
/platform_testing/libraries/device-collectors/src/test/java/android/device/collectors/ |
D | LogcatCollectorTest.java | 350 try (BufferedReader reader = new BufferedReader(new FileReader(new File(logPath)))) { in testRetrievingLogcat() argument 351 for (String line = reader.readLine(); line != null; line = reader.readLine()) { in testRetrievingLogcat() 418 try (BufferedReader reader = new BufferedReader(new FileReader(new File(logPath)))) { in testLogcatTimespan() argument 421 for (String line = reader.readLine(); line != null; line = reader.readLine()) { in testLogcatTimespan()
|
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/ |
D | BatteryStatsListener.java | 212 BufferedReader reader = new BufferedReader(new InputStreamReader(is)) in resetBatteryStats() 215 while(null != (line = reader.readLine())) { in resetBatteryStats()
|
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/ |
D | AuptTestRunner.java | 159 BufferedReader reader = new BufferedReader(new InputStreamReader( in onCreate() local 162 mMemoryTrackedProcesses = Arrays.asList(reader.readLine().split(",")); in onCreate() 163 reader.close(); in onCreate()
|
/platform_testing/libraries/system-helpers/permission-helper/src/android/system/helpers/ |
D | PermissionHelper.java | 107 try (BufferedReader reader = new BufferedReader( in populateDangerousPermissionGroupInfo() argument 112 while ((line = reader.readLine()) != null) { in populateDangerousPermissionGroupInfo()
|