/frameworks/av/media/libstagefright/tests/ |
D | BatteryChecker_test.cpp | 66 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/ |
D | OMXHarness.h | 52 status_t dequeueMessageForNode(omx_message *msg, int64_t timeoutUs = -1); 57 omx_message *msg, int64_t timeoutUs = -1);
|
D | OMXHarness.cpp | 103 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/ |
D | android_media_MediaCodec.h | 100 status_t dequeueInputBuffer(size_t *index, int64_t timeoutUs); 103 JNIEnv *env, jobject bufferInfo, size_t *index, int64_t timeoutUs);
|
D | android_media_MediaCodec.cpp | 373 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/ |
D | NdkMediaCodec.h | 215 ssize_t AMediaCodec_dequeueInputBuffer(AMediaCodec*, int64_t timeoutUs) __INTRODUCED_IN(21); 268 int64_t timeoutUs) __INTRODUCED_IN(21);
|
/frameworks/base/media/java/android/media/ |
D | MediaCodec.java | 2728 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/ |
D | MediaCodec.cpp | 1434 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 …]
|
D | MediaCodecSource.cpp | 1030 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/ |
D | NdkMediaCodec.cpp | 487 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/ |
D | MediaCodec.h | 153 status_t dequeueInputBuffer(size_t *index, int64_t timeoutUs = 0ll); 161 int64_t timeoutUs = 0ll);
|
/frameworks/av/media/bufferpool/1.0/ |
D | ClientManager.cpp | 164 int64_t timeoutUs = getTimestampNow() + kRegisterTimeoutUs; in registerSender() local 214 } while (getTimestampNow() < timeoutUs); in registerSender()
|
/frameworks/av/media/bufferpool/2.0/ |
D | ClientManager.cpp | 171 int64_t timeoutUs = getTimestampNow() + kRegisterTimeoutUs; in registerSender() local 222 } while (getTimestampNow() < timeoutUs); in registerSender()
|