/frameworks/av/media/libstagefright/timedtext/ |
D | TimedTextPlayer.cpp | 169 int64_t delayUs = delayUsFromCurrentTime(fireTimeUs); in onMessageReceived() local 170 if (delayUs > 0) { in onMessageReceived() 171 msg->post(delayUs); in onMessageReceived() 261 int64_t delayUs = delayUsFromCurrentTime(timeUs); in postTextEvent() local 268 msg->post(delayUs); in postTextEvent() 286 int64_t delayUs = fireTimeUs - positionUs - kAdjustmentProcessingTimeUs; in delayUsFromCurrentTime() local 287 if (delayUs > kMaxDelayUs) { in delayUsFromCurrentTime() 290 return delayUs; in delayUsFromCurrentTime()
|
/frameworks/av/media/libstagefright/foundation/ |
D | ALooper.cpp | 161 void ALooper::post(const sp<AMessage> &msg, int64_t delayUs) { in post() argument 165 if (delayUs > 0) { in post() 166 whenUs = GetNowUs() + delayUs; in post() 203 int64_t delayUs = whenUs - nowUs; in loop() local 204 mQueueChangedCondition.waitRelative(mLock, delayUs * 1000ll); in loop()
|
D | ALooperRoster.cpp | 101 const sp<AMessage> &msg, int64_t delayUs) { in postMessage() argument 108 looper->post(msg, delayUs); in postMessage()
|
D | AMessage.cpp | 325 void AMessage::post(int64_t delayUs) { in post() argument 326 gLooperRoster.postMessage(this, delayUs); in post()
|
/frameworks/wilhelm/src/android/ |
D | android_GenericPlayer.cpp | 624 int64_t delayUs = -1; in updateOneShot() local 632 delayUs = (mMarkerPositionMs - positionMs) * 1000LL; in updateOneShot() 676 if (trialDelayUs > 0 && (delayUs == -1 || trialDelayUs < delayUs)) { in updateOneShot() 677 delayUs = trialDelayUs; in updateOneShot() 691 if (advancesPositionInRealTime() && delayUs >= 0) { in updateOneShot() 696 delayUs = delayUs * 1000 / mPlaybackRatePermille; in updateOneShot() 700 if (delayUs < 20000LL) { in updateOneShot() 701 delayUs = 20000LL; in updateOneShot() 704 if (delayUs > 60000000LL) { in updateOneShot() 705 delayUs = 60000000LL; in updateOneShot() [all …]
|
/frameworks/av/media/libstagefright/ |
D | HTTPBase.cpp | 44 size_t numBytes, int64_t delayUs) { in addBandwidthMeasurement() argument 48 entry.mDelayUs = delayUs; in addBandwidthMeasurement() 50 mTotalTransferTimeUs += delayUs; in addBandwidthMeasurement()
|
D | NuCachedSource2.cpp | 424 int64_t delayUs; in onFetch() local 428 delayUs = 3000000ll; in onFetch() 430 delayUs = 0; in onFetch() 433 delayUs = 100000ll; in onFetch() 436 (new AMessage(kWhatFetchMore, mReflector->id()))->post(delayUs); in onFetch()
|
D | AwesomePlayer.cpp | 2058 int64_t delayUs = nextTimeUs - estimateRealTimeUs(ts, systemTimeUs) + mTimeSourceDeltaUs; in onVideoEvent() local 2060 ALOGV("next frame in %" PRId64, delayUs); in onVideoEvent() 2062 postVideoEvent_l(delayUs > 60000 ? 30000 : (delayUs < 30000 ? 0 : delayUs - 30000)); in onVideoEvent() 2077 void AwesomePlayer::postVideoEvent_l(int64_t delayUs) { in postVideoEvent_l() argument 2085 mQueue.postEventWithDelay(mVideoEvent, delayUs < 0 ? 10000 : delayUs); in postVideoEvent_l() 2114 void AwesomePlayer::postCheckAudioStatusEvent(int64_t delayUs) { in postCheckAudioStatusEvent() argument 2122 delayUs = 0; in postCheckAudioStatusEvent() 2124 mQueue.postEventWithDelay(mCheckAudioStatusEvent, delayUs); in postCheckAudioStatusEvent() 2127 void AwesomePlayer::postAudioTearDownEvent(int64_t delayUs) { in postAudioTearDownEvent() argument 2133 mQueue.postEventWithDelay(mAudioTearDownEvent, delayUs); in postAudioTearDownEvent() [all …]
|
/frameworks/base/core/java/android/hardware/ |
D | SystemSensorManager.java | 96 int delayUs, Handler handler, int maxBatchReportLatencyUs, int reservedFlags) { in registerListenerImpl() argument 106 if (maxBatchReportLatencyUs < 0 || delayUs < 0) { in registerListenerImpl() 120 if (!queue.addSensor(sensor, delayUs, maxBatchReportLatencyUs, reservedFlags)) { in registerListenerImpl() 127 return queue.addSensor(sensor, delayUs, maxBatchReportLatencyUs, reservedFlags); in registerListenerImpl() 251 Sensor sensor, int delayUs, int maxBatchReportLatencyUs, int reservedFlags) { in addSensor() argument 259 if (enableSensor(sensor, delayUs, maxBatchReportLatencyUs, reservedFlags) != 0) { in addSensor() 262 maxBatchReportLatencyUs > 0 && enableSensor(sensor, delayUs, 0, 0) != 0) { in addSensor()
|
D | SensorManager.java | 805 int delayUs = getDelay(samplingPeriodUs); in registerListener() local 806 return registerListenerImpl(listener, sensor, delayUs, handler, maxReportLatencyUs, 0); in registerListener() 811 int delayUs, Handler handler, int maxReportLatencyUs, int reservedFlags); in registerListenerImpl() argument
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | HTTPLiveSource.cpp | 198 int64_t timeUs, baseUs, durationUs, delayUs; in onMessageReceived() local 202 delayUs = baseUs + timeUs - ALooper::GetNowUs(); in onMessageReceived() 204 msg->post(delayUs > 0ll ? delayUs : 0ll); in onMessageReceived()
|
D | NuPlayerRenderer.cpp | 404 int64_t delayUs = in onMessageReceived() local 413 postDrainAudioQueue_l(delayUs / 2); in onMessageReceived() 530 void NuPlayer::Renderer::postDrainAudioQueue_l(int64_t delayUs) { in postDrainAudioQueue_l() argument 543 msg->post(delayUs); in postDrainAudioQueue_l() 819 int64_t delayUs; in postDrainVideoQueue_l() local 846 delayUs = realTimeUs - nowUs; in postDrainVideoQueue_l() 847 if (delayUs > 500000) { in postDrainVideoQueue_l() 856 (int)(delayUs / 1000), (int)(postDelayUs / 1000)); in postDrainVideoQueue_l() 865 delayUs = realTimeUs - nowUs; in postDrainVideoQueue_l() 867 ALOGW_IF(delayUs > 500000, "unusually high delayUs: %" PRId64, delayUs); in postDrainVideoQueue_l() [all …]
|
D | NuPlayerRenderer.h | 212 void postDrainAudioQueue_l(int64_t delayUs = 0); 240 void notifyEOS(bool audio, status_t finalResult, int64_t delayUs = 0);
|
D | GenericSource.cpp | 917 int64_t delayUs = subTimeUs - timeUs; in fetchTextData() local 920 delayUs -= oneSecUs; in fetchTextData() 924 msg2->post(delayUs < 0 ? 0 : delayUs); in fetchTextData() 956 const int64_t delayUs = nextSubTimeUs - subTimeUs; in sendTextData() local 957 msg->post(delayUs < 0 ? 0 : delayUs); in sendTextData()
|
/frameworks/av/media/libstagefright/wifi-display/source/ |
D | RepeaterSource.cpp | 132 int64_t delayUs = bufferTimeUs - nowUs; in read() local 134 if (delayUs > 0ll) { in read() 135 usleep(delayUs); in read()
|
/frameworks/av/media/libstagefright/httplive/ |
D | PlaylistFetcher.cpp | 182 int64_t delayUs = mLastPlaylistFetchTimeUs + minPlaylistAgeUs - nowUs; in delayUsToRefreshPlaylist() local 183 return delayUs > 0ll ? delayUs : 0ll; in delayUsToRefreshPlaylist() 320 void PlaylistFetcher::postMonitorQueue(int64_t delayUs, int64_t minDelayUs) { in postMonitorQueue() argument 325 if (delayUs > maxDelayUs) { in postMonitorQueue() 327 delayUs = maxDelayUs; in postMonitorQueue() 331 msg->post(delayUs); in postMonitorQueue() 685 int64_t delayUs = mPrepared ? kMaxMonitorDelayUs : targetDurationUs / 2; in onMonitorQueue() local 687 delayUs, bufferedDurationUs, durationToBufferUs); in onMonitorQueue() 690 postMonitorQueue(delayUs, mPrepared ? targetDurationUs * 2 : 0); in onMonitorQueue() 812 int64_t delayUs = kMaxMonitorDelayUs; in onDownloadNext() local [all …]
|
D | PlaylistFetcher.h | 176 void postMonitorQueue(int64_t delayUs = 0, int64_t minDelayUs = 0);
|
/frameworks/av/media/libstagefright/include/ |
D | AwesomePlayer.h | 104 void postAudioEOS(int64_t delayUs = 0ll); 229 void postVideoEvent_l(int64_t delayUs = -1); 232 void postCheckAudioStatusEvent(int64_t delayUs); 234 void postAudioTearDownEvent(int64_t delayUs);
|
D | HTTPBase.h | 60 virtual void addBandwidthMeasurement(size_t numBytes, int64_t delayUs);
|
/frameworks/av/media/libstagefright/http/ |
D | MediaHTTP.cpp | 110 int64_t delayUs = ALooper::GetNowUs() - startTimeUs; in readAt() local 112 addBandwidthMeasurement(numBytesRead, delayUs); in readAt()
|
/frameworks/av/include/media/stagefright/foundation/ |
D | ALooper.h | 78 void post(const sp<AMessage> &msg, int64_t delayUs);
|
D | ALooperRoster.h | 35 status_t postMessage(const sp<AMessage> &msg, int64_t delayUs = 0);
|
D | AMessage.h | 79 void post(int64_t delayUs = 0);
|
/frameworks/av/cmds/stagefright/ |
D | sf2.cpp | 83 int64_t delayUs = ALooper::GetNowUs() - mStartTimeUs; in printStatistics() local 88 mTotalBytesReceived * 1E6 / 1024 / delayUs); in printStatistics() 93 mNumOutputBuffersReceived * 1E6 / delayUs, in printStatistics() 95 mTotalBytesReceived * 1E6 / 1024 / delayUs); in printStatistics()
|
D | SimplePlayer.cpp | 636 int64_t delayUs = ALooper::GetNowUs() - startTimeUs; in renderAudio() local 640 if (delayUs > 2000ll) { in renderAudio() 643 delayUs, numFramesAvailableToWrite, numFramesWritten); in renderAudio()
|