Home
last modified time | relevance | path

Searched refs:ActivityWatcher (Results 1 – 13 of 13) 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/
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()
DBlankActivityTest.java47 import com.android.compatibility.common.util.ActivitiesWatcher.ActivityWatcher;
90 final ActivityWatcher watcher = startWatcher(); in testSimpleSessionLifecycle()
109 final ActivityWatcher watcher = startWatcher(); in testGetServiceComponentName()
134 final ActivityWatcher watcher = startWatcher(); in testGetServiceComponentName_onUiThread()
154 final ActivityWatcher watcher = startWatcher(); in testIsContentCaptureFeatureEnabled_onUiThread()
174 final ActivityWatcher watcher = startWatcher(); in testDisableContentCaptureService_onUiThread()
266 final ActivityWatcher watcher = startWatcher(); in testSnapshotReceivedOnActivityStart()
DLoginActivityTest.java73 import com.android.compatibility.common.util.ActivitiesWatcher.ActivityWatcher;
113 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()
335 final ActivityWatcher watcher = startWatcher(); in testSimpleLifecycle_changeContextOnCreate()
395 final ActivityWatcher watcher = startWatcher(); in testTextChanged()
427 final ActivityWatcher watcher = startWatcher(); in testTextChangeBuffer()
482 final ActivityWatcher watcher = startWatcher(); in testComposingSpan_mergedEvent()
519 final ActivityWatcher watcher = startWatcher(); in testComposingSpan_notMergedWithoutComposing()
[all …]
DCustomViewActivityTest.java53 import com.android.compatibility.common.util.ActivitiesWatcher.ActivityWatcher;
89 final ActivityWatcher watcher = startWatcher(); in testLifecycle()
109 final ActivityWatcher watcher = startWatcher(); in testSessionLifecycleEvents()
165 final ActivityWatcher watcher = startWatcher(); in testVirtualView_wrongWay()
228 final ActivityWatcher watcher = startWatcher(); in testVirtualView_oneLevel()
293 final ActivityWatcher watcher = startWatcher(); in testVirtualView_multipleLevels()
407 final ActivityWatcher watcher = startWatcher(); in testVirtualView_batchDisappear()
465 final ActivityWatcher watcher = startWatcher(); in testVirtualView_batchAppear()
517 final ActivityWatcher watcher = startWatcher(); in testContentCaptureConditions()
541 final ActivityWatcher watcher = startWatcher(); in testContentCaptureConditions_otherPackage()
[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()
194 final ActivityWatcher watcher2 = anotherActivityLauncher.getWatcher(); in testLaunchAnotherActivity_onTopOfIt()
242 final ActivityWatcher watcher = startWatcher(); in testAddAndRemoveNoImportantChild()
280 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()
DResizingEditActivityTest.java33 import com.android.compatibility.common.util.ActivitiesWatcher.ActivityWatcher;
86 final ActivityWatcher watcher = startWatcher(); in testInsetsChangedOnImeAction()
/cts/tests/tests/voiceinteraction/src/android/voiceinteraction/cts/
DVoiceInteractionServiceTest.java73 import com.android.compatibility.common.util.ActivitiesWatcher.ActivityWatcher;
283 ActivityWatcher watcher = activitiesWatcher.watch(EmptyActivity.class); in startSessionForStartAssistantActivity()
/cts/tests/translation/src/android/translation/cts/
DTranslationManagerTest.java54 import com.android.compatibility.common.util.ActivitiesWatcher.ActivityWatcher;
518 final ActivityWatcher watcher = mActivitiesWatcher.watch(SimpleActivity.class); in testGetTranslationSettingsActivityIntent()