/frameworks/av/include/media/stagefright/foundation/ |
ALooperRoster.h | 35 status_t postMessage(const sp<AMessage> &msg, int64_t delayUs = 0); 59 status_t postMessage_l(const sp<AMessage> &msg, int64_t delayUs);
|
ALooper.h | 78 void post(const sp<AMessage> &msg, int64_t delayUs);
|
AMessage.h | 76 void post(int64_t delayUs = 0);
|
/frameworks/av/media/libstagefright/foundation/ |
ALooper.cpp | 161 void ALooper::post(const sp<AMessage> &msg, int64_t delayUs) { 165 if (delayUs > 0) { 166 whenUs = GetNowUs() + delayUs; 203 int64_t delayUs = whenUs - nowUs; 204 mQueueChangedCondition.waitRelative(mLock, delayUs * 1000ll);
|
ALooperRoster.cpp | 89 const sp<AMessage> &msg, int64_t delayUs) { 91 return postMessage_l(msg, delayUs); 95 const sp<AMessage> &msg, int64_t delayUs) { 117 looper->post(msg, delayUs); 178 status_t err = postMessage_l(msg, 0 /* delayUs */);
|
AMessage.cpp | 252 void AMessage::post(int64_t delayUs) { 253 gLooperRoster.postMessage(this, delayUs);
|
/frameworks/av/media/libstagefright/timedtext/ |
TimedTextPlayer.cpp | 168 int64_t delayUs = delayUsFromCurrentTime(fireTimeUs); 169 if (delayUs > 0) { 170 msg->post(delayUs); 260 int64_t delayUs = delayUsFromCurrentTime(timeUs); 267 msg->post(delayUs); 285 int64_t delayUs = fireTimeUs - positionUs - kAdjustmentProcessingTimeUs; 286 if (delayUs > kMaxDelayUs) { 289 return delayUs;
|
/frameworks/av/media/libstagefright/ |
HTTPBase.cpp | 74 size_t numBytes, int64_t delayUs) { 78 entry.mDelayUs = delayUs; 80 mTotalTransferTimeUs += delayUs;
|
NuCachedSource2.cpp | 389 int64_t delayUs; 393 delayUs = 3000000ll; 395 delayUs = 0; 398 delayUs = 100000ll; 401 (new AMessage(kWhatFetchMore, mReflector->id()))->post(delayUs);
|
AwesomePlayer.cpp | [all...] |
/frameworks/av/media/libstagefright/wifi-display/source/ |
RepeaterSource.cpp | 131 int64_t delayUs = bufferTimeUs - nowUs; 133 if (delayUs > 0ll) { 134 usleep(delayUs);
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
HTTPLiveSource.cpp | 176 int64_t timeUs, baseUs, durationUs, delayUs; 180 delayUs = baseUs + timeUs - ALooper::GetNowUs(); 182 msg->post(delayUs > 0ll ? delayUs : 0ll);
|
NuPlayerRenderer.cpp | 137 int64_t delayUs = 143 postDrainAudioQueue(delayUs / 2); 206 void NuPlayer::Renderer::postDrainAudioQueue(int64_t delayUs) { 218 msg->post(delayUs); 344 int64_t delayUs; 348 delayUs = 0; 353 delayUs = mediaTimeUs - ALooper::GetNowUs(); 359 delayUs = 0; 369 delayUs = realTimeUs - ALooper::GetNowUs(); 373 msg->post(delayUs); [all...] |
NuPlayerRenderer.h | 117 void postDrainAudioQueue(int64_t delayUs = 0);
|
/frameworks/av/media/libstagefright/include/ |
AwesomePlayer.h | 102 void postAudioEOS(int64_t delayUs = 0ll); 226 void postVideoEvent_l(int64_t delayUs = -1); 229 void postCheckAudioStatusEvent(int64_t delayUs); 231 void postAudioTearDownEvent(int64_t delayUs);
|
HTTPBase.h | 66 void addBandwidthMeasurement(size_t numBytes, int64_t delayUs);
|
/frameworks/wilhelm/src/android/ |
android_GenericPlayer.cpp | 621 // delayUs is the expected delay between current position and marker; 623 int64_t delayUs = -1; 631 delayUs = (mMarkerPositionMs - positionMs) * 1000LL; 675 if (trialDelayUs > 0 && (delayUs == -1 || trialDelayUs < delayUs)) { 676 delayUs = trialDelayUs; 690 if (advancesPositionInRealTime() && delayUs >= 0) { 695 delayUs = delayUs * 1000 / mPlaybackRatePermille; 699 if (delayUs < 20000LL) [all...] |
/frameworks/base/core/java/android/hardware/ |
SystemSensorManager.java | 96 int delayUs, Handler handler, int maxBatchReportLatencyUs, int reservedFlags) { 106 if (maxBatchReportLatencyUs < 0 || delayUs < 0) { 107 Log.e(TAG, "maxBatchReportLatencyUs and delayUs should be non-negative"); 120 if (!queue.addSensor(sensor, delayUs, maxBatchReportLatencyUs, reservedFlags)) { 127 return queue.addSensor(sensor, delayUs, maxBatchReportLatencyUs, reservedFlags); 251 Sensor sensor, int delayUs, int maxBatchReportLatencyUs, int reservedFlags) { 259 if (enableSensor(sensor, delayUs, maxBatchReportLatencyUs, reservedFlags) != 0) { 262 maxBatchReportLatencyUs > 0 && enableSensor(sensor, delayUs, 0, 0) != 0) {
|
/frameworks/av/libvideoeditor/lvpp/ |
PreviewPlayer.h | 69 void postAudioEOS(int64_t delayUs = 0ll); 269 void postCheckAudioStatusEvent_l(int64_t delayUs); 272 void postVideoEvent_l(int64_t delayUs = -1);
|
PreviewPlayer.cpp | [all...] |
/frameworks/av/media/libstagefright/httplive/ |
PlaylistFetcher.cpp | 175 int64_t delayUs = mLastPlaylistFetchTimeUs + minPlaylistAgeUs - nowUs; 176 return delayUs > 0ll ? delayUs : 0ll; 313 void PlaylistFetcher::postMonitorQueue(int64_t delayUs, int64_t minDelayUs) { 318 if (delayUs > maxDelayUs) { 320 delayUs = maxDelayUs; 324 msg->post(delayUs); 666 int64_t delayUs = mPrepared ? kMaxMonitorDelayUs : targetDurationUs / 2; 668 delayUs, bufferedDurationUs, durationToBufferUs); 671 postMonitorQueue(delayUs, mPrepared ? targetDurationUs * 2 : 0) [all...] |
PlaylistFetcher.h | 156 void postMonitorQueue(int64_t delayUs = 0, int64_t minDelayUs = 0);
|
/frameworks/av/media/libstagefright/chromium_http/ |
ChromiumHTTPDataSource.cpp | 215 int64_t delayUs = ALooper::GetNowUs() - startTimeUs; 219 addBandwidthMeasurement(mIOResult, delayUs);
|
/frameworks/av/cmds/stagefright/ |
sf2.cpp | 183 int64_t delayUs = ALooper::GetNowUs() - mStartTimeUs; 188 mTotalBytesReceived * 1E6 / 1024 / delayUs); 193 mNumOutputBuffersReceived * 1E6 / delayUs, 195 mTotalBytesReceived * 1E6 / 1024 / delayUs);
|
SimplePlayer.cpp | 634 int64_t delayUs = ALooper::GetNowUs() - startTimeUs; 638 if (delayUs > 2000ll) { 641 delayUs, numFramesAvailableToWrite, numFramesWritten);
|