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()
191 sContext, mActivitiesWatcher, LoginActivity.class); in testLaunchAnotherActivity_onTopOfIt()
1154 sContext, mActivitiesWatcher, CustomViewActivity.class); in setContentCaptureFeatureEnabledTest_disabledThenReEnabled()
1241 sContext, mActivitiesWatcher, LoginActivity.class); in getContentCaptureManagerHack()
/cts/tests/translation/src/android/translation/cts/
DTranslationManagerTest.java89 private ActivitiesWatcher mActivitiesWatcher; field in TranslationManagerTest
116 if (mActivitiesWatcher != null) { in cleanup()
118 app.unregisterActivityLifecycleCallbacks(mActivitiesWatcher); in cleanup()
520 mActivitiesWatcher = new ActivitiesWatcher(5_000); in testGetTranslationSettingsActivityIntent()
522 app.registerActivityLifecycleCallbacks(mActivitiesWatcher); in testGetTranslationSettingsActivityIntent()
523 final ActivityWatcher watcher = mActivitiesWatcher.watch(SimpleActivity.class); in testGetTranslationSettingsActivityIntent()