Searched refs:AnrMonitor (Results 1 – 5 of 5) sorted by relevance
42 public class AnrMonitor implements AutoCloseable { class56 private AnrMonitor(Instrumentation instrumentation, String targetProcess) { in AnrMonitor() method in AnrMonitor66 public static AnrMonitor start(Instrumentation instrumentation, String targetProcess) { in start()67 final AnrMonitor instance = new AnrMonitor(instrumentation, targetProcess); in start()
2 per-file AnrMonitor.java = file:platform/frameworks/base:/services/core/java/com/android/server/am/…
41 import com.android.compatibility.common.util.AnrMonitor;273 AnrMonitor monitor = AnrMonitor.start(InstrumentationRegistry.getInstrumentation(), in testNotification_userInitiated_anrWhenNotProvided()303 AnrMonitor monitor = AnrMonitor.start(InstrumentationRegistry.getInstrumentation(), in testNotification_userInitiated_noAnrWhenProvided()333 AnrMonitor monitor = AnrMonitor.start(InstrumentationRegistry.getInstrumentation(), in testNotification_regular_noAnrWhenNotProvided()
46 import com.android.compatibility.common.util.AnrMonitor;80 AnrMonitor monitor = AnrMonitor.start(InstrumentationRegistry.getInstrumentation(), in testAnr_onStartJob()108 AnrMonitor monitor = AnrMonitor.start(InstrumentationRegistry.getInstrumentation(), in testAnr_onStopJob()
58 import com.android.compatibility.common.util.AnrMonitor;907 try (AnrMonitor monitor = AnrMonitor.start(InstrumentationRegistry.getInstrumentation(), in testAnr()