Home
last modified time | relevance | path

Searched refs:mCallbackExecutor (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/people/java/com/android/server/people/prediction/
DAppTargetPredictor.java59 private final ExecutorService mCallbackExecutor; field in AppTargetPredictor
68 mCallbackExecutor = Executors.newSingleThreadExecutor(); in AppTargetPredictor()
76 mCallbackExecutor.execute(() -> reportAppTargetEvent(event)); in onAppTargetEvent()
92 mCallbackExecutor.execute(() -> sortTargets(targets, callback)); in onSortAppTargets()
100 mCallbackExecutor.execute(this::predictTargets); in onRequestPredictionUpdate()
/frameworks/base/apex/media/framework/java/android/media/
DMediaController2.java68 private final Executor mCallbackExecutor; field in MediaController2
113 mCallbackExecutor = (executor == null) ? context.getMainExecutor() : executor; in MediaController2()
163 mCallbackExecutor.execute(() -> { in close()
218 mCallbackExecutor.execute(() -> { in sendSessionCommand()
295 mCallbackExecutor.execute(() -> { in onConnected()
311 mCallbackExecutor.execute(() -> { in onPlaybackActiveChanged()
322 mCallbackExecutor.execute(() -> { in onSessionCommand()
425 private Executor mCallbackExecutor; field in MediaController2.Builder
486 mCallbackExecutor = executor; in setControllerCallback()
498 if (mCallbackExecutor == null) { in build()
[all …]
DMediaSession2.java81 final Executor mCallbackExecutor; field in MediaSession2
113 mCallbackExecutor = callbackExecutor; in MediaSession2()
207 mCallbackExecutor.execute(() -> { in sendSessionCommand()
358 mCallbackExecutor.execute(() -> { in onConnect()
430 mCallbackExecutor.execute(() -> { in onDisconnect()
454 mCallbackExecutor.execute(() -> { in onSessionCommand()
498 private Executor mCallbackExecutor; field in MediaSession2.Builder
558 mCallbackExecutor = executor; in setSessionCallback()
593 if (mCallbackExecutor == null) { in build()
594 mCallbackExecutor = mContext.getMainExecutor(); in build()
[all …]
/frameworks/base/core/java/android/view/inputmethod/
DInlineSuggestion.java231 private final Executor mCallbackExecutor; field in InlineSuggestion.InlineContentCallbackImpl
276 mCallbackExecutor = callbackExecutor; in InlineContentCallbackImpl()
305 mCallbackExecutor.execute(() -> mCallback.accept(/* view */null)); in handleOnFirstContentReceived()
310 mCallbackExecutor.execute(() -> mCallback.accept(mView)); in handleOnFirstContentReceived()
/frameworks/base/core/java/android/os/
DStrictMode.java437 final Executor mCallbackExecutor; field in StrictMode.ThreadPolicy
443 mCallbackExecutor = executor; in ThreadPolicy()
487 mExecutor = policy.mCallbackExecutor; in Builder()
730 final Executor mCallbackExecutor; field in StrictMode.VmPolicy
746 mCallbackExecutor = executor; in VmPolicy()
791 mExecutor = base.mCallbackExecutor; in Builder()
1198 sThreadViolationExecutor.set(policy.mCallbackExecutor); in setThreadPolicy()
1471 sVmPolicy.mCallbackExecutor); in enableDeathOnFileUriExposure()
1489 sVmPolicy.mCallbackExecutor); in disableDeathOnFileUriExposure()
2316 if (sVmPolicy.mListener != null && sVmPolicy.mCallbackExecutor != null) { in onVmPolicyViolation()
[all …]