Home
last modified time | relevance | path

Searched refs:mListenerExecutor (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Media/apex/framework/java/android/media/
DMediaTranscodingManager.java151 if (session.mListener != null && session.mListenerExecutor != null) { in handleTranscodingFinished()
152 session.mListenerExecutor.execute( in handleTranscodingFinished()
175 if (session.mListener != null && session.mListenerExecutor != null) { in handleTranscodingFailed()
176 session.mListenerExecutor.execute( in handleTranscodingFailed()
265 if (session.mListener != null && session.mListenerExecutor != null) { in onClientDied()
267 session.mListenerExecutor.execute( in onClientDied()
1342 private Executor mListenerExecutor; field in MediaTranscodingManager.TranscodingSession
1378 mListenerExecutor = executor; in TranscodingSession()
1505 mListenerExecutor.execute(() -> mListener.onTranscodingFinished(this)); in cancel()
/packages/services/Car/car-lib/src/android/car/util/concurrent/
DAndroidFuture.java67 private @Nullable Executor mListenerExecutor = DIRECT_EXECUTOR; field in AndroidFuture
194 if (oldListener != null && executor != mListenerExecutor) { in whenCompleteAsync()
201 mListenerExecutor = executor; in whenCompleteAsync()
229 if (mListenerExecutor == DIRECT_EXECUTOR) { in callListenerAsync()
232 mListenerExecutor.execute(() -> callListener(listener, res, err)); in callListenerAsync()