Searched refs:watcher1 (Results 1 – 3 of 3) sorted by relevance
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/ |
D | ChildlessActivityTest.java | 148 final ActivityWatcher watcher1 = startWatcher(); in testLaunchAnotherActivity() local 152 watcher1.waitFor(RESUMED); in testLaunchAnotherActivity() 154 watcher1.waitFor(DESTROYED); in testLaunchAnotherActivity() 183 final ActivityWatcher watcher1 = startWatcher(); in testLaunchAnotherActivity_onTopOfIt() local 187 watcher1.waitFor(RESUMED); in testLaunchAnotherActivity_onTopOfIt() 204 watcher1.waitFor(DESTROYED); in testLaunchAnotherActivity_onTopOfIt() 1153 final ActivityWatcher watcher1 = startWatcher(); in setContentCaptureFeatureEnabledTest_disabledThenReEnabled() local 1155 watcher1.waitFor(RESUMED); in setContentCaptureFeatureEnabledTest_disabledThenReEnabled() 1157 watcher1.waitFor(DESTROYED); in setContentCaptureFeatureEnabledTest_disabledThenReEnabled()
|
/cts/tests/app/src/android/app/cts/ |
D | ActivityManagerTest.java | 1430 final WatchUidRunner watcher1 = new WatchUidRunner(mInstrumentation, ai.uid, waitForSec); in testTrimAppChildProcess() local 1465 watcher1.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_TOP, null); in testTrimAppChildProcess() 1493 watcher1.waitFor(WatchUidRunner.CMD_CACHED, null); in testTrimAppChildProcess() 1556 watcher1.finish(); in testTrimAppChildProcess() 1646 final WatchUidRunner watcher1 = new WatchUidRunner(mInstrumentation, ai1.uid, waitForSec); in testTrimMemActivityFg() local 1678 watcher1.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_TOP, null); in testTrimMemActivityFg() 1690 watcher1.waitFor(WatchUidRunner.CMD_PROCSTATE, WatchUidRunner.STATE_SERVICE, null); in testTrimMemActivityFg() 1706 watcher1.finish(); in testTrimMemActivityFg()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | TextViewTest.java | 1530 MockTextWatcher watcher1 = new MockTextWatcher(); in testTextChangedListener() local 1533 mTextView.addTextChangedListener(watcher1); in testTextChangedListener() 1536 watcher1.reset(); in testTextChangedListener() 1541 assertTrue(watcher1.hasCalledBeforeTextChanged()); in testTextChangedListener() 1542 assertTrue(watcher1.hasCalledOnTextChanged()); in testTextChangedListener() 1543 assertTrue(watcher1.hasCalledAfterTextChanged()); in testTextChangedListener() 1546 watcher1.reset(); in testTextChangedListener() 1552 assertTrue(watcher1.hasCalledBeforeTextChanged()); in testTextChangedListener() 1553 assertTrue(watcher1.hasCalledOnTextChanged()); in testTextChangedListener() 1554 assertTrue(watcher1.hasCalledAfterTextChanged()); in testTextChangedListener() [all …]
|