/packages/apps/Settings/tests/robotests/src/com/android/settings/biometrics/fingerprint/ |
D | SetupFingerprintEnrollIntroductionTest.java | 52 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()
|
D | FingerprintEnrollFindSensorTest.java | 54 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()
|
D | SetupFingerprintEnrollFinishTest.java | 43 import org.robolectric.shadows.ShadowActivity; 77 ShadowActivity.IntentForResult startedActivity = in clickAddAnother_shouldLaunchEnrolling() 92 ShadowActivity.IntentForResult startedActivity = in clickAddAnother_shouldPropagateResults()
|
D | FingerprintSuggestionActivityTest.java | 45 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/ |
D | SetNewPasswordActivityTest.java | 59 import org.robolectric.shadows.ShadowActivity; 98 ShadowActivity shadowActivity = Shadows.shadowOf(activity); in testChooseLockGeneric() 112 ShadowActivity shadowActivity = Shadows.shadowOf(activity); in testSetupChooseLockGeneric() 132 ShadowActivity shadowActivity = Shadows.shadowOf(activity); in testLaunchChooseLock_setNewPasswordExtraWithoutPermission() 156 ShadowActivity shadowActivity = Shadows.shadowOf(activity); in testLaunchChooseLock_setNewPasswordExtraWithPermission() 186 ShadowActivity shadowActivity = Shadows.shadowOf(activity); in testLaunchChooseLock_setNewPasswordExtraInvalidValue() 214 ShadowActivity shadowActivity = Shadows.shadowOf(activity); in testLaunchChooseLock_setNewPasswordExtraNoneComplexity() 241 ShadowActivity shadowActivity = Shadows.shadowOf(activity); in testLaunchChooseLock_setNewPasswordWithoutExtra() 269 ShadowActivity shadowActivity = Shadows.shadowOf(activity); in testLaunchChooseLock_setNewParentProfilePasswordExtraWithPermission() 296 ShadowActivity shadowActivity = Shadows.shadowOf(activity); in testLaunchChooseLock_setNewParentProfilePasswordWithoutExtra() [all …]
|
D | ChooseLockSettingsHelperTest.java | 31 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()
|
D | SetupChooseLockGenericTest.java | 42 import org.robolectric.shadows.ShadowActivity; 64 ShadowActivity shadowActivity = Shadows.shadowOf(activity); in setupChooseLockGenericPasswordComplexityExtraWithoutPermission() 78 ShadowActivity shadowActivity = Shadows.shadowOf(activity); in setupChooseLockGenericPasswordComplexityExtraWithPermission()
|
D | SetupChooseLockPasswordTest.java | 54 import org.robolectric.shadows.ShadowActivity; 137 ShadowActivity shadowActivity = Shadows.shadowOf(activity); in createActivity_clickDifferentOption_extrasShouldBePropagated()
|
/packages/apps/TV/tests/robotests/src/com/android/tv/ |
D | SetupPassthroughActivityTest.java | 78 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/ |
D | LocalePickerWithRegionActivityTest.java | 20 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/ |
D | ShadowActivity.java | 28 public class ShadowActivity extends org.robolectric.shadows.ShadowActivity { class
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/slices/ |
D | SliceContextualCardControllerTest.java | 54 import org.robolectric.shadows.ShadowActivity; 110 final ShadowActivity shadowActivity = Shadows.shadowOf(fragment.getActivity()); in onDismissed_feedbackDisabled_shouldNotShowFeedbackDialog() 123 final ShadowActivity shadowActivity = Shadows.shadowOf(fragment.getActivity()); in onDismissed_feedbackEnabled_shouldShowFeedbackDialog()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/conditional/ |
D | WorkModeConditionControllerTest.java | 36 import org.robolectric.shadows.ShadowActivity; 60 final ShadowActivity shadowActivity = Shadow.extract(mActivity); in onPrimaryClick_shouldLaunchAccountsSetting()
|
D | BackgroundDataConditionControllerTest.java | 37 import org.robolectric.shadows.ShadowActivity; 66 final ShadowActivity shadowActivity = Shadow.extract(mActivity); in onPrimaryClick_shouldReturn2SummaryActivity()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/ |
D | HelpTrampolineTest.java | 33 import org.robolectric.shadows.ShadowActivity; 59 final ShadowActivity shadow = Shadows. in launchHelp_hasExtra_shouldLaunchHelp()
|
D | MasterClearTest.java | 67 import org.robolectric.shadows.ShadowActivity; 97 private ShadowActivity mShadowActivity;
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/ |
D | PrivateVolumeFormatTest.java | 37 import org.robolectric.shadows.ShadowActivity; 45 private ShadowActivity mShadowActivity;
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/ |
D | ActionDisabledByAdminDialogHelperTest.java | 47 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/ |
D | DefaultAppShortcutPreferenceControllerBaseTest.java | 47 import org.robolectric.shadows.ShadowActivity; 192 final ShadowActivity shadowActivity = shadowOf(mActivity); in handlePreferenceTreeClick_shouldStartManageDefaultAppIntent()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/ |
D | DashboardFeatureProviderImplTest.java | 80 import org.robolectric.shadows.ShadowActivity; 339 ShadowActivity shadowActivity = Shadows.shadowOf(activity); in bindPreference_withIntentActionMetadata_shouldSetLaunchAction() 363 final ShadowActivity.IntentForResult launchIntent = in clickPreference_withUnresolvableIntent_shouldNotLaunchAnything()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/ |
D | DataUsageSummaryPreferenceTest.java | 55 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()
|