Home
last modified time | relevance | path

Searched refs:showDialog (Results 1 – 25 of 147) sorted by relevance

123456

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/inputmethod/
DKeyboardManagementPreferenceControllerTest.java299 verify(mControllerHelper.getMockFragmentController()).showDialog( in performClick_toggleTrue_securityDialogShown()
317 verify(mControllerHelper.getMockFragmentController()).showDialog(dialogCaptor.capture(), in performClick_toggleTrue_showSecurityDialog_positive_noOtherPreferenceAdded()
341 verify(mControllerHelper.getMockFragmentController()).showDialog(dialogCaptor.capture(), in performClick_toggleTrue_showSecurityDialog_positive_preferenceChecked()
364 verify(mControllerHelper.getMockFragmentController()).showDialog(dialogCaptor.capture(), in performClick_toggleTrue_showSecurityDialog_positive_preferenceEnabled()
386 verify(mControllerHelper.getMockFragmentController()).showDialog(dialogCaptor.capture(), in performClick_toggleTrue_showSecurityDialog_positive_inputMethodEnabled()
409 verify(mControllerHelper.getMockFragmentController()).showDialog(dialogCaptor.capture(), in performClick_toggleTrue_showSecurityDialog_negative_noOtherPreferenceAdded()
433 verify(mControllerHelper.getMockFragmentController()).showDialog(dialogCaptor.capture(), in performClick_toggleTrue_showSecurityDialog_negative_preferenceEnabled()
455 verify(mControllerHelper.getMockFragmentController()).showDialog(dialogCaptor.capture(), in performClick_toggleTrue_showSecurityDialog_negative_inputMethodDisabled()
478 verify(mControllerHelper.getMockFragmentController()).showDialog( in performClick_toggleTrue_directBootWarningShown()
486 verify(mControllerHelper.getMockFragmentController()).showDialog( in performClick_toggleTrue_directBootWarningShown()
[all …]
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/network/
DMobileDataTogglePreferenceControllerTest.java161 verify(mControllerHelper.getMockFragmentController()).showDialog( in handlePreferenceChanged_setFalse_isSingleSim_opensDialog()
240 verify(mControllerHelper.getMockFragmentController()).showDialog( in handlePreferenceChanged_setTrue_isMultiSim_otherSimActive_opensDialog()
254 verify(mControllerHelper.getMockFragmentController()).showDialog( in disableSingleSimDialog_onConfirm_disablesData()
260 AlertDialog alertDialog = showDialog(dialog); in disableSingleSimDialog_onConfirm_disablesData()
275 verify(mControllerHelper.getMockFragmentController()).showDialog( in disableSingleSimDialog_onConfirm_setsUnchecked()
281 AlertDialog alertDialog = showDialog(dialog); in disableSingleSimDialog_onConfirm_setsUnchecked()
299 verify(mControllerHelper.getMockFragmentController()).showDialog( in enableMutliSimDialog_onConfirm_enablesData()
305 AlertDialog alertDialog = showDialog(dialog); in enableMutliSimDialog_onConfirm_enablesData()
323 verify(mControllerHelper.getMockFragmentController()).showDialog( in enableMutliSimDialog_onConfirm_setsChecked()
329 AlertDialog alertDialog = showDialog(dialog); in enableMutliSimDialog_onConfirm_setsChecked()
[all …]
DRoamingPreferenceControllerTest.java174 verify(mControllerHelper.getMockFragmentController()).showDialog( in callChangeListener_toggleTrue_needsDialog_showDialog()
191 verify(mControllerHelper.getMockFragmentController()).showDialog( in confirmDialog_turnOnRoaming()
197 AlertDialog alertDialog = showDialog(dialog); in confirmDialog_turnOnRoaming()
228 private AlertDialog showDialog(ConfirmationDialogFragment dialog) { in showDialog() method in RoamingPreferenceControllerTest
230 activity.showDialog(dialog, /* tag= */ null); in showDialog()
/packages/apps/CertInstaller/src/com/android/certinstaller/
DCertInstaller.java239 showDialog(PKCS12_PASSWORD_DIALOG); in extractPkcs12OrInstall()
298 showDialog(INVALID_CERTIFICATE_DIALOG); in installOthers()
327 showDialog(NAME_CREDENTIAL_DIALOG); in installCertificateOrShowNameDialog()
333 showDialog(PROGRESS_BAR_DIALOG); in extractPkcs12InBackground()
360 showDialog(INVALID_CERTIFICATE_DIALOG); in onExtractionDone()
366 showDialog(PKCS12_PASSWORD_DIALOG); in onExtractionDone()
374 showDialog(REDIRECT_CA_CERTIFICATE_DIALOG); in createRedirectOrSelectUsageDialog()
376 showDialog(SELECT_CERTIFICATE_USAGE_DIALOG); in createRedirectOrSelectUsageDialog()
435 showDialog(NAME_CREDENTIAL_DIALOG); in createSelectCertificateUsageDialog()
516 showDialog(NAME_CREDENTIAL_DIALOG); in createNameCertificateDialog()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/provisioning/
DAbstractProvisioningActivity.java137 showDialog(mUtils.createCancelProvisioningResetDialogBuilder(), in showCancelProvisioningDialog()
140 showDialog(mUtils.createCancelProvisioningDialogBuilder(), in showCancelProvisioningDialog()
154 showDialog(dialogBuilder, resetRequired ? ERROR_DIALOG_RESET : ERROR_DIALOG_OK); in error()
158 protected void showDialog(DialogBuilder builder, String tag) { in showDialog() method in AbstractProvisioningActivity
161 super.showDialog(builder, tag); in showDialog()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/users/
DConfirmExitRetailModeDialogTest.java62 showDialog(); in testConfirmExitRetailModeInvokesOnExitRetailModeConfirmed()
73 showDialog(); in testCancelDismissesDialog()
83 showDialog(); in testNoConfirmClickListenerDismissesDialog()
91 private void showDialog() { in showDialog() method in ConfirmExitRetailModeDialogTest
DChooseNewAdminPreferenceControllerTest.java108 verify(mControllerHelper.getMockFragmentController()).showDialog( in testUserClicked_opensDialog()
134 verify(mControllerHelper.getMockFragmentController(), never()).showDialog( in testAssignNewAdminAndRemoveOldAdmin_success_noErrorDialog()
145 verify(mControllerHelper.getMockFragmentController()).showDialog(any(ErrorDialog.class), in testAssignNewAdminAndRemoveOldAdmin_failure_errorDialog()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/
DBluetoothDisconnectConfirmDialogFragmentTest.java91 AlertDialog dialog = showDialog(mFragment); in confirmDisconnect_disconnectsFromDevice()
102 AlertDialog dialog = showDialog(mFragment); in deviceNoLongerConnected_dismiss()
111 private AlertDialog showDialog(BluetoothDisconnectConfirmDialogFragment fragment) { in showDialog() method in BluetoothDisconnectConfirmDialogFragmentTest
113 activity.showDialog(fragment, /* tag= */ null); in showDialog()
DRemoteRenameDialogFragmentTest.java94 showDialog(mFragment); // Attach the fragment. in getDeviceName_returnsCachedDeviceName()
102 AlertDialog dialog = showDialog(mFragment); in setDeviceName_updatesCachedDeviceName()
111 private AlertDialog showDialog(RemoteRenameDialogFragment fragment) { in showDialog() method in RemoteRenameDialogFragmentTest
113 activity.showDialog(fragment, /* tag= */ null); in showDialog()
DLocalRenameDialogFragmentTest.java84 AlertDialog dialog = showDialog(mFragment); in localNameChangedBroadcast_updatesDeviceName()
100 AlertDialog dialog = showDialog(mFragment); in setDeviceName_updatesLocalAdapterName()
109 private AlertDialog showDialog(LocalRenameDialogFragment fragment) { in showDialog() method in LocalRenameDialogFragmentTest
111 activity.showDialog(fragment, /* tag= */ null); in showDialog()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/bluetooth/
DBluetoothPermissionActivity.java97 showDialog(getString(R.string.bluetooth_connection_permission_request), mRequestType); in onCreate()
99 showDialog(getString(R.string.bluetooth_phonebook_request), mRequestType); in onCreate()
101 showDialog(getString(R.string.bluetooth_map_request), mRequestType); in onCreate()
103 showDialog(getString(R.string.bluetooth_sap_request), mRequestType); in onCreate()
116 private void showDialog(String title, int requestType) in showDialog() method in BluetoothPermissionActivity
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothPermissionActivity.java97 showDialog(getString(R.string.bluetooth_connection_permission_request), mRequestType); in onCreate()
99 showDialog(getString(R.string.bluetooth_phonebook_request), mRequestType); in onCreate()
101 showDialog(getString(R.string.bluetooth_map_request), mRequestType); in onCreate()
103 showDialog(getString(R.string.bluetooth_sap_request), mRequestType); in onCreate()
116 private void showDialog(String title, int requestType) in showDialog() method in BluetoothPermissionActivity
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/
DPreProvisioningActivity.java221 showDialog(dialogBuilder, ERROR_AND_CLOSE_DIALOG); in showErrorAndClose()
303 showDialog(dialogBuilder, LAUNCHER_INVALID_DIALOG); in showCurrentLauncherInvalid()
352 showDialog(dialogBuilder, ERROR_DIALOG_RESET); in showFactoryResetDialog()
379 showDialog(() -> DeleteManagedProfileDialog.newInstance(userId, in showDeleteManagedProfileDialog()
386 showDialog(mUtils.createCancelProvisioningResetDialogBuilder(), in onBackPressed()
389 showDialog(mUtils.createCancelProvisioningDialogBuilder(), in onBackPressed()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/specialaccess/
DNotificationAccessPreferenceControllerTest.java143 verify(mControllerHelper.getMockFragmentController()).showDialog(any( in preferenceClicked_serviceAccessGranted_showsRevokeConfirmDialog()
158 verify(mControllerHelper.getMockFragmentController()).showDialog(any( in preferenceClicked_serviceAccessNotGranted_showsGrantConfirmDialog()
176 verify(mControllerHelper.getMockFragmentController()).showDialog(dialogCaptor.capture(), in revokeConfirmed_revokesNotificationAccess()
199 verify(mControllerHelper.getMockFragmentController()).showDialog(dialogCaptor.capture(), in revokeConfirmed_notificationPolicyAccessNotGranted_removesAutomaticZenRules()
230 verify(mControllerHelper.getMockFragmentController()).showDialog(dialogCaptor.capture(), in grantConfirmed_grantsNotificationAccess()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/calling/
DListWithEntrySummaryPreferenceTest.java66 AlertDialog dialog = showDialog(mPreference); in initialize_defaultEntries_shouldDisplayDefaultEntries()
85 AlertDialog dialog = showDialog(mPreference); in setEntries_customEntries_shouldUpdateEntries()
110 AlertDialog dialog = showDialog(preference); in onSaveAndRestoreInstanceState_resumePreference_shouldNotChangeEntries()
123 private AlertDialog showDialog(ListWithEntrySummaryPreference preference) { in showDialog() method in ListWithEntrySummaryPreferenceTest
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/wifi/preferences/
DConfirmEnableWifiScanningDialogFragmentTest.java51 AlertDialog dialog = showDialog(mFragment); in onClick_positiveButton_callsListener()
57 private AlertDialog showDialog(ConfirmEnableWifiScanningDialogFragment fragment) { in showDialog() method in ConfirmEnableWifiScanningDialogFragmentTest
59 activity.showDialog(fragment, /* tag= */ null); in showDialog()
/packages/services/Telephony/src/com/android/phone/
DEmergencyCallbackModeExitDialog.java199 showDialog(EXIT_ECM_IN_EMERGENCY_CALL_DIALOG); in showEmergencyCallbackModeExitDialog()
204 showDialog(EXIT_ECM_BLOCK_OTHERS); in showEmergencyCallbackModeExitDialog()
207 showDialog(EXIT_ECM_DIALOG); in showEmergencyCallbackModeExitDialog()
246 showDialog(EXIT_ECM_PROGRESS_DIALOG); in onCreateDialog()
DCallBarringDeselectAllPreference.java45 protected void showDialog(Bundle state) { in showDialog() method in CallBarringDeselectAllPreference
47 super.showDialog(state); in showDialog()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/common/
DValidatedEditTextPreferenceDialogFragmentTest.java79 mTestActivity.showDialog(mFragment, /* tag= */ null); in noValidatorSet_shouldEnablePositiveButton_and_allowEnterToSubmit()
103 mTestActivity.showDialog(mFragment, /* tag= */ null); in onInvalidInput_shouldDisablePositiveButton_and_disallowEnterToSubmit()
124 mTestActivity.showDialog(mFragment, /* tag= */ null); in onValidInput_shouldEnablePositiveButton_and_allowEnterToSubmit()
DPasswordEditTextPreferenceDialogFragmentTest.java77 mTestActivity.showDialog(mFragment, /* tag= */ null); in onStart_inputTypeSetToPassword_shouldRevealShowPasswordCheckBoxUnchecked()
88 mTestActivity.showDialog(mFragment, /* tag= */ null); in onCheckBoxChecked_shouldRevealRawPassword()
103 mTestActivity.showDialog(mFragment, /* tag= */ null); in onCheckBoxUnchecked_shouldObscureRawPassword()
DBaseCarSettingsActivityTest.java97 mActivity.showDialog(dialogFragment, /* tag */ null); in showDialog_launchDialogFragment_noTag()
104 mActivity.showDialog(dialogFragment, TEST_TAG); in showDialog_launchDialogFragment_withTag()
111 mActivity.showDialog(dialogFragment, TEST_TAG); in findDialogByTag_retrieveOriginalDialog()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/users/
DUserSettings.java442 showDialog(DIALOG_ADD_USER); in onAddUserClicked()
448 showDialog(DIALOG_NEED_LOCKSCREEN); in onAddUserClicked()
460 showDialog(DIALOG_CONFIRM_REMOVE); in onRemoveUserClicked()
528 showDialog(DIALOG_SETUP_PROFILE); in onUserCreated()
530 showDialog(DIALOG_SETUP_USER); in onUserCreated()
1047 showDialog(DIALOG_CONFIRM_EXIT_GUEST); in onPreferenceClick()
1054 showDialog(DIALOG_USER_PROFILE_EDITOR); in onPreferenceClick()
1068 showDialog(DIALOG_CHOOSE_USER_TYPE); in onPreferenceClick()
/packages/apps/Settings/src/com/android/settings/users/
DUserSettings.java446 showDialog(DIALOG_ADD_USER); in onAddUserClicked()
452 showDialog(DIALOG_NEED_LOCKSCREEN); in onAddUserClicked()
464 showDialog(DIALOG_CONFIRM_REMOVE); in onRemoveUserClicked()
532 showDialog(DIALOG_SETUP_PROFILE); in onUserCreated()
534 showDialog(DIALOG_SETUP_USER); in onUserCreated()
1051 showDialog(DIALOG_CONFIRM_EXIT_GUEST); in onPreferenceClick()
1058 showDialog(DIALOG_USER_PROFILE_EDITOR); in onPreferenceClick()
1072 showDialog(DIALOG_CHOOSE_USER_TYPE); in onPreferenceClick()
/packages/apps/Settings/src/com/android/settings/
DSettingsTutorialDialogWrapperActivity.java35 showDialog(); in onCreate()
38 private void showDialog() { in showDialog() method in SettingsTutorialDialogWrapperActivity
/packages/apps/Dialer/java/com/android/dialer/precall/impl/
DCallingAccountSelector.java101 showDialog( in runWithUi()
160 showDialog( in processPreferredAccount()
174 private void showDialog( in showDialog() method in CallingAccountSelector

123456