/packages/apps/Settings/tests/robotests/src/com/android/settings/password/ |
D | ChooseLockSettingsHelperTest.java | 58 ShadowActivity shadowActivity = Shadows.shadowOf(activity); in testLaunchConfirmationActivityWithExternal() local 59 Intent startedIntent = shadowActivity.getNextStartedActivity(); in testLaunchConfirmationActivityWithExternal() 89 ShadowActivity shadowActivity = Shadows.shadowOf(activity); in testLaunchConfirmationActivityInternal() local 90 Intent startedIntent = shadowActivity.getNextStartedActivity(); in testLaunchConfirmationActivityInternal() 122 ShadowActivity shadowActivity = Shadows.shadowOf(activity); in testLaunchConfirmationActivity_internal_shouldPropagateTheme() local 123 IntentForResult startedActivity = shadowActivity.getNextStartedActivityForResult(); in testLaunchConfirmationActivity_internal_shouldPropagateTheme() 141 ShadowActivity shadowActivity = Shadows.shadowOf(activity); in launchConfirmPattern_ForceVerify_shouldLaunchInternalActivity() local 142 Intent startedIntent = shadowActivity.getNextStartedActivity(); in launchConfirmPattern_ForceVerify_shouldLaunchInternalActivity() 161 ShadowActivity shadowActivity = Shadows.shadowOf(activity); in launchConfirmPassword_ForceVerify_shouldLaunchInternalActivity() local 162 Intent startedIntent = shadowActivity.getNextStartedActivity(); in launchConfirmPassword_ForceVerify_shouldLaunchInternalActivity() [all …]
|
D | SetNewPasswordActivityTest.java | 101 ShadowActivity shadowActivity = Shadows.shadowOf(activity); in testChooseLockGeneric() local 102 Intent intent = getLaunchChooseLockIntent(shadowActivity); in testChooseLockGeneric() 116 ShadowActivity shadowActivity = Shadows.shadowOf(activity); in testSetupChooseLockGeneric() local 118 Intent nextIntent = shadowActivity.getNextStartedActivityForResult().intent; in testSetupChooseLockGeneric() 136 ShadowActivity shadowActivity = Shadows.shadowOf(activity); in testLaunchChooseLock_setNewPasswordExtraWithoutPermission() local 137 assertThat(shadowActivity.getNextStartedActivityForResult()).isNull(); in testLaunchChooseLock_setNewPasswordExtraWithoutPermission() 160 ShadowActivity shadowActivity = Shadows.shadowOf(activity); in testLaunchChooseLock_setNewPasswordExtraWithPermission() local 161 Intent actualIntent = getLaunchChooseLockIntent(shadowActivity); in testLaunchChooseLock_setNewPasswordExtraWithPermission() 190 ShadowActivity shadowActivity = Shadows.shadowOf(activity); in testLaunchChooseLock_setNewPasswordExtraInvalidValue() local 191 Intent actualIntent = getLaunchChooseLockIntent(shadowActivity); in testLaunchChooseLock_setNewPasswordExtraInvalidValue() [all …]
|
D | SetupChooseLockPasswordTest.java | 168 ShadowActivity shadowActivity = Shadows.shadowOf(activity); in createActivity_clickDifferentOption_extrasShouldBePropagated() local 169 final Intent nextStartedActivity = shadowActivity.getNextStartedActivity(); in createActivity_clickDifferentOption_extrasShouldBePropagated()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/biometrics/fingerprint/ |
D | SetupFingerprintEnrollIntroductionTest.java | 170 ShadowActivity shadowActivity = Shadows.shadowOf(mController.get()); in testKeyguardNotSecure_shouldFinishWithSetupSkipDialogResultSkip() local 172 assertWithMessage("Result code").that(shadowActivity.getResultCode()) in testKeyguardNotSecure_shouldFinishWithSetupSkipDialogResultSkip() 190 ShadowActivity shadowActivity = Shadows.shadowOf(mController.get()); in testKeyguardSecure_shouldFinishWithFingerprintResultSkip() local 192 assertWithMessage("Result code").that(shadowActivity.getResultCode()) in testKeyguardSecure_shouldFinishWithFingerprintResultSkip() 206 ShadowActivity shadowActivity = Shadows.shadowOf(activity); in testBackKeyPress_shouldSetIntentDataIfLockScreenAdded() local 207 assertThat(shadowActivity.getResultIntent()).isNotNull(); in testBackKeyPress_shouldSetIntentDataIfLockScreenAdded() 219 ShadowActivity shadowActivity = Shadows.shadowOf(activity); in testBackKeyPress_shouldNotSetIntentDataIfLockScreenPresentBeforeLaunch() local 220 assertThat(shadowActivity.getResultIntent()).isNull(); in testBackKeyPress_shouldNotSetIntentDataIfLockScreenPresentBeforeLaunch() 235 ShadowActivity shadowActivity = Shadows.shadowOf(activity); in testCancelClicked_shouldSetIntentDataIfLockScreenAdded() local 236 assertThat(shadowActivity.getResultIntent()).isNotNull(); in testCancelClicked_shouldSetIntentDataIfLockScreenAdded() [all …]
|
D | FingerprintEnrollFindSensorTest.java | 162 ShadowActivity shadowActivity = Shadows.shadowOf(mActivity); in verifyStartEnrollingActivity() local 164 shadowActivity.getNextStartedActivityForResult(); in verifyStartEnrollingActivity() 178 ShadowActivity shadowActivity = Shadows.shadowOf(mActivity); in enrollFingerprintTwice_shouldStartOneEnrolling() local 180 shadowActivity.getNextStartedActivityForResult(); in enrollFingerprintTwice_shouldStartOneEnrolling() 186 assertWithMessage("Next activity 2").that(shadowActivity.getNextStartedActivityForResult()) in enrollFingerprintTwice_shouldStartOneEnrolling() 202 ShadowActivity shadowActivity = Shadows.shadowOf(mActivity); in layoutWithoutAnimation_shouldNotCrash() local 204 shadowActivity.getNextStartedActivityForResult(); in layoutWithoutAnimation_shouldNotCrash() 217 ShadowActivity shadowActivity = Shadows.shadowOf(mActivity); in clickSkip_shouldReturnResultSkip() local 218 assertWithMessage("result code").that(shadowActivity.getResultCode()) in clickSkip_shouldReturnResultSkip()
|
D | FingerprintSuggestionActivityTest.java | 117 ShadowActivity shadowActivity = Shadows.shadowOf(mActivity); in testKeyguardSecure_shouldFinishWithFingerprintResultSkip() local 119 assertWithMessage("Result code").that(shadowActivity.getResultCode()) in testKeyguardSecure_shouldFinishWithFingerprintResultSkip()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/localepicker/ |
D | LocalePickerWithRegionActivityTest.java | 37 final ShadowActivity shadowActivity = Shadows.shadowOf(mActivity); in onLocaleSelected_resultShouldBeOK() local 40 assertEquals(Activity.RESULT_OK, shadowActivity.getResultCode()); in onLocaleSelected_resultShouldBeOK() 45 final ShadowActivity shadowActivity = Shadows.shadowOf(mActivity); in onLocaleSelected_localeInfoShouldBeSentBack() local 48 assertNotNull(shadowActivity.getResultIntent().getSerializableExtra( in onLocaleSelected_localeInfoShouldBeSentBack()
|
/packages/apps/TV/tests/robotests/src/com/android/tv/ |
D | SetupPassthroughActivityTest.java | 170 ShadowActivity shadowActivity = shadowOf(activity); in create_trustedCallingPackage() local 171 shadowActivity.setCallingActivity(createTrustedComponent()); in create_trustedCallingPackage() 175 shadowActivity.getNextStartedActivityForResult(); in create_trustedCallingPackage() 193 ShadowActivity shadowActivity = shadowOf(activity); in create_nonTrustedCallingPackage() local 194 shadowActivity.setCallingActivity( in create_nonTrustedCallingPackage() 199 shadowActivity.getNextStartedActivityForResult(); in create_nonTrustedCallingPackage() 215 ShadowActivity shadowActivity = shadowOf(activity); in create_nullCallingPackage() local 216 shadowActivity.setCallingActivity(null); in create_nullCallingPackage() 220 shadowActivity.getNextStartedActivityForResult(); in create_nullCallingPackage() 347 ShadowActivity shadowActivity = shadowOf(activity); in createSetupActivityFor() local [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/slices/ |
D | SliceContextualCardControllerTest.java | 124 final ShadowActivity shadowActivity = Shadows.shadowOf(fragment.getActivity()); in onDismissed_feedbackDisabled_shouldNotShowFeedbackDialog() local 129 assertThat(shadowActivity.getNextStartedActivity()).isNull(); in onDismissed_feedbackDisabled_shouldNotShowFeedbackDialog() 138 final ShadowActivity shadowActivity = Shadows.shadowOf(fragment.getActivity()); in onDismissed_feedbackEnabled_shouldShowFeedbackDialog() local 143 assertThat(shadowActivity.getNextStartedActivity().getComponent().getClassName()) in onDismissed_feedbackEnabled_shouldShowFeedbackDialog()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/conditional/ |
D | WorkModeConditionControllerTest.java | 60 final ShadowActivity shadowActivity = Shadow.extract(mActivity); in onPrimaryClick_shouldLaunchAccountsSetting() local 61 assertThat(shadowActivity.getNextStartedActivity().getComponent()).isEqualTo(componentName); in onPrimaryClick_shouldLaunchAccountsSetting()
|
D | BackgroundDataConditionControllerTest.java | 66 final ShadowActivity shadowActivity = Shadow.extract(mActivity); in onPrimaryClick_shouldReturn2SummaryActivity() local 67 assertThat(shadowActivity.getNextStartedActivity().getComponent()).isEqualTo(componentName); in onPrimaryClick_shouldReturn2SummaryActivity()
|
/packages/modules/DeviceLock/DeviceLockController/tests/robolectric/src/com/android/devicelockcontroller/activities/ |
D | LockedHomeActivityTest.java | 66 ShadowActivity shadowActivity = Shadows.shadowOf(mActivity); in startActivity_startsCurrentLockTaskIntent() local 67 Intent next = shadowActivity.getNextStartedActivity(); in startActivity_startsCurrentLockTaskIntent()
|
D | ProgressFragmentTest.java | 203 ShadowActivity shadowActivity = Shadows.shadowOf(activity); in onCreateView_viewsAndListenersShouldBeCorrectlySet() local 204 Intent next = shadowActivity.getNextStartedActivity(); in onCreateView_viewsAndListenersShouldBeCorrectlySet()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/biometrics/face/ |
D | FaceEnrollIntroductionTest.java | 333 ShadowActivity shadowActivity = Shadows.shadowOf(mActivity); in testGenerateChallengeFailThenRecreate() local 335 shadowActivity.getNextStartedActivityForResult(); in testGenerateChallengeFailThenRecreate() 537 ShadowActivity shadowActivity = Shadows.shadowOf(mActivity); in testFaceEnrollIntroduction_maxFacesEnrolled_launchFaceSettings() local 538 final Intent nextStartedActivity = shadowActivity.getNextStartedActivity(); in testFaceEnrollIntroduction_maxFacesEnrolled_launchFaceSettings() 556 ShadowActivity shadowActivity = Shadows.shadowOf(mActivity); in testFaceEnrollIntroduction_maxFacesEnrolled_isSuw_notLaunchFaceSettings() local 557 final Intent nextStartedActivity = shadowActivity.getNextStartedActivity(); in testFaceEnrollIntroduction_maxFacesEnrolled_isSuw_notLaunchFaceSettings() 573 ShadowActivity shadowActivity = Shadows.shadowOf(mActivity); in testFaceEnrollIntroduction_maxFacesEnrolled_fromSettings_notLaunchFaceSettings() local 574 final Intent nextStartedActivity = shadowActivity.getNextStartedActivity(); in testFaceEnrollIntroduction_maxFacesEnrolled_fromSettings_notLaunchFaceSettings()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/ |
D | DefaultAppShortcutPreferenceControllerBaseTest.java | 188 final ShadowActivity shadowActivity = shadowOf(mActivity); in handlePreferenceTreeClick_shouldStartManageDefaultAppIntent() local 190 final Intent intent = shadowActivity.getNextStartedActivity(); in handlePreferenceTreeClick_shouldStartManageDefaultAppIntent()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/ |
D | BrightnessLevelPreferenceControllerTest.java | 194 final ShadowActivity shadowActivity = shadowOf(activity); in handlePreferenceTreeClick_transitionTypeNone_shouldPassToNextActivity() local 201 final Intent intent = shadowActivity.getNextStartedActivity(); in handlePreferenceTreeClick_transitionTypeNone_shouldPassToNextActivity()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/ |
D | DashboardFeatureProviderImplTest.java | 569 ShadowActivity shadowActivity = Shadows.shadowOf(activity); in bindPreference_withIntentActionMetadata_shouldSetLaunchAction() local 571 final Intent launchIntent = shadowActivity.getNextStartedActivityForResult().intent; in bindPreference_withIntentActionMetadata_shouldSetLaunchAction() 606 ShadowActivity shadowActivity = Shadows.shadowOf(activity); in bindPreference_clickHighlightedPreference_shouldNotStartActivity() local 607 assertThat(shadowActivity.getNextStartedActivityForResult()).isEqualTo(null); in bindPreference_clickHighlightedPreference_shouldNotStartActivity()
|