Home
last modified time | relevance | path

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

12

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/common/
DSettingsPreferenceDialogFragmentTest.java81 assertThat(ShadowAlertDialog.getLatestAlertDialog().getButton( in dialogFieldsPopulatedWithPreferenceFields()
84 assertThat(ShadowAlertDialog.getLatestAlertDialog().getButton( in dialogFieldsPopulatedWithPreferenceFields()
98 View messageView = ShadowAlertDialog.getLatestAlertDialog().findViewById( in dialogMessage_messageViewShown()
111 View messageView = ShadowAlertDialog.getLatestAlertDialog().findViewById( in noDialogMessage_messageViewHidden()
127 AlertDialog dialog = ShadowAlertDialog.getLatestAlertDialog(); in dialogClosed_positiveButton_callsOnDialogClosed()
137 AlertDialog dialog = ShadowAlertDialog.getLatestAlertDialog(); in dialogClosed_negativeButton_callsOnDialogClosed()
150 ShadowAlertDialog.getLatestAlertDialog()).getSoftInputMode()).isEqualTo( in subclassNeedsInputMethod_softInputModeSetOnWindow()
160 ShadowAlertDialog.getLatestAlertDialog()).getSoftInputMode()).isEqualTo(0); in subclassDoesNotNeedInputMethod_noWindowSoftInputMode()
187 assertThat(ShadowAlertDialog.getLatestAlertDialog().getButton( in instanceStateRetained()
189 assertThat(ShadowAlertDialog.getLatestAlertDialog().getButton( in instanceStateRetained()
[all …]
DValidatedEditTextPreferenceDialogFragmentTest.java76 Button positiveButton = ShadowAlertDialog.getLatestAlertDialog().getButton( in noValidatorSet_shouldEnablePositiveButton_and_allowEnterToSubmit()
78 EditText editText = ShadowAlertDialog.getLatestAlertDialog().findViewById( in noValidatorSet_shouldEnablePositiveButton_and_allowEnterToSubmit()
100 Button positiveButton = ShadowAlertDialog.getLatestAlertDialog().getButton( in onInvalidInput_shouldDisablePositiveButton_and_disallowEnterToSubmit()
102 EditText editText = ShadowAlertDialog.getLatestAlertDialog().findViewById( in onInvalidInput_shouldDisablePositiveButton_and_disallowEnterToSubmit()
121 Button positiveButton = ShadowAlertDialog.getLatestAlertDialog().getButton( in onValidInput_shouldEnablePositiveButton_and_allowEnterToSubmit()
123 EditText editText = ShadowAlertDialog.getLatestAlertDialog().findViewById( in onValidInput_shouldEnablePositiveButton_and_allowEnterToSubmit()
DEditTextPreferenceDialogFragmentTest.java77 EditText editTextView = ShadowAlertDialog.getLatestAlertDialog().findViewById( in dialogPopulatedWithPreferenceText()
88 ShadowAlertDialog.getLatestAlertDialog()).getSoftInputMode()).isEqualTo( in softInputMethodSetOnWindow()
95 EditText editTextView = ShadowAlertDialog.getLatestAlertDialog().findViewById( in editTextHasFocus()
105 AlertDialog dialog = ShadowAlertDialog.getLatestAlertDialog(); in onDialogClosed_positiveResult_updatesPreference()
117 AlertDialog dialog = ShadowAlertDialog.getLatestAlertDialog(); in onDialogClosed_negativeResult_doesNothing()
142 AlertDialog dialog = ShadowAlertDialog.getLatestAlertDialog(); in instanceStateRetained()
DPasswordEditTextPreferenceDialogFragmentTest.java72 AlertDialog dialog = ShadowAlertDialog.getLatestAlertDialog(); in onStart_inputTypeSetToPassword_shouldRevealShowPasswordCheckBoxUnchecked()
83 AlertDialog dialog = ShadowAlertDialog.getLatestAlertDialog(); in onCheckBoxChecked_shouldRevealRawPassword()
98 AlertDialog dialog = ShadowAlertDialog.getLatestAlertDialog(); in onCheckBoxUnchecked_shouldObscureRawPassword()
DSettingsListPreferenceDialogFragmentTest.java101 AlertDialog dialog = ShadowAlertDialog.getLatestAlertDialog(); in onDialogClosed_negativeResult_doesNothing()
127 return ShadowApplication.getInstance().getLatestAlertDialog(); in getShadowAlertDialog()
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/ui/settings/common/
DSettingsPreferenceDialogFragmentTest.java81 assertThat(ShadowAlertDialog.getLatestAlertDialog().getButton( in dialogFieldsPopulatedWithPreferenceFields()
84 assertThat(ShadowAlertDialog.getLatestAlertDialog().getButton( in dialogFieldsPopulatedWithPreferenceFields()
98 View messageView = ShadowAlertDialog.getLatestAlertDialog().findViewById( in dialogMessage_messageViewShown()
111 View messageView = ShadowAlertDialog.getLatestAlertDialog().findViewById( in noDialogMessage_messageViewHidden()
127 AlertDialog dialog = ShadowAlertDialog.getLatestAlertDialog(); in dialogClosed_positiveButton_callsOnDialogClosed()
137 AlertDialog dialog = ShadowAlertDialog.getLatestAlertDialog(); in dialogClosed_negativeButton_callsOnDialogClosed()
150 ShadowAlertDialog.getLatestAlertDialog()).getSoftInputMode()).isEqualTo( in subclassNeedsInputMethod_softInputModeSetOnWindow()
160 ShadowAlertDialog.getLatestAlertDialog()).getSoftInputMode()).isEqualTo(0); in subclassDoesNotNeedInputMethod_noWindowSoftInputMode()
187 assertThat(ShadowAlertDialog.getLatestAlertDialog().getButton( in instanceStateRetained()
189 assertThat(ShadowAlertDialog.getLatestAlertDialog().getButton( in instanceStateRetained()
[all …]
DSettingsListPreferenceDialogFragmentTest.java101 AlertDialog dialog = ShadowAlertDialog.getLatestAlertDialog(); in onDialogClosed_negativeResult_doesNothing()
127 return ShadowApplication.getInstance().getLatestAlertDialog(); in getShadowAlertDialog()
/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/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/
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()
DNetworkRequestErrorDialogFragmentTest.java60 AlertDialog alertDialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in display_shouldShowTimeoutDialog()
80 AlertDialog alertDialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in display_shouldShowAbortDialog()
93 AlertDialog alertDialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in clickPositiveButton_shouldCallStartScanningDialog()
105 AlertDialog alertDialog = ShadowAlertDialogCompat.getLatestAlertDialog(); in clickNegativeButton_shouldCloseTheDialog()
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.java47 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()
/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/Car/Dialer/tests/robotests/src/com/android/car/dialer/ui/contact/
DContactListFragmentTest.java118 assertThat(ShadowAlertDialog.getLatestAlertDialog()).isNull(); in testClickCallActionButton_ContactHasMultipleNumbers_showAlertDialog()
123 assertThat(ShadowAlertDialog.getLatestAlertDialog()).isNotNull(); in testClickCallActionButton_ContactHasMultipleNumbers_showAlertDialog()
DContactListViewHolderTest.java214 assertThat(ShadowAlertDialog.getLatestAlertDialog()).isNull(); in testClickCallActionButton_HasMultipleNumbersAndNoPrimaryNumber_showAlertDialog()
219 assertThat(ShadowAlertDialog.getLatestAlertDialog()).isNotNull(); in testClickCallActionButton_HasMultipleNumbersAndNoPrimaryNumber_showAlertDialog()
/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/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()

12