Home
last modified time | relevance | path

Searched refs:smartActionsFuture (Results 1 – 3 of 3) sorted by relevance

/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
H A DScreenshotNotificationSmartActionsTest.java89 CompletableFuture<List<Notification.Action>> smartActionsFuture = in testExceptionHandlingInGetSmartActionsFuture() local
94 assertNotNull(smartActionsFuture); in testExceptionHandlingInGetSmartActionsFuture()
95 List<Notification.Action> smartActions = smartActionsFuture.get(5, TimeUnit.MILLISECONDS); in testExceptionHandlingInGetSmartActionsFuture()
104 CompletableFuture<List<Notification.Action>> smartActionsFuture = mock( in testExceptionHandlingInGetSmartActions() local
107 when(smartActionsFuture.get(timeoutMs, TimeUnit.MILLISECONDS)).thenThrow( in testExceptionHandlingInGetSmartActions()
110 "", smartActionsFuture, timeoutMs, mSmartActionsProvider, REGULAR_SMART_ACTIONS); in testExceptionHandlingInGetSmartActions()
130 CompletableFuture<List<Notification.Action>> smartActionsFuture = in testUnsupportedBitmapConfiguration() local
136 assertNotNull(smartActionsFuture); in testUnsupportedBitmapConfiguration()
137 List<Notification.Action> smartActions = smartActionsFuture.get(5, TimeUnit.MILLISECONDS); in testUnsupportedBitmapConfiguration()
163 CompletableFuture<List<Notification.Action>> smartActionsFuture = in testSupportedBitmapConfiguration() local
[all …]
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
H A DScreenshotSmartActions.java86 CompletableFuture<List<Notification.Action>> smartActionsFuture; in getSmartActionsFuture() local
95 smartActionsFuture = smartActionsProvider.getActions(screenshotId, screenshotUri, image, in getSmartActionsFuture()
99 smartActionsFuture = CompletableFuture.completedFuture(Collections.emptyList()); in getSmartActionsFuture()
108 return smartActionsFuture; in getSmartActionsFuture()
113 CompletableFuture<List<Notification.Action>> smartActionsFuture, int timeoutMs, in getSmartActions() argument
123 List<Notification.Action> actions = smartActionsFuture.get(timeoutMs, in getSmartActions()
H A DSaveImageInBackgroundTask.java148 CompletableFuture<List<Notification.Action>> smartActionsFuture = in doInBackground() local
161 mScreenshotId, smartActionsFuture, timeoutMs, in doInBackground()