Home
last modified time | relevance | path

Searched refs:LogItem (Results 1 – 7 of 7) sorted by relevance

/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/junit/rules/
DExpectedLogMessagesRule.java12 import org.robolectric.shadows.ShadowLog.LogItem;
23 private final Set<LogItem> expectedLogs = new HashSet<>();
24 private final Set<LogItem> observedLogs = new HashSet<>();
36 List<LogItem> logs = ShadowLog.getLogs(); in apply()
37 for (LogItem log : logs) { in apply()
38 LogItem throwLessLogItem = new LogItem(log.type, log.tag, log.msg, null); in apply()
87 expectedLogs.add(new LogItem(level, tag, message, null));
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowLog.java21 private static final Map<String, Queue<LogItem>> logsByTag = Collections.synchronizedMap(new
22 HashMap<String, Queue<LogItem>>());
23 private static final Queue<LogItem> logs = new ConcurrentLinkedQueue<>();
141 LogItem item = new LogItem(level, tag, msg, throwable); in addLog()
142 Queue<LogItem> itemList; in addLog()
180 public static List<LogItem> getLogs() { in getLogs()
190 public static List<LogItem> getLogsForTag(String tag) { in getLogsForTag()
191 Queue<LogItem> logs = logsByTag.get(tag); in getLogsForTag()
237 public static class LogItem { class in ShadowLog
243 public LogItem(int type, String tag, String msg, Throwable throwable) { in LogItem() method in ShadowLog.LogItem
[all …]
DShadowPackageParser.java16 import org.robolectric.shadows.ShadowLog.LogItem;
52 List<LogItem> logItems = ShadowLog.getLogsForTag("PackageParser"); in callParsePackage()
57 LogItem logItem = logItems.get(0); in callParsePackage()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowLogTest.java18 import org.robolectric.shadows.ShadowLog.LogItem;
195 List<LogItem> allItems = ShadowLog.getLogs(); in shouldLogAccordingToTag()
198 for (LogItem item : allItems) { in shouldLogAccordingToTag()
208 List<LogItem> tag1Items = ShadowLog.getLogsForTag(tag); in assertUniformLogsForTag()
211 for (LogItem item : tag1Items) { in assertUniformLogsForTag()
247 LogItem lastLog = Iterables.getLast(ShadowLog.getLogs()); in assertLogged()
256 LogItem item1 = new LogItem(Log.VERBOSE, "Foo", "Bar", null); in identicalLogItemInstancesAreEqual()
257 LogItem item2 = new LogItem(Log.VERBOSE, "Foo", "Bar", null); in identicalLogItemInstancesAreEqual()
/external/libchrome/base/android/junit/src/org/chromium/base/
DLogTest.java29 List<ShadowLog.LogItem> logs = ShadowLog.getLogs(); in callOriginTest()
61 List<ShadowLog.LogItem> logs; in exceptionLoggingTest()
/external/libabigail/tests/data/test-annotate/
Dtest19-pr19023-libtcmalloc_and_profiler.so.abi874 …alloc::LogMode, char const*, int, tcmalloc::LogItem, tcmalloc::LogItem, tcmalloc::LogItem, tcmallo…
876 <!-- tcmalloc::Logger::Add(tcmalloc::LogItem const&) -->
13608 <!-- const tcmalloc::LogItem -->
13610 <!-- const tcmalloc::LogItem& -->
13612 <!-- const tcmalloc::LogItem& -->
13667 <!-- bool tcmalloc::Logger::Add(const tcmalloc::LogItem&) -->
13671 <!-- parameter of type 'const tcmalloc::LogItem&' -->
13678 …alloc::LogMode, const char*, int, tcmalloc::LogItem, tcmalloc::LogItem, tcmalloc::LogItem, tcmallo…
13686 <!-- parameter of type 'class tcmalloc::LogItem' -->
13688 <!-- parameter of type 'class tcmalloc::LogItem' -->
[all …]
/external/libabigail/tests/data/test-read-dwarf/
Dtest19-pr19023-libtcmalloc_and_profiler.so.abi8365 …<class-decl name='LogItem' size-in-bits='128' visibility='default' filepath='src/internal_logging.…
8399 …<function-decl name='LogItem' filepath='src/internal_logging.h' line='72' column='1' visibility='d…
8405 …<function-decl name='LogItem' filepath='src/internal_logging.h' line='73' column='1' visibility='d…
8412 …<function-decl name='LogItem' filepath='src/internal_logging.h' line='74' column='1' visibility='d…
8419 …<function-decl name='LogItem' filepath='src/internal_logging.h' line='75' column='1' visibility='d…
8426 …<function-decl name='LogItem' filepath='src/internal_logging.h' line='76' column='1' visibility='d…
8433 …<function-decl name='LogItem' filepath='src/internal_logging.h' line='77' column='1' visibility='d…
8440 …<function-decl name='LogItem' filepath='src/internal_logging.h' line='78' column='1' visibility='d…
8447 …<function-decl name='LogItem' filepath='src/internal_logging.h' line='79' column='1' visibility='d…
8454 …<function-decl name='LogItem' filepath='src/internal_logging.h' line='80' column='1' visibility='d…
[all …]