Home
last modified time | relevance | path

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

123

/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DRedactionInterstitialTest.java53 setupActivity(); in primaryUserDefaultStateTest()
63 setupActivity(); in primaryUserRedactSensitiveTest()
73 setupActivity(); in primaryUserHideAllTest()
85 setupActivity(); in primaryUserUnredactedRestrictionTest()
97 setupActivity(); in primaryUserNotificationRestrictionTest()
110 setupActivity(); in managedProfileNoRestrictionsTest()
125 setupActivity(); in managedProfileUnredactedRestrictionTest()
132 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/network/telephony/
DMobileNetworkActivityTest.java167 Activity activity = Robolectric.setupActivity(Activity.class); in phoneChangeReceiver_ignoresStickyBroadcastFromBeforeRegistering()
184 Activity activity = Robolectric.setupActivity(Activity.class); in phoneChangeReceiver_ignoresCarrierConfigChangeForWrongSubscriptionId()
203 Activity activity = Robolectric.setupActivity(Activity.class); in phoneChangeReceiver_dispatchesCarrierConfigChangeForCorrectSubscriptionId()
/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.java107 final FragmentActivity activity = spy(Robolectric.setupActivity(FragmentActivity.class)); in onCreate_appUid_shouldGetAppLabelFromAppInfo()
138 doReturn(Robolectric.setupActivity(FragmentActivity.class)).when(mFragment).getActivity(); in onCreate_notAppUid_shouldGetAppLabelFromUidDetailProvider()
420 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/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()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DNetworkRequestDialogActivityTest.java49 Robolectric.setupActivity(NetworkRequestDialogActivity.class); in launchActivity_shouldShowNetworkRequestDialog()
/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/wifi/preferences/
DConfirmEnableWifiScanningDialogFragmentTest.java58 BaseTestActivity activity = Robolectric.setupActivity(BaseTestActivity.class); in showDialog()
/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/Car/Settings/tests/robotests/src/com/android/car/settings/security/
DConfirmLockPinPasswordFragmentTest.java44 mTestActivity = Robolectric.setupActivity(TestSettingsScreenLockActivity.class); in initFragment()
DConfirmRemoveScreenLockDialogTest.java49 mTestActivity = Robolectric.setupActivity(BaseTestActivity.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/
DMasterClearConfirmTest.java37 mActivity = 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.java49 mTestActivity = Robolectric.setupActivity(BaseTestActivity.class); in setUpTestActivity()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/users/
DConfirmExitRetailModeDialogTest.java49 mTestActivity = Robolectric.setupActivity(BaseTestActivity.class); in setUpTestActivity()

123