Home
last modified time | relevance | path

Searched refs:AmMonitor (Results 1 – 5 of 5) 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
DOWNERS1 per-file AmMonitor.java = file:platform/frameworks/base:/services/core/java/com/android/server/am/O…
/cts/tests/app/src/android/app/cts/
DActivityManagerTest.java120 import com.android.compatibility.common.util.AmMonitor;
622 final AmMonitor monitor = new AmMonitor(mInstrumentation, null);
658 assertTrue(monitor.waitFor(AmMonitor.WAIT_FOR_EARLY_ANR, WAITFOR_MSEC));
661 monitor.sendCommand(AmMonitor.CMD_CONTINUE);
664 assertTrue(monitor.waitFor(AmMonitor.WAIT_FOR_ANR, WAITFOR_MSEC * 3));
667 monitor.sendCommand(AmMonitor.CMD_CONTINUE);
695 assertTrue(monitor.waitFor(AmMonitor.WAIT_FOR_CRASHED, WAITFOR_MSEC));
698 monitor.sendCommand(AmMonitor.CMD_CONTINUE);
1130 AmMonitor monitor = new AmMonitor(mInstrumentation, in testAppNotResponding()
1131 new String[]{AmMonitor.WAIT_FOR_CRASHED}); in testAppNotResponding()
[all …]
DActivityManagerProcessStateTest.java86 import com.android.compatibility.common.util.AmMonitor;
2432 AmMonitor monitor = new AmMonitor(mInstrumentation, in testFgsStickyInternal()
2433 new String[]{AmMonitor.WAIT_FOR_EARLY_ANR, AmMonitor.WAIT_FOR_ANR}); in testFgsStickyInternal()
2479 monitor.waitFor(AmMonitor.WAIT_FOR_CRASHED, WAITFOR_MSEC); in testFgsStickyInternal()
2480 monitor.sendCommand(AmMonitor.CMD_KILL); in testFgsStickyInternal()
/cts/tests/app/AppExitTest/src/android/app/cts/
DActivityManagerAppExitInfoTest.java76 import com.android.compatibility.common.util.AmMonitor;
652 AmMonitor monitor = new AmMonitor(mInstrumentation, in testAnr()
653 new String[]{AmMonitor.WAIT_FOR_CRASHED}); in testAnr()
662 monitor.waitFor(AmMonitor.WAIT_FOR_EARLY_ANR, timeout); in testAnr()
664 monitor.sendCommand(AmMonitor.CMD_CONTINUE); in testAnr()
666 monitor.waitFor(AmMonitor.WAIT_FOR_ANR, timeout); in testAnr()
668 monitor.sendCommand(AmMonitor.CMD_KILL); in testAnr()