Home
last modified time | relevance | path

Searched refs:startedIntent (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/password/
DChooseLockSettingsHelperTest.java53 Intent startedIntent = shadowActivity.getNextStartedActivity(); in testLaunchConfirmationActivityWithExternalAndChallenge() local
57 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 …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/users/
DUserDetailsSettingsTest.java315 Intent startedIntent = shadowOf(mActivity).getNextStartedActivity(); in initialize_adminSelectsNewRestrictedUser_shouldOpenAppContentScreen() local
316 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() local
535 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()
DUserSettingsTest.java608 Intent startedIntent = shadowOf(mActivity).getNextStartedActivity(); in onPreferenceClick_addGuestClicked_createGuestAndOpenDetails() local
609 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()
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
DDataUsageSummaryPreferenceTest.java432 Intent startedIntent = shadowActivity.getNextStartedActivity(); in testSetAppIntent_toMdpApp_intentCorrect() local
433 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() local
509 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()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/system/
DMasterClearFragmentTest.java90 Intent startedIntent = ShadowApplication.getInstance().getNextStartedActivity(); in masterClearButtonClicked_launchesCheckLockActivity() local
91 assertThat(startedIntent.getComponent().getClassName()).isEqualTo( in masterClearButtonClicked_launchesCheckLockActivity()