Home
last modified time | relevance | path

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

12345678

/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/
H A DAuthControllerTest.java244 showDialog(new int[]{1} /* sensorIds */, false /* credentialAllowed */); in testSendsReasonUserCanceled_whenDismissedByUserCancel()
254 showDialog(new int[] {1} /* sensorIds */, false /* credentialAllowed */); in testSendsReasonNegative_whenDismissedByButtonNegative()
264 showDialog(new int[] {1} /* sensorIds */, false /* credentialAllowed */); in testSendsReasonConfirmed_whenDismissedByButtonPositive()
274 showDialog(new int[] {1} /* sensorIds */, false /* credentialAllowed */); in testSendsReasonConfirmNotRequired_whenDismissedByAuthenticated()
284 showDialog(new int[] {1} /* sensorIds */, false /* credentialAllowed */); in testSendsReasonError_whenDismissedByError()
294 showDialog(new int[] {1} /* sensorIds */, false /* credentialAllowed */); in testSendsReasonServerRequested_whenDismissedByServer()
305 showDialog(new int[] {1} /* sensorIds */, false /* credentialAllowed */); in testSendsReasonCredentialConfirmed_whenDeviceCredentialAuthenticated()
320 showDialog(new int[] {1} /* sensorIds */, false /* credentialAllowed */); in testShowInvoked_whenSystemRequested()
326 showDialog(new int[] {1} /* sensorIds */, false /* credentialAllowed */); in testOnAuthenticationSucceededInvoked_whenSystemRequested()
475 showDialog(new int[0] /* sensorIds */, true /* credentialAllowed */); in testCancelAuthentication_whenCredentialConfirmed_doesntCrash()
[all …]
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/privacy/
H A DPrivacyDialogControllerTest.kt159 controller.showDialog(context)
167 controller.showDialog(context)
179 controller.showDialog(context)
191 controller.showDialog(context)
199 controller.showDialog(context)
209 controller.showDialog(context)
226 controller.showDialog(context)
240 controller.showDialog(context)
259 controller.showDialog(context)
290 controller.showDialog(context)
[all …]
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/user/
H A DUserSwitchDialogControllerTest.kt88 controller.showDialog(launchView)
94 controller.showDialog(launchView)
100 controller.showDialog(launchView)
106 controller.showDialog(launchView)
112 controller.showDialog(launchView)
121 controller.showDialog(launchView)
138 controller.showDialog(launchView)
/aosp12/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/inputmethod/
H A DKeyboardManagementPreferenceControllerTest.java381 verify(mMockFragmentController).showDialog( in performClick_toggleTrue_securityDialogShown()
576 verify(mMockFragmentController).showDialog( in performClick_toggleTrue_directBootWarningShown()
584 verify(mMockFragmentController).showDialog( in performClick_toggleTrue_directBootWarningShown()
604 verify(mMockFragmentController).showDialog( in performClick_toggleTrue_showDirectBootDialog_positive_noOtherPreferenceAdded()
639 verify(mMockFragmentController).showDialog( in performClick_toggleTrue_showDirectBootDialog_positive_preferenceChecked()
673 verify(mMockFragmentController).showDialog( in performClick_toggleTrue_showDirectBootDialog_positive_preferenceEnabled()
706 verify(mMockFragmentController).showDialog( in performClick_toggleTrue_showDirectBootDialog_positive_inputMethodEnabled()
740 verify(mMockFragmentController).showDialog( in performClick_toggleTrue_showDirectBootDialog_negative_noOtherPreferenceAdded()
776 verify(mMockFragmentController).showDialog( in performClick_toggleTrue_showDirectBootDialog_negative_preferenceNotChecked()
811 verify(mMockFragmentController).showDialog( in performClick_toggleTrue_showDirectBootDialog_negative_preferenceEnabled()
[all …]
/aosp12/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/network/
H A DMobileDataTogglePreferenceControllerTest.java190 verify(mMockFragmentController).showDialog(any(ConfirmationDialogFragment.class), in handlePreferenceChanged_setFalse_isSingleSim_opensDialog()
270 verify(mMockFragmentController).showDialog(any(ConfirmationDialogFragment.class), in handlePreferenceChanged_setTrue_isMultiSim_otherSimActive_opensDialog()
282 verify(mMockFragmentController).showDialog(dialogCaptor.capture(), in disableSingleSimDialog_onConfirm_disablesData()
287 AlertDialog alertDialog = showDialog(dialog); in disableSingleSimDialog_onConfirm_disablesData()
304 verify(mMockFragmentController).showDialog(dialogCaptor.capture(), in disableSingleSimDialog_onConfirm_setsUnchecked()
309 AlertDialog alertDialog = showDialog(dialog); in disableSingleSimDialog_onConfirm_setsUnchecked()
336 verify(mMockFragmentController).showDialog(dialogCaptor.capture(), in enableMutliSimDialog_onConfirm_enablesData()
341 AlertDialog alertDialog = showDialog(dialog); in enableMutliSimDialog_onConfirm_enablesData()
364 verify(mMockFragmentController).showDialog(dialogCaptor.capture(), in enableMutliSimDialog_onConfirm_setsChecked()
369 AlertDialog alertDialog = showDialog(dialog); in enableMutliSimDialog_onConfirm_setsChecked()
[all …]
/aosp12/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/location/
H A DLocationStateSwitchPreferenceControllerTest.java129 verify(mFragmentController, never()).showDialog(any(ConfirmationDialogFragment.class), in onPreferenceClicked_locationDisabled_shouldEnable_notShowDialog()
142 verify(mFragmentController).showDialog(any(ConfirmationDialogFragment.class), in onPreferenceClicked_locationEnabled_shouldStayEnable_showDialog()
155 verify(mFragmentController).showDialog(dialogCaptor.capture(), in confirmDialog_turnOffLocation()
161 AlertDialog alertDialog = showDialog(dialog); in confirmDialog_turnOffLocation()
180 verify(mFragmentController).showDialog(dialogCaptor.capture(), in cancelDialog_LocationStaysOn()
186 AlertDialog alertDialog = showDialog(dialog); in cancelDialog_LocationStaysOn()
289 verify(mFragmentController).showDialog(any(ActionDisabledByAdminDialogFragment.class), in assertShowingDisabledByAdminDialog()
299 private AlertDialog showDialog(ConfirmationDialogFragment dialog) throws Throwable { in showDialog() method in LocationStateSwitchPreferenceControllerTest
H A DAdasLocationSwitchPreferenceControllerTest.java170 .showDialog(any(ConfirmationDialogFragment.class), any()); in onPreferenceClicked_adasDisabled_shouldEnable_notShowDialog()
184 .showDialog(any(ConfirmationDialogFragment.class), in onPreferenceClicked_adasEnabled_shouldStayEnable_showDialog()
198 verify(mFragmentController).showDialog(dialogCaptor.capture(), in confirmDialog_turnOffDriverAssistance()
204 AlertDialog alertDialog = showDialog(dialog); in confirmDialog_turnOffDriverAssistance()
300 verify(mFragmentController).showDialog(any(ActionDisabledByAdminDialogFragment.class), in assertShowingDisabledByAdminDialog()
314 verify(mFragmentController).showDialog(dialogCaptor.capture(), in cancelDialog_DriverAssistanceStaysOn()
320 AlertDialog alertDialog = showDialog(dialog); in cancelDialog_DriverAssistanceStaysOn()
337 private AlertDialog showDialog(ConfirmationDialogFragment dialog) throws Throwable { in showDialog() method in AdasLocationSwitchPreferenceControllerTest
/aosp12/frameworks/base/services/core/java/com/android/server/policy/
H A DGlobalActions.java59 public void showDialog(boolean keyguardShowing, boolean deviceProvisioned) { in showDialog() method in GlobalActions
73 mLegacyGlobalActions.showDialog(mKeyguardShowing, mDeviceProvisioned); in showDialog()
98 mLegacyGlobalActions.showDialog(mKeyguardShowing, mDeviceProvisioned); in onGlobalActionsAvailableChanged()
108 mLegacyGlobalActions.showDialog(mKeyguardShowing, mDeviceProvisioned);
/aosp12/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/provisioning/
H A DAbstractProvisioningActivity.java138 showDialog(mUtils.createCancelProvisioningResetDialogBuilder(), in showCancelProvisioningDialog()
141 showDialog(mUtils.createCancelProvisioningDialogBuilder(), in showCancelProvisioningDialog()
155 showDialog(dialogBuilder, resetRequired ? ERROR_DIALOG_RESET : ERROR_DIALOG_OK); in error()
159 protected void showDialog(DialogBuilder builder, String tag) { in showDialog() method in AbstractProvisioningActivity
162 super.showDialog(builder, tag); in showDialog()
/aosp12/packages/apps/Launcher3/go/quickstep/src/com/android/quickstep/
H A DTaskOverlayFactoryGo.java137 showDialog(mDialog.getAction(), mDialog.getType()); in initOverlay()
200 showDialog(actionType, ASSISTANT_NOT_SELECTED); in sendNIUIntent()
205 showDialog(actionType, PRIVACY_CONFIRMATION); in sendNIUIntent()
223 showDialog(actionType, ASSISTANT_NOT_SUPPORTED); in sendNIUIntent()
299 private void showDialog(String action, @DialogType int type) { in showDialog() method in TaskOverlayFactoryGo.TaskOverlayGo
302 showDialog(action, PRIVACY_CONFIRMATION, in showDialog()
309 showDialog(action, ASSISTANT_NOT_SELECTED, in showDialog()
316 showDialog(action, ASSISTANT_NOT_SUPPORTED, in showDialog()
327 private void showDialog(String action, @DialogType int type, int titleTextID, in showDialog() method in TaskOverlayFactoryGo.TaskOverlayGo
/aosp12/packages/apps/CertInstaller/src/com/android/certinstaller/
H A 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()
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/profiles/
H A DAddProfileHandler.java140 mFragmentController.showDialog( in onProfileAddedFailure()
179 mFragmentController.showDialog(dialogFragment, CONFIRM_CREATE_NEW_PROFILE_DIALOG_TAG); in showAddProfileDialog()
196 mFragmentController.showDialog(dialogFragment, MAX_PROFILES_LIMIT_REACHED_DIALOG_TAG); in runClickableWhileDisabled()
204 mFragmentController.showDialog( in showActionDisabledByAdminDialog()
H A DRemoveProfileHandler.java86 mFragmentController.showDialog( in setUserInfo()
174 mFragmentController.showDialog(dialogFragment, REMOVE_PROFILE_DIALOG_TAG); in showConfirmRemoveProfileDialog()
192 mFragmentController.showDialog( in showActionDisabledByAdminDialog()
/aosp12/packages/apps/Settings/src/com/android/settings/users/
H A DUserDetailsSettings.java127 showDialog(DIALOG_CONFIRM_RESET_GUEST); in onPreferenceClick()
129 showDialog(DIALOG_CONFIRM_REMOVE); in onPreferenceClick()
136 showDialog(DIALOG_SETUP_USER); in onPreferenceClick()
152 showDialog(mUserInfo.isGuest() ? DIALOG_CONFIRM_ENABLE_CALLING in onPreferenceChange()
226 protected void showDialog(int dialogId) {
227 super.showDialog(dialogId);
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/calling/
H A 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
/aosp12/packages/apps/Settings/src/com/android/settings/bluetooth/
H A DBluetoothPermissionActivity.java98 showDialog(getString(R.string.bluetooth_connect_access_dialog_title), mRequestType); in onCreate()
100 showDialog(getString(R.string.bluetooth_phonebook_access_dialog_title), mRequestType); in onCreate()
102 showDialog(getString(R.string.bluetooth_message_access_dialog_title), mRequestType); in onCreate()
104 showDialog(getString(R.string.bluetooth_sim_card_access_dialog_title), mRequestType); in onCreate()
117 private void showDialog(String title, int requestType) in showDialog() method in BluetoothPermissionActivity
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/user/
H A DUserSwitchDialogController.kt73 fun showDialog(view: View) { regex
106 override fun showDialog(dialog: Dialog) {
115 fun showDialog(dialog: Dialog) regex
/aosp12/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/specialaccess/
H A DNotificationAccessPreferenceControllerTest.java148 verify(mMockFragmentController).showDialog(any( in preferenceClicked_serviceAccessGranted_showsRevokeConfirmDialog()
161 verify(mMockFragmentController).showDialog(any( in preferenceClicked_serviceAccessNotGranted_showsGrantConfirmDialog()
175 verify(mMockFragmentController).showDialog(dialogCaptor.capture(), in revokeConfirmed_revokesNotificationAccess()
195 verify(mMockFragmentController).showDialog(dialogCaptor.capture(), in revokeConfirmed_notificationPolicyAccessNotGranted_removesAutomaticZenRules()
218 verify(mMockFragmentController).showDialog(dialogCaptor.capture(), in grantConfirmed_grantsNotificationAccess()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
H A DMagnificationModePreferenceControllerTest.java105 mDialogHelper.showDialog(MagnificationModePreferenceController.DIALOG_MAGNIFICATION_MODE); in dialogIsReCreated_settingsModeIsAllAndChoseWindowMode_checkedModeIsWindow()
118 verify(mDialogHelper).showDialog( in chooseWindowMode_tripleTapEnabled_showSwitchShortcutDialog()
129 verify(mDialogHelper, never()).showDialog( in chooseModeAll_modeAllInSettingsAndTripleTapEnabled_notShowShortcutDialog()
213 public void showDialog(int dialogId) { in showDialog() method in MagnificationModePreferenceControllerTest.TestDialogHelper
/aosp12/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/
H A DLocalRenameDialogFragmentTest.java85 AlertDialog dialog = showDialog(mFragment); in localNameChangedBroadcast_updatesDeviceName()
101 AlertDialog dialog = showDialog(mFragment); in setDeviceName_updatesLocalAdapterName()
110 private AlertDialog showDialog(LocalRenameDialogFragment fragment) { in showDialog() method in LocalRenameDialogFragmentTest
H A DRemoteRenameDialogFragmentTest.java95 showDialog(mFragment); // Attach the fragment. in getDeviceName_returnsCachedDeviceName()
103 AlertDialog dialog = showDialog(mFragment); in setDeviceName_updatesCachedDeviceName()
112 private AlertDialog showDialog(RemoteRenameDialogFragment fragment) { in showDialog() method in RemoteRenameDialogFragmentTest
/aosp12/packages/services/Telephony/src/com/android/phone/
H A DCallBarringDeselectAllPreference.java45 protected void showDialog(Bundle state) { in showDialog() method in CallBarringDeselectAllPreference
47 super.showDialog(state); in showDialog()
/aosp12/packages/services/Telecomm/src/com/android/server/telecom/ui/
H A DCallRedirectionTimeoutDialogActivity.java41 showDialog(redirectionAppName); in onCreate()
44 private void showDialog(final CharSequence redirectionAppName) { in showDialog() method in CallRedirectionTimeoutDialogActivity
/aosp12/packages/services/Car/tests/carservice_test/src/androidx/car/app/activity/
H A DCarAppActivity.java48 showDialog(); in onReceive()
83 private void showDialog() { in showDialog() method in CarAppActivity
/aosp12/packages/apps/Settings/src/com/android/settings/accessibility/
H A DMagnificationSettingsFragment.java51 public void showDialog(int dialogId) { in showDialog() method in MagnificationSettingsFragment
52 super.showDialog(dialogId); in showDialog()

12345678