Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsNoteTest.java152 long elapsedTimeUs = clocks.realtime * 1000; in testNoteUidProcessStateLocked() local
156 actualRunTimeUs = uid.getProcessStateTime(BatteryStats.Uid.PROCESS_STATE_TOP, elapsedTimeUs, in testNoteUidProcessStateLocked()
162 elapsedTimeUs, STATS_SINCE_CHARGED); in testNoteUidProcessStateLocked()
167 elapsedTimeUs, STATS_SINCE_CHARGED); in testNoteUidProcessStateLocked()
172 elapsedTimeUs, STATS_SINCE_CHARGED); in testNoteUidProcessStateLocked()
178 elapsedTimeUs, STATS_SINCE_CHARGED); in testNoteUidProcessStateLocked()
186 elapsedTimeUs, STATS_SINCE_CHARGED); in testNoteUidProcessStateLocked()
195 actualRunTimeUs = uid.getForegroundServiceTimer().getTotalTimeLocked(elapsedTimeUs, in testNoteUidProcessStateLocked()
/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.cpp221 int64_t elapsedTimeUs = ALooper::GetNowUs() - muxerStartTimeUs; in muxing() local
223 elapsedTimeUs / 1000); in muxing()
Dmediafilter.cpp646 int64_t elapsedTimeUs = android::ALooper::GetNowUs() - startTimeUs; in decode() local
655 state->mNumBuffersDecoded * 1E6 / elapsedTimeUs); in decode()
/frameworks/av/media/libstagefright/
DAudioSource.cpp273 int64_t elapsedTimeUs = timeUs - mStartTimeUs; in read() local
274 if (elapsedTimeUs < kAutoRampStartUs) { in read()
276 } else if (elapsedTimeUs < kAutoRampStartUs + kAutoRampDurationUs) { in read()