Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/prediction/
DAppPredictor.java169 final CallbackWrapper callbackWrapper = new CallbackWrapper(callbackExecutor, in registerPredictionUpdates() local
171 mPredictionManager.registerPredictionUpdates(mSessionId, callbackWrapper); in registerPredictionUpdates()
172 mRegisteredCallbacks.put(callback, callbackWrapper); in registerPredictionUpdates()
197 final CallbackWrapper callbackWrapper = mRegisteredCallbacks.remove(callback); in unregisterPredictionUpdates() local
198 mPredictionManager.unregisterPredictionUpdates(mSessionId, callbackWrapper); in unregisterPredictionUpdates()
/frameworks/base/core/java/android/hardware/display/
DDisplayManagerGlobal.java456 VirtualDisplayCallback callbackWrapper = new VirtualDisplayCallback(callback, handler); in createVirtualDisplay() local
460 displayId = mDm.createVirtualDisplay(callbackWrapper, projectionToken, in createVirtualDisplay()
475 mDm.releaseVirtualDisplay(callbackWrapper); in createVirtualDisplay()
481 return new VirtualDisplay(this, display, callbackWrapper, surface); in createVirtualDisplay()
/frameworks/base/core/java/android/service/appprediction/
DAppPredictionService.java206 callbackWrapper -> in doRegisterPredictionUpdates()
207 mHandler.post(() -> removeCallbackWrapper(callbacks, callbackWrapper)))); in doRegisterPredictionUpdates()