Home
last modified time | relevance | path

Searched refs:elapsedTimeUs (Results 1 – 6 of 6) sorted by relevance

/frameworks/av/media/libstagefright/rtsp/
DJitterCalculator.cpp48 int64_t elapsedTimeUs = arrivalTimeUs - mFirstArrivalTimeUs; in putBaseData() local
49 int64_t correctionTimeUs = elapsedTimeUs - scheduledTimeUs; // additional propagation delay; in putBaseData()
/frameworks/av/cmds/stagefright/
Dcodec.cpp310 int64_t elapsedTimeUs = android::ALooper::GetNowUs() - startTimeUs; in decode() local
321 state->mNumBytesDecoded * 1E6 / 1024 / elapsedTimeUs); in decode()
327 state->mNumBuffersDecoded * 1E6 / elapsedTimeUs, in decode()
329 state->mNumBytesDecoded * 1E6 / 1024 / elapsedTimeUs); in decode()
Dmuxer.cpp225 int64_t elapsedTimeUs = ALooper::GetNowUs() - muxerStartTimeUs; in muxing() local
227 elapsedTimeUs / 1000); in muxing()
/frameworks/av/media/libstagefright/
DAudioSource.cpp294 int64_t elapsedTimeUs = timeUs - mStartTimeUs; in read() local
295 if (elapsedTimeUs < kAutoRampStartUs) { in read()
297 } else if (elapsedTimeUs < kAutoRampStartUs + kAutoRampDurationUs) { in read()
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DBatteryStatsNoteTest.java402 long elapsedTimeUs = clocks.realtime * 1000; in testNoteUidProcessStateLocked() local
406 actualRunTimeUs = uid.getProcessStateTime(BatteryStats.Uid.PROCESS_STATE_TOP, elapsedTimeUs, in testNoteUidProcessStateLocked()
412 elapsedTimeUs, STATS_SINCE_CHARGED); in testNoteUidProcessStateLocked()
418 elapsedTimeUs, STATS_SINCE_CHARGED); in testNoteUidProcessStateLocked()
423 elapsedTimeUs, STATS_SINCE_CHARGED); in testNoteUidProcessStateLocked()
428 elapsedTimeUs, STATS_SINCE_CHARGED); in testNoteUidProcessStateLocked()
437 elapsedTimeUs, STATS_SINCE_CHARGED); in testNoteUidProcessStateLocked()
446 actualRunTimeUs = uid.getForegroundServiceTimer().getTotalTimeLocked(elapsedTimeUs, in testNoteUidProcessStateLocked()
/frameworks/base/services/core/java/com/android/server/power/stats/
DBatteryStatsImpl.java6836 long elapsedTimeUs = mClock.elapsedRealtime() * 1000; in retrieveBluetoothScanTimesLocked() local
6843 long scanTimeUs = mBluetoothScanTimer.getTotalTimeLocked(elapsedTimeUs, in retrieveBluetoothScanTimesLocked()
7127 long elapsedTimeUs = mClock.elapsedRealtime() * 1000; in retrieveWifiScanTimesLocked() local
7131 long scanTimeUs = uidStats.getWifiScanTime(elapsedTimeUs, STATS_SINCE_CHARGED); in retrieveWifiScanTimesLocked()
7134 batchScanTimeUs += uidStats.getWifiBatchedScanTime(bucket, elapsedTimeUs, in retrieveWifiScanTimesLocked()