Home
last modified time | relevance | path

Searched refs:timeoutUs (Results 1 – 20 of 20) 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/base/native/android/tests/activitymanager/nativeTests/src/
DActivityManagerNativeTest.cpp42 bool waitForImportance(int32_t val, int64_t timeoutUs) { in waitForImportance() argument
45 if (mLastUidImportance != val && timeoutUs > 0) { in waitForImportance()
46 mCondition.wait_for(lock, std::chrono::microseconds(timeoutUs)); in waitForImportance()
/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/av/media/module/service.mediatranscoding/tests/
DMediaTranscodingServiceTestHelper.h158 const Event& pop(int64_t timeoutUs = 0) {
161 if (mEventQueue.empty() && timeoutUs > 0) {
162 mCondition.wait_for(lock, std::chrono::microseconds(timeoutUs));
176 int64_t timeoutUs = 0) {
180 int64_t remainingUs = timeoutUs;
192 remainingUs = timeoutUs - elapsedTime.count();
/frameworks/av/media/ndk/include/media/
DNdkMediaCodec.h264 ssize_t AMediaCodec_dequeueInputBuffer(AMediaCodec*, int64_t timeoutUs) __INTRODUCED_IN(21);
317 int64_t timeoutUs) __INTRODUCED_IN(21);
/frameworks/base/media/jni/
Dandroid_media_MediaCodec.h142 status_t dequeueInputBuffer(size_t *index, int64_t timeoutUs);
145 JNIEnv *env, jobject bufferInfo, size_t *index, int64_t timeoutUs);
Dandroid_media_MediaCodec.cpp511 status_t JMediaCodec::dequeueInputBuffer(size_t *index, int64_t timeoutUs) { in dequeueInputBuffer() argument
512 return mCodec->dequeueInputBuffer(index, timeoutUs); in dequeueInputBuffer()
516 JNIEnv *env, jobject bufferInfo, size_t *index, int64_t timeoutUs) { in dequeueOutputBuffer() argument
521 index, &offset, &size, &timeUs, &flags, timeoutUs); in dequeueOutputBuffer()
3155 JNIEnv *env, jobject thiz, jlong timeoutUs) { in android_media_MediaCodec_dequeueInputBuffer() argument
3166 status_t err = codec->dequeueInputBuffer(&index, timeoutUs); in android_media_MediaCodec_dequeueInputBuffer()
3176 JNIEnv *env, jobject thiz, jobject bufferInfo, jlong timeoutUs) { in android_media_MediaCodec_dequeueOutputBuffer() argument
3188 env, bufferInfo, &index, timeoutUs); in android_media_MediaCodec_dequeueOutputBuffer()
/frameworks/av/media/ndk/
DNdkMediaCodec.cpp653 ssize_t AMediaCodec_dequeueInputBuffer(AMediaCodec *mData, int64_t timeoutUs) { in AMediaCodec_dequeueInputBuffer() argument
655 status_t ret = mData->mCodec->dequeueInputBuffer(&idx, timeoutUs); in AMediaCodec_dequeueInputBuffer()
740 AMediaCodecBufferInfo *info, int64_t timeoutUs) { in AMediaCodec_dequeueOutputBuffer() argument
747 &flags, timeoutUs); in AMediaCodec_dequeueOutputBuffer()
/frameworks/av/services/mediaresourcemanager/test/
DResourceObserverService_test.cpp83 const Event& pop(int64_t timeoutUs = 0) { in pop()
86 if (mEventQueue.empty() && timeoutUs > 0) { in pop()
87 mCondition.wait_for(lock, std::chrono::microseconds(timeoutUs)); in pop()
/frameworks/av/media/libstagefright/
DMediaCodecSource.cpp1073 int64_t timeoutUs = kStopTimeoutUs; in onMessageReceived() local
1091 timeoutUs += stopTimeOffsetUs; in onMessageReceived()
1094 timeoutUs = kMaxStopTimeOffsetUs; in onMessageReceived()
1103 timeoutMsg->post(timeoutUs); in onMessageReceived()
DMediaCodec.cpp3435 status_t MediaCodec::dequeueInputBuffer(size_t *index, int64_t timeoutUs) { in dequeueInputBuffer() argument
3437 msg->setInt64("timeoutUs", timeoutUs); in dequeueInputBuffer()
3456 int64_t timeoutUs) { in dequeueOutputBuffer() argument
3458 msg->setInt64("timeoutUs", timeoutUs); in dequeueOutputBuffer()
3758 BatteryChecker::BatteryChecker(const sp<AMessage> &msg, int64_t timeoutUs) in BatteryChecker() argument
3759 : mTimeoutUs(timeoutUs) in BatteryChecker()
5417 int64_t timeoutUs; in onMessageReceived() local
5418 CHECK(msg->findInt64("timeoutUs", &timeoutUs)); in onMessageReceived()
5420 if (timeoutUs == 0LL) { in onMessageReceived()
5428 if (timeoutUs > 0LL) { in onMessageReceived()
[all …]
/frameworks/av/media/module/bufferpool/1.0/
DClientManager.cpp164 int64_t timeoutUs = getTimestampNow() + kRegisterTimeoutUs; in registerSender() local
214 } while (getTimestampNow() < timeoutUs); in registerSender()
/frameworks/av/media/module/bufferpool/2.0/
DClientManager.cpp171 int64_t timeoutUs = getTimestampNow() + kRegisterTimeoutUs; in registerSender() local
222 } while (getTimestampNow() < timeoutUs); in registerSender()
/frameworks/base/media/java/android/media/
DMediaCodec.java3369 public final int dequeueInputBuffer(long timeoutUs) { in dequeueInputBuffer() argument
3377 int res = native_dequeueInputBuffer(timeoutUs); in dequeueInputBuffer()
3386 private native final int native_dequeueInputBuffer(long timeoutUs); in native_dequeueInputBuffer() argument
4049 @NonNull BufferInfo info, long timeoutUs) { in dequeueOutputBuffer() argument
4057 int res = native_dequeueOutputBuffer(info, timeoutUs); in dequeueOutputBuffer()
4072 @NonNull BufferInfo info, long timeoutUs); in native_dequeueOutputBuffer() argument
/frameworks/av/media/module/libmediatranscoding/
DTranscodingSessionController.cpp68 Watchdog(TranscodingSessionController* owner, int64_t timeoutUs);
99 int64_t timeoutUs) in Watchdog() argument
101 mTimeoutUs(timeoutUs), in Watchdog()
/frameworks/av/media/libstagefright/include/media/stagefright/
DMediaCodec.h250 status_t dequeueInputBuffer(size_t *index, int64_t timeoutUs = 0ll);
258 int64_t timeoutUs = 0ll);
/frameworks/av/media/module/libmediatranscoding/tests/
DTranscodingSessionController_tests.cpp191 const Event& popEvent(int64_t timeoutUs = 0) { in popEvent() argument
194 if (mEventQueue.empty() && timeoutUs > 0) { in popEvent()
195 mCondition.wait_for(lock, std::chrono::microseconds(timeoutUs)); in popEvent()
/frameworks/base/services/core/java/com/android/server/power/stats/
DBatteryStatsImpl.java3574 public void setTimeout(long timeoutUs) { in setTimeout() argument
3575 mTimeoutUs = timeoutUs; in setTimeout()
11464 public void setRadioScanningTimeoutLocked(long timeoutUs) { in setRadioScanningTimeoutLocked() argument
11466 mPhoneSignalScanningTimer.setTimeout(timeoutUs); in setRadioScanningTimeoutLocked()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...