Home
last modified time | relevance | path

Searched refs:setupActivity (Results 1 – 25 of 64) sorted by relevance

123

/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DRedactionInterstitialTest.java54 setupActivity(); in primaryUserDefaultStateTest()
64 setupActivity(); in primaryUserRedactSensitiveTest()
74 setupActivity(); in primaryUserHideAllTest()
86 setupActivity(); in primaryUserUnredactedRestrictionTest()
98 setupActivity(); in primaryUserNotificationRestrictionTest()
113 setupActivity(); in managedProfileNoRestrictionsTest()
130 setupActivity(); in managedProfileUnredactedRestrictionTest()
137 private void setupActivity() { in setupActivity() method in RedactionInterstitialTest
/packages/apps/Settings/tests/robotests/src/com/android/settings/survey/
DSurveyMixinTest.java64 FragmentActivity temp = Robolectric.setupActivity(FragmentActivity.class); in onResume_triesRegisteringReceiverAndDownloadingWhenNoSurveyDetected()
83 FragmentActivity temp = Robolectric.setupActivity(FragmentActivity.class); in onResume_triesShowingSurveyWhenOneIsPresent()
114 FragmentActivity temp = Robolectric.setupActivity(FragmentActivity.class); in onPause_removesReceiverIfPreviouslySet()
135 FragmentActivity temp = Robolectric.setupActivity(FragmentActivity.class); in onPause_doesNothingWhenActivityOrReceiverNull()
/packages/apps/Settings/tests/robotests/src/com/android/settings/inputmethod/
DKeyboardLayoutPickerControllerTest.java85 final FragmentActivity activity = Robolectric.setupActivity(FragmentActivity.class); in testLifecycle_onStart_shouldRegisterInputManager()
97 final FragmentActivity activity = Robolectric.setupActivity(FragmentActivity.class); in testLifecycle_onStart_NoInputDevice_shouldFinish()
141 final FragmentActivity activity = Robolectric.setupActivity(FragmentActivity.class); in testOnDeviceRemove_getSameDevice_shouldFinish()
161 final FragmentActivity activity = Robolectric.setupActivity(FragmentActivity.class); in testOnDeviceRemove_getDifferentDevice_shouldNotFinish()
DInputMethodAndSubtypeEnablerTest.java47 mActivity = Robolectric.setupActivity(FragmentActivity.class); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DNetworkRequestDialogActivityTest.java65 Robolectric.setupActivity(NetworkRequestDialogActivity.class); in setUp()
96 Robolectric.setupActivity(FakeNetworkRequestDialogActivity.class); in onResumeAndWaitTimeout_shouldCallTimeoutDialog()
DWifiNoInternetDialogTest.java29 Robolectric.setupActivity(WifiNoInternetDialog.class); in launchActivity_noIntentAction_shouldNotFatalException()
DWifiScanModeActivityTest.java29 Robolectric.setupActivity(WifiScanModeActivity.class); in launchActivity_noIntentAction_shouldNotFatalException()
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/
DChooseLockSettingsHelperTest.java40 final Activity activity = Robolectric.setupActivity(Activity.class); in testLaunchConfirmationActivityWithExternalAndChallenge()
75 final Activity activity = Robolectric.setupActivity(Activity.class); in testLaunchConfirmationActivityInternalAndChallenge()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/
DEmergencyInfoPreferenceControllerTest.java74 mPreference = new Preference(Robolectric.setupActivity(Activity.class)); in setUp()
155 final Activity activity = Robolectric.setupActivity(Activity.class); in handlePreferenceTreeClick_shouldStartActivity()
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
DAppDataUsageTest.java109 final FragmentActivity activity = spy(Robolectric.setupActivity(FragmentActivity.class)); in onCreate_appUid_shouldGetAppLabelFromAppInfo()
141 doReturn(Robolectric.setupActivity(FragmentActivity.class)).when(mFragment).getActivity(); in onCreate_notAppUid_shouldGetAppLabelFromUidDetailProvider()
424 doReturn(Robolectric.setupActivity(FragmentActivity.class)).when(mFragment).getActivity(); in onCreate_noNetworkTemplateAndInvalidDataSubscription_shouldUseWifiTemplate()
DDataUsageSummaryPreferenceTest.java87 mActivity = spy(Robolectric.setupActivity(Activity.class)); in setUp()
417 final FragmentActivity activity = Robolectric.setupActivity(FragmentActivity.class); in testSetAppIntent_toMdpApp_intentCorrect()
485 final FragmentActivity activity = Robolectric.setupActivity(FragmentActivity.class); in testSetWifiMode_withUsageInfo_dataUsageShown()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/dpp/
DWifiDppConfiguratorActivityTest.java29 Robolectric.setupActivity(WifiDppConfiguratorActivity.class); in launchActivity_noIntentAction_shouldNotFatalException()
DWifiDppEnrolleeActivityTest.java29 Robolectric.setupActivity(WifiDppEnrolleeActivity.class); in launchActivity_noIntentAction_shouldNotFatalException()
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/
DDevelopmentSettingsDisabledActivityTest.java37 Robolectric.setupActivity(DevelopmentSettingsDisabledActivity.class); in launchActivity_shouldShowToast()
/packages/apps/Settings/tests/robotests/src/com/android/settings/datetime/timezone/
DRegionPreferenceControllerTest.java38 mActivity = Robolectric.setupActivity(Activity.class); in setUp()
DRegionZonePreferenceControllerTest.java39 mActivity = Robolectric.setupActivity(Activity.class); in setUp()
DFixedOffsetPreferenceControllerTest.java39 mActivity = Robolectric.setupActivity(Activity.class); in setUp()
DBaseTimeZonePreferenceControllerTest.java39 mActivity = Robolectric.setupActivity(Activity.class); in setUp()
/packages/apps/TV/tests/robotests/src/com/android/tv/
DTvActivityTest.java42 TvActivity activity = Robolectric.setupActivity(TvActivity.class); in testLifeCycle()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/security/
DConfirmLockPinPasswordFragmentTest.java48 mTestActivity = Robolectric.setupActivity(TestSettingsScreenLockActivity.class); in initFragment()
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/conditional/
DWorkModeConditionControllerTest.java49 mActivity = spy(Robolectric.setupActivity(Activity.class)); in setUp()
DBackgroundDataConditionControllerTest.java55 mActivity = Robolectric.setupActivity(Activity.class); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wallpaper/
DWallpaperTypePreferenceControllerTest.java47 mContext = Robolectric.setupActivity(Activity.class); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/support/
DSupportPreferenceControllerTest.java49 mActivity = Robolectric.setupActivity(Activity.class); in setUp()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/common/
DErrorDialogTest.java50 mTestActivity = Robolectric.setupActivity(BaseTestActivity.class); in setUpTestActivity()

123