Home
last modified time | relevance | path

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

/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DAbstractContentCaptureIntegrationAutoActivityLaunchTest.java41 protected ActivitiesWatcher mActivitiesWatcher; field in AbstractContentCaptureIntegrationAutoActivityLaunchTest
54 mActivitiesWatcher = new ActivitiesWatcher(GENERIC_TIMEOUT_MS); in registerLifecycleCallback()
55 app.registerActivityLifecycleCallbacks(mActivitiesWatcher); in registerLifecycleCallback()
60 Log.d(mTag, "@After: Unregistering lifecycle callback: " + mActivitiesWatcher); in unregisterLifecycleCallback()
61 if (mActivitiesWatcher != null) { in unregisterLifecycleCallback()
63 app.unregisterActivityLifecycleCallbacks(mActivitiesWatcher); in unregisterLifecycleCallback()
109 return mActivitiesWatcher.watch(mActivityClass); in startWatcher()
DChildlessActivityTest.java158 sContext, mActivitiesWatcher, LoginActivity.class); in testLaunchAnotherActivity()
193 sContext, mActivitiesWatcher, LoginActivity.class); in testLaunchAnotherActivity_onTopOfIt()
1169 sContext, mActivitiesWatcher, CustomViewActivity.class); in setContentCaptureFeatureEnabledTest_disabledThenReEnabled()
1256 sContext, mActivitiesWatcher, LoginActivity.class); in getContentCaptureManagerHack()
/cts/tests/translation/src/android/translation/cts/
DTranslationManagerTest.java95 private ActivitiesWatcher mActivitiesWatcher; field in TranslationManagerTest
122 if (mActivitiesWatcher != null) { in cleanup()
124 app.unregisterActivityLifecycleCallbacks(mActivitiesWatcher); in cleanup()
515 mActivitiesWatcher = new ActivitiesWatcher(5_000); in testGetTranslationSettingsActivityIntent()
517 app.registerActivityLifecycleCallbacks(mActivitiesWatcher); in testGetTranslationSettingsActivityIntent()
518 final ActivityWatcher watcher = mActivitiesWatcher.watch(SimpleActivity.class); in testGetTranslationSettingsActivityIntent()