Home
last modified time | relevance | path

Searched refs:mActivityController (Results 1 – 14 of 14) sorted by relevance

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/wifi/
DWifiRequestToggleActivityTest.java51 private ActivityController<WifiRequestToggleActivity> mActivityController; field in WifiRequestToggleActivityTest
71 mActivityController = createActivityController(WifiManager.ACTION_REQUEST_ENABLE); in testOnStartWifiEnabled_toggleEnableWifi_showsDialog()
72 mActivityController.create().start(); in testOnStartWifiEnabled_toggleEnableWifi_showsDialog()
81 mActivityController = createActivityController(WifiManager.ACTION_REQUEST_DISABLE); in testOnStartWifiDisabled_toggleDisableWifi_showsDialog()
82 mActivityController.create().start(); in testOnStartWifiDisabled_toggleDisableWifi_showsDialog()
91 mActivityController = createActivityController(WifiManager.ACTION_REQUEST_ENABLE); in testOnStartWifiEnabled_toggleEnableWifi_finish()
92 mActivityController.create().start(); in testOnStartWifiEnabled_toggleEnableWifi_finish()
94 assertThat(mActivityController.get().isFinishing()).isTrue(); in testOnStartWifiEnabled_toggleEnableWifi_finish()
101 mActivityController = createActivityController(WifiManager.ACTION_REQUEST_DISABLE); in testOnStartWifiDisabled_toggleDisableWifi_finish()
102 mActivityController.create().start(); in testOnStartWifiDisabled_toggleDisableWifi_finish()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/biometrics/fingerprint/
DFingerprintEnrollFindSensorTest.java98 private ActivityController<FingerprintEnrollFindSensor> mActivityController; field in FingerprintEnrollFindSensorTest
103 mActivityController = Robolectric.buildActivity( in buildActivity()
109 mActivity = mActivityController.get(); in buildActivity()
126 mActivityController.setup(); in setupActivity_onRearDevice()
134 mActivityController.setup(); in setupActivity_onUdfpsDevice()
142 mActivityController.setup(); in setupActivity_onSfpsDevice()
253 mActivityController.pause().stop(); in resultFinishShallForward_onRearDevice()
269 mActivityController.pause().stop().saveInstanceState(bundle).destroy(); in resultFinishShallForward_onRearDevice_recreate()
286 mActivityController.pause().stop(); in resultSkipShallForward_onRearDevice()
304 mActivityController.pause().stop().saveInstanceState(bundle).destroy(); in resultSkipShallForward_onRearDevice_recreate()
[all …]
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DFragmentController.java36 private final ActivityController<BaseTestActivity> mActivityController; field in FragmentController
41 mActivityController = ActivityController.of(new BaseTestActivity()); in FragmentController()
61 () -> mActivityController in create()
78 shadowMainLooper.runPaused(mActivityController::destroy); in destroy()
83 shadowMainLooper.runPaused(mActivityController::start); in start()
88 shadowMainLooper.runPaused(mActivityController::resume); in resume()
93 shadowMainLooper.runPaused(mActivityController::pause); in pause()
98 shadowMainLooper.runPaused(mActivityController::stop); in stop()
103 shadowMainLooper.runPaused(mActivityController::visible); in visible()
/packages/apps/Settings/tests/robotests/src/com/android/settings/core/
DCategoryMixinTest.java47 private ActivityController<TestActivity> mActivityController; field in CategoryMixinTest
51 mActivityController = Robolectric.buildActivity(TestActivity.class); in setUp()
56 mActivityController.setup(); in resumeActivity_shouldRegisterReceiver()
58 final TestActivity activity = mActivityController.get(); in resumeActivity_shouldRegisterReceiver()
64 mActivityController.setup().pause(); in pauseActivity_shouldUnregisterReceiver()
66 final TestActivity activity = mActivityController.get(); in pauseActivity_shouldUnregisterReceiver()
72 mActivityController.setup().pause(); in onCategoriesChanged_listenerAdded_shouldNotifyChanged()
73 final CategoryMixin categoryMixin = mActivityController.get().getCategoryMixin(); in onCategoriesChanged_listenerAdded_shouldNotifyChanged()
/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/activities/
DDevicePoliciesFragmentTest.java48 private ActivityController<EmptyTestFragmentActivity> mActivityController; field in DevicePoliciesFragmentTest
55 mActivityController = Robolectric.buildActivity(EmptyTestFragmentActivity.class, intent); in setUp()
56 mActivity = mActivityController.get(); in setUp()
58 mActivityController.setup(); in setUp()
DProvisionInfoFragmentTest.java45 private ActivityController<EmptyTestFragmentActivity> mActivityController; field in ProvisionInfoFragmentTest
52 mActivityController = Robolectric.buildActivity(EmptyTestFragmentActivity.class, intent); in setUp()
53 mActivity = mActivityController.get(); in setUp()
55 mActivityController.setup(); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/backup/
DUserBackupSettingsActivityTest.java57 private ActivityController<UserBackupSettingsActivity> mActivityController; field in UserBackupSettingsActivityTest
78 mActivityController = Robolectric.buildActivity(UserBackupSettingsActivity.class); in setUp()
79 mActivity = mActivityController.get(); in setUp()
97 mActivityController.create(); in onCreate_launchActivity()
119 mActivityController.create(); in onCreate_hasManufacturerIntent()
/packages/apps/Settings/tests/robotests/src/com/android/settings/biometrics/face/
DFaceEnrollEducationTest.java70 private ActivityController<TestFaceEnrollEducation> mActivityController; field in FaceEnrollEducationTest
104 mActivityController = Robolectric.buildActivity( in setupActivityForPosture()
106 mActivity = spy(mActivityController.create().get()); in setupActivityForPosture()
119 mActivityController = Robolectric.buildActivity( in setupActivity()
121 mActivity = spy(mActivityController.create().get()); in setupActivity()
/packages/apps/Settings/tests/robotests/src/com/android/settings/localepicker/
DNotificationActionActivityTest.java47 private ActivityController<NotificationActionActivity> mActivityController; field in NotificationActionActivityTest
68 mActivityController = Robolectric.buildActivity(NotificationActionActivity.class, intent); in testOnCreate_launchSystemLanguageSettings()
69 mNotificationActivity = spy(mActivityController.get()); in testOnCreate_launchSystemLanguageSettings()
DLocalePickerWithRegionActivityTest.java30 final ActivityController<LocalePickerWithRegionActivity> mActivityController = in setUp() local
32 mActivity = spy(mActivityController.get()); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/
DSettingsLicenseActivityTest.java44 private ActivityController<SettingsLicenseActivity> mActivityController; field in SettingsLicenseActivityTest
53 mActivityController = Robolectric.buildActivity(SettingsLicenseActivity.class); in setUp()
54 mActivity = spy(mActivityController.get()); in setUp()
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/about/
DLicenseActivityTest.java46 private ActivityController<LicenseActivity> mActivityController; field in LicenseActivityTest
55 mActivityController = Robolectric.buildActivity(LicenseActivity.class); in setUp()
56 mActivity = spy(mActivityController.get()); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DAccessibilitySettingsTest.java119 private ActivityController<SettingsActivity> mActivityController; field in AccessibilitySettingsTest
134 mActivityController = ActivityController.of(new SettingsActivity(), intent); in setup()
352 mActivityController.pause().stop().destroy(); in onDestroy_unregisterObserverAndReceiver()
464 mActivityController.create().start().resume(); in setupFragment()
465 Fragment fragment = mActivityController.get().getSupportFragmentManager().findFragmentById( in setupFragment()
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/
DChooseLockGenericTest.java109 private ActivityController<ChooseLockGeneric> mActivityController; field in ChooseLockGenericTest
121 mActivityController = Robolectric.buildActivity(ChooseLockGeneric.class); in setUp()
122 mActivity = mActivityController in setUp()
347 mActivityController.configurationChange(); in securedScreenLock_notChangingConfig_notWaitForConfirmation_onStopFinishSelf()
348 mActivityController.stop(); in securedScreenLock_notChangingConfig_notWaitForConfirmation_onStopFinishSelf()