Home
last modified time | relevance | path

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

/packages/modules/Media/apex/framework/java/android/media/
DMediaTranscodingManager.java118 void onTranscodingFinished(@NonNull TranscodingSession session); in onTranscodingFinished()
127 private final HashMap<Integer, TranscodingSession> mPendingTranscodingSessions = new HashMap();
137 final TranscodingSession session = mPendingTranscodingSessions.remove(sessionId); in handleTranscodingFinished()
146 session.updateStatusAndResult(TranscodingSession.STATUS_FINISHED, in handleTranscodingFinished()
147 TranscodingSession.RESULT_SUCCESS, in handleTranscodingFinished()
148 TranscodingSession.ERROR_NONE); in handleTranscodingFinished()
162 final TranscodingSession session = mPendingTranscodingSessions.remove(sessionId); in handleTranscodingFailed()
171 session.updateStatusAndResult(TranscodingSession.STATUS_FINISHED, in handleTranscodingFailed()
172 TranscodingSession.RESULT_ERROR, errorCode); in handleTranscodingFailed()
185 final TranscodingSession session = mPendingTranscodingSessions.get(sessionId); in handleTranscodingProgressUpdate()
[all …]
/packages/providers/MediaProvider/src/com/android/providers/media/
DTranscodeHelperImpl.java61 import android.media.MediaTranscodingManager.TranscodingSession;
474 TranscodingSession transcodingSession = null; in transcode()
478 int errorCode = TranscodingSession.ERROR_SERVICE_DIED; in transcode()
533 if (errorCode == TranscodingSession.ERROR_DROPPED_BY_SERVICE) { in transcode()
1034 TranscodingSession.ERROR_NONE); in onUriPublished()
1051 TranscodingSession.ERROR_NONE); in onUriPublished()
1093 TranscodingSession.ERROR_NONE); in onFileOpen()
1109 TranscodingSession.ERROR_NONE); in onFileOpen()
1177 private TranscodingSession enqueueTranscodingSession(String src, String dst, int uid, in enqueueTranscodingSession()
1206 TranscodingSession session = mediaTranscodeManager.enqueueRequest(request, in enqueueTranscodingSession()
[all …]
/packages/modules/Media/apex/framework/api/
Dsystem-current.txt5 …method @Nullable public android.media.MediaTranscodingManager.TranscodingSession enqueueRequest(@N…
9 …blic void onTranscodingFinished(@NonNull android.media.MediaTranscodingManager.TranscodingSession);
27 public static final class MediaTranscodingManager.TranscodingSession {
37 …oncurrent.Executor, @NonNull android.media.MediaTranscodingManager.TranscodingSession.OnProgressUp…
51 …@java.lang.FunctionalInterface public static interface MediaTranscodingManager.TranscodingSession.…
52 …id onProgressUpdate(@NonNull android.media.MediaTranscodingManager.TranscodingSession, @IntRange(f…
Dsystem-lint-baseline.txt4 RequiresPermission: android.media.MediaTranscodingManager.TranscodingSession#addClientUid(int):
Dmodule-lib-lint-baseline.txt6 RequiresPermission: android.media.MediaTranscodingManager.TranscodingSession#addClientUid(int):