Home
last modified time | relevance | path

Searched refs:setOnCancelListener (Results 1 – 25 of 59) sorted by relevance

123

/packages/apps/Car/Settings/src/com/android/car/settings/bluetooth/
DBluetoothRequestPermissionActivity.java321 .setCancelable(false).setOnCancelListener( in createWaitingDialog()
337 .setOnCancelListener(dialog -> finishWithResult(RESULT_CANCELED)) in createDiscoverableConfirmDialog()
351 .setOnCancelListener(dialog -> finishWithResult(RESULT_CANCELED)) in createRequestEnableBluetoothDialog()
368 .setOnCancelListener(dialog -> finishWithResult(RESULT_CANCELED)) in createRequestEnableBluetoothDialogWithTimeout()
425 .setOnCancelListener(dialog -> finishWithResult(RESULT_CANCELED)) in createRequestDisableBluetoothDialog()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DRequestPermissionHelper.kt45 setOnCancelListener { onDeny() } in <lambda>()
64 setOnCancelListener { onDeny() } in <lambda>()
/packages/services/Telecomm/src/com/android/server/telecom/components/
DErrorDialogActivity.java89 .setOnCancelListener(cancelListener).create(); in showGenericErrorDialog()
114 .setOnCancelListener(new DialogInterface.OnCancelListener() { in showMissingVoicemailErrorDialog()
/packages/apps/CertInstaller/src/com/android/certinstaller/
DCertInstaller.java408 d.setOnCancelListener(dialog -> toastErrorAndFinish(R.string.cert_not_saved)); in createRedirectCaCertificateDialog()
440 d.setOnCancelListener(dialog -> toastErrorAndFinish(R.string.cert_not_saved)); in createSelectCertificateUsageDialog()
452 d.setOnCancelListener(dialog -> finish()); in createInvalidCertificateDialog()
492 d.setOnCancelListener(dialog -> toastErrorAndFinish(R.string.cert_not_saved)); in createPkcs12PasswordDialog()
526 d.setOnCancelListener(dialog -> toastErrorAndFinish(R.string.cert_not_saved)); in createNameCertificateDialog()
/packages/apps/Contacts/src/com/android/contacts/vcard/
DCancelActivity.java95 .setOnCancelListener(mCancelListener) in onCreateDialog()
103 .setOnCancelListener(mCancelListener) in onCreateDialog()
DExportVCardActivity.java188 .setOnCancelListener(this) in onCreateDialog()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiDialogManagerTest.java426 when(builder.setOnCancelListener(any())).thenReturn(builder); in testSimpleDialog_launchAndResponse_notifiesCallback_preT()
457 verify(builder).setOnCancelListener(cancelListenerCaptor.capture()); in testSimpleDialog_launchAndResponse_notifiesCallback_preT()
495 when(builder.setOnCancelListener(any())).thenReturn(builder); in testSimpleDialog_timeoutCancelsDialog_preT()
533 when(builder.setOnCancelListener(any())).thenReturn(builder); in testSimpleDialog_dismissedBeforeTimeout_preT()
598 when(builder.setOnCancelListener(any())).thenReturn(builder); in testLegacySimpleDialog_launchAndResponse_notifiesCallback()
630 verify(builder).setOnCancelListener(cancelListenerCaptor.capture()); in testLegacySimpleDialog_launchAndResponse_notifiesCallback()
667 when(builder.setOnCancelListener(any())).thenReturn(builder); in testLegacySimpleDialog_timeoutCancelsDialog()
705 when(builder.setOnCancelListener(any())).thenReturn(builder); in testLegacySimpleDialog_dismissedBeforeTimeout()
751 when(builder.setOnCancelListener(any())).thenReturn(builder); in testLegacySimpleDialog_cancelledDueToActionCloseSystemDialogs()
797 when(builder.setOnCancelListener(any())).thenReturn(builder); in testLegacySimpleDialog_windowTypeChangedDueToScreenOff()
/packages/services/Telecomm/src/com/android/server/telecom/ui/
DCallRedirectionTimeoutDialogActivity.java57 .setOnCancelListener(new DialogInterface.OnCancelListener() { in showDialog()
DConfirmCallDialogActivity.java79 .setOnCancelListener(new DialogInterface.OnCancelListener() { in showDialog()
/packages/apps/Settings/src/com/android/settings/
DCancellablePreference.java47 public void setOnCancelListener(OnCancelListener listener) { in setOnCancelListener() method in CancellablePreference
/packages/services/Telephony/src/com/android/phone/
DEmergencyCallbackModeExitDialog.java273 mAlertDialog.setOnCancelListener(this); in onCreateDialog()
290 mAlertDialog.setOnCancelListener(this); in onCreateDialog()
DErrorDialogActivity.java125 .setOnCancelListener( in showDialog()
/packages/services/Telecomm/src/com/android/server/telecom/settings/
DCallBlockDisabledActivity.java75 .setOnCancelListener(new DialogInterface.OnCancelListener() { in showCallBlockingOffDialog()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastOptOutActivity.java74 .setOnCancelListener( in showOptOutDialog()
/packages/apps/BasicSmsReceiver/src/com/android/basicsmsreceiver/
DDialogSmsDisplay.java90 .setOnCancelListener(new AlertDialog.OnCancelListener() { in onCreateDialog()
/packages/apps/Nfc/src/com/android/nfc/cardemulation/util/
DAlertActivity.java63 mAlertBuilder.setOnCancelListener(this); in onCreate()
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint2/ui/enrollment/modules/enrolling/rfps/ui/widget/
DIconTouchDialog.kt52 .setOnCancelListener { onCancelListener.onCancel(it) } in <lambda>()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/
DAlertActivity.java59 mAlertBuilder.setOnCancelListener(this); in onCreate()
/packages/modules/Connectivity/framework/src/android/net/
DDnsResolver.java417 cancellationSignal.setOnCancelListener(() -> { in query()
539 cancellationSignal.setOnCancelListener(() -> { in addCancellationSignal()
/packages/apps/Dialer/java/com/android/incallui/answer/impl/
DCreateCustomSmsDialogFragment.java87 .setOnCancelListener( in onCreateDialog()
/packages/apps/Stk/src/com/android/stk/
DToneDialog.java84 alertDialogBuilder.setOnCancelListener(new DialogInterface.OnCancelListener() { in onCreate()
/packages/modules/Bluetooth/framework/java/android/bluetooth/le/
DDistanceMeasurementManager.java148 cancellationSignal.setOnCancelListener(() -> session.stopSession()); in startMeasurementSession()
/packages/apps/Settings/src/com/android/settings/privatespace/
DPrivateSpaceAuthenticationActivity.java169 .setOnCancelListener( in promptToSetDeviceLock()
/packages/apps/Gallery/src/com/android/camera/
DMovieViewControl.java116 builder.setOnCancelListener(new OnCancelListener() { in MovieViewControl()
/packages/apps/Contacts/src/com/android/contacts/activities/
DShowOrCreateActivity.java228 .setOnCancelListener(new DialogInterface.OnCancelListener() { in onCreateDialog()

123