Home
last modified time | relevance | path

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

/frameworks/av/media/libmediatranscoding/tests/
DAdjustableMaxPriorityQueue_tests.cpp228 struct TranscodingJob { in TEST() struct
237 bool operator()(const std::unique_ptr<TranscodingJob>& lhs, in TEST()
238 const std::unique_ptr<TranscodingJob>& rhs) const { in TEST()
247 std::unordered_map<int, TranscodingJob*> jobIdToJobMap; in TEST()
249 TranscodingJob testJobs[] = { in TEST()
256 AdjustableMaxPriorityQueue<std::unique_ptr<TranscodingJob>, TranscodingJobComp> jobQueue; in TEST()
260 auto newJob = std::make_unique<TranscodingJob>(testJobs[jobId]); in TEST()
269 const std::unique_ptr<TranscodingJob>& topJob = jobQueue.top(); in TEST()
274 std::unique_ptr<TranscodingJob> consumeJob = jobQueue.consume_top(); in TEST()
277 const std::unique_ptr<TranscodingJob>& topJob2 = jobQueue.top(); in TEST()
[all …]
/frameworks/base/media/java/android/media/
DMediaTranscodeManager.java68 private final ConcurrentMap<Long, TranscodingJob> mPendingTranscodingJobs =
85 void onTranscodingFinished(@NonNull TranscodingJob transcodingJob); in onTranscodingFinished()
154 public static final class TranscodingJob { class in MediaTranscodeManager
210 private TranscodingJob(long id, @NonNull @CallbackExecutor Executor executor, in TranscodingJob() method in MediaTranscodeManager.TranscodingJob
336 TranscodingJob transcodingJob = mPendingTranscodingJobs.get(id); in postEventFromNative()
370 public @Nullable TranscodingJob enqueueTranscodingRequest( in enqueueTranscodingRequest()
386 TranscodingJob transcodingJob = new TranscodingJob(jobID, listenerExecutor, listener); in enqueueTranscodingRequest()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/mediatranscodemanager/
DMediaTranscodeManagerTest.java56 MediaTranscodeManager.TranscodingJob job; in testMediaTranscodeManager()