Home
last modified time | relevance | path

Searched refs:cancelAction (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarKeyguardViewManagerTest.java106 Runnable cancelAction = () -> {}; in dismissWithAction_AfterKeyguardGoneSetToFalse() local
107 mStatusBarKeyguardViewManager.dismissWithAction(action, cancelAction, in dismissWithAction_AfterKeyguardGoneSetToFalse()
109 verify(mBouncer).showWithDismissAction(eq(action), eq(cancelAction)); in dismissWithAction_AfterKeyguardGoneSetToFalse()
227 Runnable cancelAction = mock(Runnable.class); in testHiding_cancelsGoneRunnable() local
228 mStatusBarKeyguardViewManager.dismissWithAction(action, cancelAction, in testHiding_cancelsGoneRunnable()
234 verify(cancelAction).run(); in testHiding_cancelsGoneRunnable()
240 Runnable cancelAction = mock(Runnable.class); in testHiding_doesntCancelWhenShowing() local
241 mStatusBarKeyguardViewManager.dismissWithAction(action, cancelAction, in testHiding_doesntCancelWhenShowing()
246 verify(cancelAction, never()).run(); in testHiding_doesntCancelWhenShowing()
DKeyguardBouncerTest.java261 final Runnable cancelAction = () -> {}; in testShowOnDismissAction_showsBouncer() local
262 mBouncer.showWithDismissAction(dismissAction, cancelAction); in testShowOnDismissAction_showsBouncer()
263 verify(mKeyguardHostView).setOnDismissAction(dismissAction, cancelAction); in testShowOnDismissAction_showsBouncer()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarKeyguardViewManager.java359 public void dismissWithAction(OnDismissAction r, Runnable cancelAction, in dismissWithAction() argument
361 dismissWithAction(r, cancelAction, afterKeyguardGone, null /* message */); in dismissWithAction()
364 public void dismissWithAction(OnDismissAction r, Runnable cancelAction, in dismissWithAction() argument
372 r, cancelAction, afterKeyguardGone, message); in dismissWithAction()
377 mBouncer.showWithDismissAction(r, cancelAction); in dismissWithAction()
380 mKeyguardGoneCancelAction = cancelAction; in dismissWithAction()
937 dismissWithAction(request.dismissAction, request.cancelAction, in launchPendingWakeupAction()
948 if (request != null && request.cancelAction != null) { in cancelPendingWakeupAction()
949 request.cancelAction.run(); in cancelPendingWakeupAction()
992 final Runnable cancelAction; field in StatusBarKeyguardViewManager.DismissWithActionRequest
[all …]
DKeyguardBouncer.java286 public void showWithDismissAction(OnDismissAction r, Runnable cancelAction) { in showWithDismissAction() argument
288 mKeyguardView.setOnDismissAction(r, cancelAction); in showWithDismissAction()
DStatusBar.java2608 final Runnable cancelAction, in executeRunnableDismissingKeyguard() argument
2638 }, cancelAction, afterKeyguardGone); in executeRunnableDismissingKeyguard()
2726 public void dismissKeyguardThenExecute(OnDismissAction action, Runnable cancelAction, in dismissKeyguardThenExecute() argument
2738 mStatusBarKeyguardViewManager.dismissWithAction(action, cancelAction, in dismissKeyguardThenExecute()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardHostView.java126 public void setOnDismissAction(OnDismissAction action, Runnable cancelAction) { in setOnDismissAction() argument
132 mCancelAction = cancelAction; in setOnDismissAction()
/frameworks/base/packages/Shell/src/com/android/shell/
DBugreportProgressService.java515 final Action cancelAction = new Action.Builder(null, mContext.getString( in updateProgress() local
536 .setActions(infoAction, screenshotAction, cancelAction); in updateProgress()