Home
last modified time | relevance | path

Searched refs:ShadowActivity (Results 1 – 21 of 21) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/biometrics/fingerprint/
DSetupFingerprintEnrollIntroductionTest.java52 import org.robolectric.shadows.ShadowActivity;
53 import org.robolectric.shadows.ShadowActivity.IntentForResult;
96 ShadowActivity shadowActivity = Shadows.shadowOf(mController.get()); in testKeyguardNotSecure_shouldFinishWithSetupSkipDialogResultSkip()
115 ShadowActivity shadowActivity = Shadows.shadowOf(mController.get()); in testKeyguardSecure_shouldFinishWithFingerprintResultSkip()
130 ShadowActivity shadowActivity = Shadows.shadowOf(activity); in testBackKeyPress_shouldSetIntentDataIfLockScreenAdded()
144 ShadowActivity shadowActivity = Shadows.shadowOf(activity); in testBackKeyPress_shouldNotSetIntentDataIfLockScreenPresentBeforeLaunch()
159 ShadowActivity shadowActivity = Shadows.shadowOf(activity); in testCancelClicked_shouldSetIntentDataIfLockScreenAdded()
184 ShadowActivity shadowActivity = Shadows.shadowOf(activity); in testOnResultFromFindSensor_shouldNotSetIntentDataIfLockScreenPresentBeforeLaunch()
206 ShadowActivity shadowActivity = Shadows.shadowOf(activity); in testOnResultFromFindSensor_shouldNotSetIntentDataIfLockScreenNotAdded()
222 ShadowActivity shadowActivity = Shadows.shadowOf(activity); in testLockPattern()
DFingerprintEnrollFindSensorTest.java54 import org.robolectric.shadows.ShadowActivity;
55 import org.robolectric.shadows.ShadowActivity.IntentForResult;
92 ShadowActivity shadowActivity = Shadows.shadowOf(mActivity); in enrollFingerprint_shouldProceed()
107 ShadowActivity shadowActivity = Shadows.shadowOf(mActivity); in enrollFingerprintTwice_shouldStartOneEnrolling()
129 ShadowActivity shadowActivity = Shadows.shadowOf(mActivity); in layoutWithoutAnimation_shouldNotCrash()
142 ShadowActivity shadowActivity = Shadows.shadowOf(mActivity); in clickSkip_shouldReturnResultSkip()
DSetupFingerprintEnrollFinishTest.java43 import org.robolectric.shadows.ShadowActivity;
77 ShadowActivity.IntentForResult startedActivity = in clickAddAnother_shouldLaunchEnrolling()
92 ShadowActivity.IntentForResult startedActivity = in clickAddAnother_shouldPropagateResults()
DFingerprintSuggestionActivityTest.java45 import org.robolectric.shadows.ShadowActivity;
76 ShadowActivity shadowActivity = Shadows.shadowOf(mController.get()); in testKeyguardSecure_shouldFinishWithFingerprintResultSkip()
/packages/apps/Settings/tests/robotests/src/com/android/settings/password/
DSetNewPasswordActivityTest.java62 import org.robolectric.shadows.ShadowActivity;
99 ShadowActivity shadowActivity = Shadows.shadowOf(activity); in testChooseLockGeneric()
114 ShadowActivity shadowActivity = Shadows.shadowOf(activity); in testSetupChooseLockGeneric()
135 ShadowActivity shadowActivity = Shadows.shadowOf(activity); in testLaunchChooseLock_setNewPasswordExtraWithoutPermission()
159 ShadowActivity shadowActivity = Shadows.shadowOf(activity); in testLaunchChooseLock_setNewPasswordExtraWithPermission()
189 ShadowActivity shadowActivity = Shadows.shadowOf(activity); in testLaunchChooseLock_setNewPasswordExtraInvalidValue()
217 ShadowActivity shadowActivity = Shadows.shadowOf(activity); in testLaunchChooseLock_setNewPasswordExtraNoneComplexity()
244 ShadowActivity shadowActivity = Shadows.shadowOf(activity); in testLaunchChooseLock_setNewPasswordWithoutExtra()
272 ShadowActivity shadowActivity = Shadows.shadowOf(activity); in testLaunchChooseLock_setNewParentProfilePasswordExtraWithPermission()
299 ShadowActivity shadowActivity = Shadows.shadowOf(activity); in testLaunchChooseLock_setNewParentProfilePasswordWithoutExtra()
[all …]
DChooseLockSettingsHelperTest.java31 import org.robolectric.shadows.ShadowActivity;
32 import org.robolectric.shadows.ShadowActivity.IntentForResult;
52 ShadowActivity shadowActivity = Shadows.shadowOf(activity); in testLaunchConfirmationActivityWithExternalAndChallenge()
86 ShadowActivity shadowActivity = Shadows.shadowOf(activity); in testLaunchConfirmationActivityInternalAndChallenge()
115 ShadowActivity shadowActivity = Shadows.shadowOf(activity); in testLaunchConfirmationActivity_internal_shouldPropagateTheme()
DSetupChooseLockGenericTest.java42 import org.robolectric.shadows.ShadowActivity;
64 ShadowActivity shadowActivity = Shadows.shadowOf(activity); in setupChooseLockGenericPasswordComplexityExtraWithoutPermission()
78 ShadowActivity shadowActivity = Shadows.shadowOf(activity); in setupChooseLockGenericPasswordComplexityExtraWithPermission()
DSetupChooseLockPasswordTest.java55 import org.robolectric.shadows.ShadowActivity;
139 ShadowActivity shadowActivity = Shadows.shadowOf(activity); in createActivity_clickDifferentOption_extrasShouldBePropagated()
/packages/apps/TV/tests/robotests/src/com/android/tv/
DSetupPassthroughActivityTest.java78 import org.robolectric.shadows.ShadowActivity;
116 ShadowActivity.IntentForResult shadowIntent = in create_emptyIntent()
126 ShadowActivity.IntentForResult shadowIntent = in create_noInputs()
139 ShadowActivity.IntentForResult shadowIntent = in create_inputNotFound()
152 ShadowActivity.IntentForResult shadowIntent = in create_validInput()
171 ShadowActivity shadowActivity = shadowOf(activity); in create_trustedCallingPackage()
176 ShadowActivity.IntentForResult shadowIntent = in create_trustedCallingPackage()
195 ShadowActivity shadowActivity = shadowOf(activity); in create_nonTrustedCallingPackage()
200 ShadowActivity.IntentForResult shadowIntent = in create_nonTrustedCallingPackage()
/packages/apps/Settings/tests/robotests/src/com/android/settings/localepicker/
DLocalePickerWithRegionActivityTest.java20 import org.robolectric.shadows.ShadowActivity;
37 final ShadowActivity shadowActivity = Shadows.shadowOf(mActivity); in onLocaleSelected_resultShouldBeOK()
45 final ShadowActivity shadowActivity = Shadows.shadowOf(mActivity); in onLocaleSelected_localeInfoShouldBeSentBack()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowActivity.java28 public class ShadowActivity extends org.robolectric.shadows.ShadowActivity { class
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/conditional/
DWorkModeConditionControllerTest.java36 import org.robolectric.shadows.ShadowActivity;
60 final ShadowActivity shadowActivity = Shadow.extract(mActivity); in onPrimaryClick_shouldLaunchAccountsSetting()
DBackgroundDataConditionControllerTest.java37 import org.robolectric.shadows.ShadowActivity;
66 final ShadowActivity shadowActivity = Shadow.extract(mActivity); in onPrimaryClick_shouldReturn2SummaryActivity()
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/slices/
DSliceContextualCardControllerTest.java57 import org.robolectric.shadows.ShadowActivity;
121 final ShadowActivity shadowActivity = Shadows.shadowOf(fragment.getActivity()); in onDismissed_feedbackDisabled_shouldNotShowFeedbackDialog()
134 final ShadowActivity shadowActivity = Shadows.shadowOf(fragment.getActivity()); in onDismissed_feedbackEnabled_shouldShowFeedbackDialog()
/packages/apps/Settings/tests/robotests/src/com/android/settings/
DHelpTrampolineTest.java33 import org.robolectric.shadows.ShadowActivity;
59 final ShadowActivity shadow = Shadows. in launchHelp_hasExtra_shouldLaunchHelp()
DMasterClearTest.java67 import org.robolectric.shadows.ShadowActivity;
97 private ShadowActivity mShadowActivity;
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/
DPrivateVolumeFormatTest.java37 import org.robolectric.shadows.ShadowActivity;
45 private ShadowActivity mShadowActivity;
/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/
DActionDisabledByAdminDialogHelperTest.java47 import com.android.settings.testutils.shadow.ShadowActivity;
67 ShadowActivity.class
72 private org.robolectric.shadows.ShadowActivity mActivityShadow;
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/
DDefaultAppShortcutPreferenceControllerBaseTest.java47 import org.robolectric.shadows.ShadowActivity;
192 final ShadowActivity shadowActivity = shadowOf(mActivity); in handlePreferenceTreeClick_shouldStartManageDefaultAppIntent()
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
DDataUsageSummaryPreferenceTest.java55 import org.robolectric.shadows.ShadowActivity;
431 ShadowActivity shadowActivity = Shadows.shadowOf(activity); in testSetAppIntent_toMdpApp_intentCorrect()
507 ShadowActivity shadowActivity = Shadows.shadowOf(activity); in testSetWifiMode_withUsageInfo_dataUsageShown()
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/
DDashboardFeatureProviderImplTest.java85 import org.robolectric.shadows.ShadowActivity;
466 ShadowActivity shadowActivity = Shadows.shadowOf(activity); in bindPreference_withIntentActionMetadata_shouldSetLaunchAction()
491 final ShadowActivity.IntentForResult launchIntent = in clickPreference_withUnresolvableIntent_shouldNotLaunchAnything()