Home
last modified time | relevance | path

Searched refs:callbackExecutor (Results 1 – 17 of 17) sorted by relevance

/aosp14/frameworks/base/core/java/android/app/prediction/
H A DAppPredictor.java159 public void registerPredictionUpdates(@NonNull @CallbackExecutor Executor callbackExecutor, in registerPredictionUpdates() argument
162 registerPredictionUpdatesLocked(callbackExecutor, callback); in registerPredictionUpdates()
168 @NonNull @CallbackExecutor Executor callbackExecutor, in registerPredictionUpdatesLocked()
179 final CallbackWrapper callbackWrapper = new CallbackWrapper(callbackExecutor, in registerPredictionUpdatesLocked()
251 @NonNull Executor callbackExecutor, @NonNull Consumer<List<AppTarget>> callback) { in sortTargets() argument
258 new CallbackWrapper(callbackExecutor, callback)); in sortTargets()
333 CallbackWrapper(@NonNull Executor callbackExecutor, in CallbackWrapper() argument
336 mExecutor = callbackExecutor; in CallbackWrapper()
/aosp14/frameworks/base/core/java/android/app/search/
H A DSearchSession.java150 @NonNull @CallbackExecutor Executor callbackExecutor, in query() argument
158 mInterface.query(mSessionId, input, new CallbackWrapper(callbackExecutor, callback)); in query()
176 @NonNull @CallbackExecutor Executor callbackExecutor, in registerEmptyQueryResultUpdateCallback()
187 final CallbackWrapper callbackWrapper = new CallbackWrapper(callbackExecutor, in registerEmptyQueryResultUpdateCallback()
301 CallbackWrapper(@NonNull Executor callbackExecutor, in CallbackWrapper() argument
304 mExecutor = callbackExecutor; in CallbackWrapper()
/aosp14/frameworks/base/media/java/android/media/musicrecognition/
H A DMusicRecognitionManager.java137 @NonNull @CallbackExecutor Executor callbackExecutor, in beginStreamingSearch() argument
145 requireNonNull(callbackExecutor))); in beginStreamingSearch()
164 Executor callbackExecutor) { in MusicRecognitionCallbackWrapper() argument
167 mCallbackExecutor = callbackExecutor; in MusicRecognitionCallbackWrapper()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/desktopmode/
H A DDesktopMode.java39 Executor callbackExecutor); in addVisibleTasksListener() argument
48 Executor callbackExecutor) { } in addDesktopGestureExclusionRegionListener() argument
H A DDesktopModeController.java156 Executor callbackExecutor) { in addVisibleTasksListener() argument
157 mDesktopModeTaskRepository.addVisibleTasksListener(listener, callbackExecutor); in addVisibleTasksListener()
166 Executor callbackExecutor) { in addTaskCornerListener() argument
167 mDesktopModeTaskRepository.setTaskCornerListener(listener, callbackExecutor); in addTaskCornerListener()
480 Executor callbackExecutor) { in addVisibleTasksListener() argument
482 DesktopModeController.this.addVisibleTasksListener(listener, callbackExecutor); in addVisibleTasksListener()
488 Executor callbackExecutor) { in addDesktopGestureExclusionRegionListener() argument
490 DesktopModeController.this.addTaskCornerListener(listener, callbackExecutor); in addDesktopGestureExclusionRegionListener()
H A DDesktopTasksController.kt943 fun addVisibleTasksListener(listener: VisibleTasksListener, callbackExecutor: Executor) {
944 desktopModeTaskRepository.addVisibleTasksListener(listener, callbackExecutor)
955 callbackExecutor: Executor
957 desktopModeTaskRepository.setTaskCornerListener(listener, callbackExecutor)
971 callbackExecutor: Executor
974 this@DesktopTasksController.addVisibleTasksListener(listener, callbackExecutor)
980 callbackExecutor: Executor
983 this@DesktopTasksController.setTaskCornerListener(listener, callbackExecutor)
/aosp14/frameworks/base/core/java/android/view/inputmethod/
H A DInlineSuggestion.java141 @NonNull @CallbackExecutor Executor callbackExecutor, in inflate() argument
161 mInlineContentCallback = getInlineContentCallback(context, callbackExecutor, callback, in inflate()
164 callbackExecutor.execute(() -> callback.accept(/* view */ null)); in inflate()
173 callbackExecutor.execute(() -> callback.accept(/* view */ null)); in inflate()
179 mInfo.getTooltip().inflate(context, tooltipSize, callbackExecutor, view -> { in inflate()
196 Executor callbackExecutor, Consumer<InlineContentView> callback, in getInlineContentCallback() argument
201 return new InlineContentCallbackImpl(context, mContentProvider, callbackExecutor, in getInlineContentCallback()
307 @NonNull @CallbackExecutor Executor callbackExecutor, in InlineContentCallbackImpl() argument
312 mCallbackExecutor = callbackExecutor; in InlineContentCallbackImpl()
/aosp14/frameworks/base/core/java/android/app/contentsuggestions/
H A DContentSuggestionsManager.java139 @NonNull @CallbackExecutor Executor callbackExecutor, in suggestContentSelections() argument
149 mUser, request, new SelectionsCallbackWrapper(callback, callbackExecutor)); in suggestContentSelections()
166 @NonNull @CallbackExecutor Executor callbackExecutor, in classifyContentSelections() argument
176 mUser, request, new ClassificationsCallbackWrapper(callback, callbackExecutor)); in classifyContentSelections()
/aosp14/frameworks/base/core/java/android/app/cloudsearch/
H A DCloudSearchManager.java76 @NonNull @CallbackExecutor Executor callbackExecutor, in search() argument
78 callbackExecutor.execute( in search()
/aosp14/frameworks/base/graphics/java/android/view/
H A DPixelCopy.java527 public void request(@NonNull Executor callbackExecutor, in request() argument
530 callbackExecutor.execute(() -> listener.accept( in request()
538 callbackExecutor.execute(() -> listener.accept( in request()
551 public static void request(@NonNull Request request, @NonNull Executor callbackExecutor, in request() argument
553 request.request(callbackExecutor, listener); in request()
/aosp14/frameworks/base/core/java/android/speech/
H A DSpeechRecognizer.java813 Executor callbackExecutor, in handleCheckRecognitionSupport() argument
822 new InternalSupportCallback(callbackExecutor, recognitionSupportCallback)); in handleCheckRecognitionSupport()
826 callbackExecutor.execute(() -> recognitionSupportCallback.onError(ERROR_CLIENT)); in handleCheckRecognitionSupport()
832 @Nullable Executor callbackExecutor, in handleTriggerModelDownload() argument
854 new InternalModelDownloadListener(callbackExecutor, modelDownloadListener)); in handleTriggerModelDownload()
858 callbackExecutor.execute(() -> modelDownloadListener.onError(ERROR_CLIENT)); in handleTriggerModelDownload()
998 Executor callbackExecutor, in CheckRecognitionSupportArgs() argument
1001 mCallbackExecutor = callbackExecutor; in CheckRecognitionSupportArgs()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/recents/
H A DRecentTasks.java34 default void getRecentTasks(int maxNum, int flags, int userId, Executor callbackExecutor, in getRecentTasks() argument
/aosp14/frameworks/base/core/java/android/app/smartspace/
H A DSmartspaceSession.java266 CallbackWrapper(@NonNull Executor callbackExecutor, in CallbackWrapper() argument
269 mExecutor = callbackExecutor; in CallbackWrapper()
/aosp14/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
H A DDeviceStateHandler.java132 public DeviceStateHandler(Executor callbackExecutor, EventLogger eventLogger) { in DeviceStateHandler() argument
133 mCallbackExecutor = Objects.requireNonNull(callbackExecutor); in DeviceStateHandler()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
H A DBubbles.java187 IntConsumer removeCallback, Executor callbackExecutor); in handleDismissalInterception() argument
H A DBubbleController.java2336 Executor callbackExecutor) { in handleDismissalInterception() argument
2338 ? (index) -> callbackExecutor.execute(() -> removeCallback.accept(index)) in handleDismissalInterception()
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...