Home
last modified time | relevance | path

Searched refs:timeoutUs (Results 1 – 13 of 13) sorted by relevance

/frameworks/av/media/libstagefright/tests/
DBatteryChecker_test.cpp66 void runTest(const std::vector<Operation> &ops, int64_t timeoutUs) { in runTest() argument
76 EXPECT_NE(TIMED_OUT, mDone.waitRelative(mLock, timeoutUs * 1000ll)); in runTest()
103 void runTest(const std::vector<Operation> &ops, int64_t timeoutUs) { in runTest() argument
104 mHandler->runTest(ops, timeoutUs); in runTest()
/frameworks/av/media/libstagefright/omx/tests/
DOMXHarness.h52 status_t dequeueMessageForNode(omx_message *msg, int64_t timeoutUs = -1);
57 omx_message *msg, int64_t timeoutUs = -1);
DOMXHarness.cpp103 status_t Harness::dequeueMessageForNode(omx_message *msg, int64_t timeoutUs) { in dequeueMessageForNode() argument
104 return dequeueMessageForNodeIgnoringBuffers(NULL, NULL, msg, timeoutUs); in dequeueMessageForNode()
151 omx_message *msg, int64_t timeoutUs) { in dequeueMessageForNodeIgnoringBuffers() argument
152 int64_t finishBy = ALooper::GetNowUs() + timeoutUs; in dequeueMessageForNodeIgnoringBuffers()
174 status_t err = (timeoutUs < 0) in dequeueMessageForNodeIgnoringBuffers()
/frameworks/base/media/jni/
Dandroid_media_MediaCodec.h100 status_t dequeueInputBuffer(size_t *index, int64_t timeoutUs);
103 JNIEnv *env, jobject bufferInfo, size_t *index, int64_t timeoutUs);
Dandroid_media_MediaCodec.cpp373 status_t JMediaCodec::dequeueInputBuffer(size_t *index, int64_t timeoutUs) { in dequeueInputBuffer() argument
374 return mCodec->dequeueInputBuffer(index, timeoutUs); in dequeueInputBuffer()
378 JNIEnv *env, jobject bufferInfo, size_t *index, int64_t timeoutUs) { in dequeueOutputBuffer() argument
383 index, &offset, &size, &timeUs, &flags, timeoutUs); in dequeueOutputBuffer()
1597 JNIEnv *env, jobject thiz, jlong timeoutUs) { in android_media_MediaCodec_dequeueInputBuffer() argument
1608 status_t err = codec->dequeueInputBuffer(&index, timeoutUs); in android_media_MediaCodec_dequeueInputBuffer()
1618 JNIEnv *env, jobject thiz, jobject bufferInfo, jlong timeoutUs) { in android_media_MediaCodec_dequeueOutputBuffer() argument
1630 env, bufferInfo, &index, timeoutUs); in android_media_MediaCodec_dequeueOutputBuffer()
/frameworks/av/media/ndk/include/media/
DNdkMediaCodec.h215 ssize_t AMediaCodec_dequeueInputBuffer(AMediaCodec*, int64_t timeoutUs) __INTRODUCED_IN(21);
268 int64_t timeoutUs) __INTRODUCED_IN(21);
/frameworks/base/media/java/android/media/
DMediaCodec.java2728 public final int dequeueInputBuffer(long timeoutUs) { in dequeueInputBuffer() argument
2729 int res = native_dequeueInputBuffer(timeoutUs); in dequeueInputBuffer()
2738 private native final int native_dequeueInputBuffer(long timeoutUs); in native_dequeueInputBuffer() argument
2791 @NonNull BufferInfo info, long timeoutUs) { in dequeueOutputBuffer() argument
2792 int res = native_dequeueOutputBuffer(info, timeoutUs); in dequeueOutputBuffer()
2807 @NonNull BufferInfo info, long timeoutUs); in native_dequeueOutputBuffer() argument
/frameworks/av/media/libstagefright/
DMediaCodec.cpp1434 status_t MediaCodec::dequeueInputBuffer(size_t *index, int64_t timeoutUs) { in dequeueInputBuffer() argument
1436 msg->setInt64("timeoutUs", timeoutUs); in dequeueInputBuffer()
1455 int64_t timeoutUs) { in dequeueOutputBuffer() argument
1457 msg->setInt64("timeoutUs", timeoutUs); in dequeueOutputBuffer()
1720 BatteryChecker::BatteryChecker(const sp<AMessage> &msg, int64_t timeoutUs) in BatteryChecker() argument
1721 : mTimeoutUs(timeoutUs) in BatteryChecker()
2836 int64_t timeoutUs; in onMessageReceived() local
2837 CHECK(msg->findInt64("timeoutUs", &timeoutUs)); in onMessageReceived()
2839 if (timeoutUs == 0LL) { in onMessageReceived()
2847 if (timeoutUs > 0LL) { in onMessageReceived()
[all …]
DMediaCodecSource.cpp1030 int64_t timeoutUs = kStopTimeoutUs; in onMessageReceived() local
1048 timeoutUs += stopTimeOffsetUs; in onMessageReceived()
1051 timeoutUs = kMaxStopTimeOffsetUs; in onMessageReceived()
1060 timeoutMsg->post(timeoutUs); in onMessageReceived()
/frameworks/av/media/ndk/
DNdkMediaCodec.cpp487 ssize_t AMediaCodec_dequeueInputBuffer(AMediaCodec *mData, int64_t timeoutUs) { in AMediaCodec_dequeueInputBuffer() argument
489 status_t ret = mData->mCodec->dequeueInputBuffer(&idx, timeoutUs); in AMediaCodec_dequeueInputBuffer()
574 AMediaCodecBufferInfo *info, int64_t timeoutUs) { in AMediaCodec_dequeueOutputBuffer() argument
581 &flags, timeoutUs); in AMediaCodec_dequeueOutputBuffer()
/frameworks/av/media/libstagefright/include/media/stagefright/
DMediaCodec.h153 status_t dequeueInputBuffer(size_t *index, int64_t timeoutUs = 0ll);
161 int64_t timeoutUs = 0ll);
/frameworks/av/media/bufferpool/1.0/
DClientManager.cpp164 int64_t timeoutUs = getTimestampNow() + kRegisterTimeoutUs; in registerSender() local
214 } while (getTimestampNow() < timeoutUs); in registerSender()
/frameworks/av/media/bufferpool/2.0/
DClientManager.cpp171 int64_t timeoutUs = getTimestampNow() + kRegisterTimeoutUs; in registerSender() local
222 } while (getTimestampNow() < timeoutUs); in registerSender()