/packages/apps/Settings/tests/robotests/src/com/android/settings/password/ |
D | SetupSkipDialogTest.java | 25 import com.android.settings.testutils.shadow.ShadowAlertDialogCompat; 36 @Config(shadows = {ShadowUtils.class, ShadowAlertDialogCompat.class}) 52 AlertDialog alertDialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in frpMessages_areShownCorrectly_whenNotSupported() 54 ShadowAlertDialogCompat shadowAlertDialog = ShadowAlertDialogCompat.shadowOf(alertDialog); in frpMessages_areShownCorrectly_whenNotSupported() 67 AlertDialog alertDialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in frpMessages_areShownCorrectly_whenSupported() 69 ShadowAlertDialogCompat shadowAlertDialog = ShadowAlertDialogCompat.shadowOf(alertDialog); in frpMessages_areShownCorrectly_whenSupported() 82 AlertDialog alertDialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in dialogMessage_whenSkipPinSetupForFace_shouldShownCorrectly() 84 ShadowAlertDialogCompat shadowAlertDialog = ShadowAlertDialogCompat.shadowOf(alertDialog); in dialogMessage_whenSkipPinSetupForFace_shouldShownCorrectly() 97 AlertDialog alertDialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in dialogMessage_whenSkipPasswordSetupForFace_shouldShownCorrectly() 99 ShadowAlertDialogCompat shadowAlertDialog = ShadowAlertDialogCompat.shadowOf(alertDialog); in dialogMessage_whenSkipPasswordSetupForFace_shouldShownCorrectly() [all …]
|
D | ChooseLockTypeDialogFragmentTest.java | 35 import com.android.settings.testutils.shadow.ShadowAlertDialogCompat; 47 @Config(shadows = {ShadowAlertDialogCompat.class, ShadowLockPatternUtils.class}) 64 ShadowAlertDialogCompat shadowAlertDialog = ShadowAlertDialogCompat.shadowOf(latestDialog); in testThatDialog_IsShown() 77 ShadowAlertDialogCompat shadowAlertDialog = ShadowAlertDialogCompat.shadowOf(lockDialog); in testThat_OnClickListener_IsCalled() 98 return ShadowAlertDialogCompat.getLatestAlertDialog(); in startLockFragment()
|
D | SetupChooseLockPatternTest.java | 40 import com.android.settings.testutils.shadow.ShadowAlertDialogCompat; 61 @Config(shadows = {ShadowUtils.class, ShadowAlertDialogCompat.class, ShadowLockPatternUtils.class}) 112 AlertDialog chooserDialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in verifyScreenLockOptionsShown() 157 AlertDialog chooserDialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in skipButton_shouldBeVisible_duringNonFingerprintFlow()
|
D | SetupChooseLockPasswordTest.java | 36 import com.android.settings.testutils.shadow.ShadowAlertDialogCompat; 66 ShadowAlertDialogCompat.class 157 final AlertDialog chooserDialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in createActivity_skipButtonInIntroductionStage_shouldBeVisible()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/ |
D | BatteryTipDialogFragmentTest.java | 37 import com.android.settings.testutils.shadow.ShadowAlertDialogCompat; 55 @Config(shadows = {ShadowUtils.class, ShadowAlertDialogCompat.class}) 113 final AlertDialog dialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in testOnCreateDialog_highUsageTip_fireHighUsageDialog() 114 ShadowAlertDialogCompat shadowDialog = ShadowAlertDialogCompat.shadowOf(dialog); in testOnCreateDialog_highUsageTip_fireHighUsageDialog() 127 final AlertDialog dialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in testOnCreateDialog_restrictOneAppTip_fireRestrictOneAppDialog() 128 ShadowAlertDialogCompat shadowDialog = ShadowAlertDialogCompat.shadowOf(dialog); in testOnCreateDialog_restrictOneAppTip_fireRestrictOneAppDialog() 149 final AlertDialog dialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in testOnCreateDialog_restrictTwoAppsTip_fireRestrictTwoAppsDialog() 150 ShadowAlertDialogCompat shadowDialog = ShadowAlertDialogCompat.shadowOf(dialog); in testOnCreateDialog_restrictTwoAppsTip_fireRestrictTwoAppsDialog() 179 final AlertDialog dialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in testOnCreateDialog_restrictSixAppsTip_fireRestrictSixAppsDialog() 180 ShadowAlertDialogCompat shadowDialog = ShadowAlertDialogCompat.shadowOf(dialog); in testOnCreateDialog_restrictSixAppsTip_fireRestrictSixAppsDialog() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/ |
D | NetworkRequestErrorDialogFragmentTest.java | 35 import com.android.settings.testutils.shadow.ShadowAlertDialogCompat; 49 @Config(shadows = ShadowAlertDialogCompat.class) 69 AlertDialog alertDialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in display_shouldShowTimeoutDialog() 74 ShadowAlertDialogCompat shadowAlertDialog = ShadowAlertDialogCompat.shadowOf(alertDialog); in display_shouldShowTimeoutDialog() 89 AlertDialog alertDialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in display_shouldShowAbortDialog() 94 ShadowAlertDialogCompat shadowAlertDialog = ShadowAlertDialogCompat.shadowOf(alertDialog); in display_shouldShowAbortDialog() 102 AlertDialog alertDialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in clickPositiveButton_shouldCallStartScanningDialog() 114 AlertDialog alertDialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in clickNegativeButton_shouldCloseTheDialog() 130 final AlertDialog alertDialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in clickNegativeButton_shouldCallReject()
|
D | NetworkRequestDialogFragmentTest.java | 44 import com.android.settings.testutils.shadow.ShadowAlertDialogCompat; 65 @Config(shadows = ShadowAlertDialogCompat.class) 92 AlertDialog alertDialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in display_shouldShowTheDialog() 100 final AlertDialog alertDialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in display_shouldShowTitleWithAppName() 111 AlertDialog alertDialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in clickNegativeButton_shouldCloseTheDialog() 279 final AlertDialog alertDialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in display_shouldNotShowNeutralButton() 289 final AlertDialog alertDialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in onMatchManyResult_showNeutralButton() 314 final AlertDialog alertDialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in clickNeutralButton_hideNeutralButton() 338 final AlertDialog alertDialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in cancelDialog_callsReject()
|
D | WifiDialogActivityTest.java | 27 import com.android.settings.testutils.shadow.ShadowAlertDialogCompat; 49 ShadowAlertDialogCompat.class 69 WifiDialog dialog = (WifiDialog) ShadowAlertDialogCompat.getLatestAlertDialog(); in onSubmit_shouldConnectToNetwork() 86 WifiDialog dialog = (WifiDialog) ShadowAlertDialogCompat.getLatestAlertDialog(); in onSubmit_whenConnectForCallerIsFalse_shouldNotConnectToNetwork() 107 WifiDialog dialog = (WifiDialog) ShadowAlertDialogCompat.getLatestAlertDialog(); in onSubmit_whenLaunchInSetupFlow_shouldBeLightThemeForWifiDialog()
|
D | NetworkRequestDialogActivityTest.java | 25 import com.android.settings.testutils.shadow.ShadowAlertDialogCompat; 37 @Config(shadows = ShadowAlertDialogCompat.class) 51 final AlertDialog alertDialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in launchActivity_shouldShowNetworkRequestDialog()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/ |
D | ButtonActionDialogFragmentTest.java | 33 import com.android.settings.testutils.shadow.ShadowAlertDialogCompat; 46 @Config(shadows = ShadowAlertDialogCompat.class) 80 final AlertDialog dialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in testOnCreateDialog_forceStopDialog() 84 ShadowAlertDialogCompat shadowDialog = ShadowAlertDialogCompat.shadowOf(dialog); in testOnCreateDialog_forceStopDialog() 101 final AlertDialog dialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in testOnCreateDialog_disableDialog() 105 ShadowAlertDialogCompat shadowDialog = ShadowAlertDialogCompat.shadowOf(dialog); in testOnCreateDialog_disableDialog() 121 final AlertDialog dialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in testOnCreateDialog_specialDisableDialog() 125 ShadowAlertDialogCompat shadowDialog = ShadowAlertDialogCompat.shadowOf(dialog); in testOnCreateDialog_specialDisableDialog()
|
D | InstantAppButtonDialogFragmentTest.java | 37 import com.android.settings.testutils.shadow.ShadowAlertDialogCompat; 48 @Config(shadows = ShadowAlertDialogCompat.class) 78 final AlertDialog dialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in onCreateDialog_clearAppDialog_shouldShowClearAppDataConfirmation() 82 final ShadowAlertDialogCompat shadowDialog = ShadowAlertDialogCompat.shadowOf(dialog); in onCreateDialog_clearAppDialog_shouldShowClearAppDataConfirmation()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/ |
D | ForgetDeviceDialogFragmentTest.java | 36 import com.android.settings.testutils.shadow.ShadowAlertDialogCompat; 53 @Config(shadows = {ShadowAlertDialogCompat.class}) 108 final AlertDialog dialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in createDialog_untetheredDevice_showUntetheredMessage() 109 ShadowAlertDialogCompat shadowDialog = ShadowAlertDialogCompat.shadowOf(dialog); in createDialog_untetheredDevice_showUntetheredMessage() 122 final AlertDialog dialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in createDialog_normalDevice_showNormalMessage() 123 ShadowAlertDialogCompat shadowDialog = ShadowAlertDialogCompat.shadowOf(dialog); in createDialog_normalDevice_showNormalMessage()
|
D | BluetoothDevicePreferenceTest.java | 36 import com.android.settings.testutils.shadow.ShadowAlertDialogCompat; 52 @Config(shadows = {ShadowAlertDialogCompat.class})
|
D | BluetoothPairingDialogTest.java | 43 import com.android.settings.testutils.shadow.ShadowAlertDialogCompat; 56 @Config(shadows = ShadowAlertDialogCompat.class) 443 AlertDialog dialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in userEntryDialogExistingTextTest()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/ |
D | RestrictedAppDetailsTest.java | 49 import com.android.settings.testutils.shadow.ShadowAlertDialogCompat; 67 @Config(shadows = ShadowAlertDialogCompat.class) 173 final AlertDialog dialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in createDialogFragment_toRestrict_createRestrictDialog() 174 ShadowAlertDialogCompat shadowDialog = ShadowAlertDialogCompat.shadowOf(dialog); in createDialogFragment_toRestrict_createRestrictDialog() 186 final AlertDialog dialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in createDialogFragment_toUnrestrict_createUnrestrictDialog() 187 ShadowAlertDialogCompat shadowDialog = ShadowAlertDialogCompat.shadowOf(dialog); in createDialogFragment_toUnrestrict_createUnrestrictDialog()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/sim/ |
D | PreferredSimDialogFragmentTest.java | 36 import com.android.settings.testutils.shadow.ShadowAlertDialogCompat; 44 @Config(shadows = ShadowAlertDialogCompat.class) 78 final ShadowAlertDialogCompat shadowDialog = ShadowAlertDialogCompat.shadowOf(alertDialog); in onCreateDialog_twoSimsSelectFirst_correctMessage() 89 final ShadowAlertDialogCompat shadowDialog = ShadowAlertDialogCompat.shadowOf(alertDialog); in onCreateDialog_twoSimsSelectSecond_correctMessage()
|
D | SimDialogFragmentTestBase.java | 29 import com.android.settings.testutils.shadow.ShadowAlertDialogCompat; 74 return ShadowAlertDialogCompat.getLatestAlertDialog(); in startDialog()
|
D | SimListDialogFragmentTest.java | 37 import com.android.settings.testutils.shadow.ShadowAlertDialogCompat; 47 @Config(shadows = ShadowAlertDialogCompat.class)
|
D | SimSelectNotificationTest.java | 58 import com.android.settings.testutils.shadow.ShadowAlertDialogCompat; 70 @Config(shadows = ShadowAlertDialogCompat.class)
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/biometrics/fingerprint/ |
D | SetupFingerprintEnrollFindSensorTest.java | 32 import com.android.settings.testutils.shadow.ShadowAlertDialogCompat; 49 @Config(shadows = {ShadowUtils.class, ShadowAlertDialogCompat.class}) 80 final AlertDialog alertDialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in fingerprintEnroll_showsAlert_whenClickingSkip() 83 final ShadowAlertDialogCompat shadowAlertDialog = ShadowAlertDialogCompat.shadowOf( in fingerprintEnroll_showsAlert_whenClickingSkip()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/ |
D | ShadowAlertDialogCompat.java | 37 public class ShadowAlertDialogCompat extends ShadowDialog { class 41 private static ShadowAlertDialogCompat latestSupportAlertDialog; 76 public static ShadowAlertDialogCompat shadowOf(AlertDialog alertDialog) { in shadowOf() 77 return (ShadowAlertDialogCompat) Shadow.extract(alertDialog); in shadowOf()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/ |
D | DevelopmentSettingsDashboardFragmentTest.java | 36 import com.android.settings.testutils.shadow.ShadowAlertDialogCompat; 60 @Config(shadows = {ShadowUserManager.class, ShadowAlertDialogCompat.class}) 198 AlertDialog dialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in onSwitchChanged_turnOff_andOffloadIsNotDefaultValue_shouldShowWarningDialog() 200 ShadowAlertDialogCompat shadowDialog = ShadowAlertDialogCompat.shadowOf(dialog); in onSwitchChanged_turnOff_andOffloadIsNotDefaultValue_shouldShowWarningDialog()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/users/ |
D | EditUserInfoControllerTest.java | 38 import com.android.settings.testutils.shadow.ShadowAlertDialogCompat; 101 @Config(shadows = ShadowAlertDialogCompat.class) 109 final EditText userName = ShadowAlertDialogCompat.shadowOf(dialog).getView() in userNameView_inputLongName_shouldBeConstrained()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/ |
D | RenameMobileNetworkDialogFragmentTest.java | 48 import com.android.settings.testutils.shadow.ShadowAlertDialogCompat; 67 @Config(shadows = ShadowAlertDialogCompat.class) 171 return ShadowAlertDialogCompat.getLatestAlertDialog(); in startDialog()
|