Searched refs:startedIntent (Results 1 – 5 of 5) sorted by relevance
53 Intent startedIntent = shadowActivity.getNextStartedActivity(); in testLaunchConfirmationActivityWithExternalAndChallenge() local57 startedIntent.getComponent()); in testLaunchConfirmationActivityWithExternalAndChallenge()58 assertFalse(startedIntent.getBooleanExtra( in testLaunchConfirmationActivityWithExternalAndChallenge()60 assertTrue(startedIntent.getBooleanExtra( in testLaunchConfirmationActivityWithExternalAndChallenge()62 assertEquals(10000L, startedIntent.getLongExtra( in testLaunchConfirmationActivityWithExternalAndChallenge()64 assertTrue((startedIntent.getFlags() & Intent.FLAG_ACTIVITY_FORWARD_RESULT) != 0); in testLaunchConfirmationActivityWithExternalAndChallenge()65 assertFalse(startedIntent.getBooleanExtra( in testLaunchConfirmationActivityWithExternalAndChallenge()67 assertFalse(startedIntent.getBooleanExtra( in testLaunchConfirmationActivityWithExternalAndChallenge()69 assertTrue(startedIntent.getBooleanExtra( in testLaunchConfirmationActivityWithExternalAndChallenge()87 Intent startedIntent = shadowActivity.getNextStartedActivity(); in testLaunchConfirmationActivityInternalAndChallenge() local[all …]
315 Intent startedIntent = shadowOf(mActivity).getNextStartedActivity(); in initialize_adminSelectsNewRestrictedUser_shouldOpenAppContentScreen() local316 ShadowIntent shadowIntent = shadowOf(startedIntent); in initialize_adminSelectsNewRestrictedUser_shouldOpenAppContentScreen()318 assertThat(startedIntent.getStringExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT)) in initialize_adminSelectsNewRestrictedUser_shouldOpenAppContentScreen()320 Bundle arguments = startedIntent.getBundleExtra( in initialize_adminSelectsNewRestrictedUser_shouldOpenAppContentScreen()534 Intent startedIntent = shadowOf(mActivity).getNextStartedActivity(); in onPreferenceClick_selectRestrictedUser_appAndContentAccessClicked_startActivity() local535 ShadowIntent shadowIntent = shadowOf(startedIntent); in onPreferenceClick_selectRestrictedUser_appAndContentAccessClicked_startActivity()537 assertThat(startedIntent.getStringExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT)) in onPreferenceClick_selectRestrictedUser_appAndContentAccessClicked_startActivity()539 Bundle arguments = startedIntent.getBundleExtra( in onPreferenceClick_selectRestrictedUser_appAndContentAccessClicked_startActivity()
608 Intent startedIntent = shadowOf(mActivity).getNextStartedActivity(); in onPreferenceClick_addGuestClicked_createGuestAndOpenDetails() local609 ShadowIntent shadowIntent = shadowOf(startedIntent); in onPreferenceClick_addGuestClicked_createGuestAndOpenDetails()611 assertThat(startedIntent.getStringExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT)) in onPreferenceClick_addGuestClicked_createGuestAndOpenDetails()613 Bundle arguments = startedIntent.getBundleExtra( in onPreferenceClick_addGuestClicked_createGuestAndOpenDetails()
432 Intent startedIntent = shadowActivity.getNextStartedActivity(); in testSetAppIntent_toMdpApp_intentCorrect() local433 assertThat(startedIntent.getAction()) in testSetAppIntent_toMdpApp_intentCorrect()435 assertThat(startedIntent.getPackage()).isEqualTo("test-owner.example.com"); in testSetAppIntent_toMdpApp_intentCorrect()436 assertThat(startedIntent.getIntExtra(SubscriptionManager.EXTRA_SUBSCRIPTION_INDEX, -1)) in testSetAppIntent_toMdpApp_intentCorrect()508 Intent startedIntent = shadowActivity.getNextStartedActivity(); in testSetWifiMode_withUsageInfo_dataUsageShown() local509 assertThat(startedIntent.getComponent()).isEqualTo(new ComponentName("com.android.settings", in testSetWifiMode_withUsageInfo_dataUsageShown()515 final Bundle actual = startedIntent in testSetWifiMode_withUsageInfo_dataUsageShown()520 assertThat(startedIntent.getIntExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT_TITLE_RESID, 0)) in testSetWifiMode_withUsageInfo_dataUsageShown()
90 Intent startedIntent = ShadowApplication.getInstance().getNextStartedActivity(); in masterClearButtonClicked_launchesCheckLockActivity() local91 assertThat(startedIntent.getComponent().getClassName()).isEqualTo( in masterClearButtonClicked_launchesCheckLockActivity()