Home
last modified time | relevance | path

Searched refs:mLastTime (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DThroughputFilter.java28 private long mLastTime = 0; field in ThroughputFilter
61 mLastTime = 0; in onOpen()
73 if (mLastTime == 0) { in onProcess()
74 mLastTime = SystemClock.elapsedRealtime(); in onProcess()
79 if ((curTime - mLastTime) >= (mPeriod * 1000)) { in onProcess()
84 curTime - mLastTime, in onProcess()
89 mLastTime = curTime; in onProcess()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/performance/
DThroughputFilter.java36 private long mLastTime = 0; field in ThroughputFilter
67 mLastTime = 0; in open()
81 if (mLastTime == 0) { in process()
82 mLastTime = SystemClock.elapsedRealtime(); in process()
87 if ((curTime - mLastTime) >= (mPeriod * 1000)) { in process()
97 mLastTime = curTime; in process()
/frameworks/base/tests/UsageStatsTest/src/com/android/tests/usagestats/
DUsageLogActivity.java37 private long mLastTime; field in UsageLogActivity
43 mLastTime = System.currentTimeMillis() - USAGE_STATS_PERIOD; in onCreate()
64 UsageEvents events = mUsageStatsManager.queryEvents(mLastTime, now); in run()
67 mLastTime = lastEventTime + 1; in run()
/frameworks/rs/java/tests/RsCameraDemo/src/com/android/example/rscamera/
DViewfinderProcessor.java34 long mLastTime; field in ViewfinderProcessor
117 long time = System.currentTimeMillis() - mLastTime; in run()
119 mLastTime += time; in run()
/frameworks/base/tests/DozeTest/src/com/android/dreams/dozetest/
DDozeTestDream.java69 private long mLastTime = Long.MIN_VALUE; field in DozeTestDream
142 if (mLastTime == now) { in performTimeUpdate()
146 mLastTime = now; in performTimeUpdate()
/frameworks/native/opengl/tests/gl2_cameraeye/src/com/android/gl2cameraeye/
DGL2CameraEye.java324 mLastTime = 0; in onSurfaceCreated()
344 if (mLastTime == 0) in doPhysics()
345 mLastTime = timestamp; in doPhysics()
347 float deltaT = (timestamp - mLastTime)/1000000000.f; // To seconds in doPhysics()
355 mLastTime = timestamp; in doPhysics()
497 private long mLastTime; field in CamRenderer
/frameworks/av/media/libstagefright/
DVideoFrameScheduler.cpp70 mLastTime(-1), in PLL()
78 mLastTime = -1; in reset()
265 if (mLastTime >= 0 in addSample()
267 && (time > mLastTime + kMaxAllowedFrameSkip || time < mLastTime)) { in addSample()
271 mLastTime = time; in addSample()
/frameworks/base/core/java/android/hardware/camera2/legacy/
DRequestThreadManager.java135 private long mLastTime = 0; field in RequestThreadManager.FpsCounter
148 if (mLastTime == 0) { in countFrame()
149 mLastTime = nextTime; in countFrame()
151 if (nextTime > mLastTime + NANO_PER_SECOND) { in countFrame()
152 long elapsed = nextTime - mLastTime; in countFrame()
155 mLastTime = nextTime; in countFrame()
164 if (mLastTime > mLastPrintTime + 5 * NANO_PER_SECOND) { in staggeredLog()
165 mLastPrintTime = mLastTime; in staggeredLog()
/frameworks/av/include/media/stagefright/
DVideoFrameScheduler.h71 nsecs_t mLastTime; // last input time member
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBatteryStatsTimerTest.java109 return mLastTime; in getLastTime()
113 mLastTime = val; in setLastTime()
/frameworks/base/core/java/android/view/
DViewRootImpl.java4589 private long mLastTime; field in ViewRootImpl.SyntheticTrackballHandler
4594 if ((mLastTime + MAX_TRACKBALL_DELAY) < curTime) { in process()
4599 mLastTime = curTime; in process()
4689 mLastTime = curTime; in process()
4694 mLastTime = Integer.MIN_VALUE; in cancel()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java1050 protected long mLastTime; field in BatteryStatsImpl.Timer
1082 mLastTime = 0; in Timer()
1105 mTotalTime = mLoadedTime = mLastTime = mTimeBeforeMark = 0; in reset()
1212 pw.println(prefix + "mLastTime=" + mLastTime in logState()
1226 mLastTime = 0; in readSummaryFromParcelLocked()
1506 return mLastTime + mLastAddedDuration - curTime; in computeOverage()