Home
last modified time | relevance | path

Searched refs:AmMonitor (Results 1 – 4 of 4) sorted by relevance

/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DAmMonitor.java39 public final class AmMonitor { class
80 public AmMonitor(final Instrumentation instrumentation, final String[] notExpected) { in AmMonitor() method in AmMonitor
/cts/tests/app/AppExitTest/src/android/app/cts/
DActivityManagerAppExitInfoTest.java57 import com.android.compatibility.common.util.AmMonitor;
544 AmMonitor monitor = new AmMonitor(mInstrumentation, in testAnr()
545 new String[]{AmMonitor.WAIT_FOR_CRASHED}); in testAnr()
554 monitor.waitFor(AmMonitor.WAIT_FOR_EARLY_ANR, timeout); in testAnr()
556 monitor.sendCommand(AmMonitor.CMD_CONTINUE); in testAnr()
558 monitor.waitFor(AmMonitor.WAIT_FOR_ANR, timeout); in testAnr()
560 monitor.sendCommand(AmMonitor.CMD_KILL); in testAnr()
/cts/tests/app/src/android/app/cts/
DActivityManagerTest.java91 import com.android.compatibility.common.util.AmMonitor;
869 AmMonitor monitor = new AmMonitor(mInstrumentation, in testAppNotResponding()
870 new String[]{AmMonitor.WAIT_FOR_CRASHED}); in testAppNotResponding()
879 assertTrue(monitor.waitFor(AmMonitor.WAIT_FOR_EARLY_ANR, WAITFOR_MSEC)); in testAppNotResponding()
882 monitor.sendCommand(AmMonitor.CMD_KILL); in testAppNotResponding()
DActivityManagerProcessStateTest.java78 import com.android.compatibility.common.util.AmMonitor;
2339 AmMonitor monitor = new AmMonitor(mInstrumentation, in testFgsStickyInternal()
2340 new String[]{AmMonitor.WAIT_FOR_EARLY_ANR, AmMonitor.WAIT_FOR_ANR}); in testFgsStickyInternal()
2377 monitor.waitFor(AmMonitor.WAIT_FOR_CRASHED, WAITFOR_MSEC); in testFgsStickyInternal()
2378 monitor.sendCommand(AmMonitor.CMD_KILL); in testFgsStickyInternal()