/frameworks/av/media/libstagefright/timedtext/ |
TimedTextPlayer.cpp | 169 int64_t delayUs = delayUsFromCurrentTime(fireTimeUs); 170 if (delayUs > 0) { 171 msg->post(delayUs); 261 int64_t delayUs = delayUsFromCurrentTime(timeUs); 268 msg->post(delayUs); 286 int64_t delayUs = fireTimeUs - positionUs - kAdjustmentProcessingTimeUs; 287 if (delayUs > kMaxDelayUs) { 290 return delayUs;
|
/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 | 101 const sp<AMessage> &msg, int64_t delayUs) { 108 looper->post(msg, delayUs); 178 looper->post(msg, 0 /* delayUs */);
|
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/sensorverification/ |
FrequencyVerification.java | 94 double delayUs = environment.getRequestedSamplingPeriodUs(); 98 Math.min(delayUs, maxDelayUs), TimeUnit.MICROSECONDS); 101 Math.max(delayUs, sensor.getMinDelay()), TimeUnit.MICROSECONDS);
|
/frameworks/av/media/libstagefright/ |
HTTPBase.cpp | 44 size_t numBytes, int64_t delayUs) { 48 entry.mDelayUs = delayUs; 50 mTotalTransferTimeUs += delayUs;
|
NuCachedSource2.cpp | 424 int64_t delayUs; 428 delayUs = 3000000ll; 430 delayUs = 0; 433 delayUs = 100000ll; 436 (new AMessage(kWhatFetchMore, mReflector->id()))->post(delayUs);
|
AwesomePlayer.cpp | [all...] |
/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/include/media/stagefright/foundation/ |
ALooper.h | 78 void post(const sp<AMessage> &msg, int64_t delayUs);
|
ALooperRoster.h | 35 status_t postMessage(const sp<AMessage> &msg, int64_t delayUs = 0);
|
AMessage.h | 79 void post(int64_t delayUs = 0);
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
HTTPLiveSource.cpp | 198 int64_t timeUs, baseUs, durationUs, delayUs; 202 delayUs = baseUs + timeUs - ALooper::GetNowUs(); 204 msg->post(delayUs > 0ll ? delayUs : 0ll);
|
NuPlayerRenderer.cpp | 404 int64_t delayUs = 413 postDrainAudioQueue_l(delayUs / 2); 530 void NuPlayer::Renderer::postDrainAudioQueue_l(int64_t delayUs) { 543 msg->post(delayUs); 819 int64_t delayUs; 846 delayUs = realTimeUs - nowUs; 847 if (delayUs > 500000) { 856 (int)(delayUs / 1000), (int)(postDelayUs / 1000)); 865 delayUs = realTimeUs - nowUs; 867 ALOGW_IF(delayUs > 500000, "unusually high delayUs: %" PRId64, delayUs) [all...] |
NuPlayerRenderer.h | 212 void postDrainAudioQueue_l(int64_t delayUs = 0); 240 void notifyEOS(bool audio, status_t finalResult, int64_t delayUs = 0);
|
GenericSource.cpp | 956 int64_t delayUs = subTimeUs - timeUs; 959 delayUs -= oneSecUs; 963 msg2->post(delayUs < 0 ? 0 : delayUs); 995 const int64_t delayUs = nextSubTimeUs - subTimeUs; 996 msg->post(delayUs < 0 ? 0 : delayUs); [all...] |
/frameworks/av/media/libstagefright/include/ |
HTTPBase.h | 60 virtual void addBandwidthMeasurement(size_t numBytes, int64_t delayUs);
|
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);
|
/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) {
|
SensorManager.java | [all...] |
/frameworks/av/media/libstagefright/http/ |
MediaHTTP.cpp | 110 int64_t delayUs = ALooper::GetNowUs() - startTimeUs; 112 addBandwidthMeasurement(numBytesRead, delayUs);
|
/frameworks/av/media/libstagefright/httplive/ |
PlaylistFetcher.cpp | 182 int64_t delayUs = mLastPlaylistFetchTimeUs + minPlaylistAgeUs - nowUs; 183 return delayUs > 0ll ? delayUs : 0ll; 320 void PlaylistFetcher::postMonitorQueue(int64_t delayUs, int64_t minDelayUs) { 325 if (delayUs > maxDelayUs) { 327 delayUs = maxDelayUs; 331 msg->post(delayUs); 685 int64_t delayUs = mPrepared ? kMaxMonitorDelayUs : targetDurationUs / 2; 687 delayUs, bufferedDurationUs, durationToBufferUs); 690 postMonitorQueue(delayUs, mPrepared ? targetDurationUs * 2 : 0) [all...] |
PlaylistFetcher.h | 176 void postMonitorQueue(int64_t delayUs = 0, int64_t minDelayUs = 0);
|
/frameworks/av/cmds/stagefright/ |
sf2.cpp | 83 int64_t delayUs = ALooper::GetNowUs() - mStartTimeUs; 88 mTotalBytesReceived * 1E6 / 1024 / delayUs); 93 mNumOutputBuffersReceived * 1E6 / delayUs, 95 mTotalBytesReceived * 1E6 / 1024 / delayUs);
|
SimplePlayer.cpp | 636 int64_t delayUs = ALooper::GetNowUs() - startTimeUs; 640 if (delayUs > 2000ll) { 643 delayUs, numFramesAvailableToWrite, numFramesWritten);
|