Home
last modified time | relevance | path

Searched refs:CallbackWrapper (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/core/java/android/service/smartspace/
DSmartspaceService.java67 private final ArrayMap<SmartspaceSessionId, ArrayList<CallbackWrapper>> mSessionCallbacks =
178 final ArrayList<CallbackWrapper> callbacks = mSessionCallbacks.get(sessionId); in doRegisterSmartspaceUpdates()
184 final CallbackWrapper wrapper = findCallbackWrapper(callbacks, callback); in doRegisterSmartspaceUpdates()
186 callbacks.add(new CallbackWrapper(callback, in doRegisterSmartspaceUpdates()
198 final ArrayList<CallbackWrapper> callbacks = mSessionCallbacks.get(sessionId); in doUnregisterSmartspaceUpdates()
204 final CallbackWrapper wrapper = findCallbackWrapper(callbacks, callback); in doUnregisterSmartspaceUpdates()
213 final ArrayList<CallbackWrapper> callbacks = mSessionCallbacks.get(sessionId); in doRequestPredictionUpdate()
222 private CallbackWrapper findCallbackWrapper(ArrayList<CallbackWrapper> callbacks, in findCallbackWrapper()
232 private void removeCallbackWrapper(@Nullable ArrayList<CallbackWrapper> callbacks, in removeCallbackWrapper()
233 @Nullable CallbackWrapper wrapper) { in removeCallbackWrapper()
[all …]
/frameworks/base/core/java/android/service/search/
DSearchUiService.java72 private final ArrayMap<SearchSessionId, ArrayList<CallbackWrapper>>
96 new CallbackWrapper(callback, null)));
190 final ArrayList<CallbackWrapper> callbacks = mSessionEmptyQueryResultCallbacks.get( in doRegisterEmptyQueryResultUpdateCallback()
197 final CallbackWrapper wrapper = findCallbackWrapper(callbacks, callback); in doRegisterEmptyQueryResultUpdateCallback()
199 callbacks.add(new CallbackWrapper(callback, in doRegisterEmptyQueryResultUpdateCallback()
219 final ArrayList<CallbackWrapper> callbacks = mSessionEmptyQueryResultCallbacks.get( in doUnregisterEmptyQueryResultUpdateCallback()
226 final CallbackWrapper wrapper = findCallbackWrapper(callbacks, callback); in doUnregisterEmptyQueryResultUpdateCallback()
233 private CallbackWrapper findCallbackWrapper(ArrayList<CallbackWrapper> callbacks, in findCallbackWrapper()
243 private void removeCallbackWrapper(@Nullable ArrayList<CallbackWrapper> callbacks, in removeCallbackWrapper()
244 @Nullable CallbackWrapper wrapper) { in removeCallbackWrapper()
[all …]
/frameworks/base/core/java/android/service/appprediction/
DAppPredictionService.java73 private final ArrayMap<AppPredictionSessionId, ArrayList<CallbackWrapper>> mSessionCallbacks =
109 new CallbackWrapper(callback, null)));
209 final ArrayList<CallbackWrapper> callbacks = mSessionCallbacks.get(sessionId); in doRegisterPredictionUpdates()
215 final CallbackWrapper wrapper = findCallbackWrapper(callbacks, callback); in doRegisterPredictionUpdates()
217 callbacks.add(new CallbackWrapper(callback, in doRegisterPredictionUpdates()
234 final ArrayList<CallbackWrapper> callbacks = mSessionCallbacks.get(sessionId); in doUnregisterPredictionUpdates()
240 final CallbackWrapper wrapper = findCallbackWrapper(callbacks, callback); in doUnregisterPredictionUpdates()
244 private void removeCallbackWrapper(@Nullable ArrayList<CallbackWrapper> callbacks, in removeCallbackWrapper()
245 @Nullable CallbackWrapper wrapper) { in removeCallbackWrapper()
264 final ArrayList<CallbackWrapper> callbacks = mSessionCallbacks.get(sessionId); in doRequestPredictionUpdate()
[all …]
/frameworks/base/core/java/android/app/search/
DSearchSession.java90 private final ArrayMap<Callback, CallbackWrapper> mRegisteredCallbacks = new ArrayMap<>();
158 mInterface.query(mSessionId, input, new CallbackWrapper(callbackExecutor, callback)); in query()
187 final CallbackWrapper callbackWrapper = new CallbackWrapper(callbackExecutor, in registerEmptyQueryResultUpdateCallback()
218 final CallbackWrapper callbackWrapper = mRegisteredCallbacks.remove(callback); in unregisterEmptyQueryResultUpdateCallback()
296 static class CallbackWrapper extends Stub { class in SearchSession
301 CallbackWrapper(@NonNull Executor callbackExecutor, in CallbackWrapper() method in SearchSession.CallbackWrapper
/frameworks/base/core/java/android/app/smartspace/
DSmartspaceSession.java84 private final ArrayMap<OnTargetsAvailableListener, CallbackWrapper> mRegisteredCallbacks =
163 final CallbackWrapper callbackWrapper = new CallbackWrapper(listenerExecutor, in addOnTargetsAvailableListener()
192 final CallbackWrapper callbackWrapper = mRegisteredCallbacks.remove(listener); in removeOnTargetsAvailableListener()
261 static class CallbackWrapper extends Stub { class in SmartspaceSession
266 CallbackWrapper(@NonNull Executor callbackExecutor, in CallbackWrapper() method in SmartspaceSession.CallbackWrapper
/frameworks/base/core/java/android/app/prediction/
DAppPredictor.java89 private final ArrayMap<Callback, CallbackWrapper> mRegisteredCallbacks = new ArrayMap<>();
183 final CallbackWrapper callbackWrapper = new CallbackWrapper(callbackExecutor, in registerPredictionUpdatesLocked()
218 final CallbackWrapper callbackWrapper = mRegisteredCallbacks.remove(callback); in unregisterPredictionUpdatesLocked()
262 new CallbackWrapper(callbackExecutor, callback)); in sortTargets()
360 static class CallbackWrapper extends Stub { class in AppPredictor
365 CallbackWrapper(@NonNull Executor callbackExecutor, in CallbackWrapper() method in AppPredictor.CallbackWrapper
/frameworks/base/core/java/android/app/contextualsearch/
DCallbackToken.java93 final CallbackWrapper wrapper = new CallbackWrapper(executor, callback); in getContextualSearchState()
146 private static class CallbackWrapper extends IContextualSearchCallback.Stub { class in CallbackToken
150 CallbackWrapper(@NonNull Executor callbackExecutor, in CallbackWrapper() method in CallbackToken.CallbackWrapper
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger_middleware/
DSoundTriggerMiddlewarePermission.java206 private final @NonNull CallbackWrapper mCallbackWrapper;
213 mCallbackWrapper = new CallbackWrapper(callback); in ModuleWrapper()
305 private class CallbackWrapper implements ISoundTriggerCallback { class in SoundTriggerMiddlewarePermission.ModuleWrapper
308 private CallbackWrapper(ISoundTriggerCallback delegate) { in CallbackWrapper() method in SoundTriggerMiddlewarePermission.ModuleWrapper.CallbackWrapper
DSoundTriggerHalConcurrentCaptureHandler.java196 int handle = mDelegate.loadSoundModel(soundModel, new CallbackWrapper(callback)); in loadSoundModel()
204 int handle = mDelegate.loadPhraseSoundModel(soundModel, new CallbackWrapper(callback)); in loadPhraseSoundModel()
233 private class CallbackWrapper implements ISoundTriggerHal.ModelCallback { class in SoundTriggerHalConcurrentCaptureHandler
236 private CallbackWrapper(@NonNull ModelCallback delegateCallback) { in CallbackWrapper() method in SoundTriggerHalConcurrentCaptureHandler.CallbackWrapper
DSoundTriggerMiddlewareValidation.java333 private final CallbackWrapper mCallbackWrapper;
337 mCallbackWrapper = new CallbackWrapper(callback); in Session()
674 class CallbackWrapper implements ISoundTriggerCallback, IBinder.DeathRecipient { class in SoundTriggerMiddlewareValidation.Session
677 CallbackWrapper(ISoundTriggerCallback callback) { in CallbackWrapper() method in SoundTriggerMiddlewareValidation.Session.CallbackWrapper
/frameworks/base/services/core/java/com/android/server/textclassifier/
DTextClassificationManagerService.java555 return new CallbackWrapper(orig); in wrap()
1224 private static final class CallbackWrapper extends ITextClassifierCallback.Stub { class in TextClassificationManagerService
1228 CallbackWrapper(ITextClassifierCallback wrapped) { in CallbackWrapper() method in TextClassificationManagerService.CallbackWrapper
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.h156 static void CallbackWrapper(
/frameworks/base/boot/
Dpreloaded-classes1151 android.app.prediction.AppPredictor$CallbackWrapper
1245 android.app.smartspace.SmartspaceSession$CallbackWrapper$$ExternalSyntheticLambda0
1246 android.app.smartspace.SmartspaceSession$CallbackWrapper
Dboot-image-profile.txt23528 Landroid/app/prediction/AppPredictor$CallbackWrapper;
23622 Landroid/app/smartspace/SmartspaceSession$CallbackWrapper$$ExternalSyntheticLambda0;
23623 Landroid/app/smartspace/SmartspaceSession$CallbackWrapper;
/frameworks/base/config/
Dpreloaded-classes1151 android.app.prediction.AppPredictor$CallbackWrapper
1245 android.app.smartspace.SmartspaceSession$CallbackWrapper$$ExternalSyntheticLambda0
1246 android.app.smartspace.SmartspaceSession$CallbackWrapper
Dboot-image-profile.txt33658 Landroid/app/prediction/AppPredictor$CallbackWrapper;
33752 Landroid/app/smartspace/SmartspaceSession$CallbackWrapper$$ExternalSyntheticLambda0;
33753 Landroid/app/smartspace/SmartspaceSession$CallbackWrapper;