Home
last modified time | relevance | path

Searched refs:watcher1 (Results 1 – 3 of 3) sorted by relevance

/cts/tests/app/src/android/app/cts/
DActivityManagerTest.java1090 final WatchUidRunner watcher1 = new WatchUidRunner(mInstrumentation, ai.uid, waitForSec); in testTrimAppChildProcess() local
1125 watcher1.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_TOP, null); in testTrimAppChildProcess()
1153 watcher1.waitFor(WatchUidRunner.CMD_CACHED, null); in testTrimAppChildProcess()
1216 watcher1.finish(); in testTrimAppChildProcess()
1304 final WatchUidRunner watcher1 = new WatchUidRunner(mInstrumentation, ai1.uid, waitForSec); in testTrimMemActivityFg() local
1334 watcher1.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_TOP, null); in testTrimMemActivityFg()
1414 watcher1.waitFor(WatchUidRunner.CMD_CACHED, null); in testTrimMemActivityFg()
1429 watcher1.finish(); in testTrimMemActivityFg()
1542 final WatchUidRunner watcher1 = new WatchUidRunner(mInstrumentation, ai.uid, WAITFOR_MSEC); in testServiceDoneLRUPosition() local
1581 watcher1.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_FG_SERVICE, null); in testServiceDoneLRUPosition()
[all …]
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DChildlessActivityTest.java148 final ActivityWatcher watcher1 = startWatcher(); in testLaunchAnotherActivity() local
152 watcher1.waitFor(RESUMED); in testLaunchAnotherActivity()
154 watcher1.waitFor(DESTROYED); in testLaunchAnotherActivity()
184 final ActivityWatcher watcher1 = startWatcher(); in testLaunchAnotherActivity_onTopOfIt() local
188 watcher1.waitFor(RESUMED); in testLaunchAnotherActivity_onTopOfIt()
202 watcher1.waitFor(DESTROYED); in testLaunchAnotherActivity_onTopOfIt()
1136 final ActivityWatcher watcher1 = startWatcher(); in setContentCaptureFeatureEnabledTest_disabledThenReEnabled() local
1138 watcher1.waitFor(RESUMED); in setContentCaptureFeatureEnabledTest_disabledThenReEnabled()
1140 watcher1.waitFor(DESTROYED); in setContentCaptureFeatureEnabledTest_disabledThenReEnabled()
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewTest.java1472 MockTextWatcher watcher1 = new MockTextWatcher(); in testTextChangedListener() local
1475 mTextView.addTextChangedListener(watcher1); in testTextChangedListener()
1478 watcher1.reset(); in testTextChangedListener()
1483 assertTrue(watcher1.hasCalledBeforeTextChanged()); in testTextChangedListener()
1484 assertTrue(watcher1.hasCalledOnTextChanged()); in testTextChangedListener()
1485 assertTrue(watcher1.hasCalledAfterTextChanged()); in testTextChangedListener()
1488 watcher1.reset(); in testTextChangedListener()
1494 assertTrue(watcher1.hasCalledBeforeTextChanged()); in testTextChangedListener()
1495 assertTrue(watcher1.hasCalledOnTextChanged()); in testTextChangedListener()
1496 assertTrue(watcher1.hasCalledAfterTextChanged()); in testTextChangedListener()
[all …]