Searched refs:mActivitiesWatcher (Results 1 – 3 of 3) sorted by relevance
41 protected ActivitiesWatcher mActivitiesWatcher; field in AbstractContentCaptureIntegrationAutoActivityLaunchTest54 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()
158 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()
95 private ActivitiesWatcher mActivitiesWatcher; field in TranslationManagerTest122 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()