Home
last modified time | relevance | path

Searched refs:getLatestAlertDialog (Results 1 – 25 of 29) sorted by relevance

12

/packages/apps/Settings/tests/robotests/src/com/android/settings/password/
DSetupSkipDialogTest.java52 AlertDialog alertDialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in frpMessages_areShownCorrectly_whenNotSupported()
67 AlertDialog alertDialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in frpMessages_areShownCorrectly_whenSupported()
82 AlertDialog alertDialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in dialogMessage_whenSkipPinSetupForFace_shouldShownCorrectly()
97 AlertDialog alertDialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in dialogMessage_whenSkipPasswordSetupForFace_shouldShownCorrectly()
112 AlertDialog alertDialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in dialogMessage_whenSkipPatternSetupForFace_shouldShownCorrectly()
127 AlertDialog alertDialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in dialogMessage_whenSkipPinSetupForFingerprint_shouldShownCorrectly()
142 AlertDialog alertDialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in dialogMessage_whenSkipPasswordSetupForFingerprint_shouldShownCorrectly()
157 AlertDialog alertDialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in dialogMessage_whenSkipPatternSetupForFingerprint_shouldShownCorrectly()
DSetupChooseLockPatternTest.java112 AlertDialog chooserDialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in verifyScreenLockOptionsShown()
157 AlertDialog chooserDialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in skipButton_shouldBeVisible_duringNonFingerprintFlow()
DChooseLockTypeDialogFragmentTest.java98 return ShadowAlertDialogCompat.getLatestAlertDialog(); in startLockFragment()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/common/
DValidatedEditTextPreferenceDialogFragmentTest.java81 Button positiveButton = ShadowAlertDialog.getLatestAlertDialog().getButton( in noValidatorSet_shouldEnablePositiveButton_and_allowEnterToSubmit()
83 EditText editText = ShadowAlertDialog.getLatestAlertDialog().findViewById( in noValidatorSet_shouldEnablePositiveButton_and_allowEnterToSubmit()
105 Button positiveButton = ShadowAlertDialog.getLatestAlertDialog().getButton( in onInvalidInput_shouldDisablePositiveButton_and_disallowEnterToSubmit()
107 EditText editText = ShadowAlertDialog.getLatestAlertDialog().findViewById( in onInvalidInput_shouldDisablePositiveButton_and_disallowEnterToSubmit()
126 Button positiveButton = ShadowAlertDialog.getLatestAlertDialog().getButton( in onValidInput_shouldEnablePositiveButton_and_allowEnterToSubmit()
128 EditText editText = ShadowAlertDialog.getLatestAlertDialog().findViewById( in onValidInput_shouldEnablePositiveButton_and_allowEnterToSubmit()
DPasswordEditTextPreferenceDialogFragmentTest.java78 AlertDialog dialog = ShadowAlertDialog.getLatestAlertDialog(); in onStart_inputTypeSetToPassword_shouldRevealShowPasswordCheckBoxUnchecked()
89 AlertDialog dialog = ShadowAlertDialog.getLatestAlertDialog(); in onCheckBoxChecked_shouldRevealRawPassword()
104 AlertDialog dialog = ShadowAlertDialog.getLatestAlertDialog(); in onCheckBoxUnchecked_shouldObscureRawPassword()
DConfirmationDialogFragmentTest.java141 return ShadowApplication.getInstance().getLatestAlertDialog(); in getShadowAlertDialog()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/
DBatteryTipDialogFragmentTest.java113 final AlertDialog dialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in testOnCreateDialog_highUsageTip_fireHighUsageDialog()
127 final AlertDialog dialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in testOnCreateDialog_restrictOneAppTip_fireRestrictOneAppDialog()
149 final AlertDialog dialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in testOnCreateDialog_restrictTwoAppsTip_fireRestrictTwoAppsDialog()
179 final AlertDialog dialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in testOnCreateDialog_restrictSixAppsTip_fireRestrictSixAppsDialog()
198 final AlertDialog dialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in testOnCreateDialog_unRestrictAppTip_fireUnRestrictDialog()
214 final AlertDialog dialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in testOnCreateDialog_summaryTip_fireDialog()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/
DNetworkRequestErrorDialogFragmentTest.java69 AlertDialog alertDialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in display_shouldShowTimeoutDialog()
89 AlertDialog alertDialog = ShadowAlertDialogCompat.getLatestAlertDialog(); 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()
DNetworkRequestDialogFragmentTest.java92 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()
DWifiDialogActivityTest.java69 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()
DNetworkRequestDialogActivityTest.java51 final AlertDialog alertDialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in launchActivity_shouldShowNetworkRequestDialog()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/wifi/
DAccessPointPreferenceTest.java70 AlertDialog dialog = ShadowAlertDialog.getLatestAlertDialog(); in onClick_securityTypeNone_doesntOpenDialog()
86 AlertDialog dialog = ShadowAlertDialog.getLatestAlertDialog(); in onClick_hasSecurity_isSaved_correctPassword_doesntOpenDialog()
105 AlertDialog dialog = ShadowAlertDialog.getLatestAlertDialog(); in onClick_hasSecurity_isSaved_incorrectPassword_opensDialog()
115 AlertDialog dialog = ShadowAlertDialog.getLatestAlertDialog(); in onClick_hasSecurity_isNotSaved_opensDialog()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/
DButtonActionDialogFragmentTest.java80 final AlertDialog dialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in testOnCreateDialog_forceStopDialog()
101 final AlertDialog dialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in testOnCreateDialog_disableDialog()
121 final AlertDialog dialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in testOnCreateDialog_specialDisableDialog()
DInstantAppButtonDialogFragmentTest.java78 final AlertDialog dialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in onCreateDialog_clearAppDialog_shouldShowClearAppDataConfirmation()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DForgetDeviceDialogFragmentTest.java108 final AlertDialog dialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in createDialog_untetheredDevice_showUntetheredMessage()
122 final AlertDialog dialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in createDialog_normalDevice_showNormalMessage()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DRestrictedAppDetailsTest.java173 final AlertDialog dialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in createDialogFragment_toRestrict_createRestrictDialog()
186 final AlertDialog dialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in createDialogFragment_toUnrestrict_createUnrestrictDialog()
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/ui/contact/
DContactListFragmentTest.java133 assertThat(ShadowAlertDialog.getLatestAlertDialog()).isNull(); in testClickCallActionButton_ContactHasMultipleNumbers_showAlertDialog()
138 assertThat(ShadowAlertDialog.getLatestAlertDialog()).isNotNull(); in testClickCallActionButton_ContactHasMultipleNumbers_showAlertDialog()
DContactListViewHolderTest.java217 assertThat(ShadowAlertDialog.getLatestAlertDialog()).isNull(); in testClickCallActionButton_HasMultipleNumbersAndNoPrimaryNumber_showAlertDialog()
222 assertThat(ShadowAlertDialog.getLatestAlertDialog()).isNotNull(); in testClickCallActionButton_HasMultipleNumbersAndNoPrimaryNumber_showAlertDialog()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/storage/
DStorageSystemCategoryPreferenceControllerTest.java51 ShadowAlertDialog dialog = ShadowApplication.getInstance().getLatestAlertDialog(); in handlePreferenceClicked_openAlertDialog()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowAlertDialogCompat.java67 public static AlertDialog getLatestAlertDialog() { in getLatestAlertDialog() method in ShadowAlertDialogCompat
/packages/apps/Settings/tests/robotests/src/com/android/settings/sim/
DSimDialogFragmentTestBase.java74 return ShadowAlertDialogCompat.getLatestAlertDialog(); in startDialog()
/packages/apps/Settings/tests/robotests/src/com/android/settings/biometrics/fingerprint/
DSetupFingerprintEnrollFindSensorTest.java80 final AlertDialog alertDialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in fingerprintEnroll_showsAlert_whenClickingSkip()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/
DContactDiscoveryDialogFragmentTest.java93 return ShadowAlertDialog.getLatestAlertDialog(); in startDialog()
DRenameMobileNetworkDialogFragmentTest.java171 return ShadowAlertDialogCompat.getLatestAlertDialog(); in startDialog()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/
DApplicationDetailsFragmentTest.java483 AlertDialog dialog = ShadowAlertDialog.getLatestAlertDialog(); in forceStopDialogConfirmed_forceStopsPackage()
516 AlertDialog dialog = ShadowAlertDialog.getLatestAlertDialog(); in disableDialogConfirmed_disablesPackage()

12