Home
last modified time | relevance | path

Searched refs:reader (Results 1 – 8 of 8) sorted by relevance

/platform_testing/libraries/metrics-helper/src/android/support/test/metricshelper/
DMetricsAsserts.java38 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/collectors-helper/jank/src/com/android/helpers/
DBinderCollectionHelper.java101 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/
DSimCardUtil.java98 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/libraries/device-collectors/src/test/java/android/device/collectors/
DLogcatOnFailureCollectorTest.java208 try (BufferedReader reader = new BufferedReader(new FileReader(new File(logPath)))) { in testRetrievingLogcat() argument
209 for (String line = reader.readLine(); line != null; line = reader.readLine()) { in testRetrievingLogcat()
278 try (BufferedReader reader = new BufferedReader(new FileReader(new File(logPath)))) { in testLogcatTimespan() argument
281 for (String line = reader.readLine(); line != null; line = reader.readLine()) { in testLogcatTimespan()
/platform_testing/libraries/device-collectors/src/main/java/android/device/collectors/
DBatteryStatsListener.java212 BufferedReader reader = new BufferedReader(new InputStreamReader(is)) in resetBatteryStats()
215 while(null != (line = reader.readLine())) { in resetBatteryStats()
/platform_testing/tests/functional/applinktests/src/com/android/functional/applinktests/
DAppLinkTests.java264 try (BufferedReader reader = new BufferedReader( in executeShellCommand() argument
266 String str = reader.readLine(); in executeShellCommand()
/platform_testing/libraries/aupt-lib/src/android/support/test/aupt/
DAuptTestRunner.java159 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/
DPermissionHelper.java107 try (BufferedReader reader = new BufferedReader( in populateDangerousPermissionGroupInfo() argument
112 while ((line = reader.readLine()) != null) { in populateDangerousPermissionGroupInfo()