Home
last modified time | relevance | path

Searched refs:ActivityWatcher (Results 1 – 12 of 12) sorted by relevance

/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DActivitiesWatcher.java41 private final Map<String, ActivityWatcher> mWatchers = new ArrayMap<>();
100 public ActivityWatcher watch(@NonNull Class<? extends Activity> clazz) { in watch()
114 public ActivityWatcher watch(@NonNull String className) { in watch()
119 final ActivityWatcher watcher = new ActivityWatcher(mTimeoutMs); in watch()
126 final ActivityWatcher watcher = mWatchers.get(className); in notifyWatcher()
140 public static final class ActivityWatcher { class in ActivitiesWatcher
150 private ActivityWatcher(long timeoutMs) { in ActivityWatcher() method in ActivitiesWatcher.ActivityWatcher
DActivityLauncher.java25 import com.android.compatibility.common.util.ActivitiesWatcher.ActivityWatcher;
34 private final ActivityWatcher mWatcher;
49 public ActivityWatcher getWatcher() { in getWatcher()
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DBlankActivityTest.java39 import com.android.compatibility.common.util.ActivitiesWatcher.ActivityWatcher;
76 final ActivityWatcher watcher = startWatcher(); in testSimpleSessionLifecycle()
95 final ActivityWatcher watcher = startWatcher(); in testGetServiceComponentName()
120 final ActivityWatcher watcher = startWatcher(); in testGetServiceComponentName_onUiThread()
140 final ActivityWatcher watcher = startWatcher(); in testIsContentCaptureFeatureEnabled_onUiThread()
160 final ActivityWatcher watcher = startWatcher(); in testDisableContentCaptureService_onUiThread()
183 final ActivityWatcher watcher = startWatcher(); in testOutsideOfPackageActivity_noSessionCreated()
DBlankWithTitleActivityTest.java28 import com.android.compatibility.common.util.ActivitiesWatcher.ActivityWatcher;
52 final ActivityWatcher watcher = startWatcher(); in testSimpleSessionLifecycle()
70 final ActivityWatcher watcher = startWatcher(); in testSimpleSessionLifecycle_noAnimation()
DNullTextViewActivityTest.java25 import com.android.compatibility.common.util.ActivitiesWatcher.ActivityWatcher;
50 final ActivityWatcher watcher = startWatcher(); in testNullTextView()
DLoginActivityTest.java74 import com.android.compatibility.common.util.ActivitiesWatcher.ActivityWatcher;
114 final ActivityWatcher watcher = startWatcher(); in testSimpleLifecycle_defaultSession()
136 final ActivityWatcher watcher = startWatcher(); in testContentCaptureSessionCache()
176 final ActivityWatcher watcher = startWatcher(); in testSimpleLifecycle_rootViewSession()
293 final ActivityWatcher watcher = startWatcher(); in testSimpleLifecycle_changeContextAfterCreate()
333 final ActivityWatcher watcher = startWatcher(); in testSimpleLifecycle_changeContextOnCreate()
393 final ActivityWatcher watcher = startWatcher(); in testTextChanged()
429 final ActivityWatcher watcher = startWatcher(); in testTextChangeBuffer()
485 final ActivityWatcher watcher = startWatcher(); in testComposingSpan_mergedEvent()
526 final ActivityWatcher watcher = startWatcher(); in testComposingSpan_notMergedWithoutComposing()
[all …]
DChildlessActivityTest.java65 import com.android.compatibility.common.util.ActivitiesWatcher.ActivityWatcher;
103 final ActivityWatcher watcher = startWatcher(); in testDefaultLifecycle()
119 final ActivityWatcher watcher = startWatcher(); in testGetContentCapture_disabledWhenNoService()
133 final ActivityWatcher watcher = startWatcher(); in testGetContentCapture_enabledWhenNoService()
148 final ActivityWatcher watcher1 = startWatcher(); in testLaunchAnotherActivity()
159 final ActivityWatcher watcher2 = anotherActivityLauncher.getWatcher(); in testLaunchAnotherActivity()
183 final ActivityWatcher watcher1 = startWatcher(); in testLaunchAnotherActivity_onTopOfIt()
192 final ActivityWatcher watcher2 = anotherActivityLauncher.getWatcher(); in testLaunchAnotherActivity_onTopOfIt()
239 final ActivityWatcher watcher = startWatcher(); in testAddAndRemoveNoImportantChild()
276 final ActivityWatcher watcher = startWatcher(); in testAddAndRemoveImportantChild()
[all …]
DDataSharingActivityTest.java55 final ActivitiesWatcher.ActivityWatcher watcher = startWatcher(); in testHappyPath_dataCopiedSuccessfully()
75 final ActivitiesWatcher.ActivityWatcher watcher = startWatcher(); in testDataSharingSessionIsRejected_propagatedToClient()
DAbstractContentCaptureIntegrationAutoActivityLaunchTest.java30 import com.android.compatibility.common.util.ActivitiesWatcher.ActivityWatcher;
108 protected ActivityWatcher startWatcher() { in startWatcher()
DCustomViewActivityTest.java56 import com.android.compatibility.common.util.ActivitiesWatcher.ActivityWatcher;
91 final ActivityWatcher watcher = startWatcher(); in testLifecycle()
111 final ActivityWatcher watcher = startWatcher(); in testSessionLifecycleEvents()
167 final ActivityWatcher watcher = startWatcher(); in testVirtualView_wrongWay()
230 final ActivityWatcher watcher = startWatcher(); in testVirtualView_oneLevel()
298 final ActivityWatcher watcher = startWatcher(); in testVirtualView_multipleLevels()
415 final ActivityWatcher watcher = startWatcher(); in testVirtualView_batchDisappear()
474 final ActivityWatcher watcher = startWatcher(); in testContentCaptureConditions()
498 final ActivityWatcher watcher = startWatcher(); in testContentCaptureConditions_otherPackage()
516 final ActivityWatcher watcher = startWatcher(); in testContentCaptureEnabled_dynamicFlagSecure()
[all …]
DResizingEditActivityTest.java33 import com.android.compatibility.common.util.ActivitiesWatcher.ActivityWatcher;
86 final ActivityWatcher watcher = startWatcher(); in testInsetsChangedOnImeAction()
/cts/tests/translation/src/android/translation/cts/
DTranslationManagerTest.java49 import com.android.compatibility.common.util.ActivitiesWatcher.ActivityWatcher;
523 final ActivityWatcher watcher = mActivitiesWatcher.watch(SimpleActivity.class); in testGetTranslationSettingsActivityIntent()