Home
last modified time | relevance | path

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

/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.java1349 MockTextWatcher watcher1 = new MockTextWatcher(); in testTextChangedListener() local
1352 mTextView.addTextChangedListener(watcher1); in testTextChangedListener()
1355 watcher1.reset(); in testTextChangedListener()
1360 assertTrue(watcher1.hasCalledBeforeTextChanged()); in testTextChangedListener()
1361 assertTrue(watcher1.hasCalledOnTextChanged()); in testTextChangedListener()
1362 assertTrue(watcher1.hasCalledAfterTextChanged()); in testTextChangedListener()
1365 watcher1.reset(); in testTextChangedListener()
1371 assertTrue(watcher1.hasCalledBeforeTextChanged()); in testTextChangedListener()
1372 assertTrue(watcher1.hasCalledOnTextChanged()); in testTextChangedListener()
1373 assertTrue(watcher1.hasCalledAfterTextChanged()); in testTextChangedListener()
[all …]