Home
last modified time | relevance | path

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

123

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/
DTestableAlertDialogTest.kt149 dialog.setOnCancelListener(listener) in cancelListenerCalled_showing()
161 dialog.setOnCancelListener(listener) in cancelListenerCalled_notShowing()
194 dialog.setOnCancelListener(listener) in cancelListenerRemoved()
195 dialog.setOnCancelListener(null) in cancelListenerRemoved()
/frameworks/base/core/tests/coretests/src/android/os/
DCancellationSignalTest.java44 signal.setOnCancelListener(() -> { in testSimple()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
DControlsDialogsFactory.kt45 setOnCancelListener { response.accept(false) } in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/
DPanelConfirmationDialogFactory.kt54 setOnCancelListener { response.accept(false) } in <lambda>()
/frameworks/base/media/java/android/mtp/
DMtpDevice.java400 signal.setOnCancelListener(new CancellationSignal.OnCancelListener() { in readEvent()
412 signal.setOnCancelListener(null); in readEvent()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/
DTileServiceRequestControllerTest.kt203 verify(tileRequestDialog).setOnCancelListener(capture(cancelListenerCaptor)) in cancelListener_dismissResult()
218 verify(tileRequestDialog).setOnCancelListener(capture(cancelListenerCaptor)) in dialogCancelled_logged()
374 verify(tileRequestDialog).setOnCancelListener(capture(cancelListenerCaptor)) in interfaceThrowsRemoteException_doesntCrash()
445 verify(tileRequestDialog).setOnCancelListener(capture(cancelListenerCaptor)) in cancelAndThenDismissSendsOnlyOnce()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/users/
DGrantAdminDialogController.java61 .setOnCancelListener(dialog -> { in createDialog()
/frameworks/base/core/java/android/os/
DCancellationSignal.java114 public void setOnCancelListener(OnCancelListener listener) { in setOnCancelListener() method in CancellationSignal
DCancellationSignalBeamer.java242 mSignal.setOnCancelListener(this); in setup()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/util/
DTestableAlertDialog.kt93 override fun setOnCancelListener(listener: DialogInterface.OnCancelListener?) { in setOnCancelListener() method
DFakeSystemUIDialogController.kt74 verify(dialog).setOnCancelListener(captor.capture()) in cancel()
/frameworks/base/core/java/android/app/
DAlertDialog.java170 setOnCancelListener(cancelListener); in AlertDialog()
720 public Builder setOnCancelListener(OnCancelListener onCancelListener) { in setOnCancelListener() method in AlertDialog.Builder
1111 dialog.setOnCancelListener(P.mOnCancelListener); in create()
DSearchManager.java643 mSearchDialog.setOnCancelListener(this); in ensureSearchDialog()
831 public void setOnCancelListener(OnCancelListener listener) { in setOnCancelListener() method in SearchManager
DDialog.java239 setOnCancelListener(cancelListener); in Dialog()
1369 public void setOnCancelListener(@Nullable OnCancelListener listener) { in setOnCancelListener() method in Dialog
1452 setOnCancelListener(cancel); in takeCancelAndDismissListeners()
/frameworks/base/core/java/android/print/
DPrintFileDocumentAdapter.java109 mCancellationSignal.setOnCancelListener(new OnCancelListener() { in WriteFileAsyncTask()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DInstallSuccess.java102 builder.setOnCancelListener(dialog -> { in bindUi()
DInstallFailed.java124 builder.setOnCancelListener(dialog -> { in onCreate()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/management/
DPanelConfirmationDialogFactoryTest.kt105 verify(mockDialog).setOnCancelListener(capture(captor)) in testDialogCancel()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/communal/ui/compose/
DEnableWidgetDialog.kt74 setOnCancelListener { onCancel() } in EnableWidgetDialog()
/frameworks/base/services/core/java/com/android/server/rotationresolver/
DRotationResolverManagerPerUserService.java147 cancellationSignalInternal.setOnCancelListener(() -> { in resolveRotationLocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/permission/
DMediaProjectionPermissionActivity.java297 mDialog.setOnCancelListener(null); in onDestroy()
320 dialog.setOnCancelListener(this::onDialogDismissedOrCancelled); in setUpDialog()
/frameworks/base/core/java/android/webkit/
DJsDialogHelper.java112 builder.setOnCancelListener(new CancelListener()); in showDialog()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/settings/
DControlsSettingsDialogManager.kt139 setOnCancelListener(listener) in maybeShowDialog()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotifBindPipeline.java140 signal.setOnCancelListener(() -> callbacks.remove(callback)); in onBindRequested()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
DTileServiceRequestController.kt159 setOnCancelListener { responseHandler.accept(DISMISSED) } in createDialog()

123