Home
last modified time | relevance | path

Searched refs:getNextStartedActivity (Results 1 – 25 of 45) sorted by relevance

12

/packages/apps/Settings/tests/robotests/src/com/android/settings/
DResetNetworkTest.java63 Intent intent = shadowOf(mActivity).getNextStartedActivity(); in showFinalConfirmation_checkboxVisible_eraseEsimChecked()
76 Intent intent = shadowOf(mActivity).getNextStartedActivity(); in showFinalConfirmation_checkboxVisible_eraseEsimChecked_showRacWarningDialog()
90 Intent intent = shadowOf(mActivity).getNextStartedActivity(); in showFinalConfirmation_checkboxVisible_eraseEsimUnchecked()
102 Intent intent = shadowOf(mActivity).getNextStartedActivity(); in showFinalConfirmation_checkboxGone_eraseEsimChecked()
114 Intent intent = shadowOf(mActivity).getNextStartedActivity(); in showFinalConfirmation_checkboxGone_eraseEsimUnchecked()
DTestingSettingsBroadcastReceiverTest.java54 final Intent next = Shadows.shadowOf(mApplication).getNextStartedActivity(); in onReceive_nullIntent_shouldNotCrash()
65 final Intent next = Shadows.shadowOf(mApplication).getNextStartedActivity(); in onReceive_wrongIntent_shouldNotStartActivity()
76 final Intent next = Shadows.shadowOf(mApplication).getNextStartedActivity(); in onReceive_correctIntent_shouldStartActivity()
DSettingsLicenseActivityTest.java78 assertEqualIntents(Shadows.shadowOf(mApplication).getNextStartedActivity(), intent); in testOnCreateWithValidHtmlFile()
100 assertEqualIntents(Shadows.shadowOf(mApplication).getNextStartedActivity(), intent); in testOnCreateWithGeneratedHtmlFile()
DRestrictedListPreferenceTest.java85 Intent started = Shadows.shadowOf(mActivity).getNextStartedActivity(); in performClick_profileLocked()
100 Intent started = Shadows.shadowOf(mActivity).getNextStartedActivity(); in performClick_profileDisabled()
DHelpTrampolineTest.java61 final Intent launchedIntent = shadow.getNextStartedActivity(); in launchHelp_hasExtra_shouldLaunchHelp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/
DChooseLockSettingsHelperTest.java59 Intent startedIntent = shadowActivity.getNextStartedActivity(); in testLaunchConfirmationActivityWithExternal()
90 Intent startedIntent = shadowActivity.getNextStartedActivity(); in testLaunchConfirmationActivityInternal()
142 Intent startedIntent = shadowActivity.getNextStartedActivity(); in launchConfirmPattern_ForceVerify_shouldLaunchInternalActivity()
162 Intent startedIntent = shadowActivity.getNextStartedActivity(); in launchConfirmPassword_ForceVerify_shouldLaunchInternalActivity()
183 Intent startedIntent = shadowActivity.getNextStartedActivity(); in launchConfirmPassword_remoteValidation_passwordLockType()
212 Intent startedIntent = shadowActivity.getNextStartedActivity(); in launchConfirmPassword_remoteValidation_pinLockType()
241 Intent startedIntent = shadowActivity.getNextStartedActivity(); in launchConfirmPattern_remoteValidation_patternLockType()
DChooseLockGenericTest.java186 assertThat(shadowOf(mActivity).getNextStartedActivity()).isNotNull(); in updatePreferencesOrFinish_passwordTypeSetPin_shouldStartChooseLockPassword()
199 assertThat(shadowOf(mActivity).getNextStartedActivity()).isNull(); in updatePreferencesOrFinish_passwordTypeSetPinNotFbe_shouldNotStartChooseLock()
451 Intent nextIntent = shadowOf(mActivity).getNextStartedActivity(); in testUnifyProfile_IntentPassedToChooseLockPassword()
476 Intent nextIntent = shadowOf(mActivity).getNextStartedActivity(); in testUnifyProfile_IntentPassedToChooseLockPattern()
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/
DSearchFeatureProviderImplTest.java85 final Intent launchIntent = Shadows.shadowOf(mActivity).getNextStartedActivity(); in initSearchToolbar_hasResolvedInfo_shouldStartCorrectIntent()
100 assertThat(Shadows.shadowOf(mActivity).getNextStartedActivity()).isNull(); in initSearchToolbar_noResolvedInfo_shouldNotStartActivity()
114 assertThat(Shadows.shadowOf(mActivity).getNextStartedActivity()).isNull(); in initSearchToolbar_deviceNotProvisioned_shouldNotCreateSearchBar()
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/about/
DLicenseActivityTest.java80 assertEqualIntents(shadowOf(mApplication).getNextStartedActivity(), intent); in testOnCreateWithValidHtmlFile()
102 assertEqualIntents(shadowOf(mApplication).getNextStartedActivity(), intent); in testOnCreateWithGeneratedHtmlFile()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wallpaper/
DWallpaperSuggestionActivityTest.java112 Intent intent = Shadows.shadowOf(activity).getNextStartedActivity(); in addExtras_intentFromSetupWizard_extrasHasWallpaperOnlyAndLaunchedSuw()
126 Intent intent = Shadows.shadowOf(activity).getNextStartedActivity(); in addExtras_intentNotFromSetupWizard_extrasHasFocusWallpaper()
/packages/apps/Settings/tests/robotests/src/com/android/settings/backup/
DUserBackupSettingsActivityTest.java106 assertThat(Shadows.shadowOf(mApplication).getNextStartedActivity()).isEqualTo(mIntent); in onCreate_launchActivity()
121 assertThat(Shadows.shadowOf(mApplication).getNextStartedActivity()).isNull(); in onCreate_hasManufacturerIntent()
/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/policy/
DStartLockTaskModeWorkerTest.java139 Intent launchedIntent = shadowOf(mTestApp).getNextStartedActivity(); in doWork_launchesActivityInLockedTaskMode()
178 Intent launchedIntent = shadowOf(mTestApp).getNextStartedActivity(); in doWork_alreadyLockedDoesNothing()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DHearingAidPairingDialogFragmentTest.java126 final Intent intent = shadowOf(mActivity).getNextStartedActivity(); in dialogPositiveButtonClick_intentToBluetoothPairingPage()
140 final Intent intent = shadowOf(mActivity).getNextStartedActivity(); in dialogPositiveButtonClick_intentToA11yPairingPage()
/packages/apps/ManagedProvisioning/tests/robotests/src/com/android/managedprovisioning/finalization/
DSendDpcBroadcastServiceTest.java124 Intent launchedActivityIntent = shadowOf((Application) mContext).getNextStartedActivity(); in onStartCommand_legacyFlow_launchesDpcProvisioningSuccessful()
139 Intent launchedActivityIntent = shadowOf((Application) mContext).getNextStartedActivity(); in onStartCommand_adminIntegratedFlow_launchesDpcPolicyCompliance()
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/slices/
DSliceContextualCardControllerTest.java129 assertThat(shadowActivity.getNextStartedActivity()).isNull(); in onDismissed_feedbackDisabled_shouldNotShowFeedbackDialog()
143 assertThat(shadowActivity.getNextStartedActivity().getComponent().getClassName()) in onDismissed_feedbackEnabled_shouldShowFeedbackDialog()
/packages/apps/TV/tests/robotests/src/com/android/tv/
DTvActivityTest.java45 Intent nextStartedActivity = ShadowApplication.getInstance().getNextStartedActivity(); in testLifeCycle()
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/conditional/
DWorkModeConditionControllerTest.java61 assertThat(shadowActivity.getNextStartedActivity().getComponent()).isEqualTo(componentName); in onPrimaryClick_shouldLaunchAccountsSetting()
DBackgroundDataConditionControllerTest.java67 assertThat(shadowActivity.getNextStartedActivity().getComponent()).isEqualTo(componentName); in onPrimaryClick_shouldReturn2SummaryActivity()
/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/activities/
DLockedHomeActivityTest.java67 Intent next = shadowActivity.getNextStartedActivity(); in startActivity_startsCurrentLockTaskIntent()
DUrlTextPreferenceTest.java65 assertThat(Shadows.shadowOf(emptyActivity).getNextStartedActivity().getStringExtra( in onBindViewHolder_checkClickableLinkIsCorrect()
DProvisionInfoFragmentTest.java91 Intent nextIntent = Shadows.shadowOf(activity).getNextStartedActivity(); in clickNextButton_startTheProvisioningActivity()
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/
DPrivateVolumeFormatTest.java65 final Intent intent = mShadowActivity.getNextStartedActivity(); in OnClickListener_shouldStartStorageWizardFormatProgress()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/
DPermissionsPreferenceControllerTest.java76 Intent actual = ShadowApplication.getInstance().getNextStartedActivity(); in testHandlePreferenceClicked_navigateToNextActivity()
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/legal/
DModuleLicensePreferenceTest.java64 Intent intent = ShadowApplication.getInstance().getNextStartedActivity(); in onClick_sendsCorrectIntent()
/packages/apps/EmergencyInfo/tests/robolectric/src/com/android/emergency/preferences/
DContactPreferenceTest.java88 final Intent actual = Shadows.shadowOf(application).getNextStartedActivity(); in testDisplayContact()

12