Searched refs:startedIntent (Results 1 – 5 of 5) sorted by relevance
59 Intent startedIntent = shadowActivity.getNextStartedActivity(); in testLaunchConfirmationActivityWithExternal() local62 startedIntent.getComponent()); in testLaunchConfirmationActivityWithExternal()63 assertFalse(startedIntent.getBooleanExtra( in testLaunchConfirmationActivityWithExternal()65 assertTrue((startedIntent.getFlags() & Intent.FLAG_ACTIVITY_FORWARD_RESULT) != 0); in testLaunchConfirmationActivityWithExternal()66 assertFalse(startedIntent.getBooleanExtra( in testLaunchConfirmationActivityWithExternal()68 assertFalse(startedIntent.getBooleanExtra( in testLaunchConfirmationActivityWithExternal()70 assertTrue(startedIntent.getBooleanExtra( in testLaunchConfirmationActivityWithExternal()90 Intent startedIntent = shadowActivity.getNextStartedActivity(); in testLaunchConfirmationActivityInternal() local94 startedIntent.getComponent()); in testLaunchConfirmationActivityInternal()95 assertTrue(startedIntent.getBooleanExtra( in testLaunchConfirmationActivityInternal()[all …]
85 val startedIntent = shadowOf(parentActivity).peekNextStartedActivity() in startPolicyComplianceActivityForResultIfResolved_activityExists_isStarted() constant86 … assertThat(startedIntent.action).isEqualTo(DevicePolicyManager.ACTION_ADMIN_POLICY_COMPLIANCE) in startPolicyComplianceActivityForResultIfResolved_activityExists_isStarted()87 assertThat(startedIntent.getPackage()).isEqualTo(TEST_MDM_PACKAGE_NAME) in startPolicyComplianceActivityForResultIfResolved_activityExists_isStarted()88 assertThat(startedIntent.flags).isEqualTo(NO_FLAGS) in startPolicyComplianceActivityForResultIfResolved_activityExists_isStarted()103 val startedIntent = shadowOf(parentActivity).peekNextStartedActivity() in startPolicyComplianceActivityForResultIfResolved_activityDoesNotExist_notStarted() constant104 assertThat(startedIntent).isNull() in startPolicyComplianceActivityForResultIfResolved_activityDoesNotExist_notStarted()119 val startedIntent = shadowOf(parentActivity).peekNextStartedActivity() in startPolicyComplianceActivityIfResolved_activityExists_isStarted() constant120 … assertThat(startedIntent.action).isEqualTo(DevicePolicyManager.ACTION_ADMIN_POLICY_COMPLIANCE) in startPolicyComplianceActivityIfResolved_activityExists_isStarted()121 assertThat(startedIntent.getPackage()).isEqualTo(TEST_MDM_PACKAGE_NAME) in startPolicyComplianceActivityIfResolved_activityExists_isStarted()122 assertThat(startedIntent.flags).isEqualTo(NO_FLAGS) in startPolicyComplianceActivityIfResolved_activityExists_isStarted()[all …]
116 Intent startedIntent = shadowOf(parentActivity).peekNextStartedActivity(); in startGetProvisioningModeActivityIfResolved_resolvableActivity_startsGetProvisioningModeIntent() local117 assertThat(startedIntent.getAction()) in startGetProvisioningModeActivityIfResolved_resolvableActivity_startsGetProvisioningModeIntent()119 assertThat(startedIntent.getPackage()) in startGetProvisioningModeActivityIfResolved_resolvableActivity_startsGetProvisioningModeIntent()
340 Intent startedIntent = shadowOf(mActivity).getNextStartedActivity(); in initialize_adminSelectsNewRestrictedUser_shouldOpenAppContentScreen() local341 ShadowIntent shadowIntent = shadowOf(startedIntent); in initialize_adminSelectsNewRestrictedUser_shouldOpenAppContentScreen()343 assertThat(startedIntent.getStringExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT)) in initialize_adminSelectsNewRestrictedUser_shouldOpenAppContentScreen()345 Bundle arguments = startedIntent.getBundleExtra( in initialize_adminSelectsNewRestrictedUser_shouldOpenAppContentScreen()622 Intent startedIntent = shadowOf(mActivity).getNextStartedActivity(); in onPreferenceClick_selectRestrictedUser_appAndContentAccessClicked_startActivity() local623 ShadowIntent shadowIntent = shadowOf(startedIntent); in onPreferenceClick_selectRestrictedUser_appAndContentAccessClicked_startActivity()625 assertThat(startedIntent.getStringExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT)) in onPreferenceClick_selectRestrictedUser_appAndContentAccessClicked_startActivity()627 Bundle arguments = startedIntent.getBundleExtra( in onPreferenceClick_selectRestrictedUser_appAndContentAccessClicked_startActivity()
743 Intent startedIntent = shadowOf(mActivity).getNextStartedActivity(); in onPreferenceClick_addGuestClicked_createGuestAndOpenDetails() local744 ShadowIntent shadowIntent = shadowOf(startedIntent); in onPreferenceClick_addGuestClicked_createGuestAndOpenDetails()746 assertThat(startedIntent.getStringExtra(SettingsActivity.EXTRA_SHOW_FRAGMENT)) in onPreferenceClick_addGuestClicked_createGuestAndOpenDetails()748 Bundle arguments = startedIntent.getBundleExtra( in onPreferenceClick_addGuestClicked_createGuestAndOpenDetails()