HomeSort by relevance Sort by last modified time
    Searched refs:delayUs (Results 1 - 25 of 42) sorted by null

1 2

  /cts/tests/sensor/src/android/hardware/cts/helpers/sensorverification/
FrequencyVerification.java 97 double delayUs = environment.getRequestedSamplingPeriodUs();
107 delayUs = SensorCtsHelper.clamp(delayUs, minDelayUs, maxDelayUs);
108 double expectedHz = SensorCtsHelper.getFrequency(delayUs, TimeUnit.MICROSECONDS);
111 delayUs = Math.max(minDelayUs, delayUs);
112 lowerExpectedHz = SensorCtsHelper.getFrequency(delayUs, TimeUnit.MICROSECONDS);
  /frameworks/av/media/libstagefright/foundation/
ALooper.cpp 168 void ALooper::post(const sp<AMessage> &msg, int64_t delayUs) {
172 if (delayUs > 0) {
173 whenUs = GetNowUs() + delayUs;
210 int64_t delayUs = whenUs - nowUs;
211 mQueueChangedCondition.waitRelative(mLock, delayUs * 1000ll);
  /frameworks/av/media/libstagefright/
HTTPBase.cpp 45 size_t numBytes, int64_t delayUs) {
49 entry.mDelayUs = delayUs;
51 mTotalTransferTimeUs += delayUs;
NuCachedSource2.cpp 435 int64_t delayUs;
439 delayUs = 3000000ll;
441 delayUs = 0;
444 delayUs = 100000ll;
447 (new AMessage(kWhatFetchMore, mReflector))->post(delayUs);
  /frameworks/wilhelm/src/android/
android_GenericPlayer.cpp 622 // delayUs is the expected delay between current position and marker;
624 int64_t delayUs = -1;
632 delayUs = (mMarkerPositionMs - positionMs) * 1000LL;
676 if (trialDelayUs > 0 && (delayUs == -1 || trialDelayUs < delayUs)) {
677 delayUs = trialDelayUs;
691 if (advancesPositionInRealTime() && delayUs >= 0) {
696 delayUs = delayUs * 1000 / mPlaybackRatePermille;
700 if (delayUs < 20000LL)
    [all...]
  /frameworks/av/media/libstagefright/wifi-display/source/
RepeaterSource.cpp 132 int64_t delayUs = bufferTimeUs - nowUs;
134 if (delayUs > 0ll) {
135 usleep(delayUs);
  /frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
ALooper.h 91 void post(const sp<AMessage> &msg, int64_t delayUs);
AMessage.h 136 status_t post(int64_t delayUs = 0);
  /frameworks/av/media/libstagefright/include/
HTTPBase.h 64 virtual void addBandwidthMeasurement(size_t numBytes, int64_t delayUs);
  /frameworks/av/media/libmediaplayerservice/nuplayer/
NuPlayerRenderer.cpp 556 int64_t delayUs =
560 delayUs /= mPlaybackRate;
565 delayUs /= 2;
569 ALOGD_IF(delayUs > maxDrainDelayUs, "postDrainAudioQueue long delay: %lld > %lld",
570 (long long)delayUs, (long long)maxDrainDelayUs);
572 postDrainAudioQueue_l(delayUs);
757 void NuPlayer::Renderer::postDrainAudioQueue_l(int64_t delayUs) {
769 if (diffUs > delayUs) {
770 delayUs = diffUs;
777 msg->post(delayUs);
    [all...]
NuPlayerRenderer.h 234 void postDrainAudioQueue_l(int64_t delayUs = 0);
277 void notifyEOS(bool audio, status_t finalResult, int64_t delayUs = 0);
278 void notifyEOS_l(bool audio, status_t finalResult, int64_t delayUs = 0);
HTTPLiveSource.cpp 286 int64_t timeUs, baseUs, delayUs;
289 delayUs = baseUs + timeUs - ALooper::GetNowUs();
293 msg->post(delayUs > 0ll ? delayUs : 0ll);
296 if (delayUs < -1000000ll) { // 1 second
GenericSource.cpp 735 int64_t delayUs = subTimeUs - timeUs;
738 delayUs -= oneSecUs;
742 msg2->post(delayUs < 0 ? 0 : delayUs);
774 const int64_t delayUs = nextSubTimeUs - subTimeUs;
775 msg->post(delayUs < 0 ? 0 : delayUs);
    [all...]
  /frameworks/av/media/libstagefright/http/
MediaHTTP.cpp 122 int64_t delayUs = ALooper::GetNowUs() - startTimeUs;
124 addBandwidthMeasurement(numBytesRead, delayUs);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/util/
AsyncSensorManager.java 70 protected boolean registerListenerImpl(SensorEventListener listener, Sensor sensor, int delayUs,
73 if (!mInner.registerListener(listener, sensor, delayUs, maxReportLatencyUs, handler)) {
  /frameworks/av/media/libstagefright/httplive/
PlaylistFetcher.cpp 292 int64_t delayUs = mLastPlaylistFetchTimeUs + minPlaylistAgeUs - nowUs;
293 return delayUs > 0ll ? delayUs : 0ll;
485 void PlaylistFetcher::postMonitorQueue(int64_t delayUs, int64_t minDelayUs) {
490 if (delayUs > maxDelayUs) {
492 delayUs = maxDelayUs;
496 msg->post(delayUs);
894 int64_t delayUs = bufferedDurationUs - kMinBufferedDurationUs + 1000000ll;
895 if (delayUs > targetDurationUs / 2) {
896 delayUs = targetDurationUs / 2
    [all...]
LiveSession.h 273 void addBandwidthMeasurement(size_t numBytes, int64_t delayUs);
293 sp<AMessage> &msg, int64_t delayUs, bool *needResumeUntil);
LiveSession.cpp 55 void addBandwidthMeasurement(size_t numBytes, int64_t delayUs);
96 size_t numBytes, int64_t delayUs) {
102 entry.mDelayUs = delayUs;
104 mTotalTransferTimeUs += delayUs;
535 sp<AMessage> &stopParams, int64_t delayUs, bool *needResumeUntil) {
556 if (delayUs > 0) {
557 lastDequeueMeta = source->getMetaAfterLastDequeued(delayUs);
841 int64_t delayUs =
847 if (checkSwitchProgress(stopParams, delayUs, &needResumeUntil)) {
    [all...]
PlaylistFetcher.h 204 void postMonitorQueue(int64_t delayUs = 0, int64_t minDelayUs = 0);
  /frameworks/av/media/libstagefright/mpeg2ts/
AnotherPacketSource.h 83 sp<AMessage> getMetaAfterLastDequeued(int64_t delayUs);
AnotherPacketSource.cpp 532 * returns the sample meta that's delayUs after queue head
535 sp<AMessage> AnotherPacketSource::getMetaAfterLastDequeued(int64_t delayUs) {
559 if (durationUs + (lastUs - firstUs) >= delayUs) {
  /frameworks/base/core/java/android/hardware/
SystemSensorManager.java 145 int delayUs, Handler handler, int maxBatchReportLatencyUs, int reservedFlags) {
155 if (maxBatchReportLatencyUs < 0 || delayUs < 0) {
156 Log.e(TAG, "maxBatchReportLatencyUs and delayUs should be non-negative");
177 if (!queue.addSensor(sensor, delayUs, maxBatchReportLatencyUs)) {
184 return queue.addSensor(sensor, delayUs, maxBatchReportLatencyUs);
661 Sensor sensor, int delayUs, int maxBatchReportLatencyUs) {
669 if (enableSensor(sensor, delayUs, maxBatchReportLatencyUs) != 0) {
672 maxBatchReportLatencyUs > 0 && enableSensor(sensor, delayUs, 0) != 0) {
    [all...]
  /frameworks/av/cmds/stagefright/
SimplePlayer.cpp 636 int64_t delayUs = ALooper::GetNowUs() - startTimeUs;
640 if (delayUs > 2000ll) {
643 (long long)delayUs, numFramesAvailableToWrite, numFramesWritten);
  /hardware/interfaces/media/omx/1.0/vts/functional/common/
media_hidl_test_common.h 181 int64_t delayUs = finishBy - android::ALooper::GetNowUs();
182 if (delayUs < 0) return toStatus(android::TIMED_OUT);
185 : msgCondition.waitRelative(msgLock, delayUs * 1000ll);
  /frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/hardware/
FakeSensorManager.java 115 int delayUs,

Completed in 1526 milliseconds

1 2