Home
last modified time | relevance | path

Searched refs:mSmartActionsProvider (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
DScreenshotNotificationSmartActionsTest.java59 private ScreenshotNotificationSmartActionsProvider mSmartActionsProvider; field in ScreenshotNotificationSmartActionsTest
65 mSmartActionsProvider = mock( in setup()
67 mScreenshotSmartActions = new ScreenshotSmartActions(() -> mSmartActionsProvider); in setup()
103 "", smartActionsFuture, timeoutMs, mSmartActionsProvider, REGULAR_SMART_ACTIONS); in testExceptionHandlingInGetSmartActions()
111 doThrow(RuntimeException.class).when(mSmartActionsProvider).notifyOp(any(), any(), any(), in testExceptionHandlingInNotifyingFeedback()
113 mScreenshotSmartActions.notifyScreenshotOp(null, mSmartActionsProvider, null, null, -1); in testExceptionHandlingInNotifyingFeedback()
125 "", Uri.parse("content://autority/data"), bitmap, mSmartActionsProvider, in testUnsupportedBitmapConfiguration()
128 verify(mSmartActionsProvider, never()).getActions(any(), any(), any(), any(), any(), any()); in testUnsupportedBitmapConfiguration()
140 "", Uri.parse("content://autority/data"), bitmap, mSmartActionsProvider, in testScreenshotNotificationSmartActionsProviderInvokedOnce()
143 verify(mSmartActionsProvider, times(1)).getActions( in testScreenshotNotificationSmartActionsProviderInvokedOnce()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DSaveImageInBackgroundTask.java69 private final ScreenshotNotificationSmartActionsProvider mSmartActionsProvider; field in SaveImageInBackgroundTask
95 mSmartActionsProvider = screenshotNotificationSmartActionsProvider; in SaveImageInBackgroundTask()
144 mScreenshotId, uri, image, mSmartActionsProvider, in doInBackground()
156 mSmartActionsProvider, in doInBackground()
315 screenshotId, uri, image, mSmartActionsProvider, in queryQuickShareAction()
325 mSmartActionsProvider, in queryQuickShareAction()